mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 11:15:43 -05:00
Update after Dolmen change
Dolmen Introduced a new 'Clause' statement, which has to be taken into account in the test executable of msat.
This commit is contained in:
parent
607ec3f043
commit
0119d04899
1 changed files with 4 additions and 0 deletions
|
|
@ -73,6 +73,10 @@ module Make
|
||||||
match s.Dolmen.Statement.descr with
|
match s.Dolmen.Statement.descr with
|
||||||
| Dolmen.Statement.Def (id, t) -> T.def id t
|
| Dolmen.Statement.Def (id, t) -> T.def id t
|
||||||
| Dolmen.Statement.Decl (id, t) -> T.decl id t
|
| Dolmen.Statement.Decl (id, t) -> T.decl id t
|
||||||
|
| Dolmen.Statement.Clause l ->
|
||||||
|
let cnf = T.antecedent (Dolmen.Term.or_ l) in
|
||||||
|
hyps := cnf @ !hyps;
|
||||||
|
S.assume cnf
|
||||||
| Dolmen.Statement.Consequent t ->
|
| Dolmen.Statement.Consequent t ->
|
||||||
let cnf = T.consequent t in
|
let cnf = T.consequent t in
|
||||||
hyps := cnf @ !hyps;
|
hyps := cnf @ !hyps;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue