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

Theorem relsnb 5745
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 5744 . . . 4 (𝐴 ∈ V → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
21biimpcd 250 . . 3 (Rel {𝐴} → (𝐴 ∈ V → 𝐴 ∈ (V × V)))
3 imor 859 . . 3 ((𝐴 ∈ V → 𝐴 ∈ (V × V)) ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
42, 3sylib 219 . 2 (Rel {𝐴} → (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
5 snprc 4649 . . . 4 𝐴 ∈ V ↔ {𝐴} = ∅)
6 rel0 5742 . . . . 5 Rel ∅
7 releq 5720 . . . . 5 ({𝐴} = ∅ → (Rel {𝐴} ↔ Rel ∅))
86, 7mpbiri 259 . . . 4 ({𝐴} = ∅ → Rel {𝐴})
95, 8sylbi 218 . . 3 𝐴 ∈ V → Rel {𝐴})
10 relsng 5744 . . . 4 (𝐴 ∈ (V × V) → (Rel {𝐴} ↔ 𝐴 ∈ (V × V)))
1110ibir 269 . . 3 (𝐴 ∈ (V × V) → Rel {𝐴})
129, 11jaoi 863 . 2 ((¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)) → Rel {𝐴})
134, 12impbii 210 1 (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wo 853   = wceq 1547  wcel 2119  Vcvv 3431  c0 4261  {csn 4555   × cxp 5616  Rel wrel 5623
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2711
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-tru 1550  df-fal 1560  df-ex 1787  df-sb 2074  df-clab 2718  df-cleq 2731  df-clel 2814  df-v 3433  df-dif 3886  df-ss 3900  df-nul 4262  df-sn 4556  df-rel 5625
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator