Proof: Write End Decrement If Line26

Let's prove the following theorem:

if the following are true:
  • the line at time 26 = 7
  • the tab at time 26 = 1
  • number of lines = 7 - 1
  • Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]

then the line at time 27 = 7

Proof:

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

Given
1 the line at time 26 = 7
2 the tab at time 26 = 1
3 number of lines = 7 - 1
4 Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]
Proof Table
# Claim Reason
1 value at (1 - 1) in map (Control Map at time 26) = pair ("if", False) if Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ], then value at (1 - 1) in map (Control Map at time 26) = pair ("if", False)
2 the line at time (26 + 1) = 7 if the line at time 26 = 7 and the tab at time 26 = 1 and number of lines = 7 - 1 and value at (1 - 1) in map (Control Map at time 26) = pair ("if", False), then the line at time (26 + 1) = 7
3 26 + 1 = 27 26 + 1 = 27
4 the line at time (26 + 1) = the line at time 27 if 26 + 1 = 27, then the line at time (26 + 1) = the line at time 27
5 the line at time 27 = 7 if the line at time (26 + 1) = the line at time 27 and the line at time (26 + 1) = 7, then the line at time 27 = 7

Comments

Please log in to add comments