Proof: Do Expr At Unchanged 14
Let's prove the following theorem:
if the following are true:
- expression state at time 14 = "call_function_begin"
- the expression at time 14 =
Dog()
then the expression at time 15 = Dog()
Proof:
Given
1 | expression state at time 14 = "call_function_begin" |
---|---|
2 | the expression at time 14 = Dog() |
# | Claim | Reason |
---|---|---|
1 | the expression at time (14 + 1) = the expression at time 14 | if expression state at time 14 = "call_function_begin", then the expression at time (14 + 1) = the expression at time 14 |
2 | the expression at time (14 + 1) = Dog() |
if the expression at time (14 + 1) = the expression at time 14 and the expression at time 14 = Dog() , then the expression at time (14 + 1) = Dog() |
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 = Dog() |
if the expression at time (14 + 1) = the expression at time 15 and the expression at time (14 + 1) = Dog() , then the expression at time 15 = Dog() |
Comments
Please log in to add comments