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