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

Theorem fsumfldivdiaglem 25772
Description: Lemma for fsumfldivdiag 25773. (Contributed by Mario Carneiro, 10-May-2016.)
Hypothesis
Ref Expression
fsumfldivdiag.1 (𝜑𝐴 ∈ ℝ)
Assertion
Ref Expression
fsumfldivdiaglem (𝜑 → ((𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛)))) → (𝑚 ∈ (1...(⌊‘𝐴)) ∧ 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))))))
Distinct variable groups:   𝑚,𝑛,𝐴   𝜑,𝑚,𝑛

Proof of Theorem fsumfldivdiaglem
StepHypRef Expression
1 simprr 772 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))
2 fsumfldivdiag.1 . . . . . . . . 9 (𝜑𝐴 ∈ ℝ)
32adantr 484 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝐴 ∈ ℝ)
4 simprl 770 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ (1...(⌊‘𝐴)))
5 fznnfl 13225 . . . . . . . . . . 11 (𝐴 ∈ ℝ → (𝑛 ∈ (1...(⌊‘𝐴)) ↔ (𝑛 ∈ ℕ ∧ 𝑛𝐴)))
63, 5syl 17 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 ∈ (1...(⌊‘𝐴)) ↔ (𝑛 ∈ ℕ ∧ 𝑛𝐴)))
74, 6mpbid 235 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 ∈ ℕ ∧ 𝑛𝐴))
87simpld 498 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ ℕ)
93, 8nndivred 11679 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝐴 / 𝑛) ∈ ℝ)
10 fznnfl 13225 . . . . . . 7 ((𝐴 / 𝑛) ∈ ℝ → (𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))) ↔ (𝑚 ∈ ℕ ∧ 𝑚 ≤ (𝐴 / 𝑛))))
119, 10syl 17 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))) ↔ (𝑚 ∈ ℕ ∧ 𝑚 ≤ (𝐴 / 𝑛))))
121, 11mpbid 235 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ ℕ ∧ 𝑚 ≤ (𝐴 / 𝑛)))
1312simpld 498 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ ℕ)
1413nnred 11640 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ ℝ)
1512simprd 499 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ≤ (𝐴 / 𝑛))
163recnd 10658 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝐴 ∈ ℂ)
1716mulid2d 10648 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (1 · 𝐴) = 𝐴)
188nnge1d 11673 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 1 ≤ 𝑛)
19 1red 10631 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 1 ∈ ℝ)
208nnred 11640 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ ℝ)
21 0red 10633 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 ∈ ℝ)
228, 13nnmulcld 11678 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 · 𝑚) ∈ ℕ)
2322nnred 11640 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 · 𝑚) ∈ ℝ)
2422nngt0d 11674 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < (𝑛 · 𝑚))
258nngt0d 11674 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < 𝑛)
26 lemuldiv2 11510 . . . . . . . . . . . 12 ((𝑚 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ (𝑛 ∈ ℝ ∧ 0 < 𝑛)) → ((𝑛 · 𝑚) ≤ 𝐴𝑚 ≤ (𝐴 / 𝑛)))
2714, 3, 20, 25, 26syl112anc 1371 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → ((𝑛 · 𝑚) ≤ 𝐴𝑚 ≤ (𝐴 / 𝑛)))
2815, 27mpbird 260 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 · 𝑚) ≤ 𝐴)
2921, 23, 3, 24, 28ltletrd 10789 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < 𝐴)
30 lemul1 11481 . . . . . . . . 9 ((1 ∈ ℝ ∧ 𝑛 ∈ ℝ ∧ (𝐴 ∈ ℝ ∧ 0 < 𝐴)) → (1 ≤ 𝑛 ↔ (1 · 𝐴) ≤ (𝑛 · 𝐴)))
3119, 20, 3, 29, 30syl112anc 1371 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (1 ≤ 𝑛 ↔ (1 · 𝐴) ≤ (𝑛 · 𝐴)))
3218, 31mpbid 235 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (1 · 𝐴) ≤ (𝑛 · 𝐴))
3317, 32eqbrtrrd 5066 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝐴 ≤ (𝑛 · 𝐴))
34 ledivmul 11505 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ (𝑛 ∈ ℝ ∧ 0 < 𝑛)) → ((𝐴 / 𝑛) ≤ 𝐴𝐴 ≤ (𝑛 · 𝐴)))
353, 3, 20, 25, 34syl112anc 1371 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → ((𝐴 / 𝑛) ≤ 𝐴𝐴 ≤ (𝑛 · 𝐴)))
3633, 35mpbird 260 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝐴 / 𝑛) ≤ 𝐴)
3714, 9, 3, 15, 36letrd 10786 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚𝐴)
38 fznnfl 13225 . . . . 5 (𝐴 ∈ ℝ → (𝑚 ∈ (1...(⌊‘𝐴)) ↔ (𝑚 ∈ ℕ ∧ 𝑚𝐴)))
393, 38syl 17 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ (1...(⌊‘𝐴)) ↔ (𝑚 ∈ ℕ ∧ 𝑚𝐴)))
4013, 37, 39mpbir2and 712 . . 3 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ (1...(⌊‘𝐴)))
4113nngt0d 11674 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < 𝑚)
42 lemuldiv 11509 . . . . . 6 ((𝑛 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ (𝑚 ∈ ℝ ∧ 0 < 𝑚)) → ((𝑛 · 𝑚) ≤ 𝐴𝑛 ≤ (𝐴 / 𝑚)))
4320, 3, 14, 41, 42syl112anc 1371 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → ((𝑛 · 𝑚) ≤ 𝐴𝑛 ≤ (𝐴 / 𝑚)))
4428, 43mpbid 235 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ≤ (𝐴 / 𝑚))
453, 13nndivred 11679 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝐴 / 𝑚) ∈ ℝ)
46 fznnfl 13225 . . . . 5 ((𝐴 / 𝑚) ∈ ℝ → (𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))) ↔ (𝑛 ∈ ℕ ∧ 𝑛 ≤ (𝐴 / 𝑚))))
4745, 46syl 17 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))) ↔ (𝑛 ∈ ℕ ∧ 𝑛 ≤ (𝐴 / 𝑚))))
488, 44, 47mpbir2and 712 . . 3 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))))
4940, 48jca 515 . 2 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ (1...(⌊‘𝐴)) ∧ 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚)))))
5049ex 416 1 (𝜑 → ((𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛)))) → (𝑚 ∈ (1...(⌊‘𝐴)) ∧ 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wcel 2114   class class class wbr 5042  cfv 6334  (class class class)co 7140  cr 10525  0cc0 10526  1c1 10527   · cmul 10531   < clt 10664  cle 10665   / cdiv 11286  cn 11625  ...cfz 12885  cfl 13155
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 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2178  ax-ext 2794  ax-sep 5179  ax-nul 5186  ax-pow 5243  ax-pr 5307  ax-un 7446  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 2622  df-eu 2653  df-clab 2801  df-cleq 2815  df-clel 2894  df-nfc 2962  df-ne 3012  df-nel 3116  df-ral 3135  df-rex 3136  df-reu 3137  df-rmo 3138  df-rab 3139  df-v 3471  df-sbc 3748  df-csb 3856  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3927  df-nul 4266  df-if 4440  df-pw 4513  df-sn 4540  df-pr 4542  df-tp 4544  df-op 4546  df-uni 4814  df-iun 4896  df-br 5043  df-opab 5105  df-mpt 5123  df-tr 5149  df-id 5437  df-eprel 5442  df-po 5451  df-so 5452  df-fr 5491  df-we 5493  df-xp 5538  df-rel 5539  df-cnv 5540  df-co 5541  df-dm 5542  df-rn 5543  df-res 5544  df-ima 5545  df-pred 6126  df-ord 6172  df-on 6173  df-lim 6174  df-suc 6175  df-iota 6293  df-fun 6336  df-fn 6337  df-f 6338  df-f1 6339  df-fo 6340  df-f1o 6341  df-fv 6342  df-riota 7098  df-ov 7143  df-oprab 7144  df-mpo 7145  df-om 7566  df-1st 7675  df-2nd 7676  df-wrecs 7934  df-recs 7995  df-rdg 8033  df-er 8276  df-en 8497  df-dom 8498  df-sdom 8499  df-sup 8894  df-inf 8895  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-n0 11886  df-z 11970  df-uz 12232  df-fz 12886  df-fl 13157
This theorem is referenced by:  fsumfldivdiag  25773
  Copyright terms: Public domain W3C validator