Allows replacements at several positions in the auxiliary formula.
Allows replacements at several positions in the auxiliary formula.
A proof ending with term1oc in the succedent.
A proof ending with term2oc in the antecedent.
An equation s = t.
A formula A.
The proposed main formula.
A new proof with principal formula main. Eq rules will be used according to the replacements that need to be made.
Allows replacements at several positions in the auxiliary formula.
Allows replacements at several positions in the auxiliary formula.
A proof ending with term1oc in the succedent.
A proof ending with term2oc in the antecedent.
An equation s = t.
A formula A.
List of positions of terms that should be replaced by s.
List of positions of terms that should be replaced by t.
A new proof whose main formula is A with every p in sPos replaced by s and every p in tPos replaced by t.
Macro rule that simulates several term replacements at once.