Proof: Get Begin Expr Params Unchanged8

Let's prove the following theorem:

if the following are true:
  • the expression at time 8 = "Estonia"
  • expression state at time 8 = "begin_expr"
  • "Estonia" is constant
  • arguments stack at time 8 = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ]

then arguments stack at time 9 = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ]

Proof:

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

Given
1 the expression at time 8 = "Estonia"
2 expression state at time 8 = "begin_expr"
3 "Estonia" is constant
4 arguments stack at time 8 = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ]
Proof Table
# Claim Reason
1 arguments stack at time (8 + 1) = arguments stack at time 8 if expression state at time 8 = "begin_expr" and the expression at time 8 = "Estonia" and "Estonia" is constant, then arguments stack at time (8 + 1) = arguments stack at time 8
2 arguments stack at time (8 + 1) = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ] if arguments stack at time (8 + 1) = arguments stack at time 8 and arguments stack at time 8 = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ], then arguments stack at time (8 + 1) = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ]
3 8 + 1 = 9 8 + 1 = 9
4 arguments stack at time (8 + 1) = arguments stack at time 9 if 8 + 1 = 9, then arguments stack at time (8 + 1) = arguments stack at time 9
5 arguments stack at time 9 = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ] if arguments stack at time (8 + 1) = arguments stack at time 9 and arguments stack at time (8 + 1) = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ], then arguments stack at time 9 = [ [ ], [ [ entry "MX": "Mexico", [ ] ], [ ] ] ]

Comments

Please log in to add comments