Proof: Write Stmt Class Defs At Unchanged 13

Let's prove the following theorem:

if the following are true:
  • the line at time 13 = 2
  • the tab at time 13 = 1
  • statement at line 2, tab 1 = z = __add__(x, 3)
  • Class Map at time 13 = [ ]

then Class Map at time 14 = [ ]

Proof:

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

Given
1 the line at time 13 = 2
2 the tab at time 13 = 1
3 statement at line 2, tab 1 = z = __add__(x, 3)
4 Class Map at time 13 = [ ]
Proof Table
# Claim Reason
1 Class Map at time (13 + 1) = Class Map at time 13 if the line at time 13 = 2 and the tab at time 13 = 1 and statement at line 2, tab 1 = z = __add__(x, 3), then Class Map at time (13 + 1) = Class Map at time 13
2 Class Map at time (13 + 1) = [ ] if Class Map at time (13 + 1) = Class Map at time 13 and Class Map at time 13 = [ ], then Class Map at time (13 + 1) = [ ]
3 13 + 1 = 14 13 + 1 = 14
4 Class Map at time (13 + 1) = Class Map at time 14 if 13 + 1 = 14, then Class Map at time (13 + 1) = Class Map at time 14
5 Class Map at time 14 = [ ] if Class Map at time (13 + 1) = Class Map at time 14 and Class Map at time (13 + 1) = [ ], then Class Map at time 14 = [ ]

Comments

Please log in to add comments