Convenience constructor for c:r that, given a formula to contract on the right, will automatically pick the first two occurrences of that formula.
Convenience constructor for c:r that, given a formula to contract on the right, will automatically pick the first two occurrences of that formula.
The subproof π.
The formula to contract.
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.
Method to determine the indices of formulas in a sequent.
Method to determine the indices of formulas in a sequent.
If either list contains duplicate formulas, they must occur that many times in the respective cedent.
The sequent to find formulas in.
Formulas to be found in the antecedent.
Formulas to be found in the succedent.