Proof: Do Expr At Unchanged 14
Let's prove the following theorem:
if the following are true:
- expression state at time 14 = "begin_expr"
- the expression at time 14 = entry "MX": "Mexico"
then the expression at time 15 = entry "MX": "Mexico"
Proof:
Given
1 | expression state at time 14 = "begin_expr" |
---|---|
2 | the expression at time 14 = entry "MX": "Mexico" |
# | Claim | Reason |
---|---|---|
1 | the expression at time (14 + 1) = the expression at time 14 | if expression state at time 14 = "begin_expr", then the expression at time (14 + 1) = the expression at time 14 |
2 | the expression at time (14 + 1) = entry "MX": "Mexico" | if the expression at time (14 + 1) = the expression at time 14 and the expression at time 14 = entry "MX": "Mexico", then the expression at time (14 + 1) = entry "MX": "Mexico" |
3 | 14 + 1 = 15 | 14 + 1 = 15 |
4 | the expression at time (14 + 1) = the expression at time 15 | if 14 + 1 = 15, then the expression at time (14 + 1) = the expression at time 15 |
5 | the expression at time 15 = entry "MX": "Mexico" | if the expression at time (14 + 1) = the expression at time 15 and the expression at time (14 + 1) = entry "MX": "Mexico", then the expression at time 15 = entry "MX": "Mexico" |
Comments
Please log in to add comments