Metamath Proof Explorer


Theorem 3sstr4g

Description: Substitution of equality into both sides of a subclass relationship. (Contributed by NM, 16-Aug-1994) (Proof shortened by Eric Schmidt, 26-Jan-2007)

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

Proof

Step Hyp Ref Expression
1 3sstr4g.1 ( 𝜑𝐴𝐵 )
2 3sstr4g.2 𝐶 = 𝐴
3 3sstr4g.3 𝐷 = 𝐵
4 2 3 sseq12i ( 𝐶𝐷𝐴𝐵 )
5 1 4 sylibr ( 𝜑𝐶𝐷 )