Proof: Pc 8

Let's prove the following theorem:

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

then the PC at time 9 = 2

Proof:

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

Given
1 instruction #1 is store src=7 addr=6 imm=0
2 the PC at time 8 = 1
Proof Table
# Claim Reason
1 the PC at time (8 + 1) = 1 + 1 if instruction #1 is store src=7 addr=6 imm=0 and the PC at time 8 = 1, then the PC at time (8 + 1) = 1 + 1
2 8 + 1 = 9 8 + 1 = 9
3 1 + 1 = 2 1 + 1 = 2
4 the PC at time (8 + 1) = the PC at time 9 if 8 + 1 = 9, then the PC at time (8 + 1) = the PC at time 9
5 the PC at time 9 = 2 if the PC at time (8 + 1) = 1 + 1 and the PC at time (8 + 1) = the PC at time 9 and 1 + 1 = 2, then the PC at time 9 = 2

Comments

Please log in to add comments