Proof: Do Control Map At Unchanged 38

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments