Proof: Do Control Map At Unchanged 21

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments