Proof: Pc 4
Let's prove the following theorem:
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
Proof:
  
      
      Given
      
    
    
      
  
  
| 1 | instruction #10 is store src=3 addr=1 imm=0 | 
|---|---|
| 2 | the PC at time 4 = 10 | 
| # | Claim | Reason | 
|---|---|---|
| 1 | the PC at time (4 + 1) = 10 + 1 | if instruction #10 is store src=3 addr=1 imm=0and the PC at time 4 = 10, then the PC at time (4 + 1) = 10 + 1 | 
| 2 | 4 + 1 = 5 | 4 + 1 = 5 | 
| 3 | 10 + 1 = 11 | 10 + 1 = 11 | 
| 4 | the PC at time (4 + 1) = the PC at time 5 | if 4 + 1 = 5, then the PC at time (4 + 1) = the PC at time 5 | 
| 5 | the PC at time 5 = 11 | if the PC at time (4 + 1) = 10 + 1 and the PC at time (4 + 1) = the PC at time 5 and 10 + 1 = 11, then the PC at time 5 = 11 | 
Comments
Please log in to add comments