Metamath Proof Explorer


Theorem 3netr4d

Description: Substitution of equality into both sides of an inequality. (Contributed by NM, 24-Jul-2012) (Proof shortened by Wolf Lammen, 21-Nov-2019)

Ref Expression
Hypotheses 3netr4d.1 ( 𝜑𝐴𝐵 )
3netr4d.2 ( 𝜑𝐶 = 𝐴 )
3netr4d.3 ( 𝜑𝐷 = 𝐵 )
Assertion 3netr4d ( 𝜑𝐶𝐷 )

Proof

Step Hyp Ref Expression
1 3netr4d.1 ( 𝜑𝐴𝐵 )
2 3netr4d.2 ( 𝜑𝐶 = 𝐴 )
3 3netr4d.3 ( 𝜑𝐷 = 𝐵 )
4 2 1 eqnetrd ( 𝜑𝐶𝐵 )
5 4 3 neeqtrrd ( 𝜑𝐶𝐷 )