Proof: Do Control Map At Unchanged 29

Let's prove the following theorem:

if the following are true:
  • expression state at time 29 = "iterate_args"
  • Control Map at time 29 = [ entry 0: (pair ("while", 2)), [ ] ]

then Control Map at time 30 = [ entry 0: (pair ("while", 2)), [ ] ]

Proof:

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

Given
1 expression state at time 29 = "iterate_args"
2 Control Map at time 29 = [ entry 0: (pair ("while", 2)), [ ] ]
Proof Table
# Claim Reason
1 Control Map at time (29 + 1) = Control Map at time 29 if expression state at time 29 = "iterate_args", then Control Map at time (29 + 1) = Control Map at time 29
2 Control Map at time (29 + 1) = [ entry 0: (pair ("while", 2)), [ ] ] if Control Map at time (29 + 1) = Control Map at time 29 and Control Map at time 29 = [ entry 0: (pair ("while", 2)), [ ] ], then Control Map at time (29 + 1) = [ entry 0: (pair ("while", 2)), [ ] ]
3 29 + 1 = 30 29 + 1 = 30
4 Control Map at time (29 + 1) = Control Map at time 30 if 29 + 1 = 30, then Control Map at time (29 + 1) = Control Map at time 30
5 Control Map at time 30 = [ entry 0: (pair ("while", 2)), [ ] ] if Control Map at time (29 + 1) = Control Map at time 30 and Control Map at time (29 + 1) = [ entry 0: (pair ("while", 2)), [ ] ], then Control Map at time 30 = [ entry 0: (pair ("while", 2)), [ ] ]

Comments

Please log in to add comments