Create an LKRuleCreationException with a message starting with "Cannot create $longName: ..."
Create an LKRuleCreationException with a message starting with "Cannot create $longName: ..."
The rest of the message.
Simulates a binary equation rule, aka paramodulation.
Simulates a binary equation rule, aka paramodulation.
A binary rule of the form
(π1) (π2) Γ,Δ :- s = t A[s], Π :- Λ ------------------------------par:l A[t], Γ, Π :- Δ, Λis expressed as a series of inferences:
(π2) A[s], Π :- Λ --------------------w:l s = t, A[s], Π :- Λ (π1) ---------------------:eq:l Γ, Δ :- s = t A[t], s = t, Π :- Λ -------------------------------------cut A[t], Γ, Π :- Δ, Λ
Each of the aux formulas can be given as an index or a formula. If it is given as a formula, the constructor will attempt to find an appropriate index on its own.
The left subproof π1.
The index of the equation or the equation itself.
The right subproof π2.
The index of the aux formula or the aux formula itself.
The proposed main formula.
Simulates a binary equation rule, aka paramodulation.
Simulates a binary equation rule, aka paramodulation.
A binary rule of the form
(π1) (π2) Γ,Δ :- s = t A[s], Π :- Λ ------------------------------par:l A[t], Γ, Π :- Δ, Λis expressed as a series of inferences:
(π2) A[s], Π :- Λ --------------------w:l s = t, A[s], Π :- Λ (π1) ---------------------:eq:l Γ, Δ :- s = t A[t], s = t, Π :- Λ -------------------------------------cut A[t], Γ, Π :- Δ, Λ
Each of the aux formulas can be given as an index or a formula. If it is given as a formula, the constructor will attempt to find an appropriate index on its own.
The left subproof π1.
The index of the equation or the equation itself.
The right subproof π2.
The index of the aux formula or the aux formula itself.
Combines findIndicesOrFormulasInPremise and validateIndices.
Combines findIndicesOrFormulasInPremise and validateIndices. That is, it will return a pair of lists of indices and throw an exception if either list contains a -1.
The sequent in question.
The list of indices or formulas in the antecedent.
The list of indices or formulas in the succedent.
The long name of the rule.
The long name of the rule.
Throws an exception if the output of findFormulasInPremise contains any -1 entries.
Throws an exception if the output of findFormulasInPremise contains any -1 entries.
The sequent in question.
The list of formulas in the antecedent.
The list of indices corresponding to antFormulas.
The list of formulas in the succedent.
The list indices corresponding to sucFormulas.