Proof: Write Skip Line Tab 3

Let's prove the following theorem:

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

then the tab at time 4 = 1

Proof:

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

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

Comments

Please log in to add comments