Metamath Proof Explorer


Theorem neeqtrd

Description: Substitution of equal classes into an inequality. (Contributed by NM, 4-Jul-2012)

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

Proof

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