package msat
Install
Dune Dependency
Authors
Maintainers
Sources
md5=c02d63bf45357aa1d1b85846da373f48
sha512=e6f0d7f6e4fe69938ec2cc3233b0cb72dd577bfb4cc4824afe8247f5db0b6ffea2d38d73a65e7ede500d21ff8db27ed12f2c4f3245df4451d02864260ae2ddaf
doc/msat.tseitin/Msat_tseitin/Make/index.html
Module Msat_tseitin.Make
Source
This functor provides an implementation of Tseitin's CNF conversion.
CNF conversion
This modules converts arbitrary boolean formulas into CNF.
Parameters
Signature
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
.