| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > relsnb | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| relsnb | ⊢ (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | relsng 5789 | . . . 4 ⊢ (𝐴 ∈ V → (Rel {𝐴} ↔ 𝐴 ∈ (V × V))) | |
| 2 | 1 | biimpcd 252 | . . 3 ⊢ (Rel {𝐴} → (𝐴 ∈ V → 𝐴 ∈ (V × V))) |
| 3 | imor 866 | . . 3 ⊢ ((𝐴 ∈ V → 𝐴 ∈ (V × V)) ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) | |
| 4 | 2, 3 | sylib 221 | . 2 ⊢ (Rel {𝐴} → (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) |
| 5 | snprc 4688 | . . . 4 ⊢ (¬ 𝐴 ∈ V ↔ {𝐴} = ∅) | |
| 6 | rel0 5786 | . . . . 5 ⊢ Rel ∅ | |
| 7 | releq 5764 | . . . . 5 ⊢ ({𝐴} = ∅ → (Rel {𝐴} ↔ Rel ∅)) | |
| 8 | 6, 7 | mpbiri 261 | . . . 4 ⊢ ({𝐴} = ∅ → Rel {𝐴}) |
| 9 | 5, 8 | sylbi 220 | . . 3 ⊢ (¬ 𝐴 ∈ V → Rel {𝐴}) |
| 10 | relsng 5789 | . . . 4 ⊢ (𝐴 ∈ (V × V) → (Rel {𝐴} ↔ 𝐴 ∈ (V × V))) | |
| 11 | 10 | ibir 271 | . . 3 ⊢ (𝐴 ∈ (V × V) → Rel {𝐴}) |
| 12 | 9, 11 | jaoi 870 | . 2 ⊢ ((¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)) → Rel {𝐴}) |
| 13 | 4, 12 | impbii 212 | 1 ⊢ (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∨ wo 860 = wceq 1567 ∈ wcel 2149 Vcvv 3463 ∅c0 4294 {csn 4594 × cxp 5660 Rel wrel 5667 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1822 ax-4 1836 ax-5 1937 ax-6 1994 ax-7 2035 ax-8 2151 ax-9 2159 ax-ext 2741 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-tru 1570 df-fal 1580 df-ex 1807 df-sb 2098 df-clab 2748 df-cleq 2761 df-clel 2844 df-v 3465 df-dif 3916 df-ss 3930 df-nul 4295 df-sn 4595 df-rel 5669 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |