Proof: Write Stmt Class Defs At Unchanged 47

Let's prove the following theorem:

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

then Class Map at time 48 = [ ]

Proof:

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

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

Comments

Please log in to add comments