Proof: Do Convert Stmt 42

Let's prove the following theorem:

if statement at line 6, tab 2 = self.x = self.x + 5, then statement at line 6, tab 2 = self."x" = __add__(self.x, 5)

Proof:

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

Given
1 statement at line 6, tab 2 = self.x = self.x + 5
Proof Table
# Claim Reason
1 expression self.x + 5 = __add__(self.x, 5) expression self.x + 5 = __add__(self.x, 5)
2 self.x = self.x + 5 = self.x = __add__(self.x, 5) if expression self.x + 5 = __add__(self.x, 5), then self.x = self.x + 5 = self.x = __add__(self.x, 5)
3 self.x = __add__(self.x, 5) = self."x" = __add__(self.x, 5) self.x = __add__(self.x, 5) = self."x" = __add__(self.x, 5)
4 self.x = self.x + 5 = self."x" = __add__(self.x, 5) if self.x = self.x + 5 = self.x = __add__(self.x, 5) and self.x = __add__(self.x, 5) = self."x" = __add__(self.x, 5), then self.x = self.x + 5 = self."x" = __add__(self.x, 5)
5 statement at line 6, tab 2 = self."x" = __add__(self.x, 5) if statement at line 6, tab 2 = self.x = self.x + 5 and self.x = self.x + 5 = self."x" = __add__(self.x, 5), then statement at line 6, tab 2 = self."x" = __add__(self.x, 5)

Comments

Please log in to add comments