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

Theorem zindd 9330
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 9243 . . . . . . 7 (𝑦 ∈ ℤ → -𝑦 ∈ ℤ)
2 elznn0nn 9226 . . . . . . 7 (-𝑦 ∈ ℤ ↔ (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)))
31, 2sylib 121 . . . . . 6 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)))
4 simpr 109 . . . . . . 7 ((-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ) → --𝑦 ∈ ℕ)
54orim2i 756 . . . . . 6 ((-𝑦 ∈ ℕ0 ∨ (-𝑦 ∈ ℝ ∧ --𝑦 ∈ ℕ)) → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ))
63, 5syl 14 . . . . 5 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ))
7 zcn 9217 . . . . . . . 8 (𝑦 ∈ ℤ → 𝑦 ∈ ℂ)
87negnegd 8221 . . . . . . 7 (𝑦 ∈ ℤ → --𝑦 = 𝑦)
98eleq1d 2239 . . . . . 6 (𝑦 ∈ ℤ → (--𝑦 ∈ ℕ ↔ 𝑦 ∈ ℕ))
109orbi2d 785 . . . . 5 (𝑦 ∈ ℤ → ((-𝑦 ∈ ℕ0 ∨ --𝑦 ∈ ℕ) ↔ (-𝑦 ∈ ℕ0𝑦 ∈ ℕ)))
116, 10mpbid 146 . . . 4 (𝑦 ∈ ℤ → (-𝑦 ∈ ℕ0𝑦 ∈ ℕ))
12 zindd.1 . . . . . . . 8 (𝑥 = 0 → (𝜑𝜓))
1312imbi2d 229 . . . . . . 7 (𝑥 = 0 → ((𝜁𝜑) ↔ (𝜁𝜓)))
14 zindd.2 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜒))
1514imbi2d 229 . . . . . . 7 (𝑥 = 𝑦 → ((𝜁𝜑) ↔ (𝜁𝜒)))
16 zindd.3 . . . . . . . 8 (𝑥 = (𝑦 + 1) → (𝜑𝜏))
1716imbi2d 229 . . . . . . 7 (𝑥 = (𝑦 + 1) → ((𝜁𝜑) ↔ (𝜁𝜏)))
18 zindd.4 . . . . . . . 8 (𝑥 = -𝑦 → (𝜑𝜃))
1918imbi2d 229 . . . . . . 7 (𝑥 = -𝑦 → ((𝜁𝜑) ↔ (𝜁𝜃)))
20 zindd.6 . . . . . . 7 (𝜁𝜓)
21 zindd.7 . . . . . . . . 9 (𝜁 → (𝑦 ∈ ℕ0 → (𝜒𝜏)))
2221com12 30 . . . . . . . 8 (𝑦 ∈ ℕ0 → (𝜁 → (𝜒𝜏)))
2322a2d 26 . . . . . . 7 (𝑦 ∈ ℕ0 → ((𝜁𝜒) → (𝜁𝜏)))
2413, 15, 17, 19, 20, 23nn0ind 9326 . . . . . 6 (-𝑦 ∈ ℕ0 → (𝜁𝜃))
2524com12 30 . . . . 5 (𝜁 → (-𝑦 ∈ ℕ0𝜃))
26 nnnn0 9142 . . . . . . . 8 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
2713, 15, 17, 15, 20, 23nn0ind 9326 . . . . . . . 8 (𝑦 ∈ ℕ0 → (𝜁𝜒))
2826, 27syl 14 . . . . . . 7 (𝑦 ∈ ℕ → (𝜁𝜒))
2928com12 30 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → 𝜒))
30 zindd.8 . . . . . 6 (𝜁 → (𝑦 ∈ ℕ → (𝜒𝜃)))
3129, 30mpdd 41 . . . . 5 (𝜁 → (𝑦 ∈ ℕ → 𝜃))
3225, 31jaod 712 . . . 4 (𝜁 → ((-𝑦 ∈ ℕ0𝑦 ∈ ℕ) → 𝜃))
3311, 32syl5 32 . . 3 (𝜁 → (𝑦 ∈ ℤ → 𝜃))
3433ralrimiv 2542 . 2 (𝜁 → ∀𝑦 ∈ ℤ 𝜃)
35 znegcl 9243 . . . . 5 (𝑥 ∈ ℤ → -𝑥 ∈ ℤ)
36 negeq 8112 . . . . . . . . 9 (𝑦 = -𝑥 → -𝑦 = --𝑥)
37 zcn 9217 . . . . . . . . . 10 (𝑥 ∈ ℤ → 𝑥 ∈ ℂ)
3837negnegd 8221 . . . . . . . . 9 (𝑥 ∈ ℤ → --𝑥 = 𝑥)
3936, 38sylan9eqr 2225 . . . . . . . 8 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → -𝑦 = 𝑥)
4039eqcomd 2176 . . . . . . 7 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → 𝑥 = -𝑦)
4140, 18syl 14 . . . . . 6 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜑𝜃))
4241bicomd 140 . . . . 5 ((𝑥 ∈ ℤ ∧ 𝑦 = -𝑥) → (𝜃𝜑))
4335, 42rspcdv 2837 . . . 4 (𝑥 ∈ ℤ → (∀𝑦 ∈ ℤ 𝜃𝜑))
4443com12 30 . . 3 (∀𝑦 ∈ ℤ 𝜃 → (𝑥 ∈ ℤ → 𝜑))
4544ralrimiv 2542 . 2 (∀𝑦 ∈ ℤ 𝜃 → ∀𝑥 ∈ ℤ 𝜑)
46 zindd.5 . . 3 (𝑥 = 𝐴 → (𝜑𝜂))
4746rspccv 2831 . 2 (∀𝑥 ∈ ℤ 𝜑 → (𝐴 ∈ ℤ → 𝜂))
4834, 45, 473syl 17 1 (𝜁 → (𝐴 ∈ ℤ → 𝜂))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 703   = wceq 1348  wcel 2141  wral 2448  (class class class)co 5853  cr 7773  0cc0 7774  1c1 7775   + caddc 7777  -cneg 8091  cn 8878  0cn0 9135  cz 9212
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-addcom 7874  ax-addass 7876  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-0id 7882  ax-rnegex 7883  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-ltadd 7890
This theorem depends on definitions:  df-bi 116  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-br 3990  df-opab 4051  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-iota 5160  df-fun 5200  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-inn 8879  df-n0 9136  df-z 9213
This theorem is referenced by:  efexp  11645  pcexp  12263
  Copyright terms: Public domain W3C validator