ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  zindd GIF version

Theorem zindd 8465
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 8382 . . . . . . 7 (𝑦 ∈ ℤ → -𝑦 ∈ ℤ)
2 elznn0nn 8365 . . . . . . 7 (-𝑦 ∈ ℤ ↔ (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)))
31, 2sylib 120 . . . . . 6 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)))
4 simpr 108 . . . . . . 7 ((-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ) → --𝑦 ∈ ℕ)
54orim2i 710 . . . . . 6 ((-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)) → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ))
63, 5syl 14 . . . . 5 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ))
7 zcn 8356 . . . . . . . 8 (𝑦 ∈ ℤ → 𝑦 ∈ ℂ)
87negnegd 7410 . . . . . . 7 (𝑦 ∈ ℤ → --𝑦 = 𝑦)
98eleq1d 2147 . . . . . 6 (𝑦 ∈ ℤ → (--𝑦 ∈ ℕ ↔ 𝑦 ∈ ℕ))
109orbi2d 736 . . . . 5 (𝑦 ∈ ℤ → ((-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ) ↔ (-𝑦 ∈ ℕ0𝑦 ∈ ℕ)))
116, 10mpbid 145 . . . 4 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0𝑦 ∈ ℕ))
12 zindd.1 . . . . . . . 8 (𝑥 = 0 → (𝜑𝜓))
1312imbi2d 228 . . . . . . 7 (𝑥 = 0 → ((𝜁𝜑) ↔ (𝜁𝜓)))
14 zindd.2 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜒))
1514imbi2d 228 . . . . . . 7 (𝑥 = 𝑦 → ((𝜁𝜑) ↔ (𝜁𝜒)))
16 zindd.3 . . . . . . . 8 (𝑥 = (𝑦 + 1) → (𝜑𝜏))
1716imbi2d 228 . . . . . . 7 (𝑥 = (𝑦 + 1) → ((𝜁𝜑) ↔ (𝜁𝜏)))
18 zindd.4 . . . . . . . 8 (𝑥 = -𝑦 → (𝜑𝜃))
1918imbi2d 228 . . . . . . 7 (𝑥 = -𝑦 → ((𝜁𝜑) ↔ (𝜁𝜃)))
20 zindd.6 . . . . . . 7 (𝜁𝜓)
21 zindd.7 . . . . . . . . 9 (𝜁 → (𝑦 ∈ ℕ0 → (𝜒𝜏)))
2221com12 30 . . . . . . . 8 (𝑦 ∈ ℕ0 → (𝜁 → (𝜒𝜏)))
2322a2d 26 . . . . . . 7 (𝑦 ∈ ℕ0 → ((𝜁𝜒) → (𝜁𝜏)))
2413, 15, 17, 19, 20, 23nn0ind 8461 . . . . . 6 (-𝑦 ∈ ℕ0 → (𝜁𝜃))
2524com12 30 . . . . 5 (𝜁 → (-𝑦 ∈ ℕ0𝜃))
26 nnnn0 8295 . . . . . . . 8 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
2713, 15, 17, 15, 20, 23nn0ind 8461 . . . . . . . 8 (𝑦 ∈ ℕ0 → (𝜁𝜒))
2826, 27syl 14 . . . . . . 7 (𝑦 ∈ ℕ → (𝜁𝜒))
2928com12 30 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → 𝜒))
30 zindd.8 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → (𝜒𝜃)))
3129, 30mpdd 40 . . . . 5 (𝜁 → (𝑦 ∈ ℕ → 𝜃))
3225, 31jaod 669 . . . 4 (𝜁 → ((-𝑦 ∈ ℕ0𝑦 ∈ ℕ) → 𝜃))
3311, 32syl5 32 . . 3 (𝜁 → (𝑦 ∈ ℤ → 𝜃))
3433ralrimiv 2433 . 2 (𝜁 → ∀𝑦 ∈ ℤ 𝜃)
35 znegcl 8382 . . . . 5 (𝑥 ∈ ℤ → -𝑥 ∈ ℤ)
36 negeq 7301 . . . . . . . . 9 (𝑦 = -𝑥 → -𝑦 = --𝑥)
37 zcn 8356 . . . . . . . . . 10 (𝑥 ∈ ℤ → 𝑥 ∈ ℂ)
3837negnegd 7410 . . . . . . . . 9 (𝑥 ∈ ℤ → --𝑥 = 𝑥)
3936, 38sylan9eqr 2135 . . . . . . . 8 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → -𝑦 = 𝑥)
4039eqcomd 2086 . . . . . . 7 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → 𝑥 = -𝑦)
4140, 18syl 14 . . . . . 6 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜑𝜃))
4241bicomd 139 . . . . 5 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜃𝜑))
4335, 42rspcdv 2704 . . . 4 (𝑥 ∈ ℤ → (∀𝑦 ∈ ℤ 𝜃𝜑))
4443com12 30 . . 3 (∀𝑦 ∈ ℤ 𝜃 → (𝑥 ∈ ℤ → 𝜑))
4544ralrimiv 2433 . 2 (∀𝑦 ∈ ℤ 𝜃 → ∀𝑥 ∈ ℤ 𝜑)
46 zindd.5 . . 3 (𝑥 = 𝐴 → (𝜑𝜂))
4746rspccv 2698 . 2 (∀𝑥 ∈ ℤ 𝜑 → (𝐴 ∈ ℤ → 𝜂))
4834, 45, 473syl 17 1 (𝜁 → (𝐴 ∈ ℤ → 𝜂))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wo 661   = wceq 1284  wcel 1433  wral 2348  (class class class)co 5532  cr 6980  0cc0 6981  1c1 6982   + caddc 6984  -cneg 7280  cn 8039  0cn0 8288  cz 8351
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-13 1444  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964  ax-un 4188  ax-setind 4280  ax-cnex 7067  ax-resscn 7068  ax-1cn 7069  ax-1re 7070  ax-icn 7071  ax-addcl 7072  ax-addrcl 7073  ax-mulcl 7074  ax-addcom 7076  ax-addass 7078  ax-distr 7080  ax-i2m1 7081  ax-0lt1 7082  ax-0id 7084  ax-rnegex 7085  ax-cnre 7087  ax-pre-ltirr 7088  ax-pre-ltwlin 7089  ax-pre-lttrn 7090  ax-pre-ltadd 7092
This theorem depends on definitions:  df-bi 115  df-3or 920  df-3an 921  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ne 2246  df-nel 2340  df-ral 2353  df-rex 2354  df-reu 2355  df-rab 2357  df-v 2603  df-sbc 2816  df-dif 2975  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-int 3637  df-br 3786  df-opab 3840  df-id 4048  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-iota 4887  df-fun 4924  df-fv 4930  df-riota 5488  df-ov 5535  df-oprab 5536  df-mpt2 5537  df-pnf 7155  df-mnf 7156  df-xr 7157  df-ltxr 7158  df-le 7159  df-sub 7281  df-neg 7282  df-inn 8040  df-n0 8289  df-z 8352
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator