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

Theorem rpnnen1lem1 12359
Description: Lemma for rpnnen1 12364. (Contributed by Mario Carneiro, 12-May-2013.) (Revised by NM, 13-Aug-2021.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
rpnnen1lem.1 𝑇 = {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥}
rpnnen1lem.2 𝐹 = (𝑥 ∈ ℝ ↦ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
rpnnen1lem.n ℕ ∈ V
rpnnen1lem.q ℚ ∈ V
Assertion
Ref Expression
rpnnen1lem1 (𝑥 ∈ ℝ → (𝐹𝑥) ∈ (ℚ ↑m ℕ))
Distinct variable groups:   𝑘,𝐹,𝑛,𝑥   𝑇,𝑛
Allowed substitution hints:   𝑇(𝑥,𝑘)

Proof of Theorem rpnnen1lem1
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 rpnnen1lem.n . . . 4 ℕ ∈ V
21mptex 6967 . . 3 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V
3 rpnnen1lem.2 . . . 4 𝐹 = (𝑥 ∈ ℝ ↦ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
43fvmpt2 6760 . . 3 ((𝑥 ∈ ℝ ∧ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V) → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
52, 4mpan2 689 . 2 (𝑥 ∈ ℝ → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
6 rpnnen1lem.1 . . . . . . 7 𝑇 = {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥}
7 ssrab2 4039 . . . . . . 7 {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ⊆ ℤ
86, 7eqsstri 3984 . . . . . 6 𝑇 ⊆ ℤ
98a1i 11 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ⊆ ℤ)
10 nnre 11626 . . . . . . . . . . . 12 (𝑘 ∈ ℕ → 𝑘 ∈ ℝ)
11 remulcl 10603 . . . . . . . . . . . . 13 ((𝑘 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
1211ancoms 461 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
1310, 12sylan2 594 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (𝑘 · 𝑥) ∈ ℝ)
14 btwnz 12066 . . . . . . . . . . . 12 ((𝑘 · 𝑥) ∈ ℝ → (∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥) ∧ ∃𝑛 ∈ ℤ (𝑘 · 𝑥) < 𝑛))
1514simpld 497 . . . . . . . . . . 11 ((𝑘 · 𝑥) ∈ ℝ → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
1613, 15syl 17 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
17 zre 11967 . . . . . . . . . . . . 13 (𝑛 ∈ ℤ → 𝑛 ∈ ℝ)
1817adantl 484 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑛 ∈ ℝ)
19 simpll 765 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑥 ∈ ℝ)
20 nngt0 11650 . . . . . . . . . . . . . 14 (𝑘 ∈ ℕ → 0 < 𝑘)
2110, 20jca 514 . . . . . . . . . . . . 13 (𝑘 ∈ ℕ → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
2221ad2antlr 725 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
23 ltdivmul 11496 . . . . . . . . . . . 12 ((𝑛 ∈ ℝ ∧ 𝑥 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ 0 < 𝑘)) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2418, 19, 22, 23syl3anc 1367 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2524rexbidva 3291 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥 ↔ ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥)))
2616, 25mpbird 259 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
27 rabn0 4320 . . . . . . . . 9 ({𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅ ↔ ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
2826, 27sylibr 236 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
296neeq1i 3075 . . . . . . . 8 (𝑇 ≠ ∅ ↔ {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
3028, 29sylibr 236 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ≠ ∅)
316rabeq2i 3474 . . . . . . . . . 10 (𝑛𝑇 ↔ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥))
3210ad2antlr 725 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑘 ∈ ℝ)
3332, 19, 11syl2anc 586 . . . . . . . . . . . . 13 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 · 𝑥) ∈ ℝ)
34 ltle 10710 . . . . . . . . . . . . 13 ((𝑛 ∈ ℝ ∧ (𝑘 · 𝑥) ∈ ℝ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
3518, 33, 34syl2anc 586 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
3624, 35sylbid 242 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 ≤ (𝑘 · 𝑥)))
3736impr 457 . . . . . . . . . 10 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥)) → 𝑛 ≤ (𝑘 · 𝑥))
3831, 37sylan2b 595 . . . . . . . . 9 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛𝑇) → 𝑛 ≤ (𝑘 · 𝑥))
3938ralrimiva 3177 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥))
40 breq2 5051 . . . . . . . . . 10 (𝑦 = (𝑘 · 𝑥) → (𝑛𝑦𝑛 ≤ (𝑘 · 𝑥)))
4140ralbidv 3192 . . . . . . . . 9 (𝑦 = (𝑘 · 𝑥) → (∀𝑛𝑇 𝑛𝑦 ↔ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)))
4241rspcev 3610 . . . . . . . 8 (((𝑘 · 𝑥) ∈ ℝ ∧ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
4313, 39, 42syl2anc 586 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
44 suprzcl 12044 . . . . . . 7 ((𝑇 ⊆ ℤ ∧ 𝑇 ≠ ∅ ∧ ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦) → sup(𝑇, ℝ, < ) ∈ 𝑇)
459, 30, 43, 44syl3anc 1367 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ 𝑇)
468, 45sseldi 3948 . . . . 5 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ ℤ)
47 znq 12334 . . . . 5 ((sup(𝑇, ℝ, < ) ∈ ℤ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ∈ ℚ)
4846, 47sylancom 590 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ∈ ℚ)
49 eqid 2820 . . . 4 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))
5048, 49fmptd 6859 . . 3 (𝑥 ∈ ℝ → (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)):ℕ⟶ℚ)
51 rpnnen1lem.q . . . 4 ℚ ∈ V
5251, 1elmap 8416 . . 3 ((𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ (ℚ ↑m ℕ) ↔ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)):ℕ⟶ℚ)
5350, 52sylibr 236 . 2 (𝑥 ∈ ℝ → (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ (ℚ ↑m ℕ))
545, 53eqeltrd 2911 1 (𝑥 ∈ ℝ → (𝐹𝑥) ∈ (ℚ ↑m ℕ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wne 3011  wral 3133  wrex 3134  {crab 3137  Vcvv 3481  wss 3919  c0 4274   class class class wbr 5047  cmpt 5127  wf 6332  cfv 6336  (class class class)co 7137  m cmap 8387  supcsup 8885  cr 10517  0cc0 10518   · cmul 10523   < clt 10656  cle 10657   / cdiv 11278  cn 11619  cz 11963  cq 12330
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2792  ax-rep 5171  ax-sep 5184  ax-nul 5191  ax-pow 5247  ax-pr 5311  ax-un 7442  ax-resscn 10575  ax-1cn 10576  ax-icn 10577  ax-addcl 10578  ax-addrcl 10579  ax-mulcl 10580  ax-mulrcl 10581  ax-mulcom 10582  ax-addass 10583  ax-mulass 10584  ax-distr 10585  ax-i2m1 10586  ax-1ne0 10587  ax-1rid 10588  ax-rnegex 10589  ax-rrecex 10590  ax-cnre 10591  ax-pre-lttri 10592  ax-pre-lttrn 10593  ax-pre-ltadd 10594  ax-pre-mulgt0 10595  ax-pre-sup 10596
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2891  df-nfc 2959  df-ne 3012  df-nel 3119  df-ral 3138  df-rex 3139  df-reu 3140  df-rmo 3141  df-rab 3142  df-v 3483  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3935  df-pss 3937  df-nul 4275  df-if 4449  df-pw 4522  df-sn 4549  df-pr 4551  df-tp 4553  df-op 4555  df-uni 4820  df-iun 4902  df-br 5048  df-opab 5110  df-mpt 5128  df-tr 5154  df-id 5441  df-eprel 5446  df-po 5455  df-so 5456  df-fr 5495  df-we 5497  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-pred 6129  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-iota 6295  df-fun 6338  df-fn 6339  df-f 6340  df-f1 6341  df-fo 6342  df-f1o 6343  df-fv 6344  df-riota 7095  df-ov 7140  df-oprab 7141  df-mpo 7142  df-om 7562  df-1st 7670  df-2nd 7671  df-wrecs 7928  df-recs 7989  df-rdg 8027  df-er 8270  df-map 8389  df-en 8491  df-dom 8492  df-sdom 8493  df-sup 8887  df-pnf 10658  df-mnf 10659  df-xr 10660  df-ltxr 10661  df-le 10662  df-sub 10853  df-neg 10854  df-div 11279  df-nn 11620  df-n0 11880  df-z 11964  df-q 12331
This theorem is referenced by:  rpnnen1lem3  12360  rpnnen1lem4  12361  rpnnen1lem5  12362  rpnnen1lem6  12363
  Copyright terms: Public domain W3C validator