mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-09 12:45:48 -05:00
feat: basic model production for th-data
This commit is contained in:
parent
be97938e12
commit
9e0c79f597
1 changed files with 6 additions and 2 deletions
|
|
@ -539,8 +539,12 @@ module Make(A : ARG) : S with module A = A = struct
|
|||
match ST_cstors.get self.cstors repr with
|
||||
| None -> None
|
||||
| Some c ->
|
||||
Log.debugf 1 (fun k->k "FIND CSTOR %a" Monoid_cstor.pp c);
|
||||
None
|
||||
Log.debugf 20 (fun k->k "(@[th-data.mk-model.find-cstor@ %a@])" Monoid_cstor.pp c);
|
||||
let args =
|
||||
IArray.map (fun t -> recurse si (SI.cc_add_term si t))
|
||||
c.c_args in
|
||||
let t = A.mk_cstor self.tst c.c_cstor args in
|
||||
Some t
|
||||
|
||||
let create_and_setup (solver:SI.t) : t =
|
||||
let self = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue