Proof: Write Stmt Control Map 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)
  • Control Map at time 26 = [ ]

then Control 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 Control Map at time 26 = [ ]
Proof Table
# Claim Reason
1 Control Map at time (26 + 1) = Control 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 Control Map at time (26 + 1) = Control Map at time 26
2 Control Map at time (26 + 1) = [ ] if Control Map at time (26 + 1) = Control Map at time 26 and Control Map at time 26 = [ ], then Control Map at time (26 + 1) = [ ]
3 26 + 1 = 27 26 + 1 = 27
4 Control Map at time (26 + 1) = Control Map at time 27 if 26 + 1 = 27, then Control Map at time (26 + 1) = Control Map at time 27
5 Control Map at time 27 = [ ] if Control Map at time (26 + 1) = Control Map at time 27 and Control Map at time (26 + 1) = [ ], then Control Map at time 27 = [ ]

Comments

Please log in to add comments