Proof: Write Stmt Tab Unchanged Expr49

Let's prove the following theorem:

if the following are true:
  • the line at time 49 = 5
  • the tab at time 49 = 2
  • statement at line 5, tab 2 = self."age" = age
  • expression state at time 49 = "end_expr"

then the tab at time 50 = 2

Proof:

View as a tree | View dependent proofs | Try proving it

Given
1 the line at time 49 = 5
2 the tab at time 49 = 2
3 statement at line 5, tab 2 = self."age" = age
4 expression state at time 49 = "end_expr"
Proof Table
# Claim Reason
1 the tab at time (49 + 1) = the tab at time 49 if the line at time 49 = 5 and the tab at time 49 = 2 and statement at line 5, tab 2 = self."age" = age and expression state at time 49 = "end_expr", then the tab at time (49 + 1) = the tab at time 49
2 the tab at time (49 + 1) = 2 if the tab at time (49 + 1) = the tab at time 49 and the tab at time 49 = 2, then the tab at time (49 + 1) = 2
3 49 + 1 = 50 49 + 1 = 50
4 the tab at time (49 + 1) = the tab at time 50 if 49 + 1 = 50, then the tab at time (49 + 1) = the tab at time 50
5 the tab at time 50 = 2 if the tab at time (49 + 1) = the tab at time 50 and the tab at time (49 + 1) = 2, then the tab at time 50 = 2

Comments

Please log in to add comments