| 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 2239 | . . . 4 ⊢ (𝑥 = ∅ → (𝑥 = ∅ ↔ ∅ = ∅)) | |
| 2 | 1 | notbid 673 | . . . 4 ⊢ (𝑥 = ∅ → (¬ 𝑥 = ∅ ↔ ¬ ∅ = ∅)) |
| 3 | 1, 2 | orbi12d 801 | . . 3 ⊢ (𝑥 = ∅ → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (∅ = ∅ ∨ ¬ ∅ = ∅))) |
| 4 | eqeq1 2239 | . . . 4 ⊢ (𝑥 = 𝑦 → (𝑥 = ∅ ↔ 𝑦 = ∅)) | |
| 5 | 4 | notbid 673 | . . . 4 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ 𝑦 = ∅)) |
| 6 | 4, 5 | orbi12d 801 | . . 3 ⊢ (𝑥 = 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝑦 = ∅ ∨ ¬ 𝑦 = ∅))) |
| 7 | eqeq1 2239 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (𝑥 = ∅ ↔ suc 𝑦 = ∅)) | |
| 8 | 7 | notbid 673 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ suc 𝑦 = ∅)) |
| 9 | 7, 8 | orbi12d 801 | . . 3 ⊢ (𝑥 = suc 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
| 10 | eqeq1 2239 | . . . 4 ⊢ (𝑥 = 𝐴 → (𝑥 = ∅ ↔ 𝐴 = ∅)) | |
| 11 | 10 | notbid 673 | . . . 4 ⊢ (𝑥 = 𝐴 → (¬ 𝑥 = ∅ ↔ ¬ 𝐴 = ∅)) |
| 12 | 10, 11 | orbi12d 801 | . . 3 ⊢ (𝑥 = 𝐴 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅))) |
| 13 | eqid 2232 | . . . 4 ⊢ ∅ = ∅ | |
| 14 | 13 | orci 739 | . . 3 ⊢ (∅ = ∅ ∨ ¬ ∅ = ∅) |
| 15 | peano3 4718 | . . . . . 6 ⊢ (𝑦 ∈ ω → suc 𝑦 ≠ ∅) | |
| 16 | 15 | neneqd 2433 | . . . . 5 ⊢ (𝑦 ∈ ω → ¬ suc 𝑦 = ∅) |
| 17 | 16 | olcd 742 | . . . 4 ⊢ (𝑦 ∈ ω → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅)) |
| 18 | 17 | a1d 22 | . . 3 ⊢ (𝑦 ∈ ω → ((𝑦 = ∅ ∨ ¬ 𝑦 = ∅) → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
| 19 | 3, 6, 9, 12, 14, 18 | finds 4722 | . 2 ⊢ (𝐴 ∈ ω → (𝐴 = ∅ ∨ ¬ 𝐴 = ∅)) |
| 20 | df-dc 843 | . 2 ⊢ (DECID 𝐴 = ∅ ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅)) | |
| 21 | 19, 20 | sylibr 134 | 1 ⊢ (𝐴 ∈ ω → DECID 𝐴 = ∅) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∨ wo 716 DECID wdc 842 = wceq 1398 ∈ wcel 2203 ∅c0 3508 suc csuc 4486 ωcom 4712 |
| 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 717 ax-5 1496 ax-7 1497 ax-gen 1498 ax-ie1 1542 ax-ie2 1543 ax-8 1553 ax-10 1554 ax-11 1555 ax-i12 1556 ax-bndl 1558 ax-4 1559 ax-17 1575 ax-i9 1579 ax-ial 1583 ax-i5r 1584 ax-13 2205 ax-14 2206 ax-ext 2214 ax-sep 4228 ax-nul 4236 ax-pow 4287 ax-pr 4322 ax-un 4554 ax-iinf 4710 |
| This theorem depends on definitions: df-bi 117 df-dc 843 df-3an 1007 df-tru 1401 df-nf 1510 df-sb 1812 df-clab 2219 df-cleq 2225 df-clel 2228 df-nfc 2373 df-ne 2413 df-ral 2525 df-rex 2526 df-v 2815 df-dif 3213 df-un 3215 df-in 3217 df-ss 3224 df-nul 3509 df-pw 3671 df-sn 3695 df-pr 3696 df-uni 3915 df-int 3950 df-suc 4492 df-iom 4713 |
| This theorem is referenced by: omp1eomlem 7385 ctmlemr 7399 nnnninfeq2 7420 nninfisol 7424 elni2 7629 indpi 7657 nnsf 16783 peano4nninf 16784 |
| Copyright terms: Public domain | W3C validator |