mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-09 20:55:39 -05:00
fix(proof.check): ensure that the proof is an empty clause
This commit is contained in:
parent
92ca9c328f
commit
2e2bbfd4d0
1 changed files with 5 additions and 1 deletions
|
|
@ -712,7 +712,11 @@ module Make(Plugin : PLUGIN)
|
||||||
Stack.push (Enter p) s;
|
Stack.push (Enter p) s;
|
||||||
fold_aux s h f acc
|
fold_aux s h f acc
|
||||||
|
|
||||||
let check p = fold (fun () _ -> ()) () p
|
let check (p:t) =
|
||||||
|
if Array.length p.atoms > 0 then (
|
||||||
|
error_res_f "@[<2>Proof.check: non empty conclusion for claus@ %a@]" Clause.debug p;
|
||||||
|
);
|
||||||
|
fold (fun () _ -> ()) () p
|
||||||
end
|
end
|
||||||
type proof = Proof.t
|
type proof = Proof.t
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue