Skip to content

Commit 49130b3

Browse files
author
Joris van Winden
committed
add additional lemmas for liminf and negative c
1 parent 9d9318c commit 49130b3

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Mathlib/Topology/Instances/EReal/Lemmas.lean

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,21 @@ theorem limsup_const_mul_of_nonneg_of_ne_top [NeBot f] {c : EReal} (h₁ : 0 ≤
318318
simpa [← EReal.div_lt_iff (by aesop) (by aesop)]
319319
using fun _ ↦ frequently_lt_of_lt_limsup
320320

321+
theorem limsup_const_mul_of_nonpos_of_ne_bot [NeBot f] {c : EReal} (h₁ : c ≤ 0) (h₂ : c ≠ ⊥) :
322+
limsup (fun x => c * u x) f = c * liminf u f := by
323+
simpa [limsup_neg] using
324+
limsup_const_mul_of_nonneg_of_ne_top (u := -u) (c := -c) (by aesop) (by aesop)
325+
326+
theorem liminf_const_mul_of_nonneg_of_ne_top [NeBot f] {c : EReal} (h₁ : 0 ≤ c) (h₂ : c ≠ ⊤) :
327+
liminf (fun x => c * u x) f = c * liminf u f := by
328+
simpa [mul_neg, ← Pi.neg_def, limsup_neg] using
329+
limsup_const_mul_of_nonneg_of_ne_top (u := -u) (by aesop) (by aesop)
330+
331+
theorem liminf_const_mul_of_nonpos_of_ne_bot [NeBot f] {c : EReal} (h₁ : c ≤ 0) (h₂ : c ≠ ⊥) :
332+
liminf (fun x => c * u x) f = c * limsup u f := by
333+
simpa [neg_mul, ← Pi.neg_def, limsup_neg] using
334+
limsup_const_mul_of_nonneg_of_ne_top (c := -c) (by aesop) (by aesop)
335+
321336
set_option backward.isDefEq.respectTransparency false in
322337
lemma le_limsup_mul (hu : ∃ᶠ x in f, 0 ≤ u x) (hv : 0 ≤ᶠ[f] v) :
323338
limsup u f * liminf v f ≤ limsup (u * v) f := by

0 commit comments

Comments
 (0)