Skip to content
Snippets Groups Projects

Resolve "add horn sat algorithm"

Merged aalbert requested to merge 5-add-horn-sat-algorithm into main
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -109,7 +109,7 @@ let flatten nb_var trace (l : (bool * int list) list) =
(List.map
(fun (n,x) ->
positify nb_var
((if List.mem h x then not b else false) <> n,
((if b then n else if List.mem h x then not n else n),
List.flatten (List.map (fun x -> if x = h then not_t else [x]) x)))
l
) in
Loading