to_anf(expr, deep) rewrites a boolean expression as an exclusive or of
conjunctions of symbols (with True kept as a term), is_anf(expr)
tests that form, anf_coeffs(truthvalues) gives the coefficients of the
form from a truth table, and ANFform(variables, truthvalues) builds
the expression, as in sympy.logic.boolalg. bool_minterm(k, variables), bool_maxterm() and bool_monomial() give the kth
minterm, maxterm and monomial, where k is an integer or a vector of
bits.
Usage
to_anf(expr, deep = TRUE)
is_anf(expr)
anf_coeffs(truthvalues)
ANFform(variables, truthvalues)
bool_minterm(k, variables)
bool_maxterm(k, variables)
bool_monomial(k, variables)