MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  relsnb Structured version   Visualization version   GIF version

Theorem relsnb 5677
Description: An at-most-singleton is a relation iff it is empty (because it is a "singleton on a proper class") or it is a singleton of an ordered pair. (Contributed by BJ, 26-Feb-2023.)
Assertion
Ref Expression
relsnb (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))

Proof of Theorem relsnb
StepHypRef Expression
1 relsng 5676 . . . 4 (𝐴 ∈ V → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
21biimpcd 251 . . 3 (Rel {𝐴} → (𝐴 ∈ V → 𝐴 ∈ (V × V)))
3 imor 849 . . 3 ((𝐴 ∈ V → 𝐴 ∈ (V × V)) ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
42, 3sylib 220 . 2 (Rel {𝐴} → (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
5 snprc 4655 . . . 4 𝐴 ∈ V ↔ {𝐴} = ∅)
6 rel0 5674 . . . . 5 Rel ∅
7 releq 5653 . . . . 5 ({𝐴} = ∅ → (Rel {𝐴} ↔ Rel ∅))
86, 7mpbiri 260 . . . 4 ({𝐴} = ∅ → Rel {𝐴})
95, 8sylbi 219 . . 3 𝐴 ∈ V → Rel {𝐴})
10 relsng 5676 . . . 4 (𝐴 ∈ (V × V) → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
1110ibir 270 . . 3 (𝐴 ∈ (V × V) → Rel {𝐴})
129, 11jaoi 853 . 2 ((¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)) → Rel {𝐴})
134, 12impbii 211 1 (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wo 843   = wceq 1537  wcel 2114  Vcvv 3496  c0 4293  {csn 4569   × cxp 5555  Rel wrel 5562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-v 3498  df-dif 3941  df-in 3945  df-ss 3954  df-nul 4294  df-sn 4570  df-rel 5564
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator