Proof: Get Iterate End Expr 8

Let's prove the following theorem:

if the following are true:
  • expression state at time 8 = "iterate_args"
  • arguments stack at time 8 = [ [ ], [ ] ]
  • parent stack at time 8 = [ __eq__(1, 3), [ ] ]

then the expression at time 9 = __eq__(1, 3)

Proof:

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

Given
1 expression state at time 8 = "iterate_args"
2 arguments stack at time 8 = [ [ ], [ ] ]
3 parent stack at time 8 = [ __eq__(1, 3), [ ] ]
Proof Table
# Claim Reason
1 the expression at time (8 + 1) = __eq__(1, 3) if expression state at time 8 = "iterate_args" and arguments stack at time 8 = [ [ ], [ ] ] and parent stack at time 8 = [ __eq__(1, 3), [ ] ], then the expression at time (8 + 1) = __eq__(1, 3)
2 8 + 1 = 9 8 + 1 = 9
3 the expression at time (8 + 1) = the expression at time 9 if 8 + 1 = 9, then the expression at time (8 + 1) = the expression at time 9
4 the expression at time 9 = __eq__(1, 3) if the expression at time (8 + 1) = the expression at time 9 and the expression at time (8 + 1) = __eq__(1, 3), then the expression at time 9 = __eq__(1, 3)

Comments

Please log in to add comments