Metamath Proof Explorer


Theorem lsubrotld

Description: Rotate the variables left in an equation with subtraction on the left, converting it into an addition. (Contributed by SN, 21-Aug-2024)

Ref Expression
Hypotheses lsubrotld.a φ A
lsubrotld.b φ B
lsubrotld.1 φ A B = C
Assertion lsubrotld φ B + C = A

Proof

Step Hyp Ref Expression
1 lsubrotld.a φ A
2 lsubrotld.b φ B
3 lsubrotld.1 φ A B = C
4 1 2 subcld φ A B
5 3 4 eqeltrrd φ C
6 2 5 addcld φ B + C
7 2 5 pncan2d φ B + C - B = C
8 7 3 eqtr4d φ B + C - B = A B
9 6 1 2 8 subcan2d φ B + C = A