Metamath Proof Explorer


Theorem ssexnelpss

Description: If there is an element of a class which is not contained in a subclass, the subclass is a proper subclass. (Contributed by AV, 29-Jan-2020)

Ref Expression
Assertion ssexnelpss ( ( 𝐴𝐵 ∧ ∃ 𝑥𝐵 𝑥𝐴 ) → 𝐴𝐵 )

Proof

Step Hyp Ref Expression
1 df-nel ( 𝑥𝐴 ↔ ¬ 𝑥𝐴 )
2 ssnelpss ( 𝐴𝐵 → ( ( 𝑥𝐵 ∧ ¬ 𝑥𝐴 ) → 𝐴𝐵 ) )
3 2 expdimp ( ( 𝐴𝐵𝑥𝐵 ) → ( ¬ 𝑥𝐴𝐴𝐵 ) )
4 1 3 syl5bi ( ( 𝐴𝐵𝑥𝐵 ) → ( 𝑥𝐴𝐴𝐵 ) )
5 4 rexlimdva ( 𝐴𝐵 → ( ∃ 𝑥𝐵 𝑥𝐴𝐴𝐵 ) )
6 5 imp ( ( 𝐴𝐵 ∧ ∃ 𝑥𝐵 𝑥𝐴 ) → 𝐴𝐵 )