Metamath Proof Explorer


Theorem uneq2

Description: Equality theorem for the union of two classes. (Contributed by NM, 5-Aug-1993)

Ref Expression
Assertion uneq2 ( 𝐴 = 𝐵 → ( 𝐶𝐴 ) = ( 𝐶𝐵 ) )

Proof

Step Hyp Ref Expression
1 uneq1 ( 𝐴 = 𝐵 → ( 𝐴𝐶 ) = ( 𝐵𝐶 ) )
2 uncom ( 𝐶𝐴 ) = ( 𝐴𝐶 )
3 uncom ( 𝐶𝐵 ) = ( 𝐵𝐶 )
4 1 2 3 3eqtr4g ( 𝐴 = 𝐵 → ( 𝐶𝐴 ) = ( 𝐶𝐵 ) )