Metamath Proof Explorer


Theorem nelbr

Description: The binary relation of a set not being a member of another set. (Contributed by AV, 26-Dec-2021)

Ref Expression
Assertion nelbr ( ( 𝐴𝑉𝐵𝑊 ) → ( 𝐴 _∉ 𝐵 ↔ ¬ 𝐴𝐵 ) )

Proof

Step Hyp Ref Expression
1 eleq12 ( ( 𝑥 = 𝐴𝑦 = 𝐵 ) → ( 𝑥𝑦𝐴𝐵 ) )
2 1 notbid ( ( 𝑥 = 𝐴𝑦 = 𝐵 ) → ( ¬ 𝑥𝑦 ↔ ¬ 𝐴𝐵 ) )
3 df-nelbr _∉ = { ⟨ 𝑥 , 𝑦 ⟩ ∣ ¬ 𝑥𝑦 }
4 2 3 brabga ( ( 𝐴𝑉𝐵𝑊 ) → ( 𝐴 _∉ 𝐵 ↔ ¬ 𝐴𝐵 ) )