Proof: Write Stmt Class Defs At Unchanged 57

Let's prove the following theorem:

if the following are true:
  • the line at time 57 = 2
  • the tab at time 57 = 0
  • statement at line 2, tab 0 = while __lt__(a, 2):
  • Class Map at time 57 = [ ]

then Class Map at time 58 = [ ]

Proof:

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

Given
1 the line at time 57 = 2
2 the tab at time 57 = 0
3 statement at line 2, tab 0 = while __lt__(a, 2):
4 Class Map at time 57 = [ ]
Proof Table
# Claim Reason
1 Class Map at time (57 + 1) = Class Map at time 57 if the line at time 57 = 2 and the tab at time 57 = 0 and statement at line 2, tab 0 = while __lt__(a, 2):, then Class Map at time (57 + 1) = Class Map at time 57
2 Class Map at time (57 + 1) = [ ] if Class Map at time (57 + 1) = Class Map at time 57 and Class Map at time 57 = [ ], then Class Map at time (57 + 1) = [ ]
3 57 + 1 = 58 57 + 1 = 58
4 Class Map at time (57 + 1) = Class Map at time 58 if 57 + 1 = 58, then Class Map at time (57 + 1) = Class Map at time 58
5 Class Map at time 58 = [ ] if Class Map at time (57 + 1) = Class Map at time 58 and Class Map at time (57 + 1) = [ ], then Class Map at time 58 = [ ]

Comments

Please log in to add comments