Package com.articulate.sigma
Class ProofStep
java.lang.Object
com.articulate.sigma.ProofStep
A trivial structure to hold the elements of a proof step.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA String containing a valid SUO-KIF expression, that is the axiom expressing the conclusion of this proof step.static booleanA String of the role of the formulaA String giving the type of the clause or formula, such as 'conjecture', 'plain' or 'axiom'A String of the inference type, e.g.static final Stringstatic final StringThe number assigned to this proof step, initially by EProver and then normalized by ProofStep.normalizeProofStepNumbers()An ArrayList of Integer(s), which reference prior proof steps from which this axiom is derived.static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnormalizeProofStepNumbers(List<ProofStep> proofSteps) Take an ArrayList of ProofSteps and renumber them consecutively starting at 1.removeDuplicates(List<ProofStep> proofSteps) Remove duplicate statements in the proofremoveUnnecessary(List<ProofStep> proofSteps) created by qingqing remove unnecessary steps, which should not appear in proof Unnecessary steps could be: (1) conjecture (2) duplicate $false;toString()
-
Field Details
-
debug
public static boolean debug -
QUERY
- See Also:
-
NEGATED_QUERY
- See Also:
-
INSTANTIATED_QUERY
- See Also:
-
input
-
formulaType
A String giving the type of the clause or formula, such as 'conjecture', 'plain' or 'axiom' -
formulaRole
A String of the role of the formula -
inferenceType
A String of the inference type, e.g. add_answer_literal | assume_negation | etc. -
axiom
A String containing a valid SUO-KIF expression, that is the axiom expressing the conclusion of this proof step. -
sourceID
-
number
The number assigned to this proof step, initially by EProver and then normalized by ProofStep.normalizeProofStepNumbers() -
premises
An ArrayList of Integer(s), which reference prior proof steps from which this axiom is derived. Note that the numbering is what the ProofProcessor assigns, not necessarily the proof numbers returned directly from the inference engine.
-
-
Constructor Details
-
ProofStep
public ProofStep()
-
-
Method Details
-
normalizeProofStepNumbers
Take an ArrayList of ProofSteps and renumber them consecutively starting at 1. Update the ArrayList of premises so that they reflect the renumbering. -
removeDuplicates
Remove duplicate statements in the proof -
removeUnnecessary
created by qingqing remove unnecessary steps, which should not appear in proof Unnecessary steps could be: (1) conjecture (2) duplicate $false; -
toString
-