public class ProofStep extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
axiom
A String containing a valid KIF expression, that is the axiom
expressing the conclusion of this proof step.
|
String |
formulaRole
A String of the role of the formula
|
String |
formulaType
A String of the type clause or formula
|
String |
inferenceType
A String of the inference type, e.g.
|
static String |
INSTANTIATED_QUERY |
static String |
NEGATED_QUERY |
Integer |
number
The number assigned to this proof step, initially by EProver and
then normalized by ProofStep.normalizeProofStepNumbers()
|
ArrayList<Integer> |
premises
An ArrayList of Integer(s), which reference prior proof steps from
which this axiom is derived.
|
static String |
QUERY |
| Constructor and Description |
|---|
ProofStep() |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<ProofStep> |
normalizeProofStepNumbers(ArrayList<ProofStep> proofSteps)
Take an ArrayList of ProofSteps and renumber them consecutively
starting at 1.
|
static ArrayList<ProofStep> |
removeDuplicates(ArrayList<ProofStep> proofSteps)
Take an ArrayList of ProofSteps and renumber them consecutively
starting at 1.
|
static ArrayList<ProofStep> |
removeUnnecessary(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;
|
String |
toString() |
public static final String QUERY
public static final String NEGATED_QUERY
public static final String INSTANTIATED_QUERY
public String formulaType
public String formulaRole
public String inferenceType
public String axiom
public Integer number
public static ArrayList<ProofStep> normalizeProofStepNumbers(ArrayList<ProofStep> proofSteps)
public static ArrayList<ProofStep> removeDuplicates(ArrayList<ProofStep> proofSteps)
public static ArrayList<ProofStep> removeUnnecessary(ArrayList<ProofStep> proofSteps)
Copyright © 2015. All rights reserved.