Proof: Byte 125 Stays the Same 20

Let's prove the following theorem:

if the following are true:
  • instruction #7 is jumpr addr=2
  • the PC at time 20 = 7
  • value of cell 125 at time 20 = 2

then value of cell 125 at time 21 = 2

Proof:

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

Given
1 instruction #7 is jumpr addr=2
2 the PC at time 20 = 7
3 value of cell 125 at time 20 = 2
Proof Table
# Claim Reason
1 value of cell 125 at time (20 + 1) = value of cell 125 at time 20 if instruction #7 is jumpr addr=2 and the PC at time 20 = 7, then value of cell 125 at time (20 + 1) = value of cell 125 at time 20
2 20 + 1 = 21 20 + 1 = 21
3 value of cell 125 at time (20 + 1) = value of cell 125 at time 21 if 20 + 1 = 21, then value of cell 125 at time (20 + 1) = value of cell 125 at time 21
4 value of cell 125 at time 21 = value of cell 125 at time 20 if value of cell 125 at time (20 + 1) = value of cell 125 at time 21 and value of cell 125 at time (20 + 1) = value of cell 125 at time 20, then value of cell 125 at time 21 = value of cell 125 at time 20
5 value of cell 125 at time 21 = 2 if value of cell 125 at time 21 = value of cell 125 at time 20 and value of cell 125 at time 20 = 2, then value of cell 125 at time 21 = 2

Comments

Please log in to add comments