Metamath Proof Explorer


Theorem pncan3d

Description: Subtraction and addition of equals. (Contributed by Mario Carneiro, 27-May-2016)

Ref Expression
Hypotheses negidd.1
|- ( ph -> A e. CC )
pncand.2
|- ( ph -> B e. CC )
Assertion pncan3d
|- ( ph -> ( A + ( B - A ) ) = B )

Proof

Step Hyp Ref Expression
1 negidd.1
 |-  ( ph -> A e. CC )
2 pncand.2
 |-  ( ph -> B e. CC )
3 pncan3
 |-  ( ( A e. CC /\ B e. CC ) -> ( A + ( B - A ) ) = B )
4 1 2 3 syl2anc
 |-  ( ph -> ( A + ( B - A ) ) = B )