| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > zindd | Structured version Visualization version GIF version | ||
| Description: Principle of Mathematical Induction on all integers, deduction version. The first five hypotheses give the substitutions; the last three are the basis, the induction, and the extension to negative numbers. (Contributed by Paul Chapman, 17-Apr-2009.) (Proof shortened by Mario Carneiro, 4-Jan-2017.) |
| Ref | Expression |
|---|---|
| zindd.1 | ⊢ (𝑥 = 0 → (𝜑 ↔ 𝜓)) |
| zindd.2 | ⊢ (𝑥 = 𝑦 → (𝜑 ↔ 𝜒)) |
| zindd.3 | ⊢ (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜏)) |
| zindd.4 | ⊢ (𝑥 = -𝑦 → (𝜑 ↔ 𝜃)) |
| zindd.5 | ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜂)) |
| zindd.6 | ⊢ (𝜁 → 𝜓) |
| zindd.7 | ⊢ (𝜁 → (𝑦 ∈ ℕ0 → (𝜒 → 𝜏))) |
| zindd.8 | ⊢ (𝜁 → (𝑦 ∈ ℕ → (𝜒 → 𝜃))) |
| Ref | Expression |
|---|---|
| zindd | ⊢ (𝜁 → (𝐴 ∈ ℤ → 𝜂)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | znegcl 12647 | . . . . . . 7 ⊢ (𝑦 ∈ ℤ → -𝑦 ∈ ℤ) | |
| 2 | elznn0nn 12623 | . . . . . . 7 ⊢ (-𝑦 ∈ ℤ ↔ (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ))) | |
| 3 | 1, 2 | sylib 221 | . . . . . 6 ⊢ (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ))) |
| 4 | simpr 490 | . . . . . . 7 ⊢ ((-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ) → --𝑦 ∈ ℕ) | |
| 5 | 4 | orim2i 924 | . . . . . 6 ⊢ ((-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)) → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ)) |
| 6 | 3, 5 | syl 18 | . . . . 5 ⊢ (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ)) |
| 7 | zcn 12614 | . . . . . . . 8 ⊢ (𝑦 ∈ ℤ → 𝑦 ∈ ℂ) | |
| 8 | 7 | negnegd 11578 | . . . . . . 7 ⊢ (𝑦 ∈ ℤ → --𝑦 = 𝑦) |
| 9 | 8 | eleq1d 2851 | . . . . . 6 ⊢ (𝑦 ∈ ℤ → (--𝑦 ∈ ℕ ↔ 𝑦 ∈ ℕ)) |
| 10 | 9 | orbi2d 929 | . . . . 5 ⊢ (𝑦 ∈ ℤ → ((-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ) ↔ (-𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ))) |
| 11 | 6, 10 | mpbid 235 | . . . 4 ⊢ (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ)) |
| 12 | zindd.1 | . . . . . . . 8 ⊢ (𝑥 = 0 → (𝜑 ↔ 𝜓)) | |
| 13 | 12 | imbi2d 343 | . . . . . . 7 ⊢ (𝑥 = 0 → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜓))) |
| 14 | zindd.2 | . . . . . . . 8 ⊢ (𝑥 = 𝑦 → (𝜑 ↔ 𝜒)) | |
| 15 | 14 | imbi2d 343 | . . . . . . 7 ⊢ (𝑥 = 𝑦 → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜒))) |
| 16 | zindd.3 | . . . . . . . 8 ⊢ (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜏)) | |
| 17 | 16 | imbi2d 343 | . . . . . . 7 ⊢ (𝑥 = (𝑦 + 1) → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜏))) |
| 18 | zindd.4 | . . . . . . . 8 ⊢ (𝑥 = -𝑦 → (𝜑 ↔ 𝜃)) | |
| 19 | 18 | imbi2d 343 | . . . . . . 7 ⊢ (𝑥 = -𝑦 → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜃))) |
| 20 | zindd.6 | . . . . . . 7 ⊢ (𝜁 → 𝜓) | |
| 21 | zindd.7 | . . . . . . . . 9 ⊢ (𝜁 → (𝑦 ∈ ℕ0 → (𝜒 → 𝜏))) | |
| 22 | 21 | com12 33 | . . . . . . . 8 ⊢ (𝑦 ∈ ℕ0 → (𝜁 → (𝜒 → 𝜏))) |
| 23 | 22 | a2d 30 | . . . . . . 7 ⊢ (𝑦 ∈ ℕ0 → ((𝜁 → 𝜒) → (𝜁 → 𝜏))) |
| 24 | 13, 15, 17, 19, 20, 23 | nn0ind 12709 | . . . . . 6 ⊢ (-𝑦 ∈ ℕ0 → (𝜁 → 𝜃)) |
| 25 | 24 | com12 33 | . . . . 5 ⊢ (𝜁 → (-𝑦 ∈ ℕ0 → 𝜃)) |
| 26 | 13, 15, 17, 15, 20, 23 | nn0ind 12709 | . . . . . . 7 ⊢ (𝑦 ∈ ℕ0 → (𝜁 → 𝜒)) |
| 27 | nnnn0 12529 | . . . . . . 7 ⊢ (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0) | |
| 28 | 26, 27 | syl11 34 | . . . . . 6 ⊢ (𝜁 → (𝑦 ∈ ℕ → 𝜒)) |
| 29 | zindd.8 | . . . . . 6 ⊢ (𝜁 → (𝑦 ∈ ℕ → (𝜒 → 𝜃))) | |
| 30 | 28, 29 | mpdd 44 | . . . . 5 ⊢ (𝜁 → (𝑦 ∈ ℕ → 𝜃)) |
| 31 | 25, 30 | jaod 873 | . . . 4 ⊢ (𝜁 → ((-𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ) → 𝜃)) |
| 32 | 11, 31 | syl5 35 | . . 3 ⊢ (𝜁 → (𝑦 ∈ ℤ → 𝜃)) |
| 33 | 32 | ralrimiv 3159 | . 2 ⊢ (𝜁 → ∀𝑦 ∈ ℤ 𝜃) |
| 34 | znegcl 12647 | . . . . 5 ⊢ (𝑥 ∈ ℤ → -𝑥 ∈ ℤ) | |
| 35 | negeq 11467 | . . . . . . . . 9 ⊢ (𝑦 = -𝑥 → -𝑦 = --𝑥) | |
| 36 | zcn 12614 | . . . . . . . . . 10 ⊢ (𝑥 ∈ ℤ → 𝑥 ∈ ℂ) | |
| 37 | 36 | negnegd 11578 | . . . . . . . . 9 ⊢ (𝑥 ∈ ℤ → --𝑥 = 𝑥) |
| 38 | 35, 37 | sylan9eqr 2823 | . . . . . . . 8 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → -𝑦 = 𝑥) |
| 39 | 38 | eqcomd 2772 | . . . . . . 7 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → 𝑥 = -𝑦) |
| 40 | 39, 18 | syl 18 | . . . . . 6 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜑 ↔ 𝜃)) |
| 41 | 40 | bicomd 226 | . . . . 5 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜃 ↔ 𝜑)) |
| 42 | 34, 41 | rspcdv 3576 | . . . 4 ⊢ (𝑥 ∈ ℤ → (∀𝑦 ∈ ℤ 𝜃 → 𝜑)) |
| 43 | 42 | com12 33 | . . 3 ⊢ (∀𝑦 ∈ ℤ 𝜃 → (𝑥 ∈ ℤ → 𝜑)) |
| 44 | 43 | ralrimiv 3159 | . 2 ⊢ (∀𝑦 ∈ ℤ 𝜃 → ∀𝑥 ∈ ℤ 𝜑) |
| 45 | zindd.5 | . . 3 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜂)) | |
| 46 | 45 | rspccv 3581 | . 2 ⊢ (∀𝑥 ∈ ℤ 𝜑 → (𝐴 ∈ ℤ → 𝜂)) |
| 47 | 33, 44, 46 | 3syl 19 | 1 ⊢ (𝜁 → (𝐴 ∈ ℤ → 𝜂)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 ∨ wo 861 = wceq 1570 ∈ wcel 2146 ∀wral 3082 (class class class)co 7423 ℝcr 11117 0cc0 11118 1c1 11119 + caddc 11121 -cneg 11460 ℕcn 12251 ℕ0cn0 12522 ℤcz 12609 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5262 ax-nul 5274 ax-pow 5341 ax-pr 5409 ax-un 7745 ax-resscn 11175 ax-1cn 11176 ax-icn 11177 ax-addcl 11178 ax-addrcl 11179 ax-mulcl 11180 ax-mulrcl 11181 ax-mulcom 11182 ax-addass 11183 ax-mulass 11184 ax-distr 11185 ax-i2m1 11186 ax-1ne0 11187 ax-1rid 11188 ax-rnegex 11189 ax-rrecex 11190 ax-cnre 11191 ax-pre-lttri 11192 ax-pre-lttrn 11193 ax-pre-ltadd 11194 ax-pre-mulgt0 11195 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-nel 3068 df-ral 3083 df-rex 3093 df-reu 3373 df-rab 3420 df-v 3460 df-sbc 3748 df-csb 3857 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-pss 3928 df-nul 4290 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-iun 4963 df-br 5115 df-opab 5179 df-mpt 5198 df-tr 5224 df-id 5561 df-eprel 5566 df-po 5574 df-so 5575 df-fr 5619 df-we 5621 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-rn 5677 df-res 5678 df-ima 5679 df-pred 6309 df-ord 6370 df-on 6371 df-lim 6372 df-suc 6373 df-iota 6499 df-fun 6545 df-fn 6546 df-f 6547 df-f1 6548 df-fo 6549 df-f1o 6550 df-fv 6551 df-riota 7380 df-ov 7426 df-oprab 7427 df-mpo 7428 df-om 7872 df-2nd 7996 df-frecs 8287 df-wrecs 8318 df-recs 8367 df-rdg 8406 df-er 8703 df-en 8953 df-dom 8954 df-sdom 8955 df-pnf 11263 df-mnf 11264 df-xr 11265 df-ltxr 11266 df-le 11267 df-sub 11461 df-neg 11462 df-nn 12252 df-n0 12523 df-z 12610 |
| This theorem is used by: efexp 16182 pcexp 16944 mulgaddcom 19195 mulginvcom 19196 mulgneg2 19205 mulgass2 20425 cnfldmulg 21591 clmmulg 25297 xrsmulgzz 33360 |
| Copyright terms: Public domain | W3C validator |