mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 11:45:41 -05:00
Tautological input clauses are now accepted
This commit is contained in:
parent
a17d83eb1d
commit
9b41aab1b1
1 changed files with 3 additions and 2 deletions
|
|
@ -77,9 +77,10 @@ module Make(St : Mcsolver_types.S) = struct
|
||||||
for i = 0 to Vec.size v - 1 do
|
for i = 0 to Vec.size v - 1 do
|
||||||
l := (Vec.get v i) :: !l
|
l := (Vec.get v i) :: !l
|
||||||
done;
|
done;
|
||||||
let l, res = resolve (List.sort_uniq compare_atoms !l) in
|
let res = List.sort_uniq compare_atoms !l in
|
||||||
|
let l, _ = resolve res in
|
||||||
if l <> [] then
|
if l <> [] then
|
||||||
raise (Resolution_error "Input clause is a tautology");
|
Log.debug 3 "Input clause is a tautology";
|
||||||
res
|
res
|
||||||
|
|
||||||
(* Adding hyptoheses *)
|
(* Adding hyptoheses *)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue