Proof: Do Line At Unchanged 39

Let's prove the following theorem:

if the following are true:
  • expression state at time 39 = "iterate_args"
  • the line at time 39 = 4

then the line at time 40 = 4

Proof:

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

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

Comments

Please log in to add comments