Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Dec 4, 2023
1 parent 86ef6d0 commit 0c7aa31
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/bin/common/solving_loop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module Sy = Symbols
module O = Options

let pp_debug (type a) (msg : (a, Format.formatter, unit) format) : a =
if true then
if false then
Fmt.pf (O.Output.get_fmt_diagnostic ()) ("[Solving]" ^^ msg)
else
Format.ifprintf (O.Output.get_fmt_diagnostic ()) msg
Expand Down
3 changes: 1 addition & 2 deletions src/lib/frontend/frontend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,7 @@ module Make(SAT : Sat_solver_sig.S) : S with type sat_env = SAT.t = struct
ignore loc;
Util.loop ~f:(fun _ res () -> Stack.push res env.consistent_dep_stack)
~max:n ~elt:(env.res, env.expl) ~init:();
Steps.apply_without_step_limit (fun () -> SAT.push env.sat_env n);
SAT.push env.sat_env n
Steps.apply_without_step_limit (fun () -> SAT.push env.sat_env n)

let internal_pop ?(loc = Loc.dummy) (n : int) (env : env) : unit =
ignore loc;
Expand Down
2 changes: 0 additions & 2 deletions src/lib/reasoners/fun_sat_frontend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ module Make (Th : Theory.S) : Sat_solver_sig.S = struct
manually save and restore environments. *)

let push_cdcl_tableaux t i =
Format.printf "PPUUSSHH@.";
assert (i > 0);
for _ = 1 to i do
Stack.push t cdcl_tab_push_pop_stack
done

let pop_cdcl_tableaux _t i =
Format.printf "PPOOPP@.";
assert (i > 0);
let rec aux acc = function
| 1 -> acc
Expand Down
2 changes: 1 addition & 1 deletion tests/cram.t/prelude.ae
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ logic f : real -> real

theory F_theory extends FPA =
axiom f_triggers :
forall x : real [ int_floor(x), x in ]0., ?] ]. my_leq(f(x), x)
forall x: real [ int_floor(x), x in ]0., ?] ]. my_leq(f(x), x)
end

0 comments on commit 0c7aa31

Please sign in to comment.