Proof: Get Begin Expr Params Unchanged28

Let's prove the following theorem:

if the following are true:
  • the expression at time 28 = 0
  • expression state at time 28 = "begin_expr"
  • 0 is constant
  • arguments stack at time 28 = [ [ ], [ ] ]

then arguments stack at time 29 = [ [ ], [ ] ]

Proof:

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

Given
1 the expression at time 28 = 0
2 expression state at time 28 = "begin_expr"
3 0 is constant
4 arguments stack at time 28 = [ [ ], [ ] ]
Proof Table
# Claim Reason
1 arguments stack at time (28 + 1) = arguments stack at time 28 if expression state at time 28 = "begin_expr" and the expression at time 28 = 0 and 0 is constant, then arguments stack at time (28 + 1) = arguments stack at time 28
2 arguments stack at time (28 + 1) = [ [ ], [ ] ] if arguments stack at time (28 + 1) = arguments stack at time 28 and arguments stack at time 28 = [ [ ], [ ] ], then arguments stack at time (28 + 1) = [ [ ], [ ] ]
3 28 + 1 = 29 28 + 1 = 29
4 arguments stack at time (28 + 1) = arguments stack at time 29 if 28 + 1 = 29, then arguments stack at time (28 + 1) = arguments stack at time 29
5 arguments stack at time 29 = [ [ ], [ ] ] if arguments stack at time (28 + 1) = arguments stack at time 29 and arguments stack at time (28 + 1) = [ [ ], [ ] ], then arguments stack at time 29 = [ [ ], [ ] ]

Comments

Please log in to add comments