public class ProofStep
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
axiom
A String containing a valid KIF expression, that is the axiom
expressing the conclusion of this proof step.
|
java.lang.String |
formulaRole
A String of the role of the formula
|
java.lang.String |
formulaType
A String of the type clause or formula
|
java.lang.String |
inferenceType
A String of the inference type, e.g.
|
static java.lang.String |
INSTANTIATED_QUERY |
static java.lang.String |
NEGATED_QUERY |
java.lang.Integer |
number
The number assigned to this proof step, initially by EProver and
then normalized by ProofStep.normalizeProofStepNumbers()
|
java.util.ArrayList<java.lang.Integer> |
premises
An ArrayList of Integer(s), which reference prior proof steps from
which this axiom is derived.
|
static java.lang.String |
QUERY |
Constructor and Description |
---|
ProofStep() |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<ProofStep> |
normalizeProofStepNumbers(java.util.ArrayList<ProofStep> proofSteps)
Take an ArrayList of ProofSteps and renumber them consecutively
starting at 1.
|
static java.util.ArrayList<ProofStep> |
removeDuplicates(java.util.ArrayList<ProofStep> proofSteps)
Take an ArrayList of ProofSteps and renumber them consecutively
starting at 1.
|
static java.util.ArrayList<ProofStep> |
removeUnnecessary(java.util.ArrayList<ProofStep> proofSteps)
created a new by qingqing
remove unnecessary steps, which should not appear in proof
Unnecessary steps could be:
(1) conjectures;
(2) Successful resolution theorem proving results in a contradiction;
|
java.lang.String |
toString() |
public static final java.lang.String QUERY
public static final java.lang.String NEGATED_QUERY
public static final java.lang.String INSTANTIATED_QUERY
public java.lang.String formulaType
public java.lang.String formulaRole
public java.lang.String inferenceType
public java.lang.String axiom
public java.lang.Integer number
public java.util.ArrayList<java.lang.Integer> premises
public static java.util.ArrayList<ProofStep> normalizeProofStepNumbers(java.util.ArrayList<ProofStep> proofSteps)
public static java.util.ArrayList<ProofStep> removeDuplicates(java.util.ArrayList<ProofStep> proofSteps)
public static java.util.ArrayList<ProofStep> removeUnnecessary(java.util.ArrayList<ProofStep> proofSteps)
public java.lang.String toString()
toString
in class java.lang.Object