| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > nndceq0 | GIF version | ||
| Description: A natural number is either zero or nonzero. Decidable equality for natural numbers is a special case of the law of the excluded middle which holds in most constructive set theories including ours. (Contributed by Jim Kingdon, 5-Jan-2019.) |
| Ref | Expression |
|---|---|
| nndceq0 | ⊢ (𝐴 ∈ ω → DECID 𝐴 = ∅) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqeq1 2238 | . . . 4 ⊢ (𝑥 = ∅ → (𝑥 = ∅ ↔ ∅ = ∅)) | |
| 2 | 1 | notbid 673 | . . . 4 ⊢ (𝑥 = ∅ → (¬ 𝑥 = ∅ ↔ ¬ ∅ = ∅)) |
| 3 | 1, 2 | orbi12d 800 | . . 3 ⊢ (𝑥 = ∅ → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (∅ = ∅ ∨ ¬ ∅ = ∅))) |
| 4 | eqeq1 2238 | . . . 4 ⊢ (𝑥 = 𝑦 → (𝑥 = ∅ ↔ 𝑦 = ∅)) | |
| 5 | 4 | notbid 673 | . . . 4 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ 𝑦 = ∅)) |
| 6 | 4, 5 | orbi12d 800 | . . 3 ⊢ (𝑥 = 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝑦 = ∅ ∨ ¬ 𝑦 = ∅))) |
| 7 | eqeq1 2238 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (𝑥 = ∅ ↔ suc 𝑦 = ∅)) | |
| 8 | 7 | notbid 673 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ suc 𝑦 = ∅)) |
| 9 | 7, 8 | orbi12d 800 | . . 3 ⊢ (𝑥 = suc 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
| 10 | eqeq1 2238 | . . . 4 ⊢ (𝑥 = 𝐴 → (𝑥 = ∅ ↔ 𝐴 = ∅)) | |
| 11 | 10 | notbid 673 | . . . 4 ⊢ (𝑥 = 𝐴 → (¬ 𝑥 = ∅ ↔ ¬ 𝐴 = ∅)) |
| 12 | 10, 11 | orbi12d 800 | . . 3 ⊢ (𝑥 = 𝐴 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅))) |
| 13 | eqid 2231 | . . . 4 ⊢ ∅ = ∅ | |
| 14 | 13 | orci 738 | . . 3 ⊢ (∅ = ∅ ∨ ¬ ∅ = ∅) |
| 15 | peano3 4694 | . . . . . 6 ⊢ (𝑦 ∈ ω → suc 𝑦 ≠ ∅) | |
| 16 | 15 | neneqd 2423 | . . . . 5 ⊢ (𝑦 ∈ ω → ¬ suc 𝑦 = ∅) |
| 17 | 16 | olcd 741 | . . . 4 ⊢ (𝑦 ∈ ω → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅)) |
| 18 | 17 | a1d 22 | . . 3 ⊢ (𝑦 ∈ ω → ((𝑦 = ∅ ∨ ¬ 𝑦 = ∅) → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
| 19 | 3, 6, 9, 12, 14, 18 | finds 4698 | . 2 ⊢ (𝐴 ∈ ω → (𝐴 = ∅ ∨ ¬ 𝐴 = ∅)) |
| 20 | df-dc 842 | . 2 ⊢ (DECID 𝐴 = ∅ ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅)) | |
| 21 | 19, 20 | sylibr 134 | 1 ⊢ (𝐴 ∈ ω → DECID 𝐴 = ∅) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∨ wo 715 DECID wdc 841 = wceq 1397 ∈ wcel 2202 ∅c0 3494 suc csuc 4462 ωcom 4688 |
| 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 619 ax-in2 620 ax-io 716 ax-5 1495 ax-7 1496 ax-gen 1497 ax-ie1 1541 ax-ie2 1542 ax-8 1552 ax-10 1553 ax-11 1554 ax-i12 1555 ax-bndl 1557 ax-4 1558 ax-17 1574 ax-i9 1578 ax-ial 1582 ax-i5r 1583 ax-13 2204 ax-14 2205 ax-ext 2213 ax-sep 4207 ax-nul 4215 ax-pow 4264 ax-pr 4299 ax-un 4530 ax-iinf 4686 |
| This theorem depends on definitions: df-bi 117 df-dc 842 df-3an 1006 df-tru 1400 df-nf 1509 df-sb 1811 df-clab 2218 df-cleq 2224 df-clel 2227 df-nfc 2363 df-ne 2403 df-ral 2515 df-rex 2516 df-v 2804 df-dif 3202 df-un 3204 df-in 3206 df-ss 3213 df-nul 3495 df-pw 3654 df-sn 3675 df-pr 3676 df-uni 3894 df-int 3929 df-suc 4468 df-iom 4689 |
| This theorem is referenced by: omp1eomlem 7292 ctmlemr 7306 nnnninfeq2 7327 nninfisol 7331 elni2 7533 indpi 7561 nnsf 16607 peano4nninf 16608 |
| Copyright terms: Public domain | W3C validator |