Metamath Proof Explorer


Theorem eleqtrd

Description: Deduction that substitutes equal classes into membership. (Contributed by NM, 14-Dec-2004)

Ref Expression
Hypotheses eleqtrd.1 ( 𝜑𝐴𝐵 )
eleqtrd.2 ( 𝜑𝐵 = 𝐶 )
Assertion eleqtrd ( 𝜑𝐴𝐶 )

Proof

Step Hyp Ref Expression
1 eleqtrd.1 ( 𝜑𝐴𝐵 )
2 eleqtrd.2 ( 𝜑𝐵 = 𝐶 )
3 2 eleq2d ( 𝜑 → ( 𝐴𝐵𝐴𝐶 ) )
4 1 3 mpbid ( 𝜑𝐴𝐶 )