public final class FormulaSymbol extends SymbolBase
Constructor and Description |
---|
FormulaSymbol(FormulaDeclIdentifier ident)
Construct formula symbol from ident (type is set to null).
|
Modifier and Type | Method and Description |
---|---|
Environment |
getEnvironment()
Return environment of symbol (up to the point where the symbol was decld).
|
Expression |
getFormula()
Return formula of symbol.
|
FormulaDeclIdentifier |
getFormulaDeclIdentifier()
Return identifier of symbol.
|
Proof |
getProof()
Return proof of symbol.
|
boolean |
isAxiom()
Return axiom status of formula.
|
void |
setAxiom()
Set axiom status of formula to true.
|
void |
setEnvironment(Environment env)
Set environment of symbol (up to the point where the symbol was decld).
|
void |
setFormula(Expression formula)
Set formula of symbol.
|
void |
setProof(Proof proof)
Set proof of symbol.
|
getIdentifier
public FormulaSymbol(FormulaDeclIdentifier ident)
ident
- the identifier of the symbolpublic FormulaDeclIdentifier getFormulaDeclIdentifier()
public Expression getFormula()
public void setFormula(Expression formula)
formula
- the symbol formulapublic Environment getEnvironment()
public void setEnvironment(Environment env)
env
- the symbol environmentpublic Proof getProof()
public void setProof(Proof proof)
proof
- the symbol proofpublic boolean isAxiom()
public void setAxiom()