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