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 3 = "begin_expr"
- the line at time 3 = 1
then the line at time 4 = 1
- expression state at time 3 = "begin_expr"
- the tab at time 3 = 0
then the tab at time 4 = 0
- expression state at time 3 = "begin_expr"
- stack at time 3 = [ ]
then stack at time 4 = [ ]
- expression state at time 3 = "begin_expr"
- Python Object Store at time 3 = [ ]
then Python Object Store at time 4 = [ ]
- expression state at time 3 = "begin_expr"
- Control Map at time 3 = [ ]
then Control Map at time 4 = [ ]
- expression state at time 3 = "begin_expr"
- Variables Map at time 3 = [ ]
then Variables Map at time 4 = [ ]
- expression state at time 3 = "begin_expr"
- Class Map at time 3 = [ ]
then Class Map at time 4 = [ ]
- expression state at time 4 = "return"
- Value Stack at time 4 = [ [ ], [ ] ]
- Return Value at time 4 = 4
then Value Stack at time 5 = [ [ 4, [ ] ], [ ] ]
- expression state at time 4 = "return"
- Variables Map at time 4 = [ ]
then Variables Map at time 5 = [ ]
- expression state at time 4 = "return"
- the line at time 4 = 1
then the line at time 5 = 1
- expression state at time 4 = "return"
- the tab at time 4 = 0
then the tab at time 5 = 0
- expression state at time 4 = "return"
- arguments stack at time 4 = [ [ 7, [ ] ], [ ] ]
then arguments stack at time 5 = [ [ 7, [ ] ], [ ] ]
- expression state at time 4 = "return"
- parent stack at time 4 = [
[4, 7]
, [ ] ]
then parent stack at time 5 = [ [4, 7]
, [ ] ]
- expression state at time 4 = "return"
- stack at time 4 = [ ]
then stack at time 5 = [ ]
- expression state at time 4 = "return"
- Class Map at time 4 = [ ]
then Class Map at time 5 = [ ]
- expression state at time 4 = "return"
- Python Object Store at time 4 = [ ]
then Python Object Store at time 5 = [ ]
- expression state at time 4 = "return"
- Control Map at time 4 = [ ]
then Control Map at time 5 = [ ]
- expression state at time 5 = "iterate_args"
- arguments stack at time 5 = [ [ 7, [ ] ], [ ] ]
then the expression at time 6 = 7
- expression state at time 5 = "iterate_args"
- arguments stack at time 5 = [ [ 7, [ ] ], [ ] ]
then arguments stack at time 6 = [ [ ], [ ] ]
- expression state at time 5 = "iterate_args"
- arguments stack at time 5 = [ [ 7, [ ] ], [ ] ]
then expression state at time 6 = "begin_expr"
- expression state at time 5 = "iterate_args"
- arguments stack at time 5 = [ [ 7, [ ] ], [ ] ]
- parent stack at time 5 = [
[4, 7]
, [ ] ]
then parent stack at time 6 = [ [4, 7]
, [ ] ]
- expression state at time 5 = "iterate_args"
- Value Stack at time 5 = [ [ 4, [ ] ], [ ] ]
then Value Stack at time 6 = [ [ 4, [ ] ], [ ] ]
- expression state at time 5 = "iterate_args"
- the line at time 5 = 1
then the line at time 6 = 1
- expression state at time 5 = "iterate_args"
- the tab at time 5 = 0
then the tab at time 6 = 0
- expression state at time 5 = "iterate_args"
- stack at time 5 = [ ]
then stack at time 6 = [ ]
- expression state at time 5 = "iterate_args"
- Python Object Store at time 5 = [ ]
then Python Object Store at time 6 = [ ]
- expression state at time 5 = "iterate_args"
- Control Map at time 5 = [ ]
then Control Map at time 6 = [ ]
- expression state at time 5 = "iterate_args"
- Variables Map at time 5 = [ ]
then Variables Map at time 6 = [ ]
- expression state at time 5 = "iterate_args"
- Class Map at time 5 = [ ]
then Class Map at time 6 = [ ]
- the expression at time 6 = 7
- expression state at time 6 = "begin_expr"
- 7 is constant
- parent stack at time 6 = [
[4, 7]
, [ ] ]
then expression state at time 7 = "return"
- the expression at time 6 = 7
- expression state at time 6 = "begin_expr"
- 7 is constant
- Value Stack at time 6 = [ [ 4, [ ] ], [ ] ]
then Value Stack at time 7 = [ [ 4, [ ] ], [ ] ]
- the expression at time 6 = 7
- expression state at time 6 = "begin_expr"
- 7 is constant
- arguments stack at time 6 = [ [ ], [ ] ]
then arguments stack at time 7 = [ [ ], [ ] ]
- expression state at time 6 = "begin_expr"
- the expression at time 6 = 7
- 7 is constant
then Return Value at time 7 = 7
- expression state at time 6 = "begin_expr"
- the expression at time 6 = 7
- 7 is constant
- parent stack at time 6 = [
[4, 7]
, [ ] ]
then parent stack at time 7 = [ [4, 7]
, [ ] ]
- expression state at time 6 = "begin_expr"
- the line at time 6 = 1
then the line at time 7 = 1
- expression state at time 6 = "begin_expr"
- the tab at time 6 = 0
then the tab at time 7 = 0
- expression state at time 6 = "begin_expr"
- stack at time 6 = [ ]
then stack at time 7 = [ ]
- expression state at time 6 = "begin_expr"
- Python Object Store at time 6 = [ ]
then Python Object Store at time 7 = [ ]
- expression state at time 6 = "begin_expr"
- Control Map at time 6 = [ ]
then Control Map at time 7 = [ ]
- expression state at time 6 = "begin_expr"
- Variables Map at time 6 = [ ]
then Variables Map at time 7 = [ ]
- expression state at time 6 = "begin_expr"
- Class Map at time 6 = [ ]
then Class Map at time 7 = [ ]
- expression state at time 7 = "return"
- Value Stack at time 7 = [ [ 4, [ ] ], [ ] ]
- Return Value at time 7 = 7
then Value Stack at time 8 = [ [ 7, [ 4, [ ] ] ], [ ] ]
- expression state at time 7 = "return"
- Variables Map at time 7 = [ ]
then Variables Map at time 8 = [ ]
- expression state at time 7 = "return"
- the line at time 7 = 1
then the line at time 8 = 1
- expression state at time 7 = "return"
- the tab at time 7 = 0
then the tab at time 8 = 0
- expression state at time 7 = "return"
- arguments stack at time 7 = [ [ ], [ ] ]
then arguments stack at time 8 = [ [ ], [ ] ]
- expression state at time 7 = "return"
- parent stack at time 7 = [
[4, 7]
, [ ] ]
then parent stack at time 8 = [ [4, 7]
, [ ] ]
- expression state at time 7 = "return"
- stack at time 7 = [ ]
then stack at time 8 = [ ]
- expression state at time 7 = "return"
- Class Map at time 7 = [ ]
then Class Map at time 8 = [ ]
- expression state at time 7 = "return"
- Python Object Store at time 7 = [ ]
then Python Object Store at time 8 = [ ]
- expression state at time 7 = "return"
- Control Map at time 7 = [ ]
then Control Map at time 8 = [ ]
- expression state at time 8 = "iterate_args"
- arguments stack at time 8 = [ [ ], [ ] ]
- parent stack at time 8 = [
[4, 7]
, [ ] ]
then expression state at time 9 = "call_function_begin"
- expression state at time 8 = "iterate_args"
- arguments stack at time 8 = [ [ ], [ ] ]
- parent stack at time 8 = [
[4, 7]
, [ ] ]
then the expression at time 9 = [4, 7]
- expression state at time 8 = "iterate_args"
- arguments stack at time 8 = [ [ ], [ ] ]
- parent stack at time 8 = [
[4, 7]
, [ ] ]
then parent stack at time 9 = [ ]
- expression state at time 8 = "iterate_args"
- arguments stack at time 8 = [ [ ], [ ] ]
- parent stack at time 8 = [
[4, 7]
, [ ] ]
then arguments stack at time 9 = [ ]
- expression state at time 8 = "iterate_args"
- Value Stack at time 8 = [ [ 7, [ 4, [ ] ] ], [ ] ]
then Value Stack at time 9 = [ [ 7, [ 4, [ ] ] ], [ ] ]
- expression state at time 8 = "iterate_args"
- the line at time 8 = 1
then the line at time 9 = 1
- expression state at time 8 = "iterate_args"
- the tab at time 8 = 0
then the tab at time 9 = 0
- expression state at time 8 = "iterate_args"
- stack at time 8 = [ ]
then stack at time 9 = [ ]
- expression state at time 8 = "iterate_args"
- Python Object Store at time 8 = [ ]
then Python Object Store at time 9 = [ ]
- expression state at time 8 = "iterate_args"
- Control Map at time 8 = [ ]
then Control Map at time 9 = [ ]
- expression state at time 8 = "iterate_args"
- Variables Map at time 8 = [ ]
then Variables Map at time 9 = [ ]
- expression state at time 8 = "iterate_args"
- Class Map at time 8 = [ ]
then Class Map at time 9 = [ ]
[4, 7]
, [ ] ] = [ [4, 7]
, [ ] ][4, 7]
to [ ] = [ [4, 7]
, [ ] ]- expression state at time 9 = "call_function_begin"
- Value Stack at time 9 = [ [ 7, [ 4, [ ] ] ], [ ] ]
- the expression at time 9 =
[4, 7]
- Python Object Store at time 9 = [ ]
then Python Object Store at time 10 = [ [4, 7]
, [ ] ]
- expression state at time 9 = "call_function_begin"
- Value Stack at time 9 = [ [ 7, [ 4, [ ] ] ], [ ] ]
- the expression at time 9 =
[4, 7]
- Python Object Store at time 9 = [ ]
then Return Value at time 10 = Python reference 0
- expression state at time 9 = "call_function_begin"
- parent stack at time 9 = [ ]
- the expression at time 9 =
[4, 7]
then expression state at time 10 = "end_expr"
- expression state at time 9 = "call_function_begin"
- Value Stack at time 9 = [ [ 7, [ 4, [ ] ] ], [ ] ]
- the expression at time 9 =
[4, 7]
then Value Stack at time 10 = [ ]
- expression state at time 9 = "call_function_begin"
- arguments stack at time 9 = [ ]
then arguments stack at time 10 = [ ]
- expression state at time 9 = "call_function_begin"
- parent stack at time 9 = [ ]
then parent stack at time 10 = [ ]
- expression state at time 9 = "call_function_begin"
- Control Map at time 9 = [ ]
then Control Map at time 10 = [ ]
- expression state at time 9 = "call_function_begin"
- Variables Map at time 9 = [ ]
then Variables Map at time 10 = [ ]
- expression state at time 9 = "call_function_begin"
- the line at time 9 = 1
then the line at time 10 = 1
- expression state at time 9 = "call_function_begin"
- the tab at time 9 = 0
then the tab at time 10 = 0
- expression state at time 9 = "call_function_begin"
- stack at time 9 = [ ]
then stack at time 10 = [ ]
- expression state at time 9 = "call_function_begin"
- Class Map at time 9 = [ ]
then Class Map at time 10 = [ ]
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- expression state at time 10 = "end_expr"
- Variables Map at time 10 = [ ]
- Return Value at time 10 = Python reference 0
then Variables Map at time 11 = [ entry numbers: (Python reference 0), [ ] ]
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- expression state at time 10 = "end_expr"
then the line at time 11 = 2
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- expression state at time 10 = "end_expr"
then the tab at time 11 = 0
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- expression state at time 10 = "end_expr"
- Python Object Store at time 10 = [
[4, 7]
, [ ] ]
then Python Object Store at time 11 = [ [4, 7]
, [ ] ]
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- stack at time 10 = [ ]
- expression state at time 10 = "end_expr"
then stack at time 11 = [ ]
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- Control Map at time 10 = [ ]
then Control Map at time 11 = [ ]
- the line at time 10 = 1
- the tab at time 10 = 0
- statement at line 1, tab 0 =
numbers = [4, 7]
- Class Map at time 10 = [ ]
then Class Map at time 11 = [ ]
- 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 the expression at time 12 = numbers
- 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 expression state at time 12 = "begin_expr"
- 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 the line at time 12 = 2
- 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 the tab at time 12 = 0
- 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 Value 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"
- map (Control Map at time 11) does not contain a for loop entry at line: 2 and tab: 0
then parent stack at time 12 = [ ]