Proof: Write Stmt Class Defs At Unchanged 26

Let's prove the following theorem:

if the following are true:
  • the line at time 26 = 5
  • the tab at time 26 = 0
  • statement at line 5, tab 0 = b = add_three(a)
  • Class Map at time 26 = [ ]

then Class Map at time 27 = [ ]

Proof:

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

Given
1 the line at time 26 = 5
2 the tab at time 26 = 0
3 statement at line 5, tab 0 = b = add_three(a)
4 Class Map at time 26 = [ ]
Proof Table
# Claim Reason
1 Class Map at time (26 + 1) = Class Map at time 26 if the line at time 26 = 5 and the tab at time 26 = 0 and statement at line 5, tab 0 = b = add_three(a), then Class Map at time (26 + 1) = Class Map at time 26
2 Class Map at time (26 + 1) = [ ] if Class Map at time (26 + 1) = Class Map at time 26 and Class Map at time 26 = [ ], then Class Map at time (26 + 1) = [ ]
3 26 + 1 = 27 26 + 1 = 27
4 Class Map at time (26 + 1) = Class Map at time 27 if 26 + 1 = 27, then Class Map at time (26 + 1) = Class Map at time 27
5 Class Map at time 27 = [ ] if Class Map at time (26 + 1) = Class Map at time 27 and Class Map at time (26 + 1) = [ ], then Class Map at time 27 = [ ]

Comments

Please log in to add comments