Proof: Do Tab At Unchanged 17

Let's prove the following theorem:

if the following are true:
  • expression state at time 17 = "begin_expr"
  • the tab at time 17 = 0

then the tab at time 18 = 0

Proof:

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

Given
1 expression state at time 17 = "begin_expr"
2 the tab at time 17 = 0
Proof Table
# Claim Reason
1 the tab at time (17 + 1) = the tab at time 17 if expression state at time 17 = "begin_expr", then the tab at time (17 + 1) = the tab at time 17
2 the tab at time (17 + 1) = 0 if the tab at time (17 + 1) = the tab at time 17 and the tab at time 17 = 0, then the tab at time (17 + 1) = 0
3 17 + 1 = 18 17 + 1 = 18
4 the tab at time (17 + 1) = the tab at time 18 if 17 + 1 = 18, then the tab at time (17 + 1) = the tab at time 18
5 the tab at time 18 = 0 if the tab at time (17 + 1) = the tab at time 18 and the tab at time (17 + 1) = 0, then the tab at time 18 = 0

Comments

Please log in to add comments