Proof: Byte 1 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 1 at time 20 = 123

then value of cell 1 at time 21 = 123

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 1 at time 20 = 123
Proof Table
# Claim Reason
1 value of cell 1 at time (20 + 1) = value of cell 1 at time 20 if instruction #7 is jumpr addr=2 and the PC at time 20 = 7, then value of cell 1 at time (20 + 1) = value of cell 1 at time 20
2 20 + 1 = 21 20 + 1 = 21
3 value of cell 1 at time (20 + 1) = value of cell 1 at time 21 if 20 + 1 = 21, then value of cell 1 at time (20 + 1) = value of cell 1 at time 21
4 value of cell 1 at time 21 = value of cell 1 at time 20 if value of cell 1 at time (20 + 1) = value of cell 1 at time 21 and value of cell 1 at time (20 + 1) = value of cell 1 at time 20, then value of cell 1 at time 21 = value of cell 1 at time 20
5 value of cell 1 at time 21 = 123 if value of cell 1 at time 21 = value of cell 1 at time 20 and value of cell 1 at time 20 = 123, then value of cell 1 at time 21 = 123

Comments

Please log in to add comments