| 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 5774 | . . . 4 ⊢ (𝐴 ∈ V → (Rel {𝐴} ↔ 𝐴 ∈ (V × V))) | |
| 2 | 1 | biimpcd 251 | . . 3 ⊢ (Rel {𝐴} → (𝐴 ∈ V → 𝐴 ∈ (V × V))) |
| 3 | imor 864 | . . 3 ⊢ ((𝐴 ∈ V → 𝐴 ∈ (V × V)) ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) | |
| 4 | 2, 3 | sylib 220 | . 2 ⊢ (Rel {𝐴} → (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) |
| 5 | snprc 4676 | . . . 4 ⊢ (¬ 𝐴 ∈ V ↔ {𝐴} = ∅) | |
| 6 | rel0 5771 | . . . . 5 ⊢ Rel ∅ | |
| 7 | releq 5749 | . . . . 5 ⊢ ({𝐴} = ∅ → (Rel {𝐴} ↔ Rel ∅)) | |
| 8 | 6, 7 | mpbiri 260 | . . . 4 ⊢ ({𝐴} = ∅ → Rel {𝐴}) |
| 9 | 5, 8 | sylbi 219 | . . 3 ⊢ (¬ 𝐴 ∈ V → Rel {𝐴}) |
| 10 | relsng 5774 | . . . 4 ⊢ (𝐴 ∈ (V × V) → (Rel {𝐴} ↔ 𝐴 ∈ (V × V))) | |
| 11 | 10 | ibir 270 | . . 3 ⊢ (𝐴 ∈ (V × V) → Rel {𝐴}) |
| 12 | 9, 11 | jaoi 868 | . 2 ⊢ ((¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V)) → Rel {𝐴}) |
| 13 | 4, 12 | impbii 211 | 1 ⊢ (Rel {𝐴} ↔ (¬ 𝐴 ∈ V ∨ 𝐴 ∈ (V × V))) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 208 ∨ wo 858 = wceq 1560 ∈ wcel 2142 Vcvv 3454 ∅c0 4285 {csn 4582 × cxp 5645 Rel wrel 5652 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1815 ax-4 1829 ax-5 1930 ax-6 1987 ax-7 2028 ax-8 2144 ax-9 2152 ax-ext 2734 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-tru 1563 df-fal 1573 df-ex 1800 df-sb 2091 df-clab 2741 df-cleq 2754 df-clel 2837 df-v 3456 df-dif 3907 df-ss 3921 df-nul 4286 df-sn 4583 df-rel 5654 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |