Proof: Substitute
Let's prove the following theorem:
if the following are true:
- a = b
- f = b - c
then f = a - c
Proof:
Given
1 | a = b |
---|---|
2 | f = b - c |
# | Claim | Reason |
---|---|---|
1 | b - c = a - c | if a = b, then b - c = a - c |
2 | f = a - c | if f = b - c and b - c = a - c, then f = a - c |
Comments
Please log in to add comments