Proof: Do Tab At Unchanged 21

Let's prove the following theorem:

if the following are true:
  • expression state at time 21 = "return"
  • the tab at time 21 = 2

then the tab at time 22 = 2

Proof:

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

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

Comments

Please log in to add comments