We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c6ae2a commit d2f79b1Copy full SHA for d2f79b1
src/main.ml
@@ -37,13 +37,13 @@ module Make
37
38
let check_model state =
39
let check_clause c =
40
- let l = List.map (function a ->
+ let l = List.rev_map (function a ->
41
Log.debugf 99 "Checking value of %a"
42
(fun k -> k S.St.pp_atom (S.St.add_atom a));
43
state.Solver_intf.eval a) c in
44
List.exists (fun x -> x) l
45
in
46
- let l = List.map check_clause !hyps in
+ let l = List.rev_map check_clause !hyps in
47
List.for_all (fun x -> x) l
48
49
let prove ~assumptions =
0 commit comments