| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > nnsseleq | GIF version | ||
| Description: For natural numbers, inclusion is equivalent to membership or equality. (Contributed by Jim Kingdon, 16-Sep-2021.) |
| Ref | Expression |
|---|---|
| nnsseleq | ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ⊆ 𝐵 ↔ (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nntri1 6759 | . . 3 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ⊆ 𝐵 ↔ ¬ 𝐵 ∈ 𝐴)) | |
| 2 | nntri3or 6756 | . . . . . 6 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵 ∨ 𝐵 ∈ 𝐴)) | |
| 3 | df-3or 1010 | . . . . . 6 ⊢ ((𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵 ∨ 𝐵 ∈ 𝐴) ↔ ((𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵) ∨ 𝐵 ∈ 𝐴)) | |
| 4 | 2, 3 | sylib 122 | . . . . 5 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵) ∨ 𝐵 ∈ 𝐴)) |
| 5 | 4 | orcomd 741 | . . . 4 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵 ∈ 𝐴 ∨ (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))) |
| 6 | 5 | ord 736 | . . 3 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (¬ 𝐵 ∈ 𝐴 → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))) |
| 7 | 1, 6 | sylbid 150 | . 2 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ⊆ 𝐵 → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))) |
| 8 | nnord 4754 | . . . . 5 ⊢ (𝐵 ∈ ω → Ord 𝐵) | |
| 9 | 8 | adantl 277 | . . . 4 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → Ord 𝐵) |
| 10 | ordelss 4519 | . . . . 5 ⊢ ((Ord 𝐵 ∧ 𝐴 ∈ 𝐵) → 𝐴 ⊆ 𝐵) | |
| 11 | 10 | ex 115 | . . . 4 ⊢ (Ord 𝐵 → (𝐴 ∈ 𝐵 → 𝐴 ⊆ 𝐵)) |
| 12 | 9, 11 | syl 14 | . . 3 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ∈ 𝐵 → 𝐴 ⊆ 𝐵)) |
| 13 | eqimss 3302 | . . . 4 ⊢ (𝐴 = 𝐵 → 𝐴 ⊆ 𝐵) | |
| 14 | 13 | a1i 9 | . . 3 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 = 𝐵 → 𝐴 ⊆ 𝐵)) |
| 15 | 12, 14 | jaod 729 | . 2 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵) → 𝐴 ⊆ 𝐵)) |
| 16 | 7, 15 | impbid 129 | 1 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ⊆ 𝐵 ↔ (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ↔ wb 105 ∨ wo 720 ∨ w3o 1008 = wceq 1402 ∈ wcel 2209 ⊆ wss 3220 Ord word 4502 ωcom 4732 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 623 ax-in2 624 ax-io 721 ax-5 1500 ax-7 1501 ax-gen 1502 ax-ie1 1546 ax-ie2 1547 ax-8 1557 ax-10 1558 ax-11 1559 ax-i12 1560 ax-bndl 1562 ax-4 1563 ax-17 1579 ax-i9 1583 ax-ial 1587 ax-i5r 1588 ax-14 2212 ax-ext 2220 ax-sep 4244 ax-nul 4254 ax-pow 4306 ax-pr 4341 ax-un 4573 ax-setind 4679 ax-iinf 4730 |
| This theorem depends on definitions: df-bi 117 df-3or 1010 df-3an 1011 df-tru 1405 df-nf 1514 df-sb 1816 df-clab 2225 df-cleq 2231 df-clel 2234 df-nfc 2381 df-ne 2421 df-ral 2533 df-rex 2534 df-v 2823 df-dif 3222 df-un 3224 df-in 3226 df-ss 3233 df-nul 3521 df-pw 3687 df-sn 3711 df-pr 3712 df-uni 3931 df-int 3966 df-tr 4225 df-iord 4506 df-on 4508 df-suc 4511 df-iom 4733 |
| This theorem is referenced by: nnsssuc 6765 frec2uzled 10844 |
| Copyright terms: Public domain | W3C validator |