Proofs

A proof is a series of claims that lead to a conclusion. Some proofs are conditional, which means that the claims can only be made under certain conditions. Click on a statement to see the proof

Pc 0
if the following are true:
  • instruction #0 is addi dst=1 src=0 imm=128
  • the PC at time 0 = 0

then the PC at time 1 = 1


Jump Help 1
if the following are true:
  • instruction #1 is jump imm=8
  • the PC at time 1 = 1

then the PC at time 2 = 8


Byte 1 Stays the Same 1
if the following are true:
  • instruction #1 is jump imm=8
  • the PC at time 1 = 1
  • value of cell 1 at time 1 = 128

then value of cell 1 at time 2 = 128


Addi Zero Insn 2
if the following are true:
  • instruction #8 is addi dst=3 src=0 imm=2
  • the PC at time 2 = 8

then value of cell 3 at time 3 = 2


Pc 2
if the following are true:
  • instruction #8 is addi dst=3 src=0 imm=2
  • the PC at time 2 = 8

then the PC at time 3 = 9


Byte 1 Stays the Same 2
if the following are true:
  • instruction #8 is addi dst=3 src=0 imm=2
  • the PC at time 2 = 8
  • value of cell 1 at time 2 = 128

then value of cell 1 at time 3 = 128


Subtracti Insn 3
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 9
  • the PC at time 3 = 9
  • value of cell 1 at time 3 = 128

then value of cell 1 at time 4 = 127


Pc 3
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 9
  • the PC at time 3 = 9

then the PC at time 4 = 10


Byte 3 Stays the Same 3
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 9
  • the PC at time 3 = 9
  • value of cell 3 at time 3 = 2

then value of cell 3 at time 4 = 2


Store 4
if the following are true:
  • instruction #10 is store src=3 addr=1 imm=0
  • the PC at time 4 = 10
  • value of cell 1 at time 4 = 127
  • value of cell 3 at time 4 = 2

then value of cell 127 at time 5 = 2


Pc 4
if the following are true:
  • instruction #10 is store src=3 addr=1 imm=0
  • the PC at time 4 = 10

then the PC at time 5 = 11


Byte 1 Stays the Same Store 4
if the following are true:
  • instruction #10 is store src=3 addr=1 imm=0
  • the PC at time 4 = 10
  • value of cell 1 at time 4 = 127
  • value of cell 1 at time 4 = 127

then value of cell 1 at time 5 = 127


Byte 3 Stays the Same Store 4
if the following are true:
  • instruction #10 is store src=3 addr=1 imm=0
  • the PC at time 4 = 10
  • value of cell 3 at time 4 = 2
  • value of cell 1 at time 4 = 127

then value of cell 3 at time 5 = 2


Addi Zero Insn 5
if the following are true:
  • instruction #11 is addi dst=3 src=0 imm=3
  • the PC at time 5 = 11

then value of cell 3 at time 6 = 3


Pc 5
if the following are true:
  • instruction #11 is addi dst=3 src=0 imm=3
  • the PC at time 5 = 11

then the PC at time 6 = 12


Byte 1 Stays the Same 5
if the following are true:
  • instruction #11 is addi dst=3 src=0 imm=3
  • the PC at time 5 = 11
  • value of cell 1 at time 5 = 127

then value of cell 1 at time 6 = 127


Byte 127 Stays the Same 5
if the following are true:
  • instruction #11 is addi dst=3 src=0 imm=3
  • the PC at time 5 = 11
  • value of cell 127 at time 5 = 2

then value of cell 127 at time 6 = 2


Subtracti Insn 6
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 12
  • the PC at time 6 = 12
  • value of cell 1 at time 6 = 127

then value of cell 1 at time 7 = 126


Pc 6
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 12
  • the PC at time 6 = 12

then the PC at time 7 = 13


Byte 3 Stays the Same 6
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 12
  • the PC at time 6 = 12
  • value of cell 3 at time 6 = 3

then value of cell 3 at time 7 = 3


Byte 127 Stays the Same 6
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 12
  • the PC at time 6 = 12
  • value of cell 127 at time 6 = 2

then value of cell 127 at time 7 = 2


Store 7
if the following are true:
  • instruction #13 is store src=3 addr=1 imm=0
  • the PC at time 7 = 13
  • value of cell 1 at time 7 = 126
  • value of cell 3 at time 7 = 3

