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

Write Stmt Stack At Unchanged Expr28
if the following are true:
  • 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"
  • stack at time 28 = [ ]

then stack at time 29 = [ ]


Write Stmt Object Store At Unchanged Expr28
if the following are true:
  • 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"
  • Python Object Store at time 28 = [ [4, 7], [ ] ]

then Python Object Store at time 29 = [ [4, 7], [ ] ]


Write Stmt Control Map At Unchanged 28
if the following are true:
  • 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, [ ])), [ ] ]

then Control Map at time 29 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Write Stmt Class Defs At Unchanged 28
if the following are true:
  • 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 = [ ]


Get Begin Expr Value 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the expression at time 29 = __mul__(value, 4)
  • Value Stack at time 29 = [ ]

then Value Stack at time 30 = [ [ ], [ ] ]


Get Begin Expr Parent 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the expression at time 29 = __mul__(value, 4)
  • parent stack at time 29 = [ ]

then parent stack at time 30 = [ __mul__(value, 4), [ ] ]


Get Begin Expr Params 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the expression at time 29 = __mul__(value, 4)
  • arguments stack at time 29 = [ ]

then arguments stack at time 30 = [ [ value, [ 4, [ ] ] ], [ ] ]


Get Begin Expr Call State 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the expression at time 29 = __mul__(value, 4)

then expression state at time 30 = "iterate_args"


Do Expr At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the expression at time 29 = __mul__(value, 4)

then the expression at time 30 = __mul__(value, 4)


Do Variables At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • Variables Map at time 29 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 30 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Line At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the line at time 29 = 3

then the line at time 30 = 3


Do Tab At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • the tab at time 29 = 1

then the tab at time 30 = 1


Do Stack At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • stack at time 29 = [ ]

then stack at time 30 = [ ]


Do Object Store At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • Python Object Store at time 29 = [ [4, 7], [ ] ]

then Python Object Store at time 30 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • Control Map at time 29 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 30 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Do Class Defs At Unchanged 29
if the following are true:
  • expression state at time 29 = "begin_expr"
  • Class Map at time 29 = [ ]

then Class Map at time 30 = [ ]


Get Iterate Expr 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • arguments stack at time 30 = [ [ value, [ 4, [ ] ] ], [ ] ]

then the expression at time 31 = value


Get Iterate Params 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • arguments stack at time 30 = [ [ value, [ 4, [ ] ] ], [ ] ]

then arguments stack at time 31 = [ [ 4, [ ] ], [ ] ]


Get Iterate State 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • arguments stack at time 30 = [ [ value, [ 4, [ ] ] ], [ ] ]

then expression state at time 31 = "begin_expr"


Get Iterate Parent 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • arguments stack at time 30 = [ [ value, [ 4, [ ] ] ], [ ] ]
  • parent stack at time 30 = [ __mul__(value, 4), [ ] ]

then parent stack at time 31 = [ __mul__(value, 4), [ ] ]


Do Value Stack At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • Value Stack at time 30 = [ [ ], [ ] ]

then Value Stack at time 31 = [ [ ], [ ] ]


Do Line At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • the line at time 30 = 3

then the line at time 31 = 3


Do Tab At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • the tab at time 30 = 1

then the tab at time 31 = 1


Do Stack At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • stack at time 30 = [ ]

then stack at time 31 = [ ]


Do Object Store At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • Python Object Store at time 30 = [ [4, 7], [ ] ]

then Python Object Store at time 31 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • Control Map at time 30 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 31 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Do Variables At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • Variables Map at time 30 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 31 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Class Defs At Unchanged 30
if the following are true:
  • expression state at time 30 = "iterate_args"
  • Class Map at time 30 = [ ]

then Class Map at time 31 = [ ]


Do Get Key Value 31 0
value at value in map [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ] = 7

Do Variables At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • Variables Map at time 31 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 32 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Get Begin Expr State Name 31
if the following are true:
  • the expression at time 31 = value
  • expression state at time 31 = "begin_expr"
  • value is a variable
  • parent stack at time 31 = [ __mul__(value, 4), [ ] ]

then expression state at time 32 = "return"


Get Begin Expr Value Unchaged Name 31
if the following are true:
  • the expression at time 31 = value
  • expression state at time 31 = "begin_expr"
  • value is a variable
  • Value Stack at time 31 = [ [ ], [ ] ]

then Value Stack at time 32 = [ [ ], [ ] ]


Get Begin Expr Params Unchanged Name31
if the following are true:
  • the expression at time 31 = value
  • expression state at time 31 = "begin_expr"
  • value is a variable
  • arguments stack at time 31 = [ [ 4, [ ] ], [ ] ]

then arguments stack at time 32 = [ [ 4, [ ] ], [ ] ]


Get Begin Expr Return Name 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • the expression at time 31 = value
  • value is a variable
  • Variables Map at time 31 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Return Value at time 32 = 7


Get Begin Expr Parent Name 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • the expression at time 31 = value
  • value is a variable
  • parent stack at time 31 = [ __mul__(value, 4), [ ] ]

then parent stack at time 32 = [ __mul__(value, 4), [ ] ]


Do Line At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • the line at time 31 = 3

then the line at time 32 = 3


Do Tab At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • the tab at time 31 = 1

then the tab at time 32 = 1


Do Stack At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • stack at time 31 = [ ]

then stack at time 32 = [ ]


Do Object Store At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • Python Object Store at time 31 = [ [4, 7], [ ] ]

then Python Object Store at time 32 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • Control Map at time 31 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 32 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Do Class Defs At Unchanged 31
if the following are true:
  • expression state at time 31 = "begin_expr"
  • Class Map at time 31 = [ ]

then Class Map at time 32 = [ ]


Get New State 32
if expression state at time 32 = "return", then expression state at time 33 = "iterate_args"

Get Return Value 32
if the following are true:
  • expression state at time 32 = "return"
  • Value Stack at time 32 = [ [ ], [ ] ]
  • Return Value at time 32 = 7

then Value Stack at time 33 = [ [ 7, [ ] ], [ ] ]


Do Variables At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • Variables Map at time 32 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 33 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Line At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • the line at time 32 = 3

then the line at time 33 = 3


Do Tab At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • the tab at time 32 = 1

then the tab at time 33 = 1


Do Arg Stack At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • arguments stack at time 32 = [ [ 4, [ ] ], [ ] ]

then arguments stack at time 33 = [ [ 4, [ ] ], [ ] ]


Do Parent Stack At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • parent stack at time 32 = [ __mul__(value, 4), [ ] ]

then parent stack at time 33 = [ __mul__(value, 4), [ ] ]


Do Stack At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • stack at time 32 = [ ]

then stack at time 33 = [ ]


Do Class Defs At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • Class Map at time 32 = [ ]

then Class Map at time 33 = [ ]


Do Object Store At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • Python Object Store at time 32 = [ [4, 7], [ ] ]

then Python Object Store at time 33 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 32
if the following are true:
  • expression state at time 32 = "return"
  • Control Map at time 32 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 33 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Get Iterate Expr 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • arguments stack at time 33 = [ [ 4, [ ] ], [ ] ]

then the expression at time 34 = 4


Get Iterate Params 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • arguments stack at time 33 = [ [ 4, [ ] ], [ ] ]

then arguments stack at time 34 = [ [ ], [ ] ]


Get Iterate State 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • arguments stack at time 33 = [ [ 4, [ ] ], [ ] ]

then expression state at time 34 = "begin_expr"


Get Iterate Parent 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • arguments stack at time 33 = [ [ 4, [ ] ], [ ] ]
  • parent stack at time 33 = [ __mul__(value, 4), [ ] ]

then parent stack at time 34 = [ __mul__(value, 4), [ ] ]


Do Value Stack At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • Value Stack at time 33 = [ [ 7, [ ] ], [ ] ]

then Value Stack at time 34 = [ [ 7, [ ] ], [ ] ]


Do Line At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • the line at time 33 = 3

then the line at time 34 = 3


Do Tab At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • the tab at time 33 = 1

then the tab at time 34 = 1


Do Stack At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • stack at time 33 = [ ]

then stack at time 34 = [ ]


Do Object Store At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • Python Object Store at time 33 = [ [4, 7], [ ] ]

then Python Object Store at time 34 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • Control Map at time 33 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 34 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Do Variables At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • Variables Map at time 33 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 34 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Class Defs At Unchanged 33
if the following are true:
  • expression state at time 33 = "iterate_args"
  • Class Map at time 33 = [ ]

then Class Map at time 34 = [ ]


Get Begin Expr State 34
if the following are true:
  • the expression at time 34 = 4
  • expression state at time 34 = "begin_expr"
  • 4 is constant
  • parent stack at time 34 = [ __mul__(value, 4), [ ] ]

then expression state at time 35 = "return"


Get Begin Expr Value Unchaged 34
if the following are true:
  • the expression at time 34 = 4
  • expression state at time 34 = "begin_expr"
  • 4 is constant
  • Value Stack at time 34 = [ [ 7, [ ] ], [ ] ]

then Value Stack at time 35 = [ [ 7, [ ] ], [ ] ]


Get Begin Expr Params Unchanged34
if the following are true:
  • the expression at time 34 = 4
  • expression state at time 34 = "begin_expr"
  • 4 is constant
  • arguments stack at time 34 = [ [ ], [ ] ]

then arguments stack at time 35 = [ [ ], [ ] ]


Get Begin Expr Return 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • the expression at time 34 = 4
  • 4 is constant

then Return Value at time 35 = 4


Get Begin Expr Const Parent 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • the expression at time 34 = 4
  • 4 is constant
  • parent stack at time 34 = [ __mul__(value, 4), [ ] ]

then parent stack at time 35 = [ __mul__(value, 4), [ ] ]


Do Line At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • the line at time 34 = 3

then the line at time 35 = 3


Do Tab At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • the tab at time 34 = 1

then the tab at time 35 = 1


Do Stack At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • stack at time 34 = [ ]

then stack at time 35 = [ ]


Do Object Store At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • Python Object Store at time 34 = [ [4, 7], [ ] ]

then Python Object Store at time 35 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • Control Map at time 34 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 35 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Do Variables At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • Variables Map at time 34 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 35 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Class Defs At Unchanged 34
if the following are true:
  • expression state at time 34 = "begin_expr"
  • Class Map at time 34 = [ ]

then Class Map at time 35 = [ ]


Get New State 35
if expression state at time 35 = "return", then expression state at time 36 = "iterate_args"

Get Return Value 35
if the following are true:
  • expression state at time 35 = "return"
  • Value Stack at time 35 = [ [ 7, [ ] ], [ ] ]
  • Return Value at time 35 = 4

then Value Stack at time 36 = [ [ 4, [ 7, [ ] ] ], [ ] ]


Do Variables At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • Variables Map at time 35 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 36 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Line At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • the line at time 35 = 3

then the line at time 36 = 3


Do Tab At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • the tab at time 35 = 1

then the tab at time 36 = 1


Do Arg Stack At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • arguments stack at time 35 = [ [ ], [ ] ]

then arguments stack at time 36 = [ [ ], [ ] ]


Do Parent Stack At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • parent stack at time 35 = [ __mul__(value, 4), [ ] ]

then parent stack at time 36 = [ __mul__(value, 4), [ ] ]


Do Stack At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • stack at time 35 = [ ]

then stack at time 36 = [ ]


Do Class Defs At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • Class Map at time 35 = [ ]

then Class Map at time 36 = [ ]


Do Object Store At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • Python Object Store at time 35 = [ [4, 7], [ ] ]

then Python Object Store at time 36 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 35
if the following are true:
  • expression state at time 35 = "return"
  • Control Map at time 35 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 36 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Get Iterate End State 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • arguments stack at time 36 = [ [ ], [ ] ]
  • parent stack at time 36 = [ __mul__(value, 4), [ ] ]

then expression state at time 37 = "call_function_begin"


Get Iterate End Expr 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • arguments stack at time 36 = [ [ ], [ ] ]
  • parent stack at time 36 = [ __mul__(value, 4), [ ] ]

then the expression at time 37 = __mul__(value, 4)


Get Iterate End Parent 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • arguments stack at time 36 = [ [ ], [ ] ]
  • parent stack at time 36 = [ __mul__(value, 4), [ ] ]

then parent stack at time 37 = [ ]


Get Iterate End Params 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • arguments stack at time 36 = [ [ ], [ ] ]
  • parent stack at time 36 = [ __mul__(value, 4), [ ] ]

then arguments stack at time 37 = [ ]


Do Value Stack At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • Value Stack at time 36 = [ [ 4, [ 7, [ ] ] ], [ ] ]

then Value Stack at time 37 = [ [ 4, [ 7, [ ] ] ], [ ] ]


Do Line At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • the line at time 36 = 3

then the line at time 37 = 3


Do Tab At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • the tab at time 36 = 1

then the tab at time 37 = 1


Do Stack At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • stack at time 36 = [ ]

then stack at time 37 = [ ]


Do Object Store At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • Python Object Store at time 36 = [ [4, 7], [ ] ]

then Python Object Store at time 37 = [ [4, 7], [ ] ]


Do Control Map At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • Control Map at time 36 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]

then Control Map at time 37 = [ entry 0: (trio ("for", 2, [ ])), [ ] ]


Do Variables At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • Variables Map at time 36 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]

then Variables Map at time 37 = [ entry numbers: (Python reference 0), [ entry value: 7, [ entry x: 16, [ ] ] ] ]


Do Class Defs At Unchanged 36
if the following are true:
  • expression state at time 36 = "iterate_args"
  • Class Map at time 36 = [ ]

then Class Map at time 37 = [ ]


Do Object Store At Unchanged 37
if the following are true:
  • expression state at time 37 = "call_function_begin"
  • the expression at time 37 = __mul__(value, 4)
  • Python Object Store at time 37 = [ [4, 7], [ ] ]

then Python Object Store at time 38 = [ [4, 7], [ ] ]



Pages: 163 164 165 ... 193