Metamath Proof Explorer


Theorem uneq12d

Description: Equality deduction for the union of two classes. (Contributed by NM, 29-Sep-2004) (Proof shortened by Andrew Salmon, 26-Jun-2011)

Ref Expression
Hypotheses uneq1d.1 ( 𝜑𝐴 = 𝐵 )
uneq12d.2 ( 𝜑𝐶 = 𝐷 )
Assertion uneq12d ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐷 ) )

Proof

Step Hyp Ref Expression
1 uneq1d.1 ( 𝜑𝐴 = 𝐵 )
2 uneq12d.2 ( 𝜑𝐶 = 𝐷 )
3 uneq12 ( ( 𝐴 = 𝐵𝐶 = 𝐷 ) → ( 𝐴𝐶 ) = ( 𝐵𝐷 ) )
4 1 2 3 syl2anc ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐷 ) )