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

Theorem rpnnen1lem3 12108
Description: Lemma for rpnnen1 12112. (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
rpnnen1lem3 (𝑥 ∈ ℝ → ∀𝑛 ∈ ran (𝐹𝑥)𝑛𝑥)
Distinct variable groups:   𝑘,𝐹,𝑛,𝑥   𝑇,𝑛
Allowed substitution hints:   𝑇(𝑥,𝑘)

Proof of Theorem rpnnen1lem3
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 rpnnen1lem.n . . . . . . . 8 ℕ ∈ V
21mptex 6747 . . . . . . 7 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V
3 rpnnen1lem.2 . . . . . . . 8 𝐹 = (𝑥 ∈ ℝ ↦ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
43fvmpt2 6543 . . . . . . 7 ((𝑥 ∈ ℝ ∧ (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) ∈ V) → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
52, 4mpan2 682 . . . . . 6 (𝑥 ∈ ℝ → (𝐹𝑥) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)))
65fveq1d 6439 . . . . 5 (𝑥 ∈ ℝ → ((𝐹𝑥)‘𝑘) = ((𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))‘𝑘))
7 ovex 6942 . . . . . 6 (sup(𝑇, ℝ, < ) / 𝑘) ∈ V
8 eqid 2825 . . . . . . 7 (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘)) = (𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))
98fvmpt2 6543 . . . . . 6 ((𝑘 ∈ ℕ ∧ (sup(𝑇, ℝ, < ) / 𝑘) ∈ V) → ((𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))‘𝑘) = (sup(𝑇, ℝ, < ) / 𝑘))
107, 9mpan2 682 . . . . 5 (𝑘 ∈ ℕ → ((𝑘 ∈ ℕ ↦ (sup(𝑇, ℝ, < ) / 𝑘))‘𝑘) = (sup(𝑇, ℝ, < ) / 𝑘))
116, 10sylan9eq 2881 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ((𝐹𝑥)‘𝑘) = (sup(𝑇, ℝ, < ) / 𝑘))
12 rpnnen1lem.1 . . . . . . . . 9 𝑇 = {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥}
1312rabeq2i 3410 . . . . . . . 8 (𝑛𝑇 ↔ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥))
14 zre 11715 . . . . . . . . . . . 12 (𝑛 ∈ ℤ → 𝑛 ∈ ℝ)
1514adantl 475 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑛 ∈ ℝ)
16 simpll 783 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑥 ∈ ℝ)
17 nnre 11365 . . . . . . . . . . . . 13 (𝑘 ∈ ℕ → 𝑘 ∈ ℝ)
18 nngt0 11390 . . . . . . . . . . . . 13 (𝑘 ∈ ℕ → 0 < 𝑘)
1917, 18jca 507 . . . . . . . . . . . 12 (𝑘 ∈ ℕ → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
2019ad2antlr 718 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
21 ltdivmul 11235 . . . . . . . . . . 11 ((𝑛 ∈ ℝ ∧ 𝑥 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ 0 < 𝑘)) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2215, 16, 20, 21syl3anc 1494 . . . . . . . . . 10 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 < (𝑘 · 𝑥)))
2317ad2antlr 718 . . . . . . . . . . . 12 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → 𝑘 ∈ ℝ)
24 remulcl 10344 . . . . . . . . . . . 12 ((𝑘 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
2523, 16, 24syl2anc 579 . . . . . . . . . . 11 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑘 · 𝑥) ∈ ℝ)
26 ltle 10452 . . . . . . . . . . 11 ((𝑛 ∈ ℝ ∧ (𝑘 · 𝑥) ∈ ℝ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
2715, 25, 26syl2anc 579 . . . . . . . . . 10 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → (𝑛 < (𝑘 · 𝑥) → 𝑛 ≤ (𝑘 · 𝑥)))
2822, 27sylbid 232 . . . . . . . . 9 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛 ∈ ℤ) → ((𝑛 / 𝑘) < 𝑥𝑛 ≤ (𝑘 · 𝑥)))
2928impr 448 . . . . . . . 8 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ (𝑛 ∈ ℤ ∧ (𝑛 / 𝑘) < 𝑥)) → 𝑛 ≤ (𝑘 · 𝑥))
3013, 29sylan2b 587 . . . . . . 7 (((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) ∧ 𝑛𝑇) → 𝑛 ≤ (𝑘 · 𝑥))
3130ralrimiva 3175 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥))
32 ssrab2 3914 . . . . . . . . . 10 {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ⊆ ℤ
3312, 32eqsstri 3860 . . . . . . . . 9 𝑇 ⊆ ℤ
34 zssre 11718 . . . . . . . . 9 ℤ ⊆ ℝ
3533, 34sstri 3836 . . . . . . . 8 𝑇 ⊆ ℝ
3635a1i 11 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ⊆ ℝ)
3724ancoms 452 . . . . . . . . . . . 12 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑘 · 𝑥) ∈ ℝ)
3817, 37sylan2 586 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (𝑘 · 𝑥) ∈ ℝ)
39 btwnz 11814 . . . . . . . . . . . 12 ((𝑘 · 𝑥) ∈ ℝ → (∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥) ∧ ∃𝑛 ∈ ℤ (𝑘 · 𝑥) < 𝑛))
4039simpld 490 . . . . . . . . . . 11 ((𝑘 · 𝑥) ∈ ℝ → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
4138, 40syl 17 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥))
4222rexbidva 3259 . . . . . . . . . 10 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥 ↔ ∃𝑛 ∈ ℤ 𝑛 < (𝑘 · 𝑥)))
4341, 42mpbird 249 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
44 rabn0 4189 . . . . . . . . 9 ({𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅ ↔ ∃𝑛 ∈ ℤ (𝑛 / 𝑘) < 𝑥)
4543, 44sylibr 226 . . . . . . . 8 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
4612neeq1i 3063 . . . . . . . 8 (𝑇 ≠ ∅ ↔ {𝑛 ∈ ℤ ∣ (𝑛 / 𝑘) < 𝑥} ≠ ∅)
4745, 46sylibr 226 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑇 ≠ ∅)
48 breq2 4879 . . . . . . . . . 10 (𝑦 = (𝑘 · 𝑥) → (𝑛𝑦𝑛 ≤ (𝑘 · 𝑥)))
4948ralbidv 3195 . . . . . . . . 9 (𝑦 = (𝑘 · 𝑥) → (∀𝑛𝑇 𝑛𝑦 ↔ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)))
5049rspcev 3526 . . . . . . . 8 (((𝑘 · 𝑥) ∈ ℝ ∧ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
5138, 31, 50syl2anc 579 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦)
52 suprleub 11326 . . . . . . 7 (((𝑇 ⊆ ℝ ∧ 𝑇 ≠ ∅ ∧ ∃𝑦 ∈ ℝ ∀𝑛𝑇 𝑛𝑦) ∧ (𝑘 · 𝑥) ∈ ℝ) → (sup(𝑇, ℝ, < ) ≤ (𝑘 · 𝑥) ↔ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)))
5336, 47, 51, 38, 52syl31anc 1496 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) ≤ (𝑘 · 𝑥) ↔ ∀𝑛𝑇 𝑛 ≤ (𝑘 · 𝑥)))
5431, 53mpbird 249 . . . . 5 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ≤ (𝑘 · 𝑥))
5512, 3rpnnen1lem2 12106 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ ℤ)
5655zred 11817 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → sup(𝑇, ℝ, < ) ∈ ℝ)
57 simpl 476 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → 𝑥 ∈ ℝ)
5819adantl 475 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (𝑘 ∈ ℝ ∧ 0 < 𝑘))
59 ledivmul 11236 . . . . . 6 ((sup(𝑇, ℝ, < ) ∈ ℝ ∧ 𝑥 ∈ ℝ ∧ (𝑘 ∈ ℝ ∧ 0 < 𝑘)) → ((sup(𝑇, ℝ, < ) / 𝑘) ≤ 𝑥 ↔ sup(𝑇, ℝ, < ) ≤ (𝑘 · 𝑥)))
6056, 57, 58, 59syl3anc 1494 . . . . 5 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ((sup(𝑇, ℝ, < ) / 𝑘) ≤ 𝑥 ↔ sup(𝑇, ℝ, < ) ≤ (𝑘 · 𝑥)))
6154, 60mpbird 249 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → (sup(𝑇, ℝ, < ) / 𝑘) ≤ 𝑥)
6211, 61eqbrtrd 4897 . . 3 ((𝑥 ∈ ℝ ∧ 𝑘 ∈ ℕ) → ((𝐹𝑥)‘𝑘) ≤ 𝑥)
6362ralrimiva 3175 . 2 (𝑥 ∈ ℝ → ∀𝑘 ∈ ℕ ((𝐹𝑥)‘𝑘) ≤ 𝑥)
64 rpnnen1lem.q . . . . 5 ℚ ∈ V
6512, 3, 1, 64rpnnen1lem1 12107 . . . 4 (𝑥 ∈ ℝ → (𝐹𝑥) ∈ (ℚ ↑𝑚 ℕ))
6664, 1elmap 8156 . . . 4 ((𝐹𝑥) ∈ (ℚ ↑𝑚 ℕ) ↔ (𝐹𝑥):ℕ⟶ℚ)
6765, 66sylib 210 . . 3 (𝑥 ∈ ℝ → (𝐹𝑥):ℕ⟶ℚ)
68 ffn 6282 . . 3 ((𝐹𝑥):ℕ⟶ℚ → (𝐹𝑥) Fn ℕ)
69 breq1 4878 . . . 4 (𝑛 = ((𝐹𝑥)‘𝑘) → (𝑛𝑥 ↔ ((𝐹𝑥)‘𝑘) ≤ 𝑥))
7069ralrn 6616 . . 3 ((𝐹𝑥) Fn ℕ → (∀𝑛 ∈ ran (𝐹𝑥)𝑛𝑥 ↔ ∀𝑘 ∈ ℕ ((𝐹𝑥)‘𝑘) ≤ 𝑥))
7167, 68, 703syl 18 . 2 (𝑥 ∈ ℝ → (∀𝑛 ∈ ran (𝐹𝑥)𝑛𝑥 ↔ ∀𝑘 ∈ ℕ ((𝐹𝑥)‘𝑘) ≤ 𝑥))
7263, 71mpbird 249 1 (𝑥 ∈ ℝ → ∀𝑛 ∈ ran (𝐹𝑥)𝑛𝑥)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 386   = wceq 1656  wcel 2164  wne 2999  wral 3117  wrex 3118  {crab 3121  Vcvv 3414  wss 3798  c0 4146   class class class wbr 4875  cmpt 4954  ran crn 5347   Fn wfn 6122  wf 6123  cfv 6127  (class class class)co 6910  𝑚 cmap 8127  supcsup 8621  cr 10258  0cc0 10259   · cmul 10264   < clt 10398  cle 10399   / cdiv 11016  cn 11357  cz 11711  cq 12078
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1894  ax-4 1908  ax-5 2009  ax-6 2075  ax-7 2112  ax-8 2166  ax-9 2173  ax-10 2192  ax-11 2207  ax-12 2220  ax-13 2389  ax-ext 2803  ax-rep 4996  ax-sep 5007  ax-nul 5015  ax-pow 5067  ax-pr 5129  ax-un 7214  ax-resscn 10316  ax-1cn 10317  ax-icn 10318  ax-addcl 10319  ax-addrcl 10320  ax-mulcl 10321  ax-mulrcl 10322  ax-mulcom 10323  ax-addass 10324  ax-mulass 10325  ax-distr 10326  ax-i2m1 10327  ax-1ne0 10328  ax-1rid 10329  ax-rnegex 10330  ax-rrecex 10331  ax-cnre 10332  ax-pre-lttri 10333  ax-pre-lttrn 10334  ax-pre-ltadd 10335  ax-pre-mulgt0 10336  ax-pre-sup 10337
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 879  df-3or 1112  df-3an 1113  df-tru 1660  df-ex 1879  df-nf 1883  df-sb 2068  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ne 3000  df-nel 3103  df-ral 3122  df-rex 3123  df-reu 3124  df-rmo 3125  df-rab 3126  df-v 3416  df-sbc 3663  df-csb 3758  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-pss 3814  df-nul 4147  df-if 4309  df-pw 4382  df-sn 4400  df-pr 4402  df-tp 4404  df-op 4406  df-uni 4661  df-iun 4744  df-br 4876  df-opab 4938  df-mpt 4955  df-tr 4978  df-id 5252  df-eprel 5257  df-po 5265  df-so 5266  df-fr 5305  df-we 5307  df-xp 5352  df-rel 5353  df-cnv 5354  df-co 5355  df-dm 5356  df-rn 5357  df-res 5358  df-ima 5359  df-pred 5924  df-ord 5970  df-on 5971  df-lim 5972  df-suc 5973  df-iota 6090  df-fun 6129  df-fn 6130  df-f 6131  df-f1 6132  df-fo 6133  df-f1o 6134  df-fv 6135  df-riota 6871  df-ov 6913  df-oprab 6914  df-mpt2 6915  df-om 7332  df-1st 7433  df-2nd 7434  df-wrecs 7677  df-recs 7739  df-rdg 7777  df-er 8014  df-map 8129  df-en 8229  df-dom 8230  df-sdom 8231  df-sup 8623  df-pnf 10400  df-mnf 10401  df-xr 10402  df-ltxr 10403  df-le 10404  df-sub 10594  df-neg 10595  df-div 11017  df-nn 11358  df-n0 11626  df-z 11712  df-q 12079
This theorem is referenced by:  rpnnen1lem4  12109  rpnnen1lem5  12110
  Copyright terms: Public domain W3C validator