Proof: Do Tab At Unchanged 6

Let's prove the following theorem:

if the following are true:
  • expression state at time 6 = "return"
  • the tab at time 6 = 0

then the tab at time 7 = 0

Proof:

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

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

Comments

Please log in to add comments