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

Theorem limsupre2mpt 39962
Description: Given a function on the extended reals, its supremum limit is real if and only if two condition holds: 1. there is a real number that is smaller than the function, at some point, in any upper part of the reals; 2. there is a real number that is eventually larger than the function. (Contributed by Glauco Siliprandi, 23-Oct-2021.)
Hypotheses
Ref Expression
limsupre2mpt.p 𝑥𝜑
limsupre2mpt.a (𝜑𝐴 ⊆ ℝ)
limsupre2mpt.b ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
Assertion
Ref Expression
limsupre2mpt (𝜑 → ((lim sup‘(𝑥𝐴𝐵)) ∈ ℝ ↔ (∃𝑦 ∈ ℝ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵) ∧ ∃𝑦 ∈ ℝ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦))))
Distinct variable groups:   𝐴,𝑘,𝑥,𝑦   𝐵,𝑘,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑘)   𝐵(𝑥)

Proof of Theorem limsupre2mpt
Dummy variables 𝑗 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfmpt1 4747 . . 3 𝑥(𝑥𝐴𝐵)
2 limsupre2mpt.a . . 3 (𝜑𝐴 ⊆ ℝ)
3 limsupre2mpt.p . . . 4 𝑥𝜑
4 limsupre2mpt.b . . . 4 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
53, 4fmptd2f 39442 . . 3 (𝜑 → (𝑥𝐴𝐵):𝐴⟶ℝ*)
61, 2, 5limsupre2 39957 . 2 (𝜑 → ((lim sup‘(𝑥𝐴𝐵)) ∈ ℝ ↔ (∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < ((𝑥𝐴𝐵)‘𝑥)) ∧ ∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥 → ((𝑥𝐴𝐵)‘𝑥) < 𝑤))))
7 eqid 2622 . . . . . . . . . 10 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
87a1i 11 . . . . . . . . 9 (𝜑 → (𝑥𝐴𝐵) = (𝑥𝐴𝐵))
98, 4fvmpt2d 6293 . . . . . . . 8 ((𝜑𝑥𝐴) → ((𝑥𝐴𝐵)‘𝑥) = 𝐵)
109breq2d 4665 . . . . . . 7 ((𝜑𝑥𝐴) → (𝑤 < ((𝑥𝐴𝐵)‘𝑥) ↔ 𝑤 < 𝐵))
1110anbi2d 740 . . . . . 6 ((𝜑𝑥𝐴) → ((𝑗𝑥𝑤 < ((𝑥𝐴𝐵)‘𝑥)) ↔ (𝑗𝑥𝑤 < 𝐵)))
123, 11rexbida 3047 . . . . 5 (𝜑 → (∃𝑥𝐴 (𝑗𝑥𝑤 < ((𝑥𝐴𝐵)‘𝑥)) ↔ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵)))
1312ralbidv 2986 . . . 4 (𝜑 → (∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < ((𝑥𝐴𝐵)‘𝑥)) ↔ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵)))
1413rexbidv 3052 . . 3 (𝜑 → (∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < ((𝑥𝐴𝐵)‘𝑥)) ↔ ∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵)))
159breq1d 4663 . . . . . . 7 ((𝜑𝑥𝐴) → (((𝑥𝐴𝐵)‘𝑥) < 𝑤𝐵 < 𝑤))
1615imbi2d 330 . . . . . 6 ((𝜑𝑥𝐴) → ((𝑗𝑥 → ((𝑥𝐴𝐵)‘𝑥) < 𝑤) ↔ (𝑗𝑥𝐵 < 𝑤)))
173, 16ralbida 2982 . . . . 5 (𝜑 → (∀𝑥𝐴 (𝑗𝑥 → ((𝑥𝐴𝐵)‘𝑥) < 𝑤) ↔ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤)))
1817rexbidv 3052 . . . 4 (𝜑 → (∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥 → ((𝑥𝐴𝐵)‘𝑥) < 𝑤) ↔ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤)))
1918rexbidv 3052 . . 3 (𝜑 → (∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥 → ((𝑥𝐴𝐵)‘𝑥) < 𝑤) ↔ ∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤)))
2014, 19anbi12d 747 . 2 (𝜑 → ((∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < ((𝑥𝐴𝐵)‘𝑥)) ∧ ∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥 → ((𝑥𝐴𝐵)‘𝑥) < 𝑤)) ↔ (∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ∧ ∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤))))
21 breq1 4656 . . . . . . . . 9 (𝑤 = 𝑦 → (𝑤 < 𝐵𝑦 < 𝐵))
2221anbi2d 740 . . . . . . . 8 (𝑤 = 𝑦 → ((𝑗𝑥𝑤 < 𝐵) ↔ (𝑗𝑥𝑦 < 𝐵)))
2322rexbidv 3052 . . . . . . 7 (𝑤 = 𝑦 → (∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ↔ ∃𝑥𝐴 (𝑗𝑥𝑦 < 𝐵)))
2423ralbidv 2986 . . . . . 6 (𝑤 = 𝑦 → (∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ↔ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑦 < 𝐵)))
25 breq1 4656 . . . . . . . . . 10 (𝑗 = 𝑘 → (𝑗𝑥𝑘𝑥))
2625anbi1d 741 . . . . . . . . 9 (𝑗 = 𝑘 → ((𝑗𝑥𝑦 < 𝐵) ↔ (𝑘𝑥𝑦 < 𝐵)))
2726rexbidv 3052 . . . . . . . 8 (𝑗 = 𝑘 → (∃𝑥𝐴 (𝑗𝑥𝑦 < 𝐵) ↔ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵)))
2827cbvralv 3171 . . . . . . 7 (∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑦 < 𝐵) ↔ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵))
2928a1i 11 . . . . . 6 (𝑤 = 𝑦 → (∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑦 < 𝐵) ↔ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵)))
3024, 29bitrd 268 . . . . 5 (𝑤 = 𝑦 → (∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ↔ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵)))
3130cbvrexv 3172 . . . 4 (∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ↔ ∃𝑦 ∈ ℝ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵))
32 breq2 4657 . . . . . . . . 9 (𝑤 = 𝑦 → (𝐵 < 𝑤𝐵 < 𝑦))
3332imbi2d 330 . . . . . . . 8 (𝑤 = 𝑦 → ((𝑗𝑥𝐵 < 𝑤) ↔ (𝑗𝑥𝐵 < 𝑦)))
3433ralbidv 2986 . . . . . . 7 (𝑤 = 𝑦 → (∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤) ↔ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑦)))
3534rexbidv 3052 . . . . . 6 (𝑤 = 𝑦 → (∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤) ↔ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑦)))
3625imbi1d 331 . . . . . . . . 9 (𝑗 = 𝑘 → ((𝑗𝑥𝐵 < 𝑦) ↔ (𝑘𝑥𝐵 < 𝑦)))
3736ralbidv 2986 . . . . . . . 8 (𝑗 = 𝑘 → (∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑦) ↔ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦)))
3837cbvrexv 3172 . . . . . . 7 (∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑦) ↔ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦))
3938a1i 11 . . . . . 6 (𝑤 = 𝑦 → (∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑦) ↔ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦)))
4035, 39bitrd 268 . . . . 5 (𝑤 = 𝑦 → (∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤) ↔ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦)))
4140cbvrexv 3172 . . . 4 (∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤) ↔ ∃𝑦 ∈ ℝ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦))
4231, 41anbi12i 733 . . 3 ((∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ∧ ∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤)) ↔ (∃𝑦 ∈ ℝ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵) ∧ ∃𝑦 ∈ ℝ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦)))
4342a1i 11 . 2 (𝜑 → ((∃𝑤 ∈ ℝ ∀𝑗 ∈ ℝ ∃𝑥𝐴 (𝑗𝑥𝑤 < 𝐵) ∧ ∃𝑤 ∈ ℝ ∃𝑗 ∈ ℝ ∀𝑥𝐴 (𝑗𝑥𝐵 < 𝑤)) ↔ (∃𝑦 ∈ ℝ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵) ∧ ∃𝑦 ∈ ℝ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦))))
446, 20, 433bitrd 294 1 (𝜑 → ((lim sup‘(𝑥𝐴𝐵)) ∈ ℝ ↔ (∃𝑦 ∈ ℝ ∀𝑘 ∈ ℝ ∃𝑥𝐴 (𝑘𝑥𝑦 < 𝐵) ∧ ∃𝑦 ∈ ℝ ∃𝑘 ∈ ℝ ∀𝑥𝐴 (𝑘𝑥𝐵 < 𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wnf 1708  wcel 1990  wral 2912  wrex 2913  wss 3574   class class class wbr 4653  cmpt 4729  cfv 5888  cr 9935  *cxr 10073   < clt 10074  cle 10075  lim supclsp 14201
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949  ax-cnex 9992  ax-resscn 9993  ax-1cn 9994  ax-icn 9995  ax-addcl 9996  ax-addrcl 9997  ax-mulcl 9998  ax-mulrcl 9999  ax-mulcom 10000  ax-addass 10001  ax-mulass 10002  ax-distr 10003  ax-i2m1 10004  ax-1ne0 10005  ax-1rid 10006  ax-rnegex 10007  ax-rrecex 10008  ax-cnre 10009  ax-pre-lttri 10010  ax-pre-lttrn 10011  ax-pre-ltadd 10012  ax-pre-mulgt0 10013  ax-pre-sup 10014
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-po 5035  df-so 5036  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-er 7742  df-en 7956  df-dom 7957  df-sdom 7958  df-sup 8348  df-inf 8349  df-pnf 10076  df-mnf 10077  df-xr 10078  df-ltxr 10079  df-le 10080  df-sub 10268  df-neg 10269  df-ico 12181  df-limsup 14202
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator