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