![]() |
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 2184 | . . . 4 ⊢ (𝑥 = ∅ → (𝑥 = ∅ ↔ ∅ = ∅)) | |
2 | 1 | notbid 667 | . . . 4 ⊢ (𝑥 = ∅ → (¬ 𝑥 = ∅ ↔ ¬ ∅ = ∅)) |
3 | 1, 2 | orbi12d 793 | . . 3 ⊢ (𝑥 = ∅ → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (∅ = ∅ ∨ ¬ ∅ = ∅))) |
4 | eqeq1 2184 | . . . 4 ⊢ (𝑥 = 𝑦 → (𝑥 = ∅ ↔ 𝑦 = ∅)) | |
5 | 4 | notbid 667 | . . . 4 ⊢ (𝑥 = 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ 𝑦 = ∅)) |
6 | 4, 5 | orbi12d 793 | . . 3 ⊢ (𝑥 = 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝑦 = ∅ ∨ ¬ 𝑦 = ∅))) |
7 | eqeq1 2184 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (𝑥 = ∅ ↔ suc 𝑦 = ∅)) | |
8 | 7 | notbid 667 | . . . 4 ⊢ (𝑥 = suc 𝑦 → (¬ 𝑥 = ∅ ↔ ¬ suc 𝑦 = ∅)) |
9 | 7, 8 | orbi12d 793 | . . 3 ⊢ (𝑥 = suc 𝑦 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
10 | eqeq1 2184 | . . . 4 ⊢ (𝑥 = 𝐴 → (𝑥 = ∅ ↔ 𝐴 = ∅)) | |
11 | 10 | notbid 667 | . . . 4 ⊢ (𝑥 = 𝐴 → (¬ 𝑥 = ∅ ↔ ¬ 𝐴 = ∅)) |
12 | 10, 11 | orbi12d 793 | . . 3 ⊢ (𝑥 = 𝐴 → ((𝑥 = ∅ ∨ ¬ 𝑥 = ∅) ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅))) |
13 | eqid 2177 | . . . 4 ⊢ ∅ = ∅ | |
14 | 13 | orci 731 | . . 3 ⊢ (∅ = ∅ ∨ ¬ ∅ = ∅) |
15 | peano3 4596 | . . . . . 6 ⊢ (𝑦 ∈ ω → suc 𝑦 ≠ ∅) | |
16 | 15 | neneqd 2368 | . . . . 5 ⊢ (𝑦 ∈ ω → ¬ suc 𝑦 = ∅) |
17 | 16 | olcd 734 | . . . 4 ⊢ (𝑦 ∈ ω → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅)) |
18 | 17 | a1d 22 | . . 3 ⊢ (𝑦 ∈ ω → ((𝑦 = ∅ ∨ ¬ 𝑦 = ∅) → (suc 𝑦 = ∅ ∨ ¬ suc 𝑦 = ∅))) |
19 | 3, 6, 9, 12, 14, 18 | finds 4600 | . 2 ⊢ (𝐴 ∈ ω → (𝐴 = ∅ ∨ ¬ 𝐴 = ∅)) |
20 | df-dc 835 | . 2 ⊢ (DECID 𝐴 = ∅ ↔ (𝐴 = ∅ ∨ ¬ 𝐴 = ∅)) | |
21 | 19, 20 | sylibr 134 | 1 ⊢ (𝐴 ∈ ω → DECID 𝐴 = ∅) |
Colors of variables: wff set class |
Syntax hints: ¬ wn 3 → wi 4 ∨ wo 708 DECID wdc 834 = wceq 1353 ∈ wcel 2148 ∅c0 3423 suc csuc 4366 ωcom 4590 |
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 614 ax-in2 615 ax-io 709 ax-5 1447 ax-7 1448 ax-gen 1449 ax-ie1 1493 ax-ie2 1494 ax-8 1504 ax-10 1505 ax-11 1506 ax-i12 1507 ax-bndl 1509 ax-4 1510 ax-17 1526 ax-i9 1530 ax-ial 1534 ax-i5r 1535 ax-13 2150 ax-14 2151 ax-ext 2159 ax-sep 4122 ax-nul 4130 ax-pow 4175 ax-pr 4210 ax-un 4434 ax-iinf 4588 |
This theorem depends on definitions: df-bi 117 df-dc 835 df-3an 980 df-tru 1356 df-nf 1461 df-sb 1763 df-clab 2164 df-cleq 2170 df-clel 2173 df-nfc 2308 df-ne 2348 df-ral 2460 df-rex 2461 df-v 2740 df-dif 3132 df-un 3134 df-in 3136 df-ss 3143 df-nul 3424 df-pw 3578 df-sn 3599 df-pr 3600 df-uni 3811 df-int 3846 df-suc 4372 df-iom 4591 |
This theorem is referenced by: omp1eomlem 7093 ctmlemr 7107 nnnninfeq2 7127 nninfisol 7131 elni2 7313 indpi 7341 nnsf 14757 peano4nninf 14758 |
Copyright terms: Public domain | W3C validator |