then value of cell 126 at time 8 = 3


Pc 7
if the following are true:
  • instruction #13 is store src=3 addr=1 imm=0
  • the PC at time 7 = 13

then the PC at time 8 = 14


Byte 1 Stays the Same Store 7
if the following are true:
  • instruction #13 is store src=3 addr=1 imm=0
  • the PC at time 7 = 13
  • value of cell 1 at time 7 = 126
  • value of cell 1 at time 7 = 126

then value of cell 1 at time 8 = 126


Byte 3 Stays the Same Store 7
if the following are true:
  • instruction #13 is store src=3 addr=1 imm=0
  • the PC at time 7 = 13
  • value of cell 3 at time 7 = 3
  • value of cell 1 at time 7 = 126

then value of cell 3 at time 8 = 3


Byte 127 Stays the Same Store 7
if the following are true:
  • instruction #13 is store src=3 addr=1 imm=0
  • the PC at time 7 = 13
  • value of cell 127 at time 7 = 2
  • value of cell 1 at time 7 = 126

then value of cell 127 at time 8 = 2


Load 8
if the following are true:
  • instruction #14 is load dst=3 addr=1 imm=1
  • the PC at time 8 = 14
  • value of cell 1 at time 8 = 126
  • value of cell 127 at time 8 = 2

then value of cell 3 at time 9 = 2


Pc 8
if the following are true:
  • instruction #14 is load dst=3 addr=1 imm=1
  • the PC at time 8 = 14

then the PC at time 9 = 15


Byte 1 Stays the Same 8
if the following are true:
  • instruction #14 is load dst=3 addr=1 imm=1
  • the PC at time 8 = 14
  • value of cell 1 at time 8 = 126

then value of cell 1 at time 9 = 126


Byte 127 Stays the Same 8
if the following are true:
  • instruction #14 is load dst=3 addr=1 imm=1
  • the PC at time 8 = 14
  • value of cell 127 at time 8 = 2

then value of cell 127 at time 9 = 2


Byte 126 Stays the Same 8
if the following are true:
  • instruction #14 is load dst=3 addr=1 imm=1
  • the PC at time 8 = 14
  • value of cell 126 at time 8 = 3

then value of cell 126 at time 9 = 3


Subtracti Insn 9
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 15
  • the PC at time 9 = 15
  • value of cell 1 at time 9 = 126

then value of cell 1 at time 10 = 125


Pc 9
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 15
  • the PC at time 9 = 15

then the PC at time 10 = 16


Byte 3 Stays the Same 9
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 15
  • the PC at time 9 = 15
  • value of cell 3 at time 9 = 2

then value of cell 3 at time 10 = 2


Byte 127 Stays the Same 9
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 15
  • the PC at time 9 = 15
  • value of cell 127 at time 9 = 2

then value of cell 127 at time 10 = 2


Byte 126 Stays the Same 9
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 15
  • the PC at time 9 = 15
  • value of cell 126 at time 9 = 3

then value of cell 126 at time 10 = 3


Store 10
if the following are true:
  • instruction #16 is store src=3 addr=1 imm=0
  • the PC at time 10 = 16
  • value of cell 1 at time 10 = 125
  • value of cell 3 at time 10 = 2

then value of cell 125 at time 11 = 2


Pc 10
if the following are true:
  • instruction #16 is store src=3 addr=1 imm=0
  • the PC at time 10 = 16

then the PC at time 11 = 17


Byte 1 Stays the Same Store 10
if the following are true:
  • instruction #16 is store src=3 addr=1 imm=0
  • the PC at time 10 = 16
  • value of cell 1 at time 10 = 125
  • value of cell 1 at time 10 = 125

then value of cell 1 at time 11 = 125


Byte 3 Stays the Same Store 10
if the following are true:
  • instruction #16 is store src=3 addr=1 imm=0
  • the PC at time 10 = 16
  • value of cell 3 at time 10 = 2
  • value of cell 1 at time 10 = 125

then value of cell 3 at time 11 = 2


Byte 127 Stays the Same Store 10
if the following are true:
  • instruction #16 is store src=3 addr=1 imm=0
  • the PC at time 10 = 16
  • value of cell 127 at time 10 = 2
  • value of cell 1 at time 10 = 125

then value of cell 127 at time 11 = 2


Byte 126 Stays the Same Store 10
if the following are true:
  • instruction #16 is store src=3 addr=1 imm=0
  • the PC at time 10 = 16
  • value of cell 126 at time 10 = 3
  • value of cell 1 at time 10 = 125

then value of cell 126 at time 11 = 3


Load 11
if the following are true:
  • instruction #17 is load dst=3 addr=1 imm=1
  • the PC at time 11 = 17
  • value of cell 1 at time 11 = 125
  • value of cell 126 at time 11 = 3

then value of cell 3 at time 12 = 3


Pc 11
if the following are true:
  • instruction #17 is load dst=3 addr=1 imm=1
  • the PC at time 11 = 17

then the PC at time 12 = 18


Byte 1 Stays the Same 11
if the following are true:
  • instruction #17 is load dst=3 addr=1 imm=1
  • the PC at time 11 = 17
  • value of cell 1 at time 11 = 125

then value of cell 1 at time 12 = 125


Byte 127 Stays the Same 11
if the following are true:
  • instruction #17 is load dst=3 addr=1 imm=1
  • the PC at time 11 = 17
  • value of cell 127 at time 11 = 2

then value of cell 127 at time 12 = 2


Byte 126 Stays the Same 11
if the following are true:
  • instruction #17 is load dst=3 addr=1 imm=1
  • the PC at time 11 = 17
  • value of cell 126 at time 11 = 3

then value of cell 126 at time 12 = 3


Byte 125 Stays the Same 11
if the following are true:
  • instruction #17 is load dst=3 addr=1 imm=1
  • the PC at time 11 = 17
  • value of cell 125 at time 11 = 2

then value of cell 125 at time 12 = 2


Subtracti Insn 12
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 18
  • the PC at time 12 = 18
  • value of cell 1 at time 12 = 125

then value of cell 1 at time 13 = 124


Pc 12
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 18
  • the PC at time 12 = 18

then the PC at time 13 = 19


Byte 3 Stays the Same 12
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 18
  • the PC at time 12 = 18
  • value of cell 3 at time 12 = 3

then value of cell 3 at time 13 = 3


Byte 127 Stays the Same 12
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 18
  • the PC at time 12 = 18
  • value of cell 127 at time 12 = 2

then value of cell 127 at time 13 = 2


Byte 126 Stays the Same 12
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 18
  • the PC at time 12 = 18
  • value of cell 126 at time 12 = 3

then value of cell 126 at time 13 = 3


Byte 125 Stays the Same 12
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 18
  • the PC at time 12 = 18
  • value of cell 125 at time 12 = 2

then value of cell 125 at time 13 = 2


Store 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19
  • value of cell 1 at time 13 = 124
  • value of cell 3 at time 13 = 3

then value of cell 124 at time 14 = 3


Pc 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19

then the PC at time 14 = 20


Byte 1 Stays the Same Store 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19
  • value of cell 1 at time 13 = 124
  • value of cell 1 at time 13 = 124

then value of cell 1 at time 14 = 124


Byte 3 Stays the Same Store 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19
  • value of cell 3 at time 13 = 3
  • value of cell 1 at time 13 = 124

then value of cell 3 at time 14 = 3


Byte 127 Stays the Same Store 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19
  • value of cell 127 at time 13 = 2
  • value of cell 1 at time 13 = 124

then value of cell 127 at time 14 = 2


Byte 126 Stays the Same Store 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19
  • value of cell 126 at time 13 = 3
  • value of cell 1 at time 13 = 124

then value of cell 126 at time 14 = 3


Byte 125 Stays the Same Store 13
if the following are true:
  • instruction #19 is store src=3 addr=1 imm=0
  • the PC at time 13 = 19
  • value of cell 125 at time 13 = 2
  • value of cell 1 at time 13 = 124

then value of cell 125 at time 14 = 2


Jal 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20

then the PC at time 15 = 2


Jal Return 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20

then value of cell 2 at time 15 = 21


Byte 1 Stays the Same 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20
  • value of cell 1 at time 14 = 124

then value of cell 1 at time 15 = 124


Byte 3 Stays the Same 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20
  • value of cell 3 at time 14 = 3

then value of cell 3 at time 15 = 3


Byte 127 Stays the Same 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20
  • value of cell 127 at time 14 = 2

then value of cell 127 at time 15 = 2


Byte 126 Stays the Same 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20
  • value of cell 126 at time 14 = 3

then value of cell 126 at time 15 = 3


Byte 125 Stays the Same 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20
  • value of cell 125 at time 14 = 2

then value of cell 125 at time 15 = 2


Byte 124 Stays the Same 14
if the following are true:
  • instruction #20 is a JAL instruction with jump to: 2
  • the PC at time 14 = 20
  • value of cell 124 at time 14 = 3

then value of cell 124 at time 15 = 3


Load 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 1 at time 15 = 124
  • value of cell 125 at time 15 = 2

then value of cell 3 at time 16 = 2


Pc 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2

then the PC at time 16 = 3


Byte 1 Stays the Same 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 1 at time 15 = 124

then value of cell 1 at time 16 = 124


Byte 127 Stays the Same 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 127 at time 15 = 2

then value of cell 127 at time 16 = 2


Byte 126 Stays the Same 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 126 at time 15 = 3

then value of cell 126 at time 16 = 3


Byte 125 Stays the Same 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 125 at time 15 = 2

then value of cell 125 at time 16 = 2


Byte 124 Stays the Same 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 124 at time 15 = 3

then value of cell 124 at time 16 = 3


Byte 2 Stays the Same 15
if the following are true:
  • instruction #2 is load dst=3 addr=1 imm=1
  • the PC at time 15 = 2
  • value of cell 2 at time 15 = 21

then value of cell 2 at time 16 = 21


Load 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 1 at time 16 = 124
  • value of cell 124 at time 16 = 3

then value of cell 4 at time 17 = 3


Pc 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3

then the PC at time 17 = 4


Byte 1 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 1 at time 16 = 124

then value of cell 1 at time 17 = 124


Byte 3 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 3 at time 16 = 2

then value of cell 3 at time 17 = 2


Byte 127 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 127 at time 16 = 2

then value of cell 127 at time 17 = 2


Byte 126 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 126 at time 16 = 3

then value of cell 126 at time 17 = 3


Byte 125 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 125 at time 16 = 2

then value of cell 125 at time 17 = 2


Byte 124 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 124 at time 16 = 3

then value of cell 124 at time 17 = 3


Byte 2 Stays the Same 16
if the following are true:
  • instruction #3 is load dst=4 addr=1 imm=0
  • the PC at time 16 = 3
  • value of cell 2 at time 16 = 21

then value of cell 2 at time 17 = 21


Add Insn 17
if the following are true:
  • the PC at time 17 = 4
  • instruction #4 is add dst=3 src1=3 src2=4

then value of cell 3 at time 18 = (value of cell 3 at time 17) + (value of cell 4 at time 17)


Substitute Add 17
if the following are true:
  • value of cell 3 at time 18 = (value of cell 3 at time 17) + (value of cell 4 at time 17)
  • value of cell 3 at time 17 = 2
  • value of cell 4 at time 17 = 3

then value of cell 3 at time 18 = 5


Pc 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4

then the PC at time 18 = 5


Byte 1 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 1 at time 17 = 124

then value of cell 1 at time 18 = 124


Byte 127 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 127 at time 17 = 2

then value of cell 127 at time 18 = 2


Byte 126 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 126 at time 17 = 3

then value of cell 126 at time 18 = 3


Byte 125 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 125 at time 17 = 2

then value of cell 125 at time 18 = 2


Byte 124 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 124 at time 17 = 3

then value of cell 124 at time 18 = 3


Byte 2 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 2 at time 17 = 21

then value of cell 2 at time 18 = 21


Byte 4 Stays the Same 17
if the following are true:
  • instruction #4 is add dst=3 src1=3 src2=4
  • the PC at time 17 = 4
  • value of cell 4 at time 17 = 3

then value of cell 4 at time 18 = 3


Subtracti Insn 18
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 5
  • the PC at time 18 = 5
  • value of cell 1 at time 18 = 124

then value of cell 1 at time 19 = 123


Pc 18
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 5
  • the PC at time 18 = 5

then the PC at time 19 = 6


Byte 3 Stays the Same 18
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 5
  • the PC at time 18 = 5
  • value of cell 3 at time 18 = 5

then value of cell 3 at time 19 = 5


Byte 127 Stays the Same 18
if the following are true:
  • subtract immediate instruction with dst: 1 src: 1 and immediate: 1 at 5
  • the PC at time 18 = 5
  • value of cell 127 at time 18 = 2

then value of cell 127 at time 19 = 2



Pages: 10 11 12 ... 16