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

Theorem divalglem2 15736
Description: Lemma for divalg 15744. (Contributed by Paul Chapman, 21-Mar-2011.) (Revised by AV, 2-Oct-2020.)
Hypotheses
Ref Expression
divalglem0.1 𝑁 ∈ ℤ
divalglem0.2 𝐷 ∈ ℤ
divalglem1.3 𝐷 ≠ 0
divalglem2.4 𝑆 = {𝑟 ∈ ℕ0𝐷 ∥ (𝑁𝑟)}
Assertion
Ref Expression
divalglem2 inf(𝑆, ℝ, < ) ∈ 𝑆
Distinct variable groups:   𝐷,𝑟   𝑁,𝑟
Allowed substitution hint:   𝑆(𝑟)

Proof of Theorem divalglem2
StepHypRef Expression
1 divalglem2.4 . . . 4 𝑆 = {𝑟 ∈ ℕ0𝐷 ∥ (𝑁𝑟)}
21ssrab3 4008 . . 3 𝑆 ⊆ ℕ0
3 nn0uz 12268 . . 3 0 = (ℤ‘0)
42, 3sseqtri 3951 . 2 𝑆 ⊆ (ℤ‘0)
5 divalglem0.1 . . . . . 6 𝑁 ∈ ℤ
6 divalglem0.2 . . . . . . . . 9 𝐷 ∈ ℤ
7 zmulcl 12019 . . . . . . . . 9 ((𝑁 ∈ ℤ ∧ 𝐷 ∈ ℤ) → (𝑁 · 𝐷) ∈ ℤ)
85, 6, 7mp2an 691 . . . . . . . 8 (𝑁 · 𝐷) ∈ ℤ
9 nn0abscl 14664 . . . . . . . 8 ((𝑁 · 𝐷) ∈ ℤ → (abs‘(𝑁 · 𝐷)) ∈ ℕ0)
108, 9ax-mp 5 . . . . . . 7 (abs‘(𝑁 · 𝐷)) ∈ ℕ0
1110nn0zi 11995 . . . . . 6 (abs‘(𝑁 · 𝐷)) ∈ ℤ
12 zaddcl 12010 . . . . . 6 ((𝑁 ∈ ℤ ∧ (abs‘(𝑁 · 𝐷)) ∈ ℤ) → (𝑁 + (abs‘(𝑁 · 𝐷))) ∈ ℤ)
135, 11, 12mp2an 691 . . . . 5 (𝑁 + (abs‘(𝑁 · 𝐷))) ∈ ℤ
14 divalglem1.3 . . . . . 6 𝐷 ≠ 0
155, 6, 14divalglem1 15735 . . . . 5 0 ≤ (𝑁 + (abs‘(𝑁 · 𝐷)))
16 elnn0z 11982 . . . . 5 ((𝑁 + (abs‘(𝑁 · 𝐷))) ∈ ℕ0 ↔ ((𝑁 + (abs‘(𝑁 · 𝐷))) ∈ ℤ ∧ 0 ≤ (𝑁 + (abs‘(𝑁 · 𝐷)))))
1713, 15, 16mpbir2an 710 . . . 4 (𝑁 + (abs‘(𝑁 · 𝐷))) ∈ ℕ0
18 iddvds 15615 . . . . . . . 8 (𝐷 ∈ ℤ → 𝐷𝐷)
19 dvdsabsb 15621 . . . . . . . . 9 ((𝐷 ∈ ℤ ∧ 𝐷 ∈ ℤ) → (𝐷𝐷𝐷 ∥ (abs‘𝐷)))
2019anidms 570 . . . . . . . 8 (𝐷 ∈ ℤ → (𝐷𝐷𝐷 ∥ (abs‘𝐷)))
2118, 20mpbid 235 . . . . . . 7 (𝐷 ∈ ℤ → 𝐷 ∥ (abs‘𝐷))
226, 21ax-mp 5 . . . . . 6 𝐷 ∥ (abs‘𝐷)
23 nn0abscl 14664 . . . . . . . . 9 (𝑁 ∈ ℤ → (abs‘𝑁) ∈ ℕ0)
245, 23ax-mp 5 . . . . . . . 8 (abs‘𝑁) ∈ ℕ0
2524nn0negzi 12009 . . . . . . 7 -(abs‘𝑁) ∈ ℤ
26 nn0abscl 14664 . . . . . . . . 9 (𝐷 ∈ ℤ → (abs‘𝐷) ∈ ℕ0)
276, 26ax-mp 5 . . . . . . . 8 (abs‘𝐷) ∈ ℕ0
2827nn0zi 11995 . . . . . . 7 (abs‘𝐷) ∈ ℤ
29 dvdsmultr2 15641 . . . . . . 7 ((𝐷 ∈ ℤ ∧ -(abs‘𝑁) ∈ ℤ ∧ (abs‘𝐷) ∈ ℤ) → (𝐷 ∥ (abs‘𝐷) → 𝐷 ∥ (-(abs‘𝑁) · (abs‘𝐷))))
306, 25, 28, 29mp3an 1458 . . . . . 6 (𝐷 ∥ (abs‘𝐷) → 𝐷 ∥ (-(abs‘𝑁) · (abs‘𝐷)))
3122, 30ax-mp 5 . . . . 5 𝐷 ∥ (-(abs‘𝑁) · (abs‘𝐷))
32 zcn 11974 . . . . . . . . 9 (𝑁 ∈ ℤ → 𝑁 ∈ ℂ)
335, 32ax-mp 5 . . . . . . . 8 𝑁 ∈ ℂ
34 zcn 11974 . . . . . . . . 9 (𝐷 ∈ ℤ → 𝐷 ∈ ℂ)
356, 34ax-mp 5 . . . . . . . 8 𝐷 ∈ ℂ
3633, 35absmuli 14756 . . . . . . 7 (abs‘(𝑁 · 𝐷)) = ((abs‘𝑁) · (abs‘𝐷))
3736negeqi 10868 . . . . . 6 -(abs‘(𝑁 · 𝐷)) = -((abs‘𝑁) · (abs‘𝐷))
38 df-neg 10862 . . . . . . 7 -(abs‘(𝑁 · 𝐷)) = (0 − (abs‘(𝑁 · 𝐷)))
3933subidi 10946 . . . . . . . 8 (𝑁𝑁) = 0
4039oveq1i 7145 . . . . . . 7 ((𝑁𝑁) − (abs‘(𝑁 · 𝐷))) = (0 − (abs‘(𝑁 · 𝐷)))
4110nn0cni 11897 . . . . . . . 8 (abs‘(𝑁 · 𝐷)) ∈ ℂ
42 subsub4 10908 . . . . . . . 8 ((𝑁 ∈ ℂ ∧ 𝑁 ∈ ℂ ∧ (abs‘(𝑁 · 𝐷)) ∈ ℂ) → ((𝑁𝑁) − (abs‘(𝑁 · 𝐷))) = (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷)))))
4333, 33, 41, 42mp3an 1458 . . . . . . 7 ((𝑁𝑁) − (abs‘(𝑁 · 𝐷))) = (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷))))
4438, 40, 433eqtr2ri 2828 . . . . . 6 (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷)))) = -(abs‘(𝑁 · 𝐷))
4533abscli 14747 . . . . . . . 8 (abs‘𝑁) ∈ ℝ
4645recni 10644 . . . . . . 7 (abs‘𝑁) ∈ ℂ
4735abscli 14747 . . . . . . . 8 (abs‘𝐷) ∈ ℝ
4847recni 10644 . . . . . . 7 (abs‘𝐷) ∈ ℂ
4946, 48mulneg1i 11075 . . . . . 6 (-(abs‘𝑁) · (abs‘𝐷)) = -((abs‘𝑁) · (abs‘𝐷))
5037, 44, 493eqtr4i 2831 . . . . 5 (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷)))) = (-(abs‘𝑁) · (abs‘𝐷))
5131, 50breqtrri 5057 . . . 4 𝐷 ∥ (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷))))
52 oveq2 7143 . . . . . 6 (𝑟 = (𝑁 + (abs‘(𝑁 · 𝐷))) → (𝑁𝑟) = (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷)))))
5352breq2d 5042 . . . . 5 (𝑟 = (𝑁 + (abs‘(𝑁 · 𝐷))) → (𝐷 ∥ (𝑁𝑟) ↔ 𝐷 ∥ (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷))))))
5453, 1elrab2 3631 . . . 4 ((𝑁 + (abs‘(𝑁 · 𝐷))) ∈ 𝑆 ↔ ((𝑁 + (abs‘(𝑁 · 𝐷))) ∈ ℕ0𝐷 ∥ (𝑁 − (𝑁 + (abs‘(𝑁 · 𝐷))))))
5517, 51, 54mpbir2an 710 . . 3 (𝑁 + (abs‘(𝑁 · 𝐷))) ∈ 𝑆
5655ne0ii 4253 . 2 𝑆 ≠ ∅
57 infssuzcl 12320 . 2 ((𝑆 ⊆ (ℤ‘0) ∧ 𝑆 ≠ ∅) → inf(𝑆, ℝ, < ) ∈ 𝑆)
584, 56, 57mp2an 691 1 inf(𝑆, ℝ, < ) ∈ 𝑆
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209   = wceq 1538  wcel 2111  wne 2987  {crab 3110  wss 3881  c0 4243   class class class wbr 5030  cfv 6324  (class class class)co 7135  infcinf 8889  cc 10524  cr 10525  0cc0 10526   + caddc 10529   · cmul 10531   < clt 10664  cle 10665  cmin 10859  -cneg 10860  0cn0 11885  cz 11969  cuz 12231  abscabs 14585  cdvds 15599
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-pre-sup 10604
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-sup 8890  df-inf 8891  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-div 11287  df-nn 11626  df-2 11688  df-3 11689  df-n0 11886  df-z 11970  df-uz 12232  df-rp 12378  df-seq 13365  df-exp 13426  df-cj 14450  df-re 14451  df-im 14452  df-sqrt 14586  df-abs 14587  df-dvds 15600
This theorem is referenced by:  divalglem5  15738  divalglem9  15742
  Copyright terms: Public domain W3C validator