Returns this term after the substitution s was applied.
Returns this term after the substitution s was applied.
Returns the subterm of this term at position p.
Returns the subterm of this term at position p.
Throws a java.lang.UnsupportedOperationException.
Returns the first rule from the term rewrite system rs which may be used to rewrite this term and scala.None if there is no such rule in rs.
Returns the first rule from the term rewrite system rs which may be used to rewrite this term and scala.None if there is no such rule in rs.
Returns true if some subterm of this term subsumes that term.
Returns true if some subterm of this term subsumes that term.
Returns the contraction of this term and some rule in the term rewrite system rs if it exists and this term otherwise.
Returns the contraction of this term and some rule in the term rewrite system rs if it exists and this term otherwise.
Returns the term you get when applying the matching substitution from this term and the left-hand side of the rule r to the right-hand side of r.
Returns the term you get when applying the matching substitution from this term and the left-hand side of the rule r to the right-hand side of r.
Returns the depth of the syntax tree of this term.
Returns the depth of the syntax tree of this term.
Returns a substitution from all variables in this term to fresh variables.
Returns a substitution from all variables in this term to fresh variables.
Returns a set of all function symbol names contained in this term.
Returns a set of all function symbol names contained in this term.
Returns true if this term contains no variables and false otherwise.
Returns true if this term contains no variables and false otherwise.
Returns true if this term is in normal form with respect to the term rewrite system rs and 'false' otherwise.
Returns true if this term is in normal form with respect to the term rewrite system rs and 'false' otherwise.
Returns true.
Returns true if this term matches at least one of the terms in ts.
Returns true if this term matches at least one of the terms in ts.
Returns true if this term matches that term and false otherwise.
Returns true if this term matches that term and false otherwise.
Returns a matching substitution of this and that term if they can be matched.
Returns a matching substitution of this and that term if they can be matched.
the name of the variable
Returns the set of all positions, including the root position epsilon in this term.
Returns the set of all positions, including the root position epsilon in this term.
Returns the set of all function positions in this term.
Returns the set of all function positions in this term.
Returns the set of all variable positions in this term.
Returns the set of all variable positions in this term.
A synonym for rewriteStep.
A synonym for rewriteStep.
Returns the resulting term if this term may be rewritten with respect to the term rewrite system rs and this term otherwise.
Returns the resulting term if this term may be rewritten with respect to the term rewrite system rs and this term otherwise.
Returns the term you get when rewriting this term one time with respect to the term rewrite system rs and scala.None if no rewrite step is possible.
Returns the term you get when rewriting this term one time with respect to the term rewrite system rs and scala.None if no rewrite step is possible.
Returns scala.Left(variable_name).
Returns the number of variables and function symbols contained in this term.
Returns the number of variables and function symbols contained in this term.
Returns the length of the nice string version of this term (including whitespaces).
Returns the length of the nice string version of this term (including whitespaces).
Returns true if that term mathes this term.
Returns true if that term mathes this term. Just the reversal of matches.
Returns true if this term is a proper subterm of that term and false otherwise.
Returns true if this term is a proper subterm of that term and false otherwise.
Returns true if this term is a proper subterm of or equal to that term and false otherwise.
Returns true if this term is a proper subterm of or equal to that term and false otherwise.
Returns the set of all subterms (including this term itself).
Returns the set of all subterms (including this term itself).
Returns a html string of this term where variables are enclosed in <font>-tags with blue color.
Returns a html string of this term where variables are enclosed in <font>-tags with blue color.
Returns a nicer string representation of this term where variables are colored blue.
Returns a nicer string representation of this term where variables are colored blue. Only works on Linux systems.
Returns the string representation of this term.
Returns the string representation of this term.
Returns true if this and that term are unifiable and false otherwise.
Returns true if this and that term are unifiable and false otherwise.
Returns a unifying substitution of this and that term if they are unifiable.
Returns a unifying substitution of this and that term if they are unifiable.
Returns this term where only the subterm at position p was replaced with term s.
Returns this term where only the subterm at position p was replaced with term s.
Returns true if this term is a variant of that term and false otherwise.
Returns true if this term is a variant of that term and false otherwise.
Returns a set of all variable names contained in this term.
Returns a set of all variable names contained in this term.
Represents a variable.
the name of the variable