| java.lang.Object de.uka.ilkd.key.proof.decproc.smtlib.Formula de.uka.ilkd.key.proof.decproc.smtlib.QuantifierFormula
QuantifierFormula | public class QuantifierFormula extends Formula (Code) | | Represents a quantified formula as defined in the SMT-Lib specification, and specialized in
the (QF_)AUFLIA sublogic.
Thereby the usual quantifiers FORALL and EXISTS are allowed operators. A
QuantifierFormula takes one or more TermVariables and an arbitrary
Formula and quantifies the given TermVariables in the given Formula
QuantifierFormula are immutable; their attribute values cannot be changed after they are
created.
author: akuwertz version: 1.1, 10/06/2006 (Added support for many quantified variables) |
QuantifierFormula | public QuantifierFormula(String op, TermVariable[] quantVars, Formula formula)(Code) | | Creates a new QuantifierFormula out of a given array of TermVariables
and a given Formula.
The operator op must be one of the static quantifier operator Strings
defined in DecisionProcedureSmtAufliaOp.
Parameters: op - the quantifier used to quantify the variables in quantVars Parameters: quantVars - the array of TermVariables being quantified by op Parameters: formula - the Formula in which the variables in quantVars shouldbe quantified throws: NullPointerException - if op, quantVars or one of the contained TermVariabless, or formula is null throws: IllegalArgumentException - if op represents no quantifier in (QF_)AUFLIA or if quantVars is empty or if at least one ofthe specified TermVariabless is not contained informula or if duplicate TermVariablesare contained in quantVars See Also: de.uka.ilkd.key.logic.op.DecisionProcedureSmtAufliaOp See Also: |
containsTerm | public boolean containsTerm(Term term)(Code) | | Returns true if this QuantifierFormula contains the Term term.
In a QuantifierFormula the quantified Term variables are not contained,
i.e. if this method is called with a quantified TermVariable as argument, it
will return false
Parameters: term - the Term be checked for containment in this QuantifierFormula true if this QuantifierFormula contains term and if termis unequal to its quantified variables |
hashCode | public int hashCode()(Code) | | |
|
|