| 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 2241 | . . . 4 ⊢ (𝑥 = ∅ → (𝑥 = ∅ ↔ ∅ = ∅)) | |
| 2 | 1 | notbid 673 | . . . 4 ⊢ (𝑥 = ∅ → (¬ 𝑥 = ∅ ↔ ¬ ∅ = ∅)) |
| 3 | 1, 2 | orbi12d 801 | . . 3 ⊢ (𝑥 = ∅ → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (∅ = ∅ ∨ ¬ ∅ = ∅))) |
| 4 | eqeq1 2241 | . . . 4 ⊢ (𝑥 = 𝑦 → (𝑥 = ∅ ↔ 𝑦 = ∅)) | |
| 5 | 4 | notbid 673 | . . . 4 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ 𝑦 = ∅)) |
| 6 | 4, 5 | orbi12d 801 | . . 3 ⊢ (𝑥 = 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝑦 = ∅ ∨ ¬ 𝑦 = ∅))) |
| 7 | eqeq1 2241 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (𝑥 = ∅ ↔ suc 𝑦 = ∅)) | |
| 8 | 7 | notbid 673 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ suc 𝑦 = ∅)) |
| 9 | 7, 8 | orbi12d 801 | . . 3 ⊢ (𝑥 = suc 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
| 10 | eqeq1 2241 | . . . 4 ⊢ (𝑥 = 𝐴 → (𝑥 = ∅ ↔ 𝐴 = ∅)) | |
| 11 | 10 | notbid 673 | . . . 4 ⊢ (𝑥 = 𝐴 → (¬ 𝑥 = ∅ ↔ ¬ 𝐴 = ∅)) |
| 12 | 10, 11 | orbi12d 801 | . . 3 ⊢ (𝑥 = 𝐴 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅))) |
| 13 | eqid 2234 | . . . 4 ⊢ ∅ = ∅ | |
| 14 | 13 | orci 739 | . . 3 ⊢ (∅ = ∅ ∨ ¬ ∅ = ∅) |
| 15 | peano3 4723 | . . . . . 6 ⊢ (𝑦 ∈ ω → suc 𝑦 ≠ ∅) | |
| 16 | 15 | neneqd 2435 | . . . . 5 ⊢ (𝑦 ∈ ω → ¬ suc 𝑦 = ∅) |
| 17 | 16 | olcd 742 | . . . 4 ⊢ (𝑦 ∈ ω → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅)) |
| 18 | 17 | a1d 22 | . . 3 ⊢ (𝑦 ∈ ω → ((𝑦 = ∅ ∨ ¬ 𝑦 = ∅) → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
| 19 | 3, 6, 9, 12, 14, 18 | finds 4727 | . 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 2205 ∅c0 3512 suc csuc 4491 ωcom 4717 |
| 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 2207 ax-14 2208 ax-ext 2216 ax-sep 4233 ax-nul 4241 ax-pow 4292 ax-pr 4327 ax-un 4559 ax-iinf 4715 |
| 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 2221 df-cleq 2227 df-clel 2230 df-nfc 2375 df-ne 2415 df-ral 2527 df-rex 2528 df-v 2817 df-dif 3216 df-un 3218 df-in 3220 df-ss 3227 df-nul 3513 df-pw 3676 df-sn 3700 df-pr 3701 df-uni 3920 df-int 3955 df-suc 4497 df-iom 4718 |
| This theorem is referenced by: omp1eomlem 7398 ctmlemr 7412 nnnninfeq2 7433 nninfisol 7437 elni2 7645 indpi 7673 nnsf 16909 peano4nninf 16910 |
| Copyright terms: Public domain | W3C validator |