Proof: Do Control Map At Unchanged 41

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments