package msat
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=fe2f507bff99166ad2004786ca1ae59b
sha512=4cd653218e1767152c1d66700ccfc421d6d2da6ddffc8af4ee9151a3b5d25920f9d735a416f962227ffe458bb56e1f1977d180dd91415d37af9e1ea41dbb1045
doc/msat.tseitin/Msat_tseitin/module-type-S/index.html
Module type Msat_tseitin.S
Source
The exposed interface of Tseitin's CNF conversion.
CNF conversion
This modules allows to convert arbitrary boolean formulas into CNF.
The type of atomic formulas.
The type of arbitrary boolean formulas. Arbitrary boolean formulas can be built using functions in this module, and then converted to a CNF, which is a list of clauses that only use atomic formulas.
make_atom p
builds the boolean formula equivalent to the atomic formula p
.
Creates the conjunction of a list of formulas. An empty conjunction is always satisfied.
Creates the disjunction of a list of formulas. An empty disjunction is never satisfied.
make_equiv p q
creates the boolena formula "p
is equivalent to q
".
make_cnf f
returns a conjunctive normal form of f
under the form: a list (which is a conjunction) of lists (which are disjunctions) of atomic formulas.
print fmt f
prints the formula on the formatter fmt
.