Metamath Proof Explorer


Theorem nelb

Description: A definition of -. A e. B . (Contributed by Thierry Arnoux, 20-Nov-2023) (Proof shortened by SN, 23-Jan-2024)

Ref Expression
Assertion nelb ( ¬ 𝐴𝐵 ↔ ∀ 𝑥𝐵 𝑥𝐴 )

Proof

Step Hyp Ref Expression
1 df-ne ( 𝑥𝐴 ↔ ¬ 𝑥 = 𝐴 )
2 1 ralbii ( ∀ 𝑥𝐵 𝑥𝐴 ↔ ∀ 𝑥𝐵 ¬ 𝑥 = 𝐴 )
3 ralnex ( ∀ 𝑥𝐵 ¬ 𝑥 = 𝐴 ↔ ¬ ∃ 𝑥𝐵 𝑥 = 𝐴 )
4 2 3 bitri ( ∀ 𝑥𝐵 𝑥𝐴 ↔ ¬ ∃ 𝑥𝐵 𝑥 = 𝐴 )
5 risset ( 𝐴𝐵 ↔ ∃ 𝑥𝐵 𝑥 = 𝐴 )
6 4 5 xchbinxr ( ∀ 𝑥𝐵 𝑥𝐴 ↔ ¬ 𝐴𝐵 )
7 6 bicomi ( ¬ 𝐴𝐵 ↔ ∀ 𝑥𝐵 𝑥𝐴 )