Proof: Do Convert Stmt 25
Let's prove the following theorem:
if statement at line 4, tab 2 =
self.y = 0
, then statement at line 4, tab 2 = self."y" = 0Proof:
Given
1 | statement at line 4, tab 2 = self.y = 0 |
---|
# | Claim | Reason |
---|---|---|
1 | self.y = 0 = self."y" = 0 |
self.y = 0 = self."y" = 0 |
2 | statement at line 4, tab 2 = self."y" = 0 | if statement at line 4, tab 2 = self.y = 0 and self.y = 0 = self."y" = 0, then statement at line 4, tab 2 = self."y" = 0 |
Comments
Please log in to add comments