Proof: Do Line At Unchanged 46

Let's prove the following theorem:

if the following are true:
  • expression state at time 46 = "return"
  • the line at time 46 = 5

then the line at time 47 = 5

Proof:

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

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

Comments

Please log in to add comments