Proof: Get Iterate Parent 69

Let's prove the following theorem:

if the following are true:
  • expression state at time 69 = "iterate_args"
  • arguments stack at time 69 = [ [ 12, [ ] ], [ ] ]
  • parent stack at time 69 = [ __mul__(self.age, 12), [ ] ]

then parent stack at time 70 = [ __mul__(self.age, 12), [ ] ]

Proof:

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

Given
1 expression state at time 69 = "iterate_args"
2 arguments stack at time 69 = [ [ 12, [ ] ], [ ] ]
3 parent stack at time 69 = [ __mul__(self.age, 12), [ ] ]
Proof Table
# Claim Reason
1 parent stack at time (69 + 1) = parent stack at time 69 if expression state at time 69 = "iterate_args" and arguments stack at time 69 = [ [ 12, [ ] ], [ ] ], then parent stack at time (69 + 1) = parent stack at time 69
2 parent stack at time (69 + 1) = [ __mul__(self.age, 12), [ ] ] if parent stack at time (69 + 1) = parent stack at time 69 and parent stack at time 69 = [ __mul__(self.age, 12), [ ] ], then parent stack at time (69 + 1) = [ __mul__(self.age, 12), [ ] ]
3 69 + 1 = 70 69 + 1 = 70
4 parent stack at time (69 + 1) = parent stack at time 70 if 69 + 1 = 70, then parent stack at time (69 + 1) = parent stack at time 70
5 parent stack at time 70 = [ __mul__(self.age, 12), [ ] ] if parent stack at time (69 + 1) = parent stack at time 70 and parent stack at time (69 + 1) = [ __mul__(self.age, 12), [ ] ], then parent stack at time 70 = [ __mul__(self.age, 12), [ ] ]

Comments

Please log in to add comments