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

Theorem relsnb 5781
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 5780 . . . 4 (𝐴 ∈ V → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
21biimpcd 252 . . 3 (Rel {𝐴} → (𝐴 ∈ V → 𝐴 ∈ (V × V)))
3 imor 867 . . 3 ((𝐴 ∈ V → 𝐴 ∈ (V × V)) ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
42, 3sylib 221 . 2 (Rel {𝐴} → (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
5 snprc 4674 . . . 4 (¬ 𝐴 ∈ V ↔ {𝐴} = ∅)
6 rel0 5777 . . . . 5 Rel ∅
7 releq 5754 . . . . 5 ({𝐴} = ∅ → (Rel {𝐴} ↔ Rel ∅))
86, 7mpbiri 261 . . . 4 ({𝐴} = ∅ → Rel {𝐴})
95, 8sylbi 220 . . 3 (¬ 𝐴 ∈ V → Rel {𝐴})
10 relsng 5780 . . . 4 (𝐴 ∈ (V × V) → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
1110ibir 271 . . 3 (𝐴 ∈ (V × V) → Rel {𝐴})
129, 11jaoi 871 . 2 ((¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)) → Rel {𝐴})
134, 12impbii 212 1 (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∨ wo 861   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ∅c0 4277  {csn 4584   × cxp 5649  Rel wrel 5656
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-ss 3897  df-dif 4046  df-nul 4278  df-sn 4585  df-rel 5658
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator