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 Object Store At Unchanged Expr22
if the following are true:
  • the line at time 22 = 3
  • the tab at time 22 = 0
  • statement at line 3, tab 0 = elif __eq__(3, 3):
  • expression state at time 22 = "end_expr"
  • Python Object Store at time 22 = [ ]

then Python Object Store at time 23 = [ ]


Write Test Call End in Block 22
if the following are true:
  • the line at time 22 = 3
  • the tab at time 22 = 0
  • statement at line 3, tab 0 = elif __eq__(3, 3):
  • expression state at time 22 = "end_expr"
  • Return Value at time 22 = True
  • Control Map at time 22 = [ pair ("if", False), [ ] ]

then Control Map at time 23 = [ pair ("if", True), [ ] ]


Do Set Key Value 23 0
result of storing 8 at key: a in map: [ ] = [ entry a: 8, [ ] ]

Write Assign Const Stack At 23
if the following are true:
  • the line at time 23 = 4
  • the tab at time 23 = 1
  • statement at line 4, tab 1 = a = 8
  • 8 is constant
  • stack at time 23 = [ ]

then stack at time 24 = [ ]


Write Assign Const Object Store At 23
if the following are true:
  • the line at time 23 = 4
  • the tab at time 23 = 1
  • statement at line 4, tab 1 = a = 8
  • 8 is constant
  • Python Object Store at time 23 = [ ]

then Python Object Store at time 24 = [ ]


Write Stmt in Block At Unchanged 23
if the following are true:
  • the line at time 23 = 4
  • the tab at time 23 = 1
  • statement at line 4, tab 1 = a = 8
  • Control Map at time 23 = [ pair ("if", True), [ ] ]

then Control Map at time 24 = [ pair ("if", True), [ ] ]


Write Stmt Class Defs At Unchanged 23
if the following are true:
  • the line at time 23 = 4
  • the tab at time 23 = 1
  • statement at line 4, tab 1 = a = 8
  • Class Map at time 23 = [ ]

then Class Map at time 24 = [ ]


Write Decrement Tab in Block 24
if the following are true:
  • the line at time 24 = 5
  • the tab at time 24 = 1
  • statement at line 5, tab 0 = else:
  • Control Map at time 24 = [ pair ("if", True), [ ] ]

then Control Map at time 25 = [ pair ("if", True), [ ] ]


Write Decrement Tab Expr State 24
if the following are true:
  • the line at time 24 = 5
  • the tab at time 24 = 1
  • statement at line 5, tab 0 = else:

then expression state at time 25 = "not_expr"


Write Decrement Tab Object Store At 24
if the following are true:
  • the line at time 24 = 5
  • the tab at time 24 = 1
  • statement at line 5, tab 0 = else:
  • Python Object Store at time 24 = [ ]
  • Control Map at time 24 = [ entry 0: (pair ("if", True)), [ ] ]

then Python Object Store at time 25 = [ ]


Write Decrement Tab Stack At 24
if the following are true:
  • the line at time 24 = 5
  • the tab at time 24 = 1
  • statement at line 5, tab 0 = else:
  • stack at time 24 = [ ]
  • Control Map at time 24 = [ entry 0: (pair ("if", True)), [ ] ]

then stack at time 25 = [ ]


Write Decrement Tab Variables At 24
if the following are true:
  • the line at time 24 = 5
  • the tab at time 24 = 1
  • statement at line 5, tab 0 = else:
  • Variables Map at time 24 = [ entry a: 8, [ ] ]
  • Control Map at time 24 = [ entry 0: (pair ("if", True)), [ ] ]

then Variables Map at time 25 = [ entry a: 8, [ ] ]


Write Decrement Tab Class Defs At 24
if the following are true:
  • the line at time 24 = 5
  • the tab at time 24 = 1
  • statement at line 5, tab 0 = else:
  • Class Map at time 24 = [ ]
  • Control Map at time 24 = [ entry 0: (pair ("if", True)), [ ] ]

then Class Map at time 25 = [ ]


Write Stmt Object Store At Unchanged 25
if the following are true:
  • the line at time 25 = 5
  • the tab at time 25 = 0
  • statement at line 5, tab 0 = else:
  • Python Object Store at time 25 = [ ]

then Python Object Store at time 26 = [ ]


Write Stmt in Block At Unchanged 25
if the following are true:
  • the line at time 25 = 5
  • the tab at time 25 = 0
  • statement at line 5, tab 0 = else:
  • Control Map at time 25 = [ pair ("if", True), [ ] ]

then Control Map at time 26 = [ pair ("if", True), [ ] ]


Write Stmt Class Defs At Unchanged 25
if the following are true:
  • the line at time 25 = 5
  • the tab at time 25 = 0
  • statement at line 5, tab 0 = else:
  • Class Map at time 25 = [ ]

then Class Map at time 26 = [ ]


Write Stmt Expr State At Unchanged 25
if the following are true:
  • the line at time 25 = 5
  • the tab at time 25 = 0
  • statement at line 5, tab 0 = else:
  • expression state at time 25 = "not_expr"

then expression state at time 26 = "not_expr"


Write Skip Line Variables At 26
if the following are true:
  • the line at time 26 = 6
  • the tab at time 26 = 0
  • statement at line 6, tab 1 = a = 9
  • Variables Map at time 26 = [ entry a: 8, [ ] ]

then Variables Map at time 27 = [ entry a: 8, [ ] ]


Write Skip Line Stack At 26
if the following are true:
  • the line at time 26 = 6
  • the tab at time 26 = 0
  • statement at line 6, tab 1 = a = 9
  • stack at time 26 = [ ]

then stack at time 27 = [ ]


Write Skip Line Object Store At 26
if the following are true:
  • the line at time 26 = 6
  • the tab at time 26 = 0
  • statement at line 6, tab 1 = a = 9
  • Python Object Store at time 26 = [ ]

then Python Object Store at time 27 = [ ]


Write Skip Line in Block At 26
if the following are true:
  • the line at time 26 = 6
  • the tab at time 26 = 0
  • statement at line 6, tab 1 = a = 9
  • Control Map at time 26 = [ pair ("if", True), [ ] ]

then Control Map at time 27 = [ pair ("if", True), [ ] ]


Write Skip Line Class Defs At 26
if the following are true:
  • the line at time 26 = 6
  • the tab at time 26 = 0
  • statement at line 6, tab 1 = a = 9
  • Class Map at time 26 = [ ]

then Class Map at time 27 = [ ]


Write Set Name Expr At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then the expression at time 1 = __eq__(1, 3)


Write Set Name Expr State At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then expression state at time 1 = "begin_expr"


Write Set Name Line At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then the line at time 1 = 1


Write Set Name Tab At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then the tab at time 1 = 0


Write Set Name Value Stack At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then Value Stack at time 1 = [ ]


Write Set Name Parent Stack At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then parent stack at time 1 = [ ]


Write Set Name Arg Stack At on State 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"

then arguments stack at time 1 = [ ]


Write Stmt Object Store At Unchanged Expr0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"
  • Python Object Store at time 0 = [ ]

then Python Object Store at time 1 = [ ]


Write Stmt in Block At Unchanged Expr0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • expression state at time 0 = "not_expr"
  • Control Map at time 0 = [ ]

then Control Map at time 1 = [ ]


Write Stmt Variables At Unchanged 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • Variables Map at time 0 = [ ]

then Variables Map at time 1 = [ ]


Write Stmt Stack At Unchanged 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • stack at time 0 = [ ]

then stack at time 1 = [ ]


Write Stmt Class Defs At Unchanged 0
if the following are true:
  • the line at time 0 = 1
  • the tab at time 0 = 0
  • statement at line 1, tab 0 = if __eq__(1, 3):
  • Class Map at time 0 = [ ]

then Class Map at time 1 = [ ]


Get Begin Expr Value 1
if the following are true:
  • expression state at time 1 = "begin_expr"
  • the expression at time 1 = __eq__(1, 3)
  • Value Stack at time 1 = [ ]

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


Get Begin Expr Parent 1
if the following are true:
  • expression state at time 1 = "begin_expr"
  • the expression at time 1 = __eq__(1, 3)
  • parent stack at time 1 = [ ]

then parent stack at time 2 = [ __eq__(1, 3), [ ] ]


Get Begin Expr Params 1
if the following are true:
  • expression state at time 1 = "begin_expr"
  • the expression at time 1 = __eq__(1, 3)
  • arguments stack at time 1 = [ ]

then arguments stack at time 2 = [ [ 1, [ 3, [ ] ] ], [ ] ]


Get Begin Expr Call State 1
if the following are true:
  • expression state at time 1 = "begin_expr"
  • the expression at time 1 = __eq__(1, 3)

then expression state at time 2 = "iterate_args"


Do Expr At Unchanged 1
if the following are true:
  • expression state at time 1 = "begin_expr"
  • the expression at time 1 = __eq__(1, 3)

then the expression at time 2 = __eq__(1, 3)


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

then Variables Map at time 2 = [ ]


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

then the line at time 2 = 1


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

then the tab at time 2 = 0


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

then stack at time 2 = [ ]


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

then Python Object Store at time 2 = [ ]


Do in Block At Unchanged 1
if the following are true:
  • expression state at time 1 = "begin_expr"
  • Control Map at time 1 = [ ]

then Control Map at time 2 = [ ]


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

then Class Map at time 2 = [ ]


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

then the expression at time 3 = 1


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

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


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

then expression state at time 3 = "begin_expr"


Get Iterate Parent 2
if the following are true:
  • expression state at time 2 = "iterate_args"
  • arguments stack at time 2 = [ [ 1, [ 3, [ ] ] ], [ ] ]
  • parent stack at time 2 = [ __eq__(1, 3), [ ] ]

then parent stack at time 3 = [ __eq__(1, 3), [ ] ]


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

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


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

then the line at time 3 = 1


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

then the tab at time 3 = 0


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

then stack at time 3 = [ ]


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

then Python Object Store at time 3 = [ ]


Do in Block At Unchanged 2
if the following are true:
  • expression state at time 2 = "iterate_args"
  • Control Map at time 2 = [ ]

then Control Map at time 3 = [ ]


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

then Variables Map at time 3 = [ ]


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

then Class Map at time 3 = [ ]


Get Begin Expr State 3
if the following are true:
  • the expression at time 3 = 1
  • expression state at time 3 = "begin_expr"
  • 1 is constant
  • parent stack at time 3 = [ __eq__(1, 3), [ ] ]

then expression state at time 4 = "return"


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

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


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

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


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

then Return Value at time 4 = 1


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

then parent stack at time 4 = [ __eq__(1, 3), [ ] ]


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

then the line at time 4 = 1


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

then the tab at time 4 = 0


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

then stack at time 4 = [ ]


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

then Python Object Store at time 4 = [ ]


Do in Block At Unchanged 3
if the following are true:
  • expression state at time 3 = "begin_expr"
  • Control Map at time 3 = [ ]

then Control Map at time 4 = [ ]


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

then Variables Map at time 4 = [ ]


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

then Class Map at time 4 = [ ]


Get New State 4
if expression state at time 4 = "return", then expression state at time 5 = "iterate_args"

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

then Value Stack at time 5 = [ [ 1, [ ] ], [ ] ]


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

then Variables Map at time 5 = [ ]


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

then the line at time 5 = 1


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

then the tab at time 5 = 0


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

then arguments stack at time 5 = [ [ 3, [ ] ], [ ] ]


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

then parent stack at time 5 = [ __eq__(1, 3), [ ] ]


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

then stack at time 5 = [ ]


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

then Class Map at time 5 = [ ]


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

then Python Object Store at time 5 = [ ]


Do in Block At Unchanged 4
if the following are true:
  • expression state at time 4 = "return"
  • Control Map at time 4 = [ ]

then Control Map at time 5 = [ ]


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

then the expression at time 6 = 3


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

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


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

then expression state at time 6 = "begin_expr"


Get Iterate Parent 5
if the following are true:
  • expression state at time 5 = "iterate_args"
  • arguments stack at time 5 = [ [ 3, [ ] ], [ ] ]
  • parent stack at time 5 = [ __eq__(1, 3), [ ] ]

then parent stack at time 6 = [ __eq__(1, 3), [ ] ]


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

then Value Stack at time 6 = [ [ 1, [ ] ], [ ] ]


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

then the line at time 6 = 1


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

then the tab at time 6 = 0


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

then stack at time 6 = [ ]


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

then Python Object Store at time 6 = [ ]


Do in Block At Unchanged 5
if the following are true:
  • expression state at time 5 = "iterate_args"
  • Control Map at time 5 = [ ]

then Control Map at time 6 = [ ]


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

then Variables Map at time 6 = [ ]


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

then Class Map at time 6 = [ ]


Get Begin Expr State 6
if the following are true:
  • the expression at time 6 = 3
  • expression state at time 6 = "begin_expr"
  • 3 is constant
  • parent stack at time 6 = [ __eq__(1, 3), [ ] ]

then expression state at time 7 = "return"


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

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


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

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


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

then Return Value at time 7 = 3


Get Begin Expr Const Parent 6
if the following are true:
  • expression state at time 6 = "begin_expr"
  • the expression at time 6 = 3
  • 3 is constant
  • parent stack at time 6 = [ __eq__(1, 3), [ ] ]

then parent stack at time 7 = [ __eq__(1, 3), [ ] ]


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

then the line at time 7 = 1


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

then the tab at time 7 = 0



Pages: 114 115 116 ... 127