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

Theorem rpnnen1lem1 12903
Description: Lemma for rpnnen1 12908. (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 7173 . . 3 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V
3 rpnnen1lem.2 . . . 4 𝐹 = (𝑥 ∈ ℝ ↦ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
43fvmpt2 6959 . . 3 ((𝑥 ∈ ℝ ∧ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V) → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
52, 4mpan2 689 . 2 (𝑥 ∈ ℝ → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
6 rpnnen1lem.1 . . . . . . 7 𝑇 = {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥}
7 ssrab2 4037 . . . . . . 7 {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ⊆ ℤ
86, 7eqsstri 3978 . . . . . 6 𝑇 ⊆ ℤ
98a1i 11 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ⊆ ℤ)
10 nnre 12160 . . . . . . . . . . . 12 (𝑘 ∈ ℕ → 𝑘 ∈ ℝ)
11 remulcl 11136 . . . . . . . . . . . . 13 ((𝑘 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
1211ancoms 459 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
1310, 12sylan2 593 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (𝑘 · 𝑥) ∈ ℝ)
14 btwnz 12606 . . . . . . . . . . . 12 ((𝑘 · 𝑥) ∈ ℝ → (∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥) ∧ ∃𝑛 ∈ ℤ (𝑘 · 𝑥) < 𝑛))
1514simpld 495 . . . . . . . . . . 11 ((𝑘 · 𝑥) ∈ ℝ → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
1613, 15syl 17 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
17 zre 12503 . . . . . . . . . . . . 13 (𝑛 ∈ ℤ → 𝑛 ∈ ℝ)
1817adantl 482 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑛 ∈ ℝ)
19 simpll 765 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑥 ∈ ℝ)
20 nngt0 12184 . . . . . . . . . . . . . 14 (𝑘 ∈ ℕ → 0 < 𝑘)
2110, 20jca 512 . . . . . . . . . . . . 13 (𝑘 ∈ ℕ → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
2221ad2antlr 725 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
23 ltdivmul 12030 . . . . . . . . . . . 12 ((𝑛 ∈ ℝ ∧ 𝑥 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ 0 < 𝑘)) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2418, 19, 22, 23syl3anc 1371 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2524rexbidva 3173 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥 ↔ ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥)))
2616, 25mpbird 256 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
27 rabn0 4345 . . . . . . . . 9 ({𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅ ↔ ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
2826, 27sylibr 233 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
296neeq1i 3008 . . . . . . . 8 (𝑇 ≠ ∅ ↔ {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
3028, 29sylibr 233 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ≠ ∅)
316reqabi 3429 . . . . . . . . . 10 (𝑛𝑇 ↔ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥))
3210ad2antlr 725 . . . . . . . . . . . . . 14 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑘 ∈ ℝ)
3332, 19, 11syl2anc 584 . . . . . . . . . . . . 13 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 · 𝑥) ∈ ℝ)
34 ltle 11243 . . . . . . . . . . . . 13 ((𝑛 ∈ ℝ ∧ (𝑘 · 𝑥) ∈ ℝ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
3518, 33, 34syl2anc 584 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
3624, 35sylbid 239 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 ≤ (𝑘 · 𝑥)))
3736impr 455 . . . . . . . . . 10 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥)) → 𝑛 ≤ (𝑘 · 𝑥))
3831, 37sylan2b 594 . . . . . . . . 9 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛𝑇) → 𝑛 ≤ (𝑘 · 𝑥))
3938ralrimiva 3143 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥))
40 breq2 5109 . . . . . . . . . 10 (𝑦 = (𝑘 · 𝑥) → (𝑛𝑦𝑛 ≤ (𝑘 · 𝑥)))
4140ralbidv 3174 . . . . . . . . 9 (𝑦 = (𝑘 · 𝑥) → (∀𝑛𝑇 𝑛𝑦 ↔ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)))
4241rspcev 3581 . . . . . . . 8 (((𝑘 · 𝑥) ∈ ℝ ∧ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
4313, 39, 42syl2anc 584 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
44 suprzcl 12583 . . . . . . 7 ((𝑇 ⊆ ℤ ∧ 𝑇 ≠ ∅ ∧ ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦) → sup(𝑇, ℝ, < ) ∈ 𝑇)
459, 30, 43, 44syl3anc 1371 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ 𝑇)
468, 45sselid 3942 . . . . 5 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ ℤ)
47 znq 12877 . . . . 5 ((sup(𝑇, ℝ, < ) ∈ ℤ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ∈ ℚ)
4846, 47sylancom 588 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ∈ ℚ)
49 eqid 2736 . . . 4 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))
5048, 49fmptd 7062 . . 3 (𝑥 ∈ ℝ → (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)):ℕ⟶ℚ)
51 rpnnen1lem.q . . . 4 ℚ ∈ V
5251, 1elmap 8809 . . 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 2943  wral 3064  wrex 3073  {crab 3407  Vcvv 3445  wss 3910  c0 4282   class class class wbr 5105  cmpt 5188  wf 6492  cfv 6496  (class class class)co 7357  m cmap 8765  supcsup 9376  cr 11050  0cc0 11051   · cmul 11056   < clt 11189  cle 11190   / cdiv 11812  cn 12153  cz 12499  cq 12873
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 5242  ax-sep 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672  ax-resscn 11108  ax-1cn 11109  ax-icn 11110  ax-addcl 11111  ax-addrcl 11112  ax-mulcl 11113  ax-mulrcl 11114  ax-mulcom 11115  ax-addass 11116  ax-mulass 11117  ax-distr 11118  ax-i2m1 11119  ax-1ne0 11120  ax-1rid 11121  ax-rnegex 11122  ax-rrecex 11123  ax-cnre 11124  ax-pre-lttri 11125  ax-pre-lttrn 11126  ax-pre-ltadd 11127  ax-pre-mulgt0 11128  ax-pre-sup 11129
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 2889  df-ne 2944  df-nel 3050  df-ral 3065  df-rex 3074  df-rmo 3353  df-reu 3354  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-pss 3929  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-op 4593  df-uni 4866  df-iun 4956  df-br 5106  df-opab 5168  df-mpt 5189  df-tr 5223  df-id 5531  df-eprel 5537  df-po 5545  df-so 5546  df-fr 5588  df-we 5590  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-pred 6253  df-ord 6320  df-on 6321  df-lim 6322  df-suc 6323  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504  df-riota 7313  df-ov 7360  df-oprab 7361  df-mpo 7362  df-om 7803  df-1st 7921  df-2nd 7922  df-frecs 8212  df-wrecs 8243  df-recs 8317  df-rdg 8356  df-er 8648  df-map 8767  df-en 8884  df-dom 8885  df-sdom 8886  df-sup 9378  df-pnf 11191  df-mnf 11192  df-xr 11193  df-ltxr 11194  df-le 11195  df-sub 11387  df-neg 11388  df-div 11813  df-nn 12154  df-n0 12414  df-z 12500  df-q 12874
This theorem is referenced by:  rpnnen1lem3  12904  rpnnen1lem4  12905  rpnnen1lem5  12906  rpnnen1lem6  12907
  Copyright terms: Public domain W3C validator