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

Theorem uzind 12735
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 12643 . . . . . . . . . 10 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ)
21leidd 11856 . . . . . . . . 9 (𝑀 ∈ ℤ → 𝑀𝑀)
3 uzind.5 . . . . . . . . 9 (𝑀 ∈ ℤ → 𝜓)
42, 3jca 511 . . . . . . . 8 (𝑀 ∈ ℤ → (𝑀𝑀𝜓))
54ancli 548 . . . . . . 7 (𝑀 ∈ ℤ → (𝑀 ∈ ℤ ∧ (𝑀𝑀𝜓)))
6 breq2 5170 . . . . . . . . 9 (𝑗 = 𝑀 → (𝑀𝑗𝑀𝑀))
7 uzind.1 . . . . . . . . 9 (𝑗 = 𝑀 → (𝜑𝜓))
86, 7anbi12d 631 . . . . . . . 8 (𝑗 = 𝑀 → ((𝑀𝑗𝜑) ↔ (𝑀𝑀𝜓)))
98elrab 3708 . . . . . . 7 (𝑀 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ (𝑀 ∈ ℤ ∧ (𝑀𝑀𝜓)))
105, 9sylibr 234 . . . . . 6 (𝑀 ∈ ℤ → 𝑀 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)})
11 peano2z 12684 . . . . . . . . . . 11 (𝑘 ∈ ℤ → (𝑘 + 1) ∈ ℤ)
1211a1i 11 . . . . . . . . . 10 (𝑀 ∈ ℤ → (𝑘 ∈ ℤ → (𝑘 + 1) ∈ ℤ))
1312adantrd 491 . . . . . . . . 9 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → (𝑘 + 1) ∈ ℤ))
14 zre 12643 . . . . . . . . . . . . 13 (𝑘 ∈ ℤ → 𝑘 ∈ ℝ)
15 ltp1 12134 . . . . . . . . . . . . . . . 16 (𝑘 ∈ ℝ → 𝑘 < (𝑘 + 1))
1615adantl 481 . . . . . . . . . . . . . . 15 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → 𝑘 < (𝑘 + 1))
17 peano2re 11463 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ ℝ → (𝑘 + 1) ∈ ℝ)
1817ancli 548 . . . . . . . . . . . . . . . 16 (𝑘 ∈ ℝ → (𝑘 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ))
19 lelttr 11380 . . . . . . . . . . . . . . . . 17 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ) → ((𝑀𝑘𝑘 < (𝑘 + 1)) → 𝑀 < (𝑘 + 1)))
20193expb 1120 . . . . . . . . . . . . . . . 16 ((𝑀 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ (𝑘 + 1) ∈ ℝ)) → ((𝑀𝑘𝑘 < (𝑘 + 1)) → 𝑀 < (𝑘 + 1)))
2118, 20sylan2 592 . . . . . . . . . . . . . . 15 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → ((𝑀𝑘𝑘 < (𝑘 + 1)) → 𝑀 < (𝑘 + 1)))
2216, 21mpan2d 693 . . . . . . . . . . . . . 14 ((𝑀 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑀𝑘𝑀 < (𝑘 + 1)))
23 ltle 11378 . . . . . . . . . . . . . . 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 1119 . . . . . . . . . . 11 (𝑀 ∈ ℤ → (𝑘 ∈ ℤ → (𝑀𝑘 → (𝜒𝜃))))
3130imp4d 424 . . . . . . . . . 10 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → 𝜃))
3228, 31jcad 512 . . . . . . . . 9 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → (𝑀 ≤ (𝑘 + 1) ∧ 𝜃)))
3313, 32jcad 512 . . . . . . . 8 (𝑀 ∈ ℤ → ((𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)) → ((𝑘 + 1) ∈ ℤ ∧ (𝑀 ≤ (𝑘 + 1) ∧ 𝜃))))
34 breq2 5170 . . . . . . . . . 10 (𝑗 = 𝑘 → (𝑀𝑗𝑀𝑘))
35 uzind.2 . . . . . . . . . 10 (𝑗 = 𝑘 → (𝜑𝜒))
3634, 35anbi12d 631 . . . . . . . . 9 (𝑗 = 𝑘 → ((𝑀𝑗𝜑) ↔ (𝑀𝑘𝜒)))
3736elrab 3708 . . . . . . . 8 (𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ (𝑘 ∈ ℤ ∧ (𝑀𝑘𝜒)))
38 breq2 5170 . . . . . . . . . 10 (𝑗 = (𝑘 + 1) → (𝑀𝑗𝑀 ≤ (𝑘 + 1)))
39 uzind.3 . . . . . . . . . 10 (𝑗 = (𝑘 + 1) → (𝜑𝜃))
4038, 39anbi12d 631 . . . . . . . . 9 (𝑗 = (𝑘 + 1) → ((𝑀𝑗𝜑) ↔ (𝑀 ≤ (𝑘 + 1) ∧ 𝜃)))
4140elrab 3708 . . . . . . . 8 ((𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ ((𝑘 + 1) ∈ ℤ ∧ (𝑀 ≤ (𝑘 + 1) ∧ 𝜃)))
4233, 37, 413imtr4g 296 . . . . . . 7 (𝑀 ∈ ℤ → (𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} → (𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}))
4342ralrimiv 3151 . . . . . 6 (𝑀 ∈ ℤ → ∀𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} (𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)})
44 peano5uzti 12733 . . . . . 6 (𝑀 ∈ ℤ → ((𝑀 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ∧ ∀𝑘 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} (𝑘 + 1) ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}) → {𝑤 ∈ ℤ ∣ 𝑀𝑤} ⊆ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}))
4510, 43, 44mp2and 698 . . . . 5 (𝑀 ∈ ℤ → {𝑤 ∈ ℤ ∣ 𝑀𝑤} ⊆ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)})
4645sseld 4007 . . . 4 (𝑀 ∈ ℤ → (𝑁 ∈ {𝑤 ∈ ℤ ∣ 𝑀𝑤} → 𝑁 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)}))
47 breq2 5170 . . . . 5 (𝑤 = 𝑁 → (𝑀𝑤𝑀𝑁))
4847elrab 3708 . . . 4 (𝑁 ∈ {𝑤 ∈ ℤ ∣ 𝑀𝑤} ↔ (𝑁 ∈ ℤ ∧ 𝑀𝑁))
49 breq2 5170 . . . . . 6 (𝑗 = 𝑁 → (𝑀𝑗𝑀𝑁))
50 uzind.4 . . . . . 6 (𝑗 = 𝑁 → (𝜑𝜏))
5149, 50anbi12d 631 . . . . 5 (𝑗 = 𝑁 → ((𝑀𝑗𝜑) ↔ (𝑀𝑁𝜏)))
5251elrab 3708 . . . 4 (𝑁 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝜑)} ↔ (𝑁 ∈ ℤ ∧ (𝑀𝑁𝜏)))
5346, 48, 523imtr3g 295 . . 3 (𝑀 ∈ ℤ → ((𝑁 ∈ ℤ ∧ 𝑀𝑁) → (𝑁 ∈ ℤ ∧ (𝑀𝑁𝜏))))
54533impib 1116 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀𝑁) → (𝑁 ∈ ℤ ∧ (𝑀𝑁𝜏)))
5554simprrd 773 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀𝑁) → 𝜏)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1087   = wceq 1537  wcel 2108  wral 3067  {crab 3443  wss 3976   class class class wbr 5166  (class class class)co 7448  cr 11183  1c1 11185   + caddc 11187   < clt 11324  cle 11325  cz 12639
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-2nd 8031  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-er 8763  df-en 9004  df-dom 9005  df-sdom 9006  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-nn 12294  df-n0 12554  df-z 12640
This theorem is referenced by:  uzind2  12736  uzind3  12737  nn0ind  12738  fzind  12741  fi1uzind  14556  algcvga  16626  uzindd  41933  zindbi  42903
  Copyright terms: Public domain W3C validator