Quiz (1 point)
Given that:
the line at time 58 = 3
the tab at time 58 = 0
statement at line 3, tab 1 =
a = __add__(a, 1)
stack at time 58 = [ ]
Prove that:
stack at time 59 = [ ]
The following properties may be helpful:
- 1 > 0
- 58 + 1 = 59
if the following are true:
- the line at time t = i
- the tab at time t = j
- statement at line i, tab k = s
- k > j
then stack at time (t + 1) = stack at time t
if the following are true:
- a = b
- b = c
then a = c
if 58 + 1 = 59, then stack at time (58 + 1) = stack at time 59
if the following are true:
- a = b
- a = c
then b = c
Please write your proof in the table below. Each row should contain one claim. The last claim is the statement that you are trying to prove.