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
- the line at time 11 = 2
- the tab at time 11 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 11 = "not_expr"
- map (Control Map at time 11) does not contain a for loop entry at line: 2 and tab: 0
then arguments stack at time 12 = [ ]
- the line at time 11 = 2
- the tab at time 11 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 11 = "not_expr"
- Python Object Store at time 11 = [
[4, 7]
, [ ] ] - map (Control Map at time 11) does not contain a for loop entry at line: 2 and tab: 0
then Python Object Store at time 12 = [ [4, 7]
, [ ] ]
- the line at time 11 = 2
- the tab at time 11 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 11 = "not_expr"
- Control Map at time 11 = [ ]
- map (Control Map at time 11) does not contain a for loop entry at line: 2 and tab: 0
then Control Map at time 12 = [ ]
- the line at time 11 = 2
- the tab at time 11 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 11 = "not_expr"
- Variables Map at time 11 = [ entry numbers: (Python reference 0), [ ] ]
- map (Control Map at time 11) does not contain a for loop entry at line: 2 and tab: 0
then Variables Map at time 12 = [ entry numbers: (Python reference 0), [ ] ]
- the line at time 11 = 2
- the tab at time 11 = 0
- statement at line 2, tab 0 =
for value in numbers:
- stack at time 11 = [ ]
- numbers is a variable
then stack at time 12 = [ ]
- the line at time 11 = 2
- the tab at time 11 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Class Map at time 11 = [ ]
- numbers is a variable
then Class Map at time 12 = [ ]
- expression state at time 12 = "begin_expr"
- Variables Map at time 12 = [ entry numbers: (Python reference 0), [ ] ]
then Variables Map at time 13 = [ entry numbers: (Python reference 0), [ ] ]
- the expression at time 12 = numbers
- expression state at time 12 = "begin_expr"
- numbers is a variable
- parent stack at time 12 = [ ]
then expression state at time 13 = "end_expr"
- the expression at time 12 = numbers
- expression state at time 12 = "begin_expr"
- numbers is a variable
- Value Stack at time 12 = [ ]
then Value Stack at time 13 = [ ]
- the expression at time 12 = numbers
- expression state at time 12 = "begin_expr"
- numbers is a variable
- arguments stack at time 12 = [ ]
then arguments stack at time 13 = [ ]
- expression state at time 12 = "begin_expr"
- the expression at time 12 = numbers
- numbers is a variable
- Variables Map at time 12 = [ entry numbers: (Python reference 0), [ ] ]
then Return Value at time 13 = Python reference 0
- expression state at time 12 = "begin_expr"
- the expression at time 12 = numbers
- numbers is a variable
- parent stack at time 12 = [ ]
then parent stack at time 13 = [ ]
- expression state at time 12 = "begin_expr"
- the line at time 12 = 2
then the line at time 13 = 2
- expression state at time 12 = "begin_expr"
- the tab at time 12 = 0
then the tab at time 13 = 0
- expression state at time 12 = "begin_expr"
- stack at time 12 = [ ]
then stack at time 13 = [ ]
- expression state at time 12 = "begin_expr"
- Python Object Store at time 12 = [
[4, 7]
, [ ] ]
then Python Object Store at time 13 = [ [4, 7]
, [ ] ]
- expression state at time 12 = "begin_expr"
- Control Map at time 12 = [ ]
then Control Map at time 13 = [ ]
- expression state at time 12 = "begin_expr"
- Class Map at time 12 = [ ]
then Class Map at time 13 = [ ]
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
then the line at time 14 = 2
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
then the tab at time 14 = 0
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
- Variables Map at time 13 = [ entry numbers: (Python reference 0), [ ] ]
then Variables Map at time 14 = [ entry numbers: (Python reference 0), [ ] ]
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
- stack at time 13 = [ ]
then stack at time 14 = [ ]
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
- Python Object Store at time 13 = [
[4, 7]
, [ ] ]
then Python Object Store at time 14 = [ [4, 7]
, [ ] ]
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
- Class Map at time 13 = [ ]
then Class Map at time 14 = [ ]
[4, 7]
, [ ] ] = [4, 7]
[4, 7]
, [ ] ], then the element at index 0 of stack (Python Object Store at time 13) = [4, 7]
- the line at time 13 = 2
- the tab at time 13 = 0
- statement at line 2, tab 0 =
for value in numbers:
- expression state at time 13 = "end_expr"
- Return Value at time 13 = Python reference 0
- Control Map at time 13 = [ ]
- the element at index 0 of stack (Python Object Store at time 13) =
[4, 7]
then Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
then the line at time 15 = 3
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
then the tab at time 15 = 1
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
then expression state at time 15 = "not_expr"
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
- Variables Map at time 14 = [ entry numbers: (Python reference 0), [ ] ]
then Variables Map at time 15 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
then Control Map at time 15 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
- stack at time 14 = [ ]
then stack at time 15 = [ ]
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
- Python Object Store at time 14 = [
[4, 7]
, [ ] ]
then Python Object Store at time 15 = [ [4, 7]
, [ ] ]
- the line at time 14 = 2
- the tab at time 14 = 0
- statement at line 2, tab 0 =
for value in numbers:
- Control Map at time 14 = [ entry 0: (trio ("for", 2, [ 4, [ 7, [ ] ] ])), [ ] ]
- Class Map at time 14 = [ ]
then Class Map at time 15 = [ ]
x = value * 4
, then statement at line 3, tab 1 = x = __mul__(value, 4)
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then the expression at time 16 = __mul__(value, 4)
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then expression state at time 16 = "begin_expr"
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then the line at time 16 = 3
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then the tab at time 16 = 1
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then Value Stack at time 16 = [ ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then parent stack at time 16 = [ ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
then arguments stack at time 16 = [ ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
- Variables Map at time 15 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 16 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
- stack at time 15 = [ ]
then stack at time 16 = [ ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- expression state at time 15 = "not_expr"
- Python Object Store at time 15 = [
[4, 7]
, [ ] ]
then Python Object Store at time 16 = [ [4, 7]
, [ ] ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Control Map at time 15 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 16 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- the line at time 15 = 3
- the tab at time 15 = 1
- statement at line 3, tab 1 =
x = __mul__(value, 4)
- Class Map at time 15 = [ ]
then Class Map at time 16 = [ ]
- expression state at time 16 = "begin_expr"
- the expression at time 16 =
__mul__(value, 4)
- Value Stack at time 16 = [ ]
then Value Stack at time 17 = [ [ ], [ ] ]
- expression state at time 16 = "begin_expr"
- the expression at time 16 =
__mul__(value, 4)
- parent stack at time 16 = [ ]
then parent stack at time 17 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 16 = "begin_expr"
- the expression at time 16 =
__mul__(value, 4)
- arguments stack at time 16 = [ ]
then arguments stack at time 17 = [ [ value, [ 4, [ ] ] ], [ ] ]
- expression state at time 16 = "begin_expr"
- the expression at time 16 =
__mul__(value, 4)
then expression state at time 17 = "iterate_args"
- expression state at time 16 = "begin_expr"
- the expression at time 16 =
__mul__(value, 4)
then the expression at time 17 = __mul__(value, 4)
- expression state at time 16 = "begin_expr"
- Variables Map at time 16 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 17 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 16 = "begin_expr"
- the line at time 16 = 3
then the line at time 17 = 3
- expression state at time 16 = "begin_expr"
- the tab at time 16 = 1
then the tab at time 17 = 1
- expression state at time 16 = "begin_expr"
- stack at time 16 = [ ]
then stack at time 17 = [ ]
- expression state at time 16 = "begin_expr"
- Python Object Store at time 16 = [
[4, 7]
, [ ] ]
then Python Object Store at time 17 = [ [4, 7]
, [ ] ]
- expression state at time 16 = "begin_expr"
- Control Map at time 16 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 17 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 16 = "begin_expr"
- Class Map at time 16 = [ ]
then Class Map at time 17 = [ ]
- expression state at time 17 = "iterate_args"
- arguments stack at time 17 = [ [ value, [ 4, [ ] ] ], [ ] ]
then the expression at time 18 = value
- expression state at time 17 = "iterate_args"
- arguments stack at time 17 = [ [ value, [ 4, [ ] ] ], [ ] ]
then arguments stack at time 18 = [ [ 4, [ ] ], [ ] ]
- expression state at time 17 = "iterate_args"
- arguments stack at time 17 = [ [ value, [ 4, [ ] ] ], [ ] ]
then expression state at time 18 = "begin_expr"
- expression state at time 17 = "iterate_args"
- arguments stack at time 17 = [ [ value, [ 4, [ ] ] ], [ ] ]
- parent stack at time 17 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 18 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 17 = "iterate_args"
- Value Stack at time 17 = [ [ ], [ ] ]
then Value Stack at time 18 = [ [ ], [ ] ]
- expression state at time 17 = "iterate_args"
- the line at time 17 = 3
then the line at time 18 = 3
- expression state at time 17 = "iterate_args"
- the tab at time 17 = 1
then the tab at time 18 = 1
- expression state at time 17 = "iterate_args"
- stack at time 17 = [ ]
then stack at time 18 = [ ]
- expression state at time 17 = "iterate_args"
- Python Object Store at time 17 = [
[4, 7]
, [ ] ]
then Python Object Store at time 18 = [ [4, 7]
, [ ] ]
- expression state at time 17 = "iterate_args"
- Control Map at time 17 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 18 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 17 = "iterate_args"
- Variables Map at time 17 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 18 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 17 = "iterate_args"
- Class Map at time 17 = [ ]
then Class Map at time 18 = [ ]
- expression state at time 18 = "begin_expr"
- Variables Map at time 18 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 19 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- the expression at time 18 = value
- expression state at time 18 = "begin_expr"
- value is a variable
- parent stack at time 18 = [
__mul__(value, 4)
, [ ] ]
then expression state at time 19 = "return"
- the expression at time 18 = value
- expression state at time 18 = "begin_expr"
- value is a variable
- Value Stack at time 18 = [ [ ], [ ] ]
then Value Stack at time 19 = [ [ ], [ ] ]
- the expression at time 18 = value
- expression state at time 18 = "begin_expr"
- value is a variable
- arguments stack at time 18 = [ [ 4, [ ] ], [ ] ]
then arguments stack at time 19 = [ [ 4, [ ] ], [ ] ]
- expression state at time 18 = "begin_expr"
- the expression at time 18 = value
- value is a variable
- Variables Map at time 18 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Return Value at time 19 = 4
- expression state at time 18 = "begin_expr"
- the expression at time 18 = value
- value is a variable
- parent stack at time 18 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 19 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 18 = "begin_expr"
- the line at time 18 = 3
then the line at time 19 = 3
- expression state at time 18 = "begin_expr"
- the tab at time 18 = 1
then the tab at time 19 = 1
- expression state at time 18 = "begin_expr"
- stack at time 18 = [ ]
then stack at time 19 = [ ]
- expression state at time 18 = "begin_expr"
- Python Object Store at time 18 = [
[4, 7]
, [ ] ]
then Python Object Store at time 19 = [ [4, 7]
, [ ] ]
- expression state at time 18 = "begin_expr"
- Control Map at time 18 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
then Control Map at time 19 = [ entry 0: (trio ("for", 2, [ 7, [ ] ])), [ ] ]
- expression state at time 18 = "begin_expr"
- Class Map at time 18 = [ ]
then Class Map at time 19 = [ ]
- expression state at time 19 = "return"
- Value Stack at time 19 = [ [ ], [ ] ]
- Return Value at time 19 = 4
then Value Stack at time 20 = [ [ 4, [ ] ], [ ] ]
- expression state at time 19 = "return"
- Variables Map at time 19 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
then Variables Map at time 20 = [ entry numbers: (Python reference 0), [ entry value: 4, [ ] ] ]
- expression state at time 19 = "return"
- the line at time 19 = 3
then the line at time 20 = 3
- expression state at time 19 = "return"
- the tab at time 19 = 1
then the tab at time 20 = 1
- expression state at time 19 = "return"
- arguments stack at time 19 = [ [ 4, [ ] ], [ ] ]
then arguments stack at time 20 = [ [ 4, [ ] ], [ ] ]
- expression state at time 19 = "return"
- parent stack at time 19 = [
__mul__(value, 4)
, [ ] ]
then parent stack at time 20 = [ __mul__(value, 4)
, [ ] ]
- expression state at time 19 = "return"
- stack at time 19 = [ ]
then stack at time 20 = [ ]