Proof: Do Line At Unchanged 21

Let's prove the following theorem:

if the following are true:
  • expression state at time 21 = "iterate_args"
  • the line at time 21 = 1

then the line at time 22 = 1

Proof:

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

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

Comments

Please log in to add comments