Proof: Write Skip Line Tab 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 the tab at time 3 = 1

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 the tab at time (2 + 1) = the tab at time 2 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 the tab at time (2 + 1) = the tab at time 2
3 the tab at time (2 + 1) = 1 if the tab at time (2 + 1) = the tab at time 2 and the tab at time 2 = 1, then the tab at time (2 + 1) = 1
4 2 + 1 = 3 2 + 1 = 3
5 the tab at time (2 + 1) = the tab at time 3 if 2 + 1 = 3, then the tab at time (2 + 1) = the tab at time 3
6 the tab at time 3 = 1 if the tab at time (2 + 1) = the tab at time 3 and the tab at time (2 + 1) = 1, then the tab at time 3 = 1

Comments

Please log in to add comments