Contradiction
A contradicting equation, trying to equate non equal Terms
Properties
Whether this Equation is an Assignment (either LeftAssignment or RightAssignment).
Whether this Equation is a Comparison, i.e. still needs decomposing into sub-equations.
Whether this Equation is a Contradiction, i.e. represents unification failure.
Whether this Equation is a LeftAssignment, i.e. shaped as Var = Term.
Whether this Equation is a RightAssignment, i.e. shaped as Term = Var.
Functions
Applies given substitution to the Equation left-hand and right-hand sides, returning the new Equation
This Equation as an Assignment, or null if isAssignment is false.
This Equation as a Comparison, or null if isComparison is false.
This Equation as a Contradiction, or null if isContradiction is false.
This Equation as an Identity, or null if isIdentity is false.
This Equation as a LeftAssignment, or null if isLeftAssignment is false.
This Equation as a RightAssignment, or null if isRightAssignment is false.
This Equation as an Assignment. @throws ClassCastException if isAssignment is false.
This Equation as a Comparison. @throws ClassCastException if isComparison is false.
This Equation as a Contradiction. @throws ClassCastException if isContradiction is false.
This Equation as an Identity. @throws ClassCastException if isIdentity is false.
This Equation as a LeftAssignment. @throws ClassCastException if isLeftAssignment is false.
This Equation as a RightAssignment. @throws ClassCastException if isRightAssignment is false.
Turns this Equation into a Contradiction with the same lhs and rhs, regardless of its actual shape.
The single-binding Substitution this Equation amounts to, i.e. its Var side unified with the other side.