dReal4
|
Symbolic formula representing universal quantifications (∀ x₁, ..., * xn. More...
Public Member Functions | |
FormulaForall (const Variables &vars, Formula f) | |
Constructs from vars and f . More... | |
bool | EqualTo (const FormulaCell &f) const override |
Checks structural equality. More... | |
bool | Less (const FormulaCell &f) const override |
Checks ordering. More... | |
bool | Evaluate (const Environment &env) const override |
Evaluates under a given environment. More... | |
Formula | Substitute (const ExpressionSubstitution &expr_subst, const FormulaSubstitution &formula_subst) override |
Returns a Formula obtained by replacing all occurrences of the variables in s in the current formula cell with the corresponding expressions in s . | |
std::ostream & | Display (std::ostream &os) const override |
Outputs string representation of formula into output stream os . More... | |
const Variables & | get_quantified_variables () const |
Returns the quantified variables. More... | |
const Formula & | get_quantified_formula () const |
Returns the quantified formula. More... | |
![]() | |
FormulaCell ()=delete | |
Default constructor (DELETED). More... | |
FormulaCell & | operator= (FormulaCell &&f)=delete |
Move-assign (DELETED). More... | |
FormulaCell (const FormulaCell &f)=delete | |
Copy-construct a formula from an lvalue. More... | |
FormulaCell (FormulaCell &&f)=delete | |
Move-construct a formula from an rvalue (DELETED). More... | |
FormulaCell & | operator= (const FormulaCell &f)=delete |
Copy-assign (DELETED). More... | |
FormulaKind | get_kind () const |
Returns kind of formula. More... | |
size_t | get_hash () const |
Returns hash of formula. More... | |
const Variables & | GetFreeVariables () const |
Returns set of free variables in formula. More... | |
unsigned | use_count () const |
Returns the reference count of this cell. More... | |
bool | include_ite () const |
Returns true if this symbolic formula includes an ITE (If-Then-Else) expression. More... | |
Additional Inherited Members | |
![]() | |
FormulaCell (FormulaKind k, size_t hash, bool include_ite, Variables variables) | |
Construct FormulaCell of kind k with hash . More... | |
virtual | ~FormulaCell ()=default |
Default destructor. More... | |
Formula | GetFormula () |
Returns a Formula pointing to this FormulaCell. More... | |
Symbolic formula representing universal quantifications (∀ x₁, ..., * xn.
F).
FormulaForall | ( | const Variables & | vars, |
Formula | f | ||
) |
Constructs from vars
and f
.
|
overridevirtual |
Outputs string representation of formula into output stream os
.
Implements FormulaCell.
|
overridevirtual |
Checks structural equality.
Implements FormulaCell.
|
overridevirtual |
Evaluates under a given environment.
Implements FormulaCell.
|
inline |
Returns the quantified formula.
|
inline |
Returns the quantified variables.
|
overridevirtual |
Checks ordering.
Implements FormulaCell.