Proof: Do Control Map At Unchanged 22

Let's prove the following theorem:

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

then Control Map at time 23 = [ entry 0: (pair ("function", "add_three")), [ ] ]

Proof:

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

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

Comments

Please log in to add comments