Proof: Get Begin Expr Params Unchanged75

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments