Proof: Do Control Map At Unchanged 19

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments