| java.lang.Object de.uka.ilkd.key.proof.decproc.smtlib.Formula de.uka.ilkd.key.proof.decproc.smtlib.FletFormula
FletFormula | public class FletFormula extends Formula (Code) | | Represents a 'flet'-construct formula as defined in the SMT-Lib specification,
and specialized in the (QF_)AUFLIA sublogic.
Thereby a 'flet'-construct consists of a formula f1, a formula variable fVar and an arbitrary
formula f0, and is semantically equivalent to the Formula obtained by replacing every free
occurence of formVar in f1 by the Formula f0.
FletFormula are immutable; their values cannot be changed after they are created
author: akuwertz version: 1.4, 12/12/2005 (Adjustments to superclass V1.5; further comments) |
FletFormula | public FletFormula(FormulaVariable fVar, Formula f0, Formula f1)(Code) | | Creates a new FletFormula using the 'flet'-construct.
Parameters: fVar - the FormulaVariable occuring in f1 which is to be semantically replaced Parameters: f0 - the Formula which will semantically replace fVar in f1 Parameters: f1 - the Formula in which fVar will be semantically replaced by f0 throws: NullPointerException - if one of the arguments is null throws: IllegalArgumentException - if fVar is not contained in f1 |
containsFormula | public boolean containsFormula(Formula f)(Code) | | Returns true if this FletFormula contains the Formula f.
In a 'flet'-construct, the formula obtained by replacing every free occurence of its
FormulaVariable fVar in its Formula f1 by its
Formula f0, is checked for containing the specified Formula
f.
Parameters: f - the Formula be checked for containment in this FletFormula true if this FletFormula contains f |
containsTerm | public boolean containsTerm(Term t)(Code) | | Returns true if this FletFormula contains the Term t.
In a 'flet'-construct, the formula obtained by replacing every free occurence of its
FormulaVariable fVar in its Formula f1 by its
Formula f0, is checked for containing the specified Term
t.
Parameters: t - the Term be checked for containment in this FletFormula true if this FletFormula contains t |
equalsReplacedForm | public boolean equalsReplacedForm(Formula f)(Code) | | Returns true if the specified Formula f equals the Formula obtained
from this FletFormula by replacing free occurence of its FormulaVariable
fVar in its Formula f1 by its Formula f0.
Parameters: f - the Formula to be compared with the replaced Formula ofthis FletFormula true if the specified Formula equals the replaced Formulaof this FletFormula |
getFormVar | public FormulaVariable getFormVar()(Code) | | Returns the formula variable of this FletFormula
the FormulaVariable fVar of this FletFormula |
getFormulaF0 | public Formula getFormulaF0()(Code) | | Returns the Formula f0 of this FletFormula
the Formula f0 of this FletFormula |
getFormulaF1 | public Formula getFormulaF1()(Code) | | Returns the Formula f1 of this FletFormula
the Formula f1 of this FletFormula |
hashCode | public int hashCode()(Code) | | |
hashCodeReplacedForm | public int hashCodeReplacedForm()(Code) | | Returns the hash code of the Formula obtained from this FletFormula by
replacing free occurence of its FormulaVariable fVar in its Formula
f1 by its Formula f0.
the hash code of the replaced Formula of this FletFormula |
|
|