Proof: Pc 24

Let's prove the following theorem:

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

then the PC at time 25 = 25

Proof:

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

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

Comments

Please log in to add comments