Tests equality of formulas.
Tests equality of formulas.
Another FormulaOccurrence.
true iff this and that are occurrences of the same formula.
Alpha-equality.
Alpha-equality.
Lambda expression to compare against.
whether this lambda expression is equal to that lambda expression modulo alpha-conversion.
The ancestors of this, i.e. its parents and the ancestors of its parents.
Retrieves this expression's subexpression at a given position.
Retrieves this expression's subexpression at a given position.
The position to be retrieved.
The subexpression at pos.
The formula occurrence factory FOFactory used to construct this occurrence.
The formula occurrence factory FOFactory used to construct this occurrence.
Finds all HOL positions of a subexpression in this expression.
Finds all HOL positions of a subexpression in this expression.
The subexpression to be found.
A list containing all positions where exp occurs.
Retrieves this expression's subexpression at a given position, if there is one.
Retrieves this expression's subexpression at a given position, if there is one.
The position to be retrieved.
If there is a subexpression at that position, return Some(that expression). Otherwise None.
Returns the subexpression at the given position, if it exists.
Returns the subexpression at the given position, if it exists.
Auto-incremented integer identifying this occurrence.
Auto-incremented integer identifying this occurrence.
Tests whether this is an ancestor of that.
Tests whether this is an ancestor of that.
A formula occurrence.
Whether this should count as an ancestor of itself.
Tests whether this expression has a subexpression at a given position.
Tests whether this expression has a subexpression at a given position.
The position to be tested.
Whether this(pos) is defined.
Tests whether this Expression has a subexpression at the given position.
Tests whether this Expression has a subexpression at the given position.
Tests whether this is a descendant of that.
Tests whether this is a descendant of that.
A formula occurrence.
Whether this should count as a descendant of itself.
Converts this expression into a 7-bit safe ASCII string.
Converts this expression into a 7-bit safe ASCII string.
The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.
Converts this expression into a string, taking the signature into account.
Converts this expression into a string, taking the signature into account.
This produces a similar output as toString, but will use the variable convention indicated by the signature. That is, if sig defines x to be a constant, then we output just x instead of the default #c(x: i).
(labelledFormulaOccurrence: HOLFormula).equals(a)
Converts this expression into a string.
Converts this expression into a string.
The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.
(labelledFormulaOccurrence: HOLFormula).toString()