Proof: Do Stack At Unchanged 32

Let's prove the following theorem:

if the following are true:
  • expression state at time 32 = "iterate_args"
  • stack at time 32 = [ ]

then stack at time 33 = [ ]

Proof:

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

Given
1 expression state at time 32 = "iterate_args"
2 stack at time 32 = [ ]
Proof Table
# Claim Reason
1 stack at time (32 + 1) = stack at time 32 if expression state at time 32 = "iterate_args", then stack at time (32 + 1) = stack at time 32
2 stack at time (32 + 1) = [ ] if stack at time (32 + 1) = stack at time 32 and stack at time 32 = [ ], then stack at time (32 + 1) = [ ]
3 32 + 1 = 33 32 + 1 = 33
4 stack at time (32 + 1) = stack at time 33 if 32 + 1 = 33, then stack at time (32 + 1) = stack at time 33
5 stack at time 33 = [ ] if stack at time (32 + 1) = stack at time 33 and stack at time (32 + 1) = [ ], then stack at time 33 = [ ]

Comments

Please log in to add comments