MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  zindd Structured version   Visualization version   GIF version

Theorem zindd 12840
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.)
Hypotheses
Ref Expression
zindd.1 (𝑥 = 0 → (𝜑 ↔ 𝜓))
zindd.2 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
zindd.3 (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜏))
zindd.4 (𝑥 = -𝑦 → (𝜑 ↔ 𝜃))
zindd.5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜂))
zindd.6 (𝜁 → 𝜓)
zindd.7 (𝜁 → (𝑦 ∈ ℕ0 → (𝜒 → 𝜏)))
zindd.8 (𝜁 → (𝑦 ∈ ℕ → (𝜒 → 𝜃)))
Assertion
Ref Expression
zindd (𝜁 → (𝐴 ∈ ℤ → 𝜂))
Distinct variable groups:   𝑥,𝐴   𝜒,𝑥   𝜂,𝑥   𝜑,𝑦   𝜓,𝑥   𝜏,𝑥   𝜃,𝑥   𝑥,𝑦,𝜁
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑦)   𝜃(𝑦)   𝜏(𝑦)   𝜂(𝑦)   𝐴(𝑦)

Proof of Theorem zindd
StepHypRef Expression
1 znegcl 12771 . . . . . . 7 (𝑦 ∈ ℤ → -𝑦 ∈ ℤ)
2 elznn0nn 12747 . . . . . . 7 ( -𝑦 ∈ ℤ ↔ ( -𝑦 ∈ ℕ0 ∨ ( -𝑦 ∈ ℝ ∧ - -𝑦 ∈ ℕ)))
31, 2sylib 221 . . . . . 6 (𝑦 ∈ ℤ → ( -𝑦 ∈ ℕ0 ∨ ( -𝑦 ∈ ℝ ∧ - -𝑦 ∈ ℕ)))
4 simpr 490 . . . . . . 7 (( -𝑦 ∈ ℝ ∧ - -𝑦 ∈ ℕ) → - -𝑦 ∈ ℕ)
54orim2i 924 . . . . . 6 (( -𝑦 ∈ ℕ0 ∨ ( -𝑦 ∈ ℝ ∧ - -𝑦 ∈ ℕ)) → ( -𝑦 ∈ ℕ0 ∨ - -𝑦 ∈ ℕ))
63, 5syl 18 . . . . 5 (𝑦 ∈ ℤ → ( -𝑦 ∈ ℕ0 ∨ - -𝑦 ∈ ℕ))
7 zcn 12738 . . . . . . . 8 (𝑦 ∈ ℤ → 𝑦 ∈ ℂ)
87negnegd 11699 . . . . . . 7 (𝑦 ∈ ℤ → - -𝑦 = 𝑦)
98eleq1d 2849 . . . . . 6 (𝑦 ∈ ℤ → ( - -𝑦 ∈ ℕ ↔ 𝑦 ∈ ℕ))
109orbi2d 929 . . . . 5 (𝑦 ∈ ℤ → (( -𝑦 ∈ ℕ0 ∨ - -𝑦 ∈ ℕ) ↔ ( -𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ)))
116, 10mpbid 235 . . . 4 (𝑦 ∈ ℤ → ( -𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ))
12 zindd.1 . . . . . . . 8 (𝑥 = 0 → (𝜑 ↔ 𝜓))
1312imbi2d 343 . . . . . . 7 (𝑥 = 0 → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜓)))
14 zindd.2 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
1514imbi2d 343 . . . . . . 7 (𝑥 = 𝑦 → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜒)))
16 zindd.3 . . . . . . . 8 (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜏))
1716imbi2d 343 . . . . . . 7 (𝑥 = (𝑦 + 1) → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜏)))
18 zindd.4 . . . . . . . 8 (𝑥 = -𝑦 → (𝜑 ↔ 𝜃))
1918imbi2d 343 . . . . . . 7 (𝑥 = -𝑦 → ((𝜁 → 𝜑) ↔ (𝜁 → 𝜃)))
20 zindd.6 . . . . . . 7 (𝜁 → 𝜓)
21 zindd.7 . . . . . . . . 9 (𝜁 → (𝑦 ∈ ℕ0 → (𝜒 → 𝜏)))
2221com12 33 . . . . . . . 8 (𝑦 ∈ ℕ0 → (𝜁 → (𝜒 → 𝜏)))
2322a2d 30 . . . . . . 7 (𝑦 ∈ ℕ0 → ((𝜁 → 𝜒) → (𝜁 → 𝜏)))
2413, 15, 17, 19, 20, 23nn0ind 12834 . . . . . 6 ( -𝑦 ∈ ℕ0 → (𝜁 → 𝜃))
2524com12 33 . . . . 5 (𝜁 → ( -𝑦 ∈ ℕ0 → 𝜃))
2613, 15, 17, 15, 20, 23nn0ind 12834 . . . . . . 7 (𝑦 ∈ ℕ0 → (𝜁 → 𝜒))
27 nnnn0 12653 . . . . . . 7 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
2826, 27syl11 34 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → 𝜒))
29 zindd.8 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → (𝜒 → 𝜃)))
3028, 29mpdd 44 . . . . 5 (𝜁 → (𝑦 ∈ ℕ → 𝜃))
3125, 30jaod 873 . . . 4 (𝜁 → (( -𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ) → 𝜃))
3211, 31syl5 35 . . 3 (𝜁 → (𝑦 ∈ ℤ → 𝜃))
3332ralrimiv 3157 . 2 (𝜁 → ∀𝑦 ∈ ℤ 𝜃)
34 znegcl 12771 . . . . 5 (𝑥 ∈ ℤ → -𝑥 ∈ ℤ)
35 negeq 11588 . . . . . . . . 9 (𝑦 = -𝑥 → -𝑦 = - -𝑥)
36 zcn 12738 . . . . . . . . . 10 (𝑥 ∈ ℤ → 𝑥 ∈ ℂ)
3736negnegd 11699 . . . . . . . . 9 (𝑥 ∈ ℤ → - -𝑥 = 𝑥)
3835, 37sylan9eqr 2820 . . . . . . . 8 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → -𝑦 = 𝑥)
3938eqcomd 2769 . . . . . . 7 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → 𝑥 = -𝑦)
4039, 18syl 18 . . . . . 6 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜑 ↔ 𝜃))
4140bicomd 226 . . . . 5 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜃 ↔ 𝜑))
4234, 41rspcdv 3572 . . . 4 (𝑥 ∈ ℤ → (∀𝑦 ∈ ℤ 𝜃 → 𝜑))
4342com12 33 . . 3 (∀𝑦 ∈ ℤ 𝜃 → (𝑥 ∈ ℤ → 𝜑))
4443ralrimiv 3157 . 2 (∀𝑦 ∈ ℤ 𝜃 → ∀𝑥 ∈ ℤ 𝜑)
45 zindd.5 . . 3 (𝑥 = 𝐴 → (𝜑 ↔ 𝜂))
4645rspccv 3577 . 2 (∀𝑥 ∈ ℤ 𝜑 → (𝐴 ∈ ℤ → 𝜂))
4733, 44, 463syl 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 2147  ∀wral 3080  (class class class)co 7451  ℝcr 11238  0cc0 11239  1c1 11240   + caddc 11242   -cneg 11581  ℕcn 12375  ℕ0cn0 12646  ℤcz 12733
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-n0 12647  df-z 12734
This theorem is used by:  efexp  16313  pcexp  17081  mulgaddcom  19358  mulginvcom  19359  mulgneg2  19368  mulgass2  20591  cnfldmulg  21762  clmmulg  25477  xrsmulgzz  33669
  Copyright terms: Public domain W3C validator