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