| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > nntri2or2 | GIF version | ||
| Description: A trichotomy law for natural numbers. (Contributed by Jim Kingdon, 15-Sep-2021.) |
| Ref | Expression |
|---|---|
| nntri2or2 | ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nnon 4677 | . . . . . 6 ⊢ (𝐵 ∈ ω → 𝐵 ∈ On) | |
| 2 | 1 | adantl 277 | . . . . 5 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → 𝐵 ∈ On) |
| 3 | onelss 4453 | . . . . 5 ⊢ (𝐵 ∈ On → (𝐴 ∈ 𝐵 → 𝐴 ⊆ 𝐵)) | |
| 4 | 2, 3 | syl 14 | . . . 4 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ∈ 𝐵 → 𝐴 ⊆ 𝐵)) |
| 5 | 4 | imp 124 | . . 3 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴 ∈ 𝐵) → 𝐴 ⊆ 𝐵) |
| 6 | 5 | orcd 735 | . 2 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴 ∈ 𝐵) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴)) |
| 7 | eqimss 3256 | . . . 4 ⊢ (𝐴 = 𝐵 → 𝐴 ⊆ 𝐵) | |
| 8 | 7 | adantl 277 | . . 3 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴 = 𝐵) → 𝐴 ⊆ 𝐵) |
| 9 | 8 | orcd 735 | . 2 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴 = 𝐵) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴)) |
| 10 | nnon 4677 | . . . . . 6 ⊢ (𝐴 ∈ ω → 𝐴 ∈ On) | |
| 11 | 10 | adantr 276 | . . . . 5 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → 𝐴 ∈ On) |
| 12 | onelss 4453 | . . . . 5 ⊢ (𝐴 ∈ On → (𝐵 ∈ 𝐴 → 𝐵 ⊆ 𝐴)) | |
| 13 | 11, 12 | syl 14 | . . . 4 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵 ∈ 𝐴 → 𝐵 ⊆ 𝐴)) |
| 14 | 13 | imp 124 | . . 3 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐵 ∈ 𝐴) → 𝐵 ⊆ 𝐴) |
| 15 | 14 | olcd 736 | . 2 ⊢ (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐵 ∈ 𝐴) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴)) |
| 16 | nntri3or 6604 | . 2 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵 ∨ 𝐵 ∈ 𝐴)) | |
| 17 | 6, 9, 15, 16 | mpjao3dan 1320 | 1 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ∨ wo 710 = wceq 1373 ∈ wcel 2178 ⊆ wss 3175 Oncon0 4429 ωcom 4657 |
| 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 615 ax-in2 616 ax-io 711 ax-5 1471 ax-7 1472 ax-gen 1473 ax-ie1 1517 ax-ie2 1518 ax-8 1528 ax-10 1529 ax-11 1530 ax-i12 1531 ax-bndl 1533 ax-4 1534 ax-17 1550 ax-i9 1554 ax-ial 1558 ax-i5r 1559 ax-13 2180 ax-14 2181 ax-ext 2189 ax-sep 4179 ax-nul 4187 ax-pow 4235 ax-pr 4270 ax-un 4499 ax-iinf 4655 |
| This theorem depends on definitions: df-bi 117 df-3or 982 df-3an 983 df-tru 1376 df-nf 1485 df-sb 1787 df-clab 2194 df-cleq 2200 df-clel 2203 df-nfc 2339 df-ral 2491 df-rex 2492 df-v 2779 df-dif 3177 df-un 3179 df-in 3181 df-ss 3188 df-nul 3470 df-pw 3629 df-sn 3650 df-pr 3651 df-uni 3866 df-int 3901 df-tr 4160 df-iord 4432 df-on 4434 df-suc 4437 df-iom 4658 |
| This theorem is referenced by: fientri3 7040 |
| Copyright terms: Public domain | W3C validator |