|
This rule can be used forwards to use a s=t (equality) formula to substitute t for s or vice versa in another formula in the proof, or
backwards to substitute t for s or vice versa in a goal line to derive a new goal.
To use it forwards:
- select both an empty line and Equality Substitution.
- then select the s = t formula you wish to use in the substitution and the line you want to substitute the terms in. Both the lines
must be in the scope of the empty line.
- select the substitution you wish to perform when prompted.
- if there is more than one occurrence of the term you are going to replace in your formula, you will be prompted to enter the formula
you are trying to derive from the substitution. If you input no formula here, all occurrences will be substituted by default. If there
is only one occurrence of the term to replace, this step is skipped.
- the formula with the specified terms replaced will be added to your proof (as long as it's a valid instance of equals sub).
To use it backwards:
- select both the goal you wish to replace a term in and Equality Substitution.
- then select the equality formula you wish to use for the substitution.
- select the substitution you wish to perform when prompted.
- if there is more than one occurrence of the term you are going to replace in your formula you will be prompted to enter the formula you
are trying to derive from the substitution. If you input no formula here, all occurrences will be substituted by default. If there is only one
occurrence of the term this step is skipped.
- the formula with the specified terms replaced will be added as a new goal to your proof (as long as it's a valid instance of equals sub).
|