Proof: Do Line At Unchanged 12

Let's prove the following theorem:

if the following are true:
  • expression state at time 12 = "return"
  • the line at time 12 = 8

then the line at time 13 = 8

Proof:

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

Given
1 expression state at time 12 = "return"
2 the line at time 12 = 8
Proof Table
# Claim Reason
1 the line at time (12 + 1) = the line at time 12 if expression state at time 12 = "return", then the line at time (12 + 1) = the line at time 12
2 the line at time (12 + 1) = 8 if the line at time (12 + 1) = the line at time 12 and the line at time 12 = 8, then the line at time (12 + 1) = 8
3 12 + 1 = 13 12 + 1 = 13
4 the line at time (12 + 1) = the line at time 13 if 12 + 1 = 13, then the line at time (12 + 1) = the line at time 13
5 the line at time 13 = 8 if the line at time (12 + 1) = the line at time 13 and the line at time (12 + 1) = 8, then the line at time 13 = 8

Comments

Please log in to add comments