A predicate elimination problem describes a formula of the form ∃X₁ ... ∃Xₙ φ where φ is first-order and we have separated the first-order part from the second-order quantifiers.
This is a common data structure used that describes the input for algorithms solving (witnessed) second-order quantifier elimination and formula equations
Value parameters
firstOrderPart
first-order part of the predicate elimination problem that is not allowed to contain second-order quantifiers Since firstOrderPart needs to contain the second-order variables of the predicate elimination problem we cannot enforce that formula is a gapt.expr.formula.fol.FOLFormula
varsToEliminate
the variables that are quantified over and are to be eliminated
Returns the clause set form of the predicate elimination problem by applying skolemization and computing the CNF of the result. Note that this transformation is not equivalence-preserving as arbitrary new Skolem constants can be introduced.
Returns the clause set form of the predicate elimination problem by applying skolemization and computing the CNF of the result. Note that this transformation is not equivalence-preserving as arbitrary new Skolem constants can be introduced.
Returns the clause set form of the predicate elimination problem if it is already skolemized. Note that this transformation is not equivalence-preserving as arbitrary new Skolem constants can be introduced.
Returns the clause set form of the predicate elimination problem if it is already skolemized. Note that this transformation is not equivalence-preserving as arbitrary new Skolem constants can be introduced.