edu.toronto.cs.proof2
Class ProofStep
java.lang.Object
edu.toronto.cs.proof2.ProofStep
- Direct Known Subclasses:
- LeafProofStep, TreeProofStep
public abstract class ProofStep
- extends java.lang.Object
This class is the ancestor of all proof-step objects.
By a proof-step we mean a backward application of one proof rule
to a consequent that yields a set of antecedents (new, and
hopefully simpler, proof obligations): for
instance, applying the AND-elimination rule to (p AND q)
to get the separate proof obligations p and q;
each of which must in turn be expanded until no further expansion
is possible.
Known subclasses:
- See Also:
TreeProofStep
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProofStep
protected ProofStep(Formula _formula,
ProofStep _parent)
getFormula
public Formula getFormula()
getParent
public ProofStep getParent()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
newProofStep
public ProofStep newProofStep(Formula f)
getChildLength
public int getChildLength()