Metamath Proof Explorer


Theorem eleqtrrd

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

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

Proof

Step Hyp Ref Expression
1 eleqtrrd.1 ( 𝜑𝐴𝐵 )
2 eleqtrrd.2 ( 𝜑𝐶 = 𝐵 )
3 2 eqcomd ( 𝜑𝐵 = 𝐶 )
4 1 3 eleqtrd ( 𝜑𝐴𝐶 )