Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  limsupreuzmpt Structured version   Visualization version   GIF version

Theorem limsupreuzmpt 46481
Description: Given a function on the reals, defined on a set of upper integers, its supremum limit is real if and only if two condition holds: 1. there is a real number that is less than or equal to the function, infinitely often; 2. there is a real number that is greater than or equal to the function. (Contributed by Glauco Siliprandi, 23-Oct-2021.)
Hypotheses
Ref Expression
limsupreuzmpt.j 𝑗𝜑
limsupreuzmpt.m (𝜑𝑀 ∈ ℤ)
limsupreuzmpt.z 𝑍 = (ℤ𝑀)
limsupreuzmpt.b ((𝜑𝑗𝑍) → 𝐵 ∈ ℝ)
Assertion
Ref Expression
limsupreuzmpt (𝜑 → ((lim sup‘(𝑗𝑍𝐵)) ∈ ℝ ↔ (∃𝑥 ∈ ℝ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵 ∧ ∃𝑥 ∈ ℝ ∀𝑗𝑍 𝐵𝑥)))
Distinct variable groups:   𝐵,𝑘,𝑥   𝑗,𝑍,𝑘,𝑥
Allowed substitution hints:   𝜑(𝑥, 𝑗, 𝑘)   𝐵(𝑗)   𝑀(𝑥, 𝑗, 𝑘)

