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

Theorem zindd 12781
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 12712 . . . . . . 7 (𝑦 ∈ ℤ → -𝑦 ∈ ℤ)
2 elznn0nn 12688 . . . . . . 7 (-𝑦 ∈ ℤ ↔ (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)))
31, 2sylib 221 . . . . . 6 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)))
4 simpr 490 . . . . . . 7 ((-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ) → --𝑦 ∈ ℕ)
54orim2i 924 . . . . . 6 ((-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)) → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ))
63, 5syl 18 . . . . 5 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ))
7 zcn 12679 . . . . . . . 8 (𝑦 ∈ ℤ → 𝑦 ∈ ℂ)
87negnegd 11641 . . . . . . 7 (𝑦 ∈ ℤ → --𝑦 = 𝑦)
98eleq1d 2846 . . . . . 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 12775 . . . . . 6 (-𝑦 ∈ ℕ0 → (𝜁 → 𝜃))
2524com12 33 . . . . 5 (𝜁 → (-𝑦 ∈ ℕ0 → 𝜃))
2613, 15, 17, 15, 20, 23nn0ind 12775 . . . . . . 7 (𝑦 ∈ ℕ0 → (𝜁 → 𝜒))
27 nnnn0 12594 . . . . . . 7 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
2826, 27syl11 34 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → 𝜒))
29 zindd.8 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → (𝜒 → 𝜃)))
3028, 29mpdd 44 . . . . 5 (𝜁 → (𝑦 ∈ ℕ → 𝜃))
3125, 30jaod 873 . . . 4 (𝜁 → ((-𝑦 ∈ ℕ0 ∨ 𝑦 ∈ ℕ) → 𝜃))
3211, 31syl5 35 . . 3 (𝜁 → (𝑦 ∈ ℤ → 𝜃))
3332ralrimiv 3154 . 2 (𝜁 → ∀𝑦 ∈ ℤ 𝜃)
34 znegcl 12712 . . . . 5 (𝑥 ∈ ℤ → -𝑥 ∈ ℤ)
35 negeq 11530 . . . . . . . . 9 (𝑦 = -𝑥 → -𝑦 = --𝑥)
36 zcn 12679 . . . . . . . . . 10 (𝑥 ∈ ℤ → 𝑥 ∈ ℂ)
3736negnegd 11641 . . . . . . . . 9 (𝑥 ∈ ℤ → --𝑥 = 𝑥)
3835, 37sylan9eqr 2818 . . . . . . . 8 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → -𝑦 = 𝑥)
3938eqcomd 2767 . . . . . . 7 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → 𝑥 = -𝑦)
4039, 18syl 18 . . . . . 6 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜑 ↔ 𝜃))
4140bicomd 226 . . . . 5 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜃 ↔ 𝜑))
4234, 41rspcdv 3569 . . . 4 (𝑥 ∈ ℤ → (∀𝑦 ∈ ℤ 𝜃 → 𝜑))
4342com12 33 . . 3 (∀𝑦 ∈ ℤ 𝜃 → (𝑥 ∈ ℤ → 𝜑))
4443ralrimiv 3154 . 2 (∀𝑦 ∈ ℤ 𝜃 → ∀𝑥 ∈ ℤ 𝜑)
45 zindd.5 . . 3 (𝑥 = 𝐴 → (𝜑 ↔ 𝜂))
4645rspccv 3574 . 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 2145  ∀wral 3077  (class class class)co 7412  ℝcr 11180  0cc0 11181  1c1 11182   + caddc 11184  -cneg 11523  ℕcn 12316  ℕ0cn0 12587  ℤcz 12674
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 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-nn 12317  df-n0 12588  df-z 12675
This theorem is used by:  efexp  16249  pcexp  17017  mulgaddcom  19288  mulginvcom  19289  mulgneg2  19298  mulgass2  20520  cnfldmulg  21690  clmmulg  25402  xrsmulgzz  33552
  Copyright terms: Public domain W3C validator