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

Theorem uzind 12684
Description: Induction on the upper integers that start at 𝑀. The first four hypotheses give us the substitution instances we need; the last two are the basis and the induction step. (Contributed by NM, 5-Jul-2005.)
Hypotheses
Ref Expression
uzind.1 (𝑗 = 𝑀 → (𝜑𝜓))
uzind.2 (𝑗 = 𝑘 → (𝜑𝜒))
uzind.3 (𝑗 = (𝑘 + 1) → (𝜑𝜃))
uzind.4 (𝑗 = 𝑁 → (𝜑𝜏))
uzind.5 (𝑀 ∈ ℤ → 𝜓)
uzind.6 ((𝑀 ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ 𝑀𝑘) → (𝜒𝜃))
Assertion
Ref Expression
uzind ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀𝑁) → 𝜏)
Distinct variable groups:   𝑗,𝑁   𝜓,𝑗   𝜒,𝑗   𝜃,𝑗   𝜏,𝑗   𝜑,𝑘   𝑗,𝑘,𝑀
Allowed substitution hints:   𝜑(𝑗)   𝜓(𝑘)   𝜒(𝑘)   𝜃(𝑘)   𝜏(𝑘)   𝑁(𝑘)

Proof of Theorem uzind
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 zre 12592 . . . . . . . . . 10 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ)
21leidd 11810 . . . . . . . . 9 (𝑀 ∈ ℤ → 𝑀𝑀)
3 uzind.5 . . . . . . . . 9 (𝑀 ∈ ℤ → 𝜓)
42, 3jca 511 . . . . . . . 8 (𝑀 ∈ ℤ → (𝑀𝑀𝜓))
54ancli 548 . . . . . . 7 (𝑀 ∈ ℤ → (𝑀 ∈ ℤ ∧ (𝑀𝑀𝜓)))
6 breq2 5152 . . . . . . . . 9 (𝑗 = 𝑀 → (𝑀𝑗𝑀𝑀))
7 uzind.1 . . . . . . . . 9 (𝑗 = 𝑀 → (𝜑𝜓))
86, 7anbi12d 631 . . . . . . . 8 (𝑗 = 𝑀 → ((𝑀𝑗𝜑) ↔ (𝑀𝑀𝜓)))
98elrab 3682 . . . . . . 7 (𝑀 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ (𝑀 ∈ ℤ ∧ (𝑀𝑀𝜓)))
105, 9sylibr 233 . . . . . 6 (𝑀 ∈ ℤ → 𝑀 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)})
11 peano2z 12633 . . . . . . . . . . 11 (𝑘 ∈ ℤ → (𝑘 + 1) ∈ ℤ)
1211a1i 11 . . . . . . . . . 10 (𝑀 ∈ ℤ → (𝑘 ∈ ℤ → (𝑘 + 1) ∈ ℤ))
1312adantrd 491 . . . . . . . . 9 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → (𝑘 + 1) ∈ ℤ))
14 zre 12592 . . . . . . . . . . . . 13 (𝑘 ∈ ℤ → 𝑘 ∈ ℝ)
15 ltp1 12084 . . . . . . . . . . . . . . . 16 (𝑘 ∈ ℝ → 𝑘 < (𝑘 + 1))
1615adantl 481 . . . . . . . . . . . . . . 15 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → 𝑘 < (𝑘 + 1))
17 peano2re 11417 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ ℝ → (𝑘 + 1) ∈ ℝ)
1817ancli 548 . . . . . . . . . . . . . . . 16 (𝑘 ∈ ℝ → (𝑘 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ))
19 lelttr 11334 . . . . . . . . . . . . . . . . 17 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ) → ((𝑀𝑘𝑘 < (𝑘 + 1)) → 𝑀 < (𝑘 + 1)))
20193expb 1118 . . . . . . . . . . . . . . . 16 ((𝑀 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ)) → ((𝑀𝑘𝑘 < (𝑘 + 1)) → 𝑀 < (𝑘 + 1)))
2118, 20sylan2 592 . . . . . . . . . . . . . . 15 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → ((𝑀𝑘𝑘 < (𝑘 + 1)) → 𝑀 < (𝑘 + 1)))
2216, 21mpan2d 693 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑀𝑘𝑀 < (𝑘 + 1)))
23 ltle 11332 . . . . . . . . . . . . . . 15 ((𝑀 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ) → (𝑀 < (𝑘 + 1) → 𝑀 ≤ (𝑘 + 1)))
2417, 23sylan2 592 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑀 < (𝑘 + 1) → 𝑀 ≤ (𝑘 + 1)))
2522, 24syld 47 . . . . . . . . . . . . 13 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑀𝑘𝑀 ≤ (𝑘 + 1)))
261, 14, 25syl2an 595 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ 𝑘 ∈ ℤ) → (𝑀𝑘𝑀 ≤ (𝑘 + 1)))
2726adantrd 491 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ 𝑘 ∈ ℤ) → ((𝑀𝑘𝜒) → 𝑀 ≤ (𝑘 + 1)))
2827expimpd 453 . . . . . . . . . 10 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → 𝑀 ≤ (𝑘 + 1)))
29 uzind.6 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ 𝑀𝑘) → (𝜒𝜃))
30293exp 1117 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (𝑘 ∈ ℤ → (𝑀𝑘 → (𝜒𝜃))))
3130imp4d 424 . . . . . . . . . 10 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → 𝜃))
3228, 31jcad 512 . . . . . . . . 9 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → (𝑀 ≤ (𝑘 + 1) ∧ 𝜃)))
3313, 32jcad 512 . . . . . . . 8 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → ((𝑘 + 1) ∈ ℤ ∧ (𝑀 ≤ (𝑘 + 1) ∧ 𝜃))))
34 breq2 5152 . . . . . . . . . 10 (𝑗 = 𝑘 → (𝑀𝑗𝑀𝑘))
35 uzind.2 . . . . . . . . . 10 (𝑗 = 𝑘 → (𝜑𝜒))
3634, 35anbi12d 631 . . . . . . . . 9 (𝑗 = 𝑘 → ((𝑀𝑗𝜑) ↔ (𝑀𝑘𝜒)))
3736elrab 3682 . . . . . . . 8 (𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ (𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)))
38 breq2 5152 . . . . . . . . . 10 (𝑗 = (𝑘 + 1) → (𝑀𝑗𝑀 ≤ (𝑘 + 1)))
39 uzind.3 . . . . . . . . . 10 (𝑗 = (𝑘 + 1) → (𝜑𝜃))
4038, 39anbi12d 631 . . . . . . . . 9 (𝑗 = (𝑘 + 1) → ((𝑀𝑗𝜑) ↔ (𝑀 ≤ (𝑘 + 1) ∧ 𝜃)))
4140elrab 3682 . . . . . . . 8 ((𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ ((𝑘 + 1) ∈ ℤ ∧ (𝑀 ≤ (𝑘 + 1) ∧ 𝜃)))
4233, 37, 413imtr4g 296 . . . . . . 7 (𝑀 ∈ ℤ → (𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} → (𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}))
4342ralrimiv 3142 . . . . . 6 (𝑀 ∈ ℤ → ∀𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} (𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)})
44 peano5uzti 12682 . . . . . 6 (𝑀 ∈ ℤ → ((𝑀 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ∧ ∀𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} (𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}) → {𝑤 ∈ ℤ ∣ 𝑀𝑤} ⊆ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}))
4510, 43, 44mp2and 698 . . . . 5 (𝑀 ∈ ℤ → {𝑤 ∈ ℤ ∣ 𝑀𝑤} ⊆ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)})
4645sseld 3979 . . . 4 (𝑀 ∈ ℤ → (𝑁 ∈ {𝑤 ∈ ℤ ∣ 𝑀𝑤} → 𝑁 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}))
47 breq2 5152 . . . . 5 (𝑤 = 𝑁 → (𝑀𝑤𝑀𝑁))
4847elrab 3682 . . . 4 (𝑁 ∈ {𝑤 ∈ ℤ ∣ 𝑀𝑤} ↔ (𝑁 ∈ ℤ ∧ 𝑀𝑁))
49 breq2 5152 . . . . . 6 (𝑗 = 𝑁 → (𝑀𝑗𝑀𝑁))
50 uzind.4 . . . . . 6 (𝑗 = 𝑁 → (𝜑𝜏))
5149, 50anbi12d 631 . . . . 5 (𝑗 = 𝑁 → ((𝑀𝑗𝜑) ↔ (𝑀𝑁𝜏)))
5251elrab 3682 . . . 4 (𝑁 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ (𝑁 ∈ ℤ ∧ (𝑀𝑁𝜏)))
5346, 48, 523imtr3g 295 . . 3 (𝑀 ∈ ℤ → ((𝑁 ∈ ℤ ∧ 𝑀𝑁) → (𝑁 ∈ ℤ ∧ (𝑀𝑁𝜏))))
54533impib 1114 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀𝑁) → (𝑁 ∈ ℤ ∧ (𝑀𝑁𝜏)))
5554simprrd 773 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀𝑁) → 𝜏)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1534  wcel 2099  wral 3058  {crab 3429  wss 3947   class class class wbr 5148  (class class class)co 7420  cr 11137  1c1 11139   + caddc 11141   < clt 11278  cle 11279  cz 12588
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2699  ax-sep 5299  ax-nul 5306  ax-pow 5365  ax-pr 5429  ax-un 7740  ax-resscn 11195  ax-1cn 11196  ax-icn 11197  ax-addcl 11198  ax-addrcl 11199  ax-mulcl 11200  ax-mulrcl 11201  ax-mulcom 11202  ax-addass 11203  ax-mulass 11204  ax-distr 11205  ax-i2m1 11206  ax-1ne0 11207  ax-1rid 11208  ax-rnegex 11209  ax-rrecex 11210  ax-cnre 11211  ax-pre-lttri 11212  ax-pre-lttrn 11213  ax-pre-ltadd 11214  ax-pre-mulgt0 11215
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3or 1086  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2530  df-eu 2559  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2938  df-nel 3044  df-ral 3059  df-rex 3068  df-reu 3374  df-rab 3430  df-v 3473  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4909  df-iun 4998  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5576  df-eprel 5582  df-po 5590  df-so 5591  df-fr 5633  df-we 5635  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-pred 6305  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6500  df-fun 6550  df-fn 6551  df-f 6552  df-f1 6553  df-fo 6554  df-f1o 6555  df-fv 6556  df-riota 7376  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7871  df-2nd 7994  df-frecs 8286  df-wrecs 8317  df-recs 8391  df-rdg 8430  df-er 8724  df-en 8964  df-dom 8965  df-sdom 8966  df-pnf 11280  df-mnf 11281  df-xr 11282  df-ltxr 11283  df-le 11284  df-sub 11476  df-neg 11477  df-nn 12243  df-n0 12503  df-z 12589
This theorem is referenced by:  uzind2  12685  uzind3  12686  nn0ind  12687  fzind  12690  fi1uzind  14490  algcvga  16549  uzindd  41447  zindbi  42367
  Copyright terms: Public domain W3C validator