Proof of Theorem limsupreuzmpt
Dummy variables 𝑖 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfmpt1 5210 . . 3 𝑗(𝑗𝑍𝐵)
2 limsupreuzmpt.m . . 3 (𝜑𝑀 ∈ ℤ)
3 limsupreuzmpt.z . . 3 𝑍 = (ℤ𝑀)
4 limsupreuzmpt.j . . . 4 𝑗𝜑
5 limsupreuzmpt.b . . . 4 ((𝜑𝑗𝑍) → 𝐵 ∈ ℝ)
64, 5fmptd2f 45978 . . 3 (𝜑 → (𝑗𝑍𝐵):𝑍⟶ℝ)
71, 2, 3, 6limsupreuz 46479 . 2 (𝜑 → ((lim sup‘(𝑗𝑍𝐵)) ∈ ℝ ↔ (∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ∧ ∃𝑦 ∈ ℝ ∀𝑗𝑍 ((𝑗𝑍𝐵)‘𝑗) ≤ 𝑦)))
8 nfv 1944 . . . . . . . 8 𝑗 𝑖𝑍
94, 8nfan 1929 . . . . . . 7 𝑗(𝜑𝑖𝑍)
10 simpll 778 . . . . . . . . 9 (((𝜑𝑖𝑍) ∧ 𝑗 ∈ (ℤ𝑖)) → 𝜑)
113uztrn2 12885 . . . . . . . . . 10 ((𝑖𝑍𝑗 ∈ (ℤ𝑖)) → 𝑗𝑍)
1211adantll 726 . . . . . . . . 9 (((𝜑𝑖𝑍) ∧ 𝑗 ∈ (ℤ𝑖)) → 𝑗𝑍)
13 eqid 2763 . . . . . . . . . . 11 (𝑗𝑍𝐵) = (𝑗𝑍𝐵)
1413a1i 11 . . . . . . . . . 10 (𝜑 → (𝑗𝑍𝐵) = (𝑗𝑍𝐵))
1514, 5fvmpt2d 7003 . . . . . . . . 9 ((𝜑𝑗𝑍) → ((𝑗𝑍𝐵)‘𝑗) = 𝐵)
1610, 12, 15syl2anc 595 . . . . . . . 8 (((𝜑𝑖𝑍) ∧ 𝑗 ∈ (ℤ𝑖)) → ((𝑗𝑍𝐵)‘𝑗) = 𝐵)
1716breq2d 5121 . . . . . . 7 (((𝜑𝑖𝑍) ∧ 𝑗 ∈ (ℤ𝑖)) → (𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ↔ 𝑦𝐵))
189, 17rexbida 3277 . . . . . 6 ((𝜑𝑖𝑍) → (∃𝑗 ∈ (ℤ𝑖)𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ↔ ∃𝑗 ∈ (ℤ𝑖)𝑦𝐵))
1918ralbidva 3186 . . . . 5 (𝜑 → (∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ↔ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦𝐵))
2019rexbidv 3189 . . . 4 (𝜑 → (∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ↔ ∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦𝐵))
21 breq1 5112 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑦𝐵𝑥𝐵))
2221rexbidv 3189 . . . . . . . 8 (𝑦 = 𝑥 → (∃𝑗 ∈ (ℤ𝑖)𝑦𝐵 ↔ ∃𝑗 ∈ (ℤ𝑖)𝑥𝐵))
2322ralbidv 3188 . . . . . . 7 (𝑦 = 𝑥 → (∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦𝐵 ↔ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑥𝐵))
24 fveq2 6881 . . . . . . . . . 10 (𝑖 = 𝑘 → (ℤ𝑖) = (ℤ𝑘))
2524rexeqdv 3324 . . . . . . . . 9 (𝑖 = 𝑘 → (∃𝑗 ∈ (ℤ𝑖)𝑥𝐵 ↔ ∃𝑗 ∈ (ℤ𝑘)𝑥𝐵))
2625cbvralvw 3243 . . . . . . . 8 (∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑥𝐵 ↔ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵)
2726a1i 11 . . . . . . 7 (𝑦 = 𝑥 → (∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑥𝐵 ↔ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵))
2823, 27bitrd 282 . . . . . 6 (𝑦 = 𝑥 → (∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦𝐵 ↔ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵))
2928cbvrexvw 3244 . . . . 5 (∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦𝐵 ↔ ∃𝑥 ∈ ℝ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵)
3029a1i 11 . . . 4 (𝜑 → (∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦𝐵 ↔ ∃𝑥 ∈ ℝ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵))
3120, 30bitrd 282 . . 3 (𝜑 → (∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ↔ ∃𝑥 ∈ ℝ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵))
3215breq1d 5119 . . . . . 6 ((𝜑𝑗𝑍) → (((𝑗𝑍𝐵)‘𝑗) ≤ 𝑦𝐵𝑦))
334, 32ralbida 3276 . . . . 5 (𝜑 → (∀𝑗𝑍 ((𝑗𝑍𝐵)‘𝑗) ≤ 𝑦 ↔ ∀𝑗𝑍 𝐵𝑦))
3433rexbidv 3189 . . . 4 (𝜑 → (∃𝑦 ∈ ℝ ∀𝑗𝑍 ((𝑗𝑍𝐵)‘𝑗) ≤ 𝑦 ↔ ∃𝑦 ∈ ℝ ∀𝑗𝑍 𝐵𝑦))
35 breq2 5113 . . . . . . 7 (𝑦 = 𝑥 → (𝐵𝑦𝐵𝑥))
3635ralbidv 3188 . . . . . 6 (𝑦 = 𝑥 → (∀𝑗𝑍 𝐵𝑦 ↔ ∀𝑗𝑍 𝐵𝑥))
3736cbvrexvw 3244 . . . . 5 (∃𝑦 ∈ ℝ ∀𝑗𝑍 𝐵𝑦 ↔ ∃𝑥 ∈ ℝ ∀𝑗𝑍 𝐵𝑥)
3837a1i 11 . . . 4 (𝜑 → (∃𝑦 ∈ ℝ ∀𝑗𝑍 𝐵𝑦 ↔ ∃𝑥 ∈ ℝ ∀𝑗𝑍 𝐵𝑥))
3934, 38bitrd 282 . . 3 (𝜑 → (∃𝑦 ∈ ℝ ∀𝑗𝑍 ((𝑗𝑍𝐵)‘𝑗) ≤ 𝑦 ↔ ∃𝑥 ∈ ℝ ∀𝑗𝑍 𝐵𝑥))
4031, 39anbi12d 643 . 2 (𝜑 → ((∃𝑦 ∈ ℝ ∀𝑖𝑍𝑗 ∈ (ℤ𝑖)𝑦 ≤ ((𝑗𝑍𝐵)‘𝑗) ∧ ∃𝑦 ∈ ℝ ∀𝑗𝑍 ((𝑗𝑍𝐵)‘𝑗) ≤ 𝑦) ↔ (∃𝑥 ∈ ℝ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵 ∧ ∃𝑥 ∈ ℝ ∀𝑗𝑍 𝐵𝑥)))
417, 40bitrd 282 1 (𝜑 → ((lim sup‘(𝑗𝑍𝐵)) ∈ ℝ ↔ (∃𝑥 ∈ ℝ ∀𝑘𝑍𝑗 ∈ (ℤ𝑘)𝑥𝐵 ∧ ∃𝑥 ∈ ℝ ∀𝑗𝑍 𝐵𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 400   = wceq 1570  wnf 1813  wcel 2143  wral 3079  wrex 3089   class class class wbr 5109  cmpt 5192  cfv 6536  cr 11103  cle 11248  cz 12595  cuz 12866  lim supclsp 15526
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-rep 5238  ax-sep 5257  ax-nul 5269  ax-pow 5336  ax-pr 5404  ax-un 7732  ax-cnex 11160  ax-resscn 11161  ax-1cn 11162  ax-icn 11163  ax-addcl 11164  ax-addrcl 11165  ax-mulcl 11166  ax-mulrcl 11167  ax-mulcom 11168  ax-addass 11169  ax-mulass 11170  ax-distr 11171  ax-i2m1 11172  ax-1ne0 11173  ax-1rid 11174  ax-rnegex 11175  ax-rrecex 11176  ax-cnre 11177  ax-pre-lttri 11178  ax-pre-lttrn 11179  ax-pre-ltadd 11180  ax-pre-mulgt0 11181  ax-pre-sup 11182
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-nf 1814  df-sb 2097  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3457  df-sbc 3745  df-csb 3854  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-pss 3925  df-nul 4287  df-if 4488  df-pw 4564  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4873  df-iun 4958  df-br 5110  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6302  df-ord 6363  df-on 6364  df-lim 6365  df-suc 6366  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-riota 7367  df-ov 7413  df-oprab 7414  df-mpo 7415  df-om 7859  df-1st 7982  df-2nd 7983  df-frecs 8274  df-wrecs 8305  df-recs 8354  df-rdg 8393  df-1o 8449  df-er 8690  df-en 8940  df-dom 8941  df-sdom 8942  df-fin 8943  df-sup 9398  df-inf 9399  df-pnf 11249  df-mnf 11250  df-xr 11251  df-ltxr 11252  df-le 11253  df-sub 11447  df-neg 11448  df-nn 12238  df-n0 12509  df-z 12596  df-uz 12867  df-ico 13382  df-fz 13540  df-fzo 13688  df-fl 13830  df-ceil 13831  df-limsup 15527
This theorem is used by:  liminfreuzlem  46544
  Copyright terms: Public domain W3C validator