Creates a pool and charges two cells for its Boolean constants.
ReadonlytruthThe formula that holds for every valuation.
ReadonlyfalsityThe formula that holds for no valuation.
The number of distinct variables minted by this pool.
The total number of interned terms and formula nodes.
Mints a fresh integer variable with a nonempty display label.
Interns a term, merging repeated factors and omitting zero factors.
Interns a constant term without converting through floating point.
Interns an integer multiple of a variable, with factor one by default.
Interns the sum of the supplied terms, or zero for an empty list.
Interns an integer multiple of a term.
Returns the factor of a variable, or zero when it does not occur.
Interns a term with one variable removed.
Substitutes one term for all occurrences of a variable in another term.
Returns the normalized formula that the term is at most zero.
Returns the normalized formula that a nonzero modulus divides the term.
Owns exact integer formulas and shares equal normalized terms and nodes.