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

Theorem relsnb 5712
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 5711 . . . 4 (𝐴 ∈ V → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
21biimpcd 248 . . 3 (Rel {𝐴} → (𝐴 ∈ V → 𝐴 ∈ (V × V)))
3 imor 850 . . 3 ((𝐴 ∈ V → 𝐴 ∈ (V × V)) ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
42, 3sylib 217 . 2 (Rel {𝐴} → (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
5 snprc 4653 . . . 4 𝐴 ∈ V ↔ {𝐴} = ∅)
6 rel0 5709 . . . . 5 Rel ∅
7 releq 5687 . . . . 5 ({𝐴} = ∅ → (Rel {𝐴} ↔ Rel ∅))
86, 7mpbiri 257 . . . 4 ({𝐴} = ∅ → Rel {𝐴})
95, 8sylbi 216 . . 3 𝐴 ∈ V → Rel {𝐴})
10 relsng 5711 . . . 4 (𝐴 ∈ (V × V) → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
1110ibir 267 . . 3 (𝐴 ∈ (V × V) → Rel {𝐴})
129, 11jaoi 854 . 2 ((¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)) → Rel {𝐴})
134, 12impbii 208 1 (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wo 844   = wceq 1539  wcel 2106  Vcvv 3432  c0 4256  {csn 4561   × cxp 5587  Rel wrel 5594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-v 3434  df-dif 3890  df-in 3894  df-ss 3904  df-nul 4257  df-sn 4562  df-rel 5596
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator