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 25 = "return"
- Control Map at time 25 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- expression state at time 26 = "iterate_args"
- arguments stack at time 26 = [ [ ], [ ] ]
- parent stack at time 26 = [
__mul__(value, 4)
, [ ] ]
then expression state at time 27 = "call_function_begin"
- expression state at time 26 = "iterate_args"
- arguments stack at time 26 = [ [ ], [ ] ]
- parent stack at time 26 = [
__mul__(value, 4)
, [ ] ]
then the expression at time 27 = __mul__(value, 4)
- expression state at time 26 = "iterate_args"
- arguments stack at time 26 = [ [ ], [ ] ]
- parent stack at time 26 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 27 = [ ]
- expression state at time 26 = "iterate_args"
- arguments stack at time 26 = [ [ ], [ ] ]
- parent stack at time 26 = [
__mul__(value, 4)
, [ ] ]
then arguments stack at time 27 = [ ]
- expression state at time 26 = "iterate_args"
- Value Stack at time 26 = [ [ 4, [ 1, [ ] ] ], [ ] ]
then Value Stack at time 27 = [ [ 4, [ 1, [ ] ] ], [ ] ]
- expression state at time 26 = "iterate_args"
- the line at time 26 = 3
then the line at time 27 = 3
- expression state at time 26 = "iterate_args"
- the tab at time 26 = 1
then the tab at time 27 = 1
- expression state at time 26 = "iterate_args"
- stack at time 26 = [ ]
then stack at time 27 = [ ]
- expression state at time 26 = "iterate_args"
- Python Object Store at time 26 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 27 = [ [1, 2, 3]
, [ ] ]
- expression state at time 26 = "iterate_args"
- Control Map at time 26 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- expression state at time 26 = "iterate_args"
- Variables Map at time 26 = [ entry numbers: (Python reference 0), [ entry value: 1, [ ] ] ]
then Variables Map at time 27 = [ entry numbers: (Python reference 0), [ entry value: 1, [ ] ] ]
- expression state at time 26 = "iterate_args"
- Class Map at time 26 = [ ]
then Class Map at time 27 = [ ]
- expression state at time 27 = "call_function_begin"
- the expression at time 27 =
__mul__(value, 4)
- Python Object Store at time 27 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 28 = [ [1, 2, 3]
, [ ] ]
- expression state at time 27 = "call_function_begin"
- Value Stack at time 27 = [ [ 4, [ 1, [ ] ] ], [ ] ]
- the expression at time 27 =
__mul__(value, 4)
then Return Value at time 28 = 4
- expression state at time 27 = "call_function_begin"
- parent stack at time 27 = [ ]
- the expression at time 27 =
__mul__(value, 4)
then expression state at time 28 = "end_expr"
- expression state at time 27 = "call_function_begin"
- Value Stack at time 27 = [ [ 4, [ 1, [ ] ] ], [ ] ]
- the expression at time 27 =
__mul__(value, 4)
then Value Stack at time 28 = [ ]
- expression state at time 27 = "call_function_begin"
- arguments stack at time 27 = [ ]
then arguments stack at time 28 = [ ]
- expression state at time 27 = "call_function_begin"
- parent stack at time 27 = [ ]
then parent stack at time 28 = [ ]
- expression state at time 27 = "call_function_begin"
- Control Map at time 27 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then Control Map at time 28 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- expression state at time 27 = "call_function_begin"
- Variables Map at time 27 = [ entry numbers: (Python reference 0), [ entry value: 1, [ ] ] ]
then Variables Map at time 28 = [ entry numbers: (Python reference 0), [ entry value: 1, [ ] ] ]
- expression state at time 27 = "call_function_begin"
- the line at time 27 = 3
then the line at time 28 = 3
- expression state at time 27 = "call_function_begin"
- the tab at time 27 = 1
then the tab at time 28 = 1
- expression state at time 27 = "call_function_begin"
- stack at time 27 = [ ]
then stack at time 28 = [ ]
- expression state at time 27 = "call_function_begin"
- 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 = "end_expr"
- Variables Map at time 28 = [ entry numbers: (Python reference 0), [ entry value: 1, [ ] ] ]
- Return Value at time 28 = 4
then Variables Map at time 29 = [ entry numbers: (Python reference 0), [ entry value: 1, [ entry x: 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 = "end_expr"
then the line at time 29 = 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 = "end_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 = "end_expr"
- Python Object Store at time 28 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 29 = [ [1, 2, 3]
, [ ] ]
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- stack at time 28 = [ ]
- expression state at time 28 = "end_expr"
then 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)
- Control Map at time 28 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- the line at time 28 = 3
- the tab at time 28 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Class Map at time 28 = [ ]
then Class Map at time 29 = [ ]
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then the line at time 30 = 2
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then the tab at time 30 = 0
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- Variables Map at time 29 = [ entry numbers: (Python reference 0), [ entry value: 1, [ entry x: 4, [ ] ] ] ]
then Variables Map at time 30 = [ entry numbers: (Python reference 0), [ entry value: 1, [ entry x: 4, [ ] ] ] ]
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- stack at time 29 = [ ]
then stack at time 30 = [ ]
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- Python Object Store at time 29 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 30 = [ [1, 2, 3]
, [ ] ]
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- the line at time 29 = 4
- the tab at time 29 = 1
- number of lines = 3
- Control Map at time 29 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- Class Map at time 29 = [ ]
then Class Map at time 30 = [ ]
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then the line at time 31 = 3
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then the tab at time 31 = 1
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then expression state at time 31 = "not_expr"
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- Variables Map at time 30 = [ entry numbers: (Python reference 0), [ entry value: 1, [ entry x: 4, [ ] ] ] ]
then Variables Map at time 31 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
then Control Map at time 31 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- stack at time 30 = [ ]
then stack at time 31 = [ ]
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- Python Object Store at time 30 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 31 = [ [1, 2, 3]
, [ ] ]
- the line at time 30 = 2
- the tab at time 30 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 30 = [ entry 0: (trio ("for", 2, [ 2, [ 3, [ ] ] ])), [ ] ]
- Class Map at time 30 = [ ]
then Class Map at time 31 = [ ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then the expression at time 32 = __mul__(value, 4)
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then expression state at time 32 = "begin_expr"
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then the line at time 32 = 3
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then the tab at time 32 = 1
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then Value Stack at time 32 = [ ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then parent stack at time 32 = [ ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
then arguments stack at time 32 = [ ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
- Variables Map at time 31 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
then Variables Map at time 32 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
- stack at time 31 = [ ]
then stack at time 32 = [ ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 31 = "not_expr"
- Python Object Store at time 31 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 32 = [ [1, 2, 3]
, [ ] ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Control Map at time 31 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
then Control Map at time 32 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
- the line at time 31 = 3
- the tab at time 31 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Class Map at time 31 = [ ]
then Class Map at time 32 = [ ]
- expression state at time 32 = "begin_expr"
- the expression at time 32 =
__mul__(value, 4)
- Value Stack at time 32 = [ ]
then Value Stack at time 33 = [ [ ], [ ] ]
- expression state at time 32 = "begin_expr"
- the expression at time 32 =
__mul__(value, 4)
- parent stack at time 32 = [ ]
then parent stack at time 33 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 32 = "begin_expr"
- the expression at time 32 =
__mul__(value, 4)
- arguments stack at time 32 = [ ]
then arguments stack at time 33 = [ [ value, [ 4, [ ] ] ], [ ] ]
- expression state at time 32 = "begin_expr"
- the expression at time 32 =
__mul__(value, 4)
then expression state at time 33 = "iterate_args"
- expression state at time 32 = "begin_expr"
- the expression at time 32 =
__mul__(value, 4)
then the expression at time 33 = __mul__(value, 4)
- expression state at time 32 = "begin_expr"
- Variables Map at time 32 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
then Variables Map at time 33 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
- expression state at time 32 = "begin_expr"
- the line at time 32 = 3
then the line at time 33 = 3
- expression state at time 32 = "begin_expr"
- the tab at time 32 = 1
then the tab at time 33 = 1
- expression state at time 32 = "begin_expr"
- stack at time 32 = [ ]
then stack at time 33 = [ ]
- expression state at time 32 = "begin_expr"
- Python Object Store at time 32 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 33 = [ [1, 2, 3]
, [ ] ]
- expression state at time 32 = "begin_expr"
- Control Map at time 32 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
then Control Map at time 33 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
- expression state at time 32 = "begin_expr"
- Class Map at time 32 = [ ]
then Class Map at time 33 = [ ]
- expression state at time 33 = "iterate_args"
- arguments stack at time 33 = [ [ value, [ 4, [ ] ] ], [ ] ]
then the expression at time 34 = value
- expression state at time 33 = "iterate_args"
- arguments stack at time 33 = [ [ value, [ 4, [ ] ] ], [ ] ]
then arguments stack at time 34 = [ [ 4, [ ] ], [ ] ]
- expression state at time 33 = "iterate_args"
- arguments stack at time 33 = [ [ value, [ 4, [ ] ] ], [ ] ]
then expression state at time 34 = "begin_expr"
- expression state at time 33 = "iterate_args"
- arguments stack at time 33 = [ [ value, [ 4, [ ] ] ], [ ] ]
- parent stack at time 33 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 34 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 33 = "iterate_args"
- Value Stack at time 33 = [ [ ], [ ] ]
then Value Stack at time 34 = [ [ ], [ ] ]
- expression state at time 33 = "iterate_args"
- the line at time 33 = 3
then the line at time 34 = 3
- expression state at time 33 = "iterate_args"
- the tab at time 33 = 1
then the tab at time 34 = 1
- expression state at time 33 = "iterate_args"
- stack at time 33 = [ ]
then stack at time 34 = [ ]
- expression state at time 33 = "iterate_args"
- Python Object Store at time 33 = [
[1, 2, 3]
, [ ] ]
then Python Object Store at time 34 = [ [1, 2, 3]
, [ ] ]
- expression state at time 33 = "iterate_args"
- Control Map at time 33 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
then Control Map at time 34 = [ entry 0: (trio ("for", 2, [ 3, [ ] ])), [ ] ]
- expression state at time 33 = "iterate_args"
- Variables Map at time 33 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
then Variables Map at time 34 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
- expression state at time 33 = "iterate_args"
- Class Map at time 33 = [ ]
then Class Map at time 34 = [ ]
- expression state at time 34 = "begin_expr"
- Variables Map at time 34 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
then Variables Map at time 35 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
- the expression at time 34 = value
- expression state at time 34 = "begin_expr"
- value is a variable
- parent stack at time 34 = [
__mul__(value, 4)
, [ ] ]
then expression state at time 35 = "return"
- the expression at time 34 = value
- expression state at time 34 = "begin_expr"
- value is a variable
- Value Stack at time 34 = [ [ ], [ ] ]
then Value Stack at time 35 = [ [ ], [ ] ]
- the expression at time 34 = value
- expression state at time 34 = "begin_expr"
- value is a variable
- arguments stack at time 34 = [ [ 4, [ ] ], [ ] ]
then arguments stack at time 35 = [ [ 4, [ ] ], [ ] ]
- expression state at time 34 = "begin_expr"
- the expression at time 34 = value
- value is a variable
- Variables Map at time 34 = [ entry numbers: (Python reference 0), [ entry value: 2, [ entry x: 4, [ ] ] ] ]
then Return Value at time 35 = 2
- expression state at time 34 = "begin_expr"
- the expression at time 34 = value
- value is a variable
- parent stack at time 34 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 35 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 34 = "begin_expr"
- the line at time 34 = 3
then the line at time 35 = 3
- expression state at time 34 = "begin_expr"
- the tab at time 34 = 1
then the tab at time 35 = 1