mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
fix: proper proof for clause deduplication
This commit is contained in:
parent
74cd2009a3
commit
bf0b5185bd
1 changed files with 2 additions and 2 deletions
|
|
@ -838,7 +838,7 @@ module Make (Th : Theory_intf.S) = struct
|
|||
) else if !duplicates = [] then (
|
||||
clause
|
||||
) else (
|
||||
Clause.make_l !res (History [clause])
|
||||
Clause.make_l !res (Simplified clause)
|
||||
)
|
||||
|
||||
(* Sort literals for new clause, into:
|
||||
|
|
@ -962,7 +962,7 @@ module Make (Th : Theory_intf.S) = struct
|
|||
backtrack_down_to st b_lvl;
|
||||
);
|
||||
assert (Vec.size st.elt_levels = Vec.size st.backtrack_levels);
|
||||
Log.debugf 15 (fun k->k "(@[<v>sat.trail@ %a@])" (Vec.print Atom.debug) st.trail);
|
||||
Log.debugf 15 (fun k->k "(@[<hv>sat.trail@,%a@])" (Vec.print ~sep:" " Atom.debug) st.trail);
|
||||
()
|
||||
|
||||
(* Unsatisfiability is signaled through an exception, since it can happen
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue