Metamath Proof Explorer


Theorem eleqtrdi

Description: A membership and equality inference. (Contributed by NM, 4-Jan-2006)

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

Proof

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