Proofs
A proof is a series of claims that lead to a conclusion. Some proofs are conditional, which means that the claims can only be made under certain conditions. Click on a statement to see the proof
- expression state at time 19 = "return"
- Class Map at time 19 = [ ]
then Class Map at time 20 = [ ]
- expression state at time 19 = "return"
- Python Object Store at time 19 = [
[4, 7]
, [ ] ]
then Python Object Store at time 20 = [ [4, 7]
, [ ] ]
- expression state at time 19 = "return"
- Control Map at time 19 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 20 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 20 = "iterate_args"
- arguments stack at time 20 = [ [ 4, [ ] ], [ ] ]
then the expression at time 21 = 4
- expression state at time 20 = "iterate_args"
- arguments stack at time 20 = [ [ 4, [ ] ], [ ] ]
then arguments stack at time 21 = [ [ ], [ ] ]
- expression state at time 20 = "iterate_args"
- arguments stack at time 20 = [ [ 4, [ ] ], [ ] ]
then expression state at time 21 = "begin_expr"
- expression state at time 20 = "iterate_args"
- arguments stack at time 20 = [ [ 4, [ ] ], [ ] ]
- parent stack at time 20 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 21 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 20 = "iterate_args"
- Value Stack at time 20 = [ [ 4, [ ] ], [ ] ]
then Value Stack at time 21 = [ [ 4, [ ] ], [ ] ]
- expression state at time 20 = "iterate_args"
- the line at time 20 = 3
then the line at time 21 = 3
- expression state at time 20 = "iterate_args"
- the tab at time 20 = 1
then the tab at time 21 = 1
- expression state at time 20 = "iterate_args"
- stack at time 20 = [ ]
then stack at time 21 = [ ]
- expression state at time 20 = "iterate_args"
- Python Object Store at time 20 = [
[4, 7]
, [ ] ]
then Python Object Store at time 21 = [ [4, 7]
, [ ] ]
- expression state at time 20 = "iterate_args"
- Control Map at time 20 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 21 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 20 = "iterate_args"
- Variables Map at time 20 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 21 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 20 = "iterate_args"
- Class Map at time 20 = [ ]
then Class Map at time 21 = [ ]
- the expression at time 21 = 4
- expression state at time 21 = "begin_expr"
- 4 is constant
- parent stack at time 21 = [
__mul__(value, 4)
, [ ] ]
then expression state at time 22 = "return"
- the expression at time 21 = 4
- expression state at time 21 = "begin_expr"
- 4 is constant
- Value Stack at time 21 = [ [ 4, [ ] ], [ ] ]
then Value Stack at time 22 = [ [ 4, [ ] ], [ ] ]
- the expression at time 21 = 4
- expression state at time 21 = "begin_expr"
- 4 is constant
- arguments stack at time 21 = [ [ ], [ ] ]
then arguments stack at time 22 = [ [ ], [ ] ]
- expression state at time 21 = "begin_expr"
- the expression at time 21 = 4
- 4 is constant
then Return Value at time 22 = 4
- expression state at time 21 = "begin_expr"
- the expression at time 21 = 4
- 4 is constant
- parent stack at time 21 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 22 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 21 = "begin_expr"
- the line at time 21 = 3
then the line at time 22 = 3
- expression state at time 21 = "begin_expr"
- the tab at time 21 = 1
then the tab at time 22 = 1
- expression state at time 21 = "begin_expr"
- stack at time 21 = [ ]
then stack at time 22 = [ ]
- expression state at time 21 = "begin_expr"
- Python Object Store at time 21 = [
[4, 7]
, [ ] ]
then Python Object Store at time 22 = [ [4, 7]
, [ ] ]
- expression state at time 21 = "begin_expr"
- Control Map at time 21 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 22 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 21 = "begin_expr"
- Variables Map at time 21 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 22 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 21 = "begin_expr"
- Class Map at time 21 = [ ]
then Class Map at time 22 = [ ]
- expression state at time 22 = "return"
- Value Stack at time 22 = [ [ 4, [ ] ], [ ] ]
- Return Value at time 22 = 4
then Value Stack at time 23 = [ [ 4, [ 4, [ ] ] ], [ ] ]
- expression state at time 22 = "return"
- Variables Map at time 22 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 23 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 22 = "return"
- the line at time 22 = 3
then the line at time 23 = 3
- expression state at time 22 = "return"
- the tab at time 22 = 1
then the tab at time 23 = 1
- expression state at time 22 = "return"
- arguments stack at time 22 = [ [ ], [ ] ]
then arguments stack at time 23 = [ [ ], [ ] ]
- expression state at time 22 = "return"
- parent stack at time 22 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 23 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 22 = "return"
- stack at time 22 = [ ]
then stack at time 23 = [ ]
- expression state at time 22 = "return"
- Class Map at time 22 = [ ]
then Class Map at time 23 = [ ]
- expression state at time 22 = "return"
- Python Object Store at time 22 = [
[4, 7]
, [ ] ]
then Python Object Store at time 23 = [ [4, 7]
, [ ] ]
- expression state at time 22 = "return"
- Control Map at time 22 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 23 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 23 = "iterate_args"
- arguments stack at time 23 = [ [ ], [ ] ]
- parent stack at time 23 = [
__mul__(value, 4)
, [ ] ]
then expression state at time 24 = "call_function_begin"
- expression state at time 23 = "iterate_args"
- arguments stack at time 23 = [ [ ], [ ] ]
- parent stack at time 23 = [
__mul__(value, 4)
, [ ] ]
then the expression at time 24 = __mul__(value, 4)
- expression state at time 23 = "iterate_args"
- arguments stack at time 23 = [ [ ], [ ] ]
- parent stack at time 23 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 24 = [ ]
- expression state at time 23 = "iterate_args"
- arguments stack at time 23 = [ [ ], [ ] ]
- parent stack at time 23 = [
__mul__(value, 4)
, [ ] ]
then arguments stack at time 24 = [ ]
- expression state at time 23 = "iterate_args"
- Value Stack at time 23 = [ [ 4, [ 4, [ ] ] ], [ ] ]
then Value Stack at time 24 = [ [ 4, [ 4, [ ] ] ], [ ] ]
- expression state at time 23 = "iterate_args"
- the line at time 23 = 3
then the line at time 24 = 3
- expression state at time 23 = "iterate_args"
- the tab at time 23 = 1
then the tab at time 24 = 1
- expression state at time 23 = "iterate_args"
- stack at time 23 = [ ]
then stack at time 24 = [ ]
- expression state at time 23 = "iterate_args"
- Python Object Store at time 23 = [
[4, 7]
, [ ] ]
then Python Object Store at time 24 = [ [4, 7]
, [ ] ]
- expression state at time 23 = "iterate_args"
- Control Map at time 23 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 24 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 23 = "iterate_args"
- Variables Map at time 23 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 24 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 23 = "iterate_args"
- Class Map at time 23 = [ ]
then Class Map at time 24 = [ ]
- expression state at time 24 = "call_function_begin"
- the expression at time 24 =
__mul__(value, 4)
- Python Object Store at time 24 = [
[4, 7]
, [ ] ]
then Python Object Store at time 25 = [ [4, 7]
, [ ] ]
- expression state at time 24 = "call_function_begin"
- Value Stack at time 24 = [ [ 4, [ 4, [ ] ] ], [ ] ]
- the expression at time 24 =
__mul__(value, 4)
then Return Value at time 25 = 16
- expression state at time 24 = "call_function_begin"
- parent stack at time 24 = [ ]
- the expression at time 24 =
__mul__(value, 4)
then expression state at time 25 = "end_expr"
- expression state at time 24 = "call_function_begin"
- Value Stack at time 24 = [ [ 4, [ 4, [ ] ] ], [ ] ]
- the expression at time 24 =
__mul__(value, 4)
then Value Stack at time 25 = [ ]
- expression state at time 24 = "call_function_begin"
- arguments stack at time 24 = [ ]
then arguments stack at time 25 = [ ]
- expression state at time 24 = "call_function_begin"
- parent stack at time 24 = [ ]
then parent stack at time 25 = [ ]
- expression state at time 24 = "call_function_begin"
- Control Map at time 24 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 25 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 24 = "call_function_begin"
- Variables Map at time 24 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 25 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 24 = "call_function_begin"
- the line at time 24 = 3
then the line at time 25 = 3
- expression state at time 24 = "call_function_begin"
- the tab at time 24 = 1
then the tab at time 25 = 1
- expression state at time 24 = "call_function_begin"
- stack at time 24 = [ ]
then stack at time 25 = [ ]
- expression state at time 24 = "call_function_begin"
- Class Map at time 24 = [ ]
then Class Map at time 25 = [ ]
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 25 = "end_expr"
- Variables Map at time 25 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- Return Value at time 25 = 16
then Variables Map at time 26 = [ entry numbers: (Python reference 0), [ entry value: 4, [ entry x: 16, [ ] ] ] ]
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 25 = "end_expr"
then the line at time 26 = 4
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 25 = "end_expr"
then the tab at time 26 = 1
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 25 = "end_expr"
- Python Object Store at time 25 = [
[4, 7]
, [ ] ]
then Python Object Store at time 26 = [ [4, 7]
, [ ] ]
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- stack at time 25 = [ ]
- expression state at time 25 = "end_expr"
then stack at time 26 = [ ]
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Control Map at time 25 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- the line at time 25 = 3
- the tab at time 25 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Class Map at time 25 = [ ]
then Class Map at time 26 = [ ]
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then the line at time 27 = 2
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then the tab at time 27 = 0
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- Variables Map at time 26 = [ entry numbers: (Python reference 0), [ entry value: 4, [ entry x: 16, [ ] ] ] ]
then Variables Map at time 27 = [ entry numbers: (Python reference 0), [ entry value: 4, [ entry x: 16, [ ] ] ] ]
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- stack at time 26 = [ ]
then stack at time 27 = [ ]
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- Python Object Store at time 26 = [
[4, 7]
, [ ] ]
then Python Object Store at time 27 = [ [4, 7]
, [ ] ]
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- the line at time 26 = 4
- the tab at time 26 = 1
- statement at line 4, tab 0 =
for value in numbers:
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- Class Map at time 26 = [ ]
then Class Map at time 27 = [ ]
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then the line at time 28 = 3
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then the tab at time 28 = 1
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then expression state at time 28 = "not_expr"
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- Variables Map at time 27 = [ entry numbers: (Python reference 0), [ entry value: 4, [ entry x: 16, [ ] ] ] ]
then Variables Map at time 28 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 28 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- stack at time 27 = [ ]
then stack at time 28 = [ ]
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- Python Object Store at time 27 = [
[4, 7]
, [ ] ]
then Python Object Store at time 28 = [ [4, 7]
, [ ] ]
- the line at time 27 = 2
- the tab at time 27 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- Class Map at time 27 = [ ]
then Class Map at time 28 = [ ]
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then the expression at time 29 = __mul__(value, 4)
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then expression state at time 29 = "begin_expr"
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then the line at time 29 = 3
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then the tab at time 29 = 1
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then Value Stack at time 29 = [ ]
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then parent stack at time 29 = [ ]
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
then arguments stack at time 29 = [ ]
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 28 = "not_expr"
- Variables Map at time 28 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]
then Variables Map at time 29 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]