if the following are true:- instruction #6 is
addi dst=2 src=3 imm=0
- the PC at time 24 = 6
- value of cell 4 at time 24 = 3
addi dst=2 src=3 imm=0
then value of cell 4 at time 25 = 3
Start from the conclusion and work back up the proof. Click the arrow to show the parents.
- value of cell 4 at time 25 = 3,
if the following are true:
- a = b
- b = c
then a = c
- value of cell 4 at time 25 = value of cell 4 at time 24,
if the following are true:
- a = b
- a = c
then b = c
- value of cell 4 at time (24 + 1) = value of cell 4 at time 25,
if 24 + 1 = 25, then value of cell 4 at time (24 + 1) = value of cell 4 at time 25
- 24 + 1 = 25, 24 + 1 = 25
- value of cell 4 at time (24 + 1) = value of cell 4 at time 24,
if the following are true:
- instruction #i is
addi dst=dst src=src imm=imm
- the PC at time t = i
- not (other = dst)
then value of cell other at time (t + 1) = value of cell other at time t
- instruction #6 is
addi dst=2 src=3 imm=0
- the PC at time 24 = 6
- not (4 = 2), not (4 = 2)
- instruction #i is
- value of cell 4 at time 24 = 3