mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-08 20:25:31 -05:00
Debugging...
This commit is contained in:
parent
25dae83c6e
commit
31f5fdd1ae
2 changed files with 7 additions and 6 deletions
|
|
@ -612,10 +612,11 @@ module Make (L : Log_intf.S)(E : Expr_intf.S)
|
|||
|
||||
(* Propagation (boolean and theory) *)
|
||||
let new_atom f =
|
||||
let a = add_atom f in
|
||||
L.debug 10 "New atom : %a" St.pp_atom a;
|
||||
ignore (th_eval a);
|
||||
a
|
||||
L.debug 100 "New_atom";
|
||||
let a = add_atom f in
|
||||
L.debug 10 "New atom : %a" St.pp_atom a;
|
||||
ignore (th_eval a);
|
||||
a
|
||||
|
||||
let slice_get i = Either.destruct (Vec.get env.trail i)
|
||||
(function {level; tag={term; assigned = Some v}} -> Th.Assign (term, v), level | _ -> assert false)
|
||||
|
|
|
|||
|
|
@ -172,9 +172,9 @@ module Make (L : Log_intf.S)(E : Expr_intf.S)(Th : Plugin_intf.S with
|
|||
let add_term t = make_semantic_var t
|
||||
|
||||
let add_atom lit =
|
||||
Log.debug 100 "entering add_atom";
|
||||
L.debug 100 "entering add_atom";
|
||||
let var, negated = make_boolean_var lit in
|
||||
Log.debug 100 "found atom";
|
||||
L.debug 100 "found atom";
|
||||
if negated then var.tag.na else var.tag.pa
|
||||
|
||||
let make_clause name ali sz_ali is_learnt premise =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue