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

Theorem fsumfldivdiaglem 25136
Description: Lemma for fsumfldivdiag 25137. (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 756 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))
2 fsumfldivdiag.1 . . . . . . . . 9 (𝜑𝐴 ∈ ℝ)
32adantr 466 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝐴 ∈ ℝ)
4 simprl 754 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ (1...(⌊‘𝐴)))
5 fznnfl 12869 . . . . . . . . . . 11 (𝐴 ∈ ℝ → (𝑛 ∈ (1...(⌊‘𝐴)) ↔ (𝑛 ∈ ℕ ∧ 𝑛𝐴)))
63, 5syl 17 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 ∈ (1...(⌊‘𝐴)) ↔ (𝑛 ∈ ℕ ∧ 𝑛𝐴)))
74, 6mpbid 222 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 ∈ ℕ ∧ 𝑛𝐴))
87simpld 482 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ ℕ)
93, 8nndivred 11271 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝐴 / 𝑛) ∈ ℝ)
10 fznnfl 12869 . . . . . . 7 ((𝐴 / 𝑛) ∈ ℝ → (𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))) ↔ (𝑚 ∈ ℕ ∧ 𝑚 ≤ (𝐴 / 𝑛))))
119, 10syl 17 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))) ↔ (𝑚 ∈ ℕ ∧ 𝑚 ≤ (𝐴 / 𝑛))))
121, 11mpbid 222 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ ℕ ∧ 𝑚 ≤ (𝐴 / 𝑛)))
1312simpld 482 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ ℕ)
1413nnred 11237 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ ℝ)
1512simprd 483 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ≤ (𝐴 / 𝑛))
163recnd 10270 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝐴 ∈ ℂ)
1716mulid2d 10260 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (1 · 𝐴) = 𝐴)
188nnge1d 11265 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 1 ≤ 𝑛)
19 1red 10257 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 1 ∈ ℝ)
208nnred 11237 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ ℝ)
21 0red 10243 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 ∈ ℝ)
228, 13nnmulcld 11270 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 · 𝑚) ∈ ℕ)
2322nnred 11237 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 · 𝑚) ∈ ℝ)
2422nngt0d 11266 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < (𝑛 · 𝑚))
258nngt0d 11266 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < 𝑛)
26 lemuldiv2 11106 . . . . . . . . . . . 12 ((𝑚 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ (𝑛 ∈ ℝ ∧ 0 < 𝑛)) → ((𝑛 · 𝑚) ≤ 𝐴𝑚 ≤ (𝐴 / 𝑛)))
2714, 3, 20, 25, 26syl112anc 1480 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → ((𝑛 · 𝑚) ≤ 𝐴𝑚 ≤ (𝐴 / 𝑛)))
2815, 27mpbird 247 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 · 𝑚) ≤ 𝐴)
2921, 23, 3, 24, 28ltletrd 10399 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < 𝐴)
30 lemul1 11077 . . . . . . . . 9 ((1 ∈ ℝ ∧ 𝑛 ∈ ℝ ∧ (𝐴 ∈ ℝ ∧ 0 < 𝐴)) → (1 ≤ 𝑛 ↔ (1 · 𝐴) ≤ (𝑛 · 𝐴)))
3119, 20, 3, 29, 30syl112anc 1480 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (1 ≤ 𝑛 ↔ (1 · 𝐴) ≤ (𝑛 · 𝐴)))
3218, 31mpbid 222 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (1 · 𝐴) ≤ (𝑛 · 𝐴))
3317, 32eqbrtrrd 4810 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝐴 ≤ (𝑛 · 𝐴))
34 ledivmul 11101 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ (𝑛 ∈ ℝ ∧ 0 < 𝑛)) → ((𝐴 / 𝑛) ≤ 𝐴𝐴 ≤ (𝑛 · 𝐴)))
353, 3, 20, 25, 34syl112anc 1480 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → ((𝐴 / 𝑛) ≤ 𝐴𝐴 ≤ (𝑛 · 𝐴)))
3633, 35mpbird 247 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝐴 / 𝑛) ≤ 𝐴)
3714, 9, 3, 15, 36letrd 10396 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚𝐴)
38 fznnfl 12869 . . . . 5 (𝐴 ∈ ℝ → (𝑚 ∈ (1...(⌊‘𝐴)) ↔ (𝑚 ∈ ℕ ∧ 𝑚𝐴)))
393, 38syl 17 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ (1...(⌊‘𝐴)) ↔ (𝑚 ∈ ℕ ∧ 𝑚𝐴)))
4013, 37, 39mpbir2and 692 . . 3 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑚 ∈ (1...(⌊‘𝐴)))
4113nngt0d 11266 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 0 < 𝑚)
42 lemuldiv 11105 . . . . . 6 ((𝑛 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ (𝑚 ∈ ℝ ∧ 0 < 𝑚)) → ((𝑛 · 𝑚) ≤ 𝐴𝑛 ≤ (𝐴 / 𝑚)))
4320, 3, 14, 41, 42syl112anc 1480 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → ((𝑛 · 𝑚) ≤ 𝐴𝑛 ≤ (𝐴 / 𝑚)))
4428, 43mpbid 222 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ≤ (𝐴 / 𝑚))
453, 13nndivred 11271 . . . . 5 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝐴 / 𝑚) ∈ ℝ)
46 fznnfl 12869 . . . . 5 ((𝐴 / 𝑚) ∈ ℝ → (𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))) ↔ (𝑛 ∈ ℕ ∧ 𝑛 ≤ (𝐴 / 𝑚))))
4745, 46syl 17 . . . 4 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))) ↔ (𝑛 ∈ ℕ ∧ 𝑛 ≤ (𝐴 / 𝑚))))
488, 44, 47mpbir2and 692 . . 3 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))))
4940, 48jca 501 . 2 ((𝜑 ∧ (𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛))))) → (𝑚 ∈ (1...(⌊‘𝐴)) ∧ 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚)))))
5049ex 397 1 (𝜑 → ((𝑛 ∈ (1...(⌊‘𝐴)) ∧ 𝑚 ∈ (1...(⌊‘(𝐴 / 𝑛)))) → (𝑚 ∈ (1...(⌊‘𝐴)) ∧ 𝑛 ∈ (1...(⌊‘(𝐴 / 𝑚))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  wcel 2145   class class class wbr 4786  cfv 6031  (class class class)co 6793  cr 10137  0cc0 10138  1c1 10139   · cmul 10143   < clt 10276  cle 10277   / cdiv 10886  cn 11222  ...cfz 12533  cfl 12799
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096  ax-cnex 10194  ax-resscn 10195  ax-1cn 10196  ax-icn 10197  ax-addcl 10198  ax-addrcl 10199  ax-mulcl 10200  ax-mulrcl 10201  ax-mulcom 10202  ax-addass 10203  ax-mulass 10204  ax-distr 10205  ax-i2m1 10206  ax-1ne0 10207  ax-1rid 10208  ax-rnegex 10209  ax-rrecex 10210  ax-cnre 10211  ax-pre-lttri 10212  ax-pre-lttrn 10213  ax-pre-ltadd 10214  ax-pre-mulgt0 10215  ax-pre-sup 10216
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-riota 6754  df-ov 6796  df-oprab 6797  df-mpt2 6798  df-om 7213  df-1st 7315  df-2nd 7316  df-wrecs 7559  df-recs 7621  df-rdg 7659  df-er 7896  df-en 8110  df-dom 8111  df-sdom 8112  df-sup 8504  df-inf 8505  df-pnf 10278  df-mnf 10279  df-xr 10280  df-ltxr 10281  df-le 10282  df-sub 10470  df-neg 10471  df-div 10887  df-nn 11223  df-n0 11495  df-z 11580  df-uz 11889  df-fz 12534  df-fl 12801
This theorem is referenced by:  fsumfldivdiag  25137
  Copyright terms: Public domain W3C validator