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

Theorem rpnnen1lem1 12895
Description: Lemma for rpnnen1 12900. (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 7169 . . 3 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V
3 rpnnen1lem.2 . . . 4 𝐹 = (𝑥 ∈ ℝ ↦ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
43fvmpt2 6956 . . 3 ((𝑥 ∈ ℝ ∧ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V) → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
52, 4mpan2 689 . 2 (𝑥 ∈ ℝ → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
6 rpnnen1lem.1 . . . . . . 7 𝑇 = {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥}
7 ssrab2 4035 . . . . . . 7 {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ⊆ ℤ
86, 7eqsstri 3976 . . . . . 6 𝑇 ⊆ ℤ
98a1i 11 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ⊆ ℤ)
10 nnre 12156 . . . . . . . . . . . 12 (𝑘 ∈ ℕ → 𝑘 ∈ ℝ)
11 remulcl 11132 . . . . . . . . . . . . 13 ((𝑘 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
1211ancoms 459 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
1310, 12sylan2 593 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (𝑘 · 𝑥) ∈ ℝ)
14 btwnz 12602 . . . . . . . . . . . 12 ((𝑘 · 𝑥) ∈ ℝ → (∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥) ∧ ∃𝑛 ∈ ℤ (𝑘 · 𝑥) < 𝑛))
1514simpld 495 . . . . . . . . . . 11 ((𝑘 · 𝑥) ∈ ℝ → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
1613, 15syl 17 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
17 zre 12499 . . . . . . . . . . . . 13 (𝑛 ∈ ℤ → 𝑛 ∈ ℝ)
1817adantl 482 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑛 ∈ ℝ)
19 simpll 765 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑥 ∈ ℝ)
20 nngt0 12180 . . . . . . . . . . . . . 14 (𝑘 ∈ ℕ → 0 < 𝑘)
2110, 20jca 512 . . . . . . . . . . . . 13 (𝑘 ∈ ℕ → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
2221ad2antlr 725 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
23 ltdivmul 12026 . . . . . . . . . . . 12 ((𝑛 ∈ ℝ ∧ 𝑥 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ 0 < 𝑘)) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2418, 19, 22, 23syl3anc 1371 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2524rexbidva 3171 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥 ↔ ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥)))
2616, 25mpbird 256 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
27 rabn0 4343 . . . . . . . . 9 ({𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅ ↔ ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
2826, 27sylibr 233 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
296neeq1i 3006 . . . . . . . 8 (𝑇 ≠ ∅ ↔ {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
3028, 29sylibr 233 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ≠ ∅)
316rabeq2i 3427 . . . . . . . . . 10 (𝑛𝑇 ↔ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥))
3210ad2antlr 725 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑘 ∈ ℝ)
3332, 19, 11syl2anc 584 . . . . . . . . . . . . 13 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 · 𝑥) ∈ ℝ)
34 ltle 11239 . . . . . . . . . . . . 13 ((𝑛 ∈ ℝ ∧ (𝑘 · 𝑥) ∈ ℝ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
3518, 33, 34syl2anc 584 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
3624, 35sylbid 239 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 ≤ (𝑘 · 𝑥)))
3736impr 455 . . . . . . . . . 10 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥)) → 𝑛 ≤ (𝑘 · 𝑥))
3831, 37sylan2b 594 . . . . . . . . 9 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛𝑇) → 𝑛 ≤ (𝑘 · 𝑥))
3938ralrimiva 3141 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥))
40 breq2 5107 . . . . . . . . . 10 (𝑦 = (𝑘 · 𝑥) → (𝑛𝑦𝑛 ≤ (𝑘 · 𝑥)))
4140ralbidv 3172 . . . . . . . . 9 (𝑦 = (𝑘 · 𝑥) → (∀𝑛𝑇 𝑛𝑦 ↔ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)))
4241rspcev 3579 . . . . . . . 8 (((𝑘 · 𝑥) ∈ ℝ ∧ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
4313, 39, 42syl2anc 584 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
44 suprzcl 12579 . . . . . . 7 ((𝑇 ⊆ ℤ ∧ 𝑇 ≠ ∅ ∧ ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦) → sup(𝑇, ℝ, < ) ∈ 𝑇)
459, 30, 43, 44syl3anc 1371 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ 𝑇)
468, 45sselid 3940 . . . . 5 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ ℤ)
47 znq 12869 . . . . 5 ((sup(𝑇, ℝ, < ) ∈ ℤ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ∈ ℚ)
4846, 47sylancom 588 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ∈ ℚ)
49 eqid 2736 . . . 4 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))
5048, 49fmptd 7058 . . 3 (𝑥 ∈ ℝ → (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)):ℕ⟶ℚ)
51 rpnnen1lem.q . . . 4 ℚ ∈ V
5251, 1elmap 8805 . . 3 ((𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ (ℚ ↑m ℕ) ↔ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)):ℕ⟶ℚ)
5350, 52sylibr 233 . 2 (𝑥 ∈ ℝ → (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ (ℚ ↑m ℕ))
545, 53eqeltrd 2838 1 (𝑥 ∈ ℝ → (𝐹𝑥) ∈ (ℚ ↑m ℕ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106  wne 2941  wral 3062  wrex 3071  {crab 3405  Vcvv 3443  wss 3908  c0 4280   class class class wbr 5103  cmpt 5186  wf 6489  cfv 6493  (class class class)co 7353  m cmap 8761  supcsup 9372  cr 11046  0cc0 11047   · cmul 11052   < clt 11185  cle 11186   / cdiv 11808  cn 12149  cz 12495  cq 12865
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-rep 5240  ax-sep 5254  ax-nul 5261  ax-pow 5318  ax-pr 5382  ax-un 7668  ax-resscn 11104  ax-1cn 11105  ax-icn 11106  ax-addcl 11107  ax-addrcl 11108  ax-mulcl 11109  ax-mulrcl 11110  ax-mulcom 11111  ax-addass 11112  ax-mulass 11113  ax-distr 11114  ax-i2m1 11115  ax-1ne0 11116  ax-1rid 11117  ax-rnegex 11118  ax-rrecex 11119  ax-cnre 11120  ax-pre-lttri 11121  ax-pre-lttrn 11122  ax-pre-ltadd 11123  ax-pre-mulgt0 11124  ax-pre-sup 11125
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3351  df-reu 3352  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3927  df-nul 4281  df-if 4485  df-pw 4560  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4864  df-iun 4954  df-br 5104  df-opab 5166  df-mpt 5187  df-tr 5221  df-id 5529  df-eprel 5535  df-po 5543  df-so 5544  df-fr 5586  df-we 5588  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6251  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6445  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-riota 7309  df-ov 7356  df-oprab 7357  df-mpo 7358  df-om 7799  df-1st 7917  df-2nd 7918  df-frecs 8208  df-wrecs 8239  df-recs 8313  df-rdg 8352  df-er 8644  df-map 8763  df-en 8880  df-dom 8881  df-sdom 8882  df-sup 9374  df-pnf 11187  df-mnf 11188  df-xr 11189  df-ltxr 11190  df-le 11191  df-sub 11383  df-neg 11384  df-div 11809  df-nn 12150  df-n0 12410  df-z 12496  df-q 12866
This theorem is referenced by:  rpnnen1lem3  12896  rpnnen1lem4  12897  rpnnen1lem5  12898  rpnnen1lem6  12899
  Copyright terms: Public domain W3C validator