Proof: Write Skip Line State 2

Let's prove the following theorem:

if the following are true:
  • the line at time 2 = 3
  • the tab at time 2 = 1
  • statement at line 3, tab 2 = self.x = 0

then expression state at time 3 = "not_expr"

Proof:

View as a tree | View dependent proofs | Try proving it

Given
1 the line at time 2 = 3
2 the tab at time 2 = 1
3 statement at line 3, tab 2 = self.x = 0
Proof Table
# Claim Reason
1 2 > 1 2 > 1
2 expression state at time (2 + 1) = "not_expr" if the line at time 2 = 3 and the tab at time 2 = 1 and statement at line 3, tab 2 = self.x = 0 and 2 > 1, then expression state at time (2 + 1) = "not_expr"
3 2 + 1 = 3 2 + 1 = 3
4 expression state at time (2 + 1) = expression state at time 3 if 2 + 1 = 3, then expression state at time (2 + 1) = expression state at time 3
5 expression state at time 3 = "not_expr" if expression state at time (2 + 1) = expression state at time 3 and expression state at time (2 + 1) = "not_expr", then expression state at time 3 = "not_expr"

Comments

Please log in to add comments