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