Metamath Proof Explorer


Theorem eleq12d

Description: Deduction from equality to equivalence of membership. (Contributed by NM, 31-May-1994)

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

Proof

Step Hyp Ref Expression
1 eleq12d.1 ( 𝜑𝐴 = 𝐵 )
2 eleq12d.2 ( 𝜑𝐶 = 𝐷 )
3 2 eleq2d ( 𝜑 → ( 𝐴𝐶𝐴𝐷 ) )
4 1 eleq1d ( 𝜑 → ( 𝐴𝐷𝐵𝐷 ) )
5 3 4 bitrd ( 𝜑 → ( 𝐴𝐶𝐵𝐷 ) )