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 Assign Const Line 25
if the following are true:
  • the line at time 25 = 6
  • the tab at time 25 = 1
  • statement at line 6, tab 1 = a = 9
  • 9 is constant

then the line at time 26 = 7


Write Assign Const Tab 25
if the following are true:
  • the line at time 25 = 6
  • the tab at time 25 = 1
  • statement at line 6, tab 1 = a = 9
  • 9 is constant

then the tab at time 26 = 1


Write Assign Const State 25
if the following are true:
  • the line at time 25 = 6
  • the tab at time 25 = 1
  • statement at line 6, tab 1 = a = 9
  • 9 is constant

then expression state at time 26 = "not_expr"


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

then stack at time 26 = [ ]


Write Assign Const Object Store At 25
if the following are true:
  • the line at time 25 = 6
  • the tab at time 25 = 1
  • statement at line 6, tab 1 = a = 9
  • 9 is constant
  • 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 = 6
  • the tab at time 25 = 1
  • statement at line 6, tab 1 = a = 9
  • Control Map at time 25 = [ pair ("if", False), [ ] ]

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


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

then Class Map at time 26 = [ ]


Get Number of Lines 26
if number of lines = 6, then number of lines = 7 - 1

Write End Decrement If Line26
if the following are true:
  • the line at time 26 = 7
  • the tab at time 26 = 1
  • number of lines = 7 - 1
  • Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]

then the line at time 27 = 7


Write End Decrement If Tab 26
if the following are true:
  • the line at time 26 = 7
  • the tab at time 26 = 1
  • number of lines = 7 - 1
  • Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]

then the tab at time 27 = 0


Write End Decrement If State 26
if the following are true:
  • the line at time 26 = 7
  • the tab at time 26 = 1
  • number of lines = 7 - 1
  • Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]

then expression state at time 27 = "not_expr"


Write Decrement If Unchanged Variables At 26
if the following are true:
  • the line at time 26 = 7
  • the tab at time 26 = 1
  • Variables Map at time 26 = [ entry a: 9, [ ] ]
  • number of lines = 7 - 1
  • Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]

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


Write Decrement If Unchanged Stack At 26
if the following are true:
  • the line at time 26 = 7
  • the tab at time 26 = 1
  • stack at time 26 = [ ]
  • number of lines = 7 - 1
  • Control Map at time 26 = [ entry 0: (pair ("if", False)), [ ] ]

then stack 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__(7, 7):
  • expression state at time 0 = "not_expr"

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


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__(7, 7):
  • 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__(7, 7):
  • 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__(7, 7):
  • 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__(7, 7):
  • 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__(7, 7):
  • 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__(7, 7):
  • 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__(7, 7):
  • 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__(7, 7):
  • expression state at time 0 = "not_expr"
  • Control Map at time 0 = [ ]

then Control Map 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__(7, 7):
  • Class Map at time 0 = [ ]

then Class Map at time 1 = [ ]


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 = [ ]


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 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 = [ ]


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 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 = [ ]


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

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


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 = [ ]


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 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 = [ ]


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

then Python Object Store at time 7 = [ ]


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

then Control Map at time 7 = [ ]


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

then Class Map at time 7 = [ ]


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

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


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

then Class Map at time 8 = [ ]


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

then Python Object Store at time 8 = [ ]


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

then Control Map at time 8 = [ ]


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

then Python Object Store at time 9 = [ ]


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

then Control Map at time 9 = [ ]


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

then Class Map at time 9 = [ ]


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

then Python Object Store at time 10 = [ ]


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

then arguments stack at time 10 = [ ]


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

then Control Map at time 10 = [ ]


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

then Class Map at time 10 = [ ]


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

then Class Map at time 11 = [ ]


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

then Python Object Store at time 11 = [ ]


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

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


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

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

then stack at time 12 = [ ]


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

then Python Object Store at time 12 = [ ]


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

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


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

then Class Map at time 12 = [ ]


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

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


Write Decrement Tab Expr State 12
if the following are true:
  • the line at time 12 = 3
  • the tab at time 12 = 1
  • statement at line 3, tab 0 = elif __eq__(3, 3):

then expression state at time 13 = "not_expr"


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

then Python Object Store at time 13 = [ ]


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

then stack at time 13 = [ ]


Write Decrement Tab Variables At 12
if the following are true:
  • the line at time 12 = 3
  • the tab at time 12 = 1
  • statement at line 3, tab 0 = elif __eq__(3, 3):
  • Variables Map at time 12 = [ entry a: 7, [ ] ]
  • Control Map at time 12 = [ entry 0: (pair ("if", True)), [ ] ]

then Variables Map at time 13 = [ entry a: 7, [ ] ]


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

then Class Map at time 13 = [ ]


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

then Python Object Store at time 14 = [ ]


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

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


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

then Class Map at time 14 = [ ]


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

then Variables Map at time 15 = [ entry a: 7, [ ] ]


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

then stack at time 15 = [ ]


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

then Python Object Store at time 15 = [ ]


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

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


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

then Class Map at time 15 = [ ]


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

then Python Object Store at time 16 = [ ]


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

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


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

then Class Map at time 16 = [ ]


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

then expression state at time 16 = "not_expr"


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

then Variables Map at time 17 = [ entry a: 7, [ ] ]


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

then stack at time 17 = [ ]


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

then Python Object Store at time 17 = [ ]


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

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


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

then Class Map at time 17 = [ ]


Write Stmt Control Map 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 = c = 16
  • Control Map at time 0 = [ ]

then Control Map at time 1 = [ ]


Write Stmt Control Map 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 = c = __add__(5, 9)
  • Control Map at time 0 = [ ]

then Control Map at time 1 = [ ]


Do Control Map 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 Control Map 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 Control Map 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 Control Map 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 = [ ]


Do Control Map 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 Control Map At Unchanged 6
if the following are true:
  • expression state at time 6 = "begin_expr"
  • Control Map at time 6 = [ ]

then Control Map at time 7 = [ ]


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

then Control Map at time 8 = [ ]


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

then Control Map at time 9 = [ ]


Do Control Map At Unchanged 9
if the following are true:
  • expression state at time 9 = "call_function_begin"
  • Control Map at time 9 = [ ]

then Control Map at time 10 = [ ]


Write Stmt Control Map At Unchanged 10
if the following are true:
  • the line at time 10 = 1
  • the tab at time 10 = 0
  • statement at line 1, tab 0 = c = __add__(5, 9)
  • Control Map at time 10 = [ ]

then Control Map at time 11 = [ ]


Write Stmt Control Map 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__(3, 3):
  • expression state at time 0 = "not_expr"
  • Control Map at time 0 = [ ]

then Control Map at time 1 = [ ]


Do Control Map 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 Control Map 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 Control Map 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 = [ ]



Pages: 117 118 119 ... 127