| 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 12657 | . . . . . . 7 ⊢ (𝑦 ∈ ℤ → -𝑦 ∈ ℤ) | |
| 2 | elznn0nn 12633 | . . . . . . 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 12624 | . . . . . . . 8 ⊢ (𝑦 ∈ ℤ → 𝑦 ∈ ℂ) | |
| 8 | 7 | negnegd 11588 | . . . . . . 7 ⊢ (𝑦 ∈ ℤ → --𝑦 = 𝑦) |
| 9 | 8 | eleq1d 2847 | . . . . . 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 12720 | . . . . . 6 ⊢ (-𝑦 ∈ ℕ0 → (𝜁 → 𝜃)) |
| 25 | 24 | com12 33 | . . . . 5 ⊢ (𝜁 → (-𝑦 ∈ ℕ0 → 𝜃)) |
| 26 | 13, 15, 17, 15, 20, 23 | nn0ind 12720 | . . . . . . 7 ⊢ (𝑦 ∈ ℕ0 → (𝜁 → 𝜒)) |
| 27 | nnnn0 12539 | . . . . . . 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 3155 | . 2 ⊢ (𝜁 → ∀𝑦 ∈ ℤ 𝜃) |
| 34 | znegcl 12657 | . . . . 5 ⊢ (𝑥 ∈ ℤ → -𝑥 ∈ ℤ) | |
| 35 | negeq 11477 | . . . . . . . . 9 ⊢ (𝑦 = -𝑥 → -𝑦 = --𝑥) | |
| 36 | zcn 12624 | . . . . . . . . . 10 ⊢ (𝑥 ∈ ℤ → 𝑥 ∈ ℂ) | |
| 37 | 36 | negnegd 11588 | . . . . . . . . 9 ⊢ (𝑥 ∈ ℤ → --𝑥 = 𝑥) |
| 38 | 35, 37 | sylan9eqr 2819 | . . . . . . . 8 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → -𝑦 = 𝑥) |
| 39 | 38 | eqcomd 2768 | . . . . . . 7 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → 𝑥 = -𝑦) |
| 40 | 39, 18 | syl 18 | . . . . . 6 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜑 ↔ 𝜃)) |
| 41 | 40 | bicomd 226 | . . . . 5 ⊢ ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜃 ↔ 𝜑)) |
| 42 | 34, 41 | rspcdv 3571 | . . . 4 ⊢ (𝑥 ∈ ℤ → (∀𝑦 ∈ ℤ 𝜃 → 𝜑)) |
| 43 | 42 | com12 33 | . . 3 ⊢ (∀𝑦 ∈ ℤ 𝜃 → (𝑥 ∈ ℤ → 𝜑)) |
| 44 | 43 | ralrimiv 3155 | . 2 ⊢ (∀𝑦 ∈ ℤ 𝜃 → ∀𝑥 ∈ ℤ 𝜑) |
| 45 | zindd.5 | . . 3 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜂)) | |
| 46 | 45 | rspccv 3576 | . 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 2145 ∀wral 3078 (class class class)co 7417 ℝcr 11127 0cc0 11128 1c1 11129 + caddc 11131 -cneg 11470 ℕcn 12261 ℕ0cn0 12532 ℤcz 12619 |
| 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 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2215 ax-ext 2734 ax-sep 5255 ax-nul 5267 ax-pow 5334 ax-pr 5402 ax-un 7740 ax-resscn 11185 ax-1cn 11186 ax-icn 11187 ax-addcl 11188 ax-addrcl 11189 ax-mulcl 11190 ax-mulrcl 11191 ax-mulcom 11192 ax-addass 11193 ax-mulass 11194 ax-distr 11195 ax-i2m1 11196 ax-1ne0 11197 ax-1rid 11198 ax-rnegex 11199 ax-rrecex 11200 ax-cnre 11201 ax-pre-lttri 11202 ax-pre-lttrn 11203 ax-pre-ltadd 11204 ax-pre-mulgt0 11205 |
| 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 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-nel 3064 df-ral 3079 df-rex 3089 df-reu 3368 df-rab 3415 df-v 3455 df-sbc 3743 df-csb 3851 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-pss 3922 df-nul 4283 df-if 4486 df-pw 4562 df-sn 4588 df-pr 4590 df-op 4594 df-uni 4871 df-iun 4956 df-br 5108 df-opab 5172 df-mpt 5191 df-tr 5217 df-id 5554 df-eprel 5559 df-po 5567 df-so 5568 df-fr 5612 df-we 5614 df-xp 5665 df-rel 5666 df-cnv 5667 df-co 5668 df-dm 5669 df-rn 5670 df-res 5671 df-ima 5672 df-pred 6303 df-ord 6364 df-on 6365 df-lim 6366 df-suc 6367 df-iota 6493 df-fun 6539 df-fn 6540 df-f 6541 df-f1 6542 df-fo 6543 df-f1o 6544 df-fv 6545 df-riota 7374 df-ov 7420 df-oprab 7421 df-mpo 7422 df-om 7867 df-2nd 7991 df-frecs 8284 df-wrecs 8315 df-recs 8364 df-rdg 8403 df-er 8700 df-en 8957 df-dom 8958 df-sdom 8959 df-pnf 11273 df-mnf 11274 df-xr 11275 df-ltxr 11276 df-le 11277 df-sub 11471 df-neg 11472 df-nn 12262 df-n0 12533 df-z 12620 |
| This theorem is used by: efexp 16195 pcexp 16957 mulgaddcom 19227 mulginvcom 19228 mulgneg2 19237 mulgass2 20457 cnfldmulg 21623 clmmulg 25335 xrsmulgzz 33457 |
| Copyright terms: Public domain | W3C validator |