We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 562cebc commit 6166a97Copy full SHA for 6166a97
nnf/__init__.py
@@ -590,6 +590,11 @@ def neg(node: NNF) -> NNF:
590
591
return neg(self)
592
593
+ def to_CNF(self: T_NNF) -> 'And[Or[Var]]':
594
+ """Compile theory to a semantically equivalent CNF formula."""
595
+ from nnf import tseitin
596
+ return tseitin.to_CNF(self)
597
+
598
def _cnf_satisfiable(self) -> bool:
599
"""A naive DPLL SAT solver."""
600
def DPLL(clauses: t.FrozenSet[t.FrozenSet[Var]]) -> bool:
0 commit comments