Metamath Proof Explorer


Theorem mvlladdcd

Description: Rotate the variables right in an equation with addition on the left, converting it into a subtraction. Version of mvlladdd with a commuted consequent, and of mvrladdd with a commuted hypothesis. (Contributed by SN, 21-Aug-2024)

Ref Expression
Hypotheses mvlraddd.1
|- ( ph -> A e. CC )
mvlraddd.2
|- ( ph -> B e. CC )
mvlraddd.3
|- ( ph -> ( A + B ) = C )
Assertion mvlladdcd
|- ( ph -> ( C - A ) = B )

Proof

Step Hyp Ref Expression
1 mvlraddd.1
 |-  ( ph -> A e. CC )
2 mvlraddd.2
 |-  ( ph -> B e. CC )
3 mvlraddd.3
 |-  ( ph -> ( A + B ) = C )
4 1 2 3 mvlladdd
 |-  ( ph -> B = ( C - A ) )
5 4 eqcomd
 |-  ( ph -> ( C - A ) = B )