edu.toronto.cs.proof2
Class ProofStep

java.lang.Object
  extended by 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

Constructor Summary
protected ProofStep(Formula _formula, ProofStep _parent)
           
 
Method Summary
 int getChildLength()
           
 Formula getFormula()
           
 ProofStep getParent()
           
 ProofStep newProofStep(Formula f)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProofStep

protected ProofStep(Formula _formula,
                    ProofStep _parent)
Method Detail

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()