Proof: Do Line At Unchanged 38

Let's prove the following theorem:

if the following are true:
  • expression state at time 38 = "return"
  • the line at time 38 = 4

then the line at time 39 = 4

Proof:

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

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

Comments

Please log in to add comments