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.
Performs all possible contractions.
Performs all possible contractions. Use with care!
A proof.
A proof with all duplicate formulas in the end sequent contracted.
Contracts the current proof down to a given sequent.
Contracts the current proof down to a given sequent.
An LKProof.
The target sequent.
If true, the end sequent of p must 1.) contain every formula at least as often as targetSequent and 2.) contain no formula that isn't contained at least once in targetSequent.
s1 with its end sequent contracted down to targetSequent.
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.
Performs all possible contractions.
Performs all possible contractions. Use with care!
A proof.
A proof with all duplicate formulas in the end sequent contracted and an OccConnector.
Contracts the current proof down to a given sequent.
Contracts the current proof down to a given sequent.
An LKProof.
The target sequent.
If true, the end sequent of p must 1.) contain every formula at least as often as targetSequent and 2.) contain no formula that isn't contained at least once in targetSequent.
p with its end sequent contracted down to targetSequent and an OccConnector.
This macro rule simulates a series of contractions in both cedents.