if the following are true:- instruction #4 is
add dst=3 src1=1 src2=2
- the PC at time 10 = 4
- value of cell 4 at time 10 = 1
add dst=3 src1=1 src2=2
then value of cell 4 at time 11 = 1
Start from the conclusion and work back up the proof. Click the arrow to show the parents.
- value of cell 4 at time 11 = 1,
if the following are true:
- a = b
- b = c
then a = c
- value of cell 4 at time 11 = value of cell 4 at time 10,
if the following are true:
- a = b
- a = c
then b = c
- value of cell 4 at time (10 + 1) = value of cell 4 at time 11,
if 10 + 1 = 11, then value of cell 4 at time (10 + 1) = value of cell 4 at time 11
- 10 + 1 = 11, 10 + 1 = 11
- value of cell 4 at time (10 + 1) = value of cell 4 at time 10,
if the following are true:
- instruction #i is
add dst=d src1=s1 src2=s2
- the PC at time t = i
- not (other = d)
then value of cell other at time (t + 1) = value of cell other at time t
- instruction #4 is
add dst=3 src1=1 src2=2
- the PC at time 10 = 4
- not (4 = 3), not (4 = 3)
- instruction #i is
- value of cell 4 at time 10 = 1