Skip to content

Commit 61def9c

Browse files
author
Joris van Winden
committed
implement suggestion
1 parent 0328b84 commit 61def9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mathlib/Topology/Instances/EReal/Lemmas.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ lemma liminf_add_top_of_ne_bot (h : liminf u f = ⊤) (h' : liminf v f ≠ ⊥)
302302

303303
theorem limsup_const_mul_of_nonneg_of_ne_top [NeBot f] {c : EReal} (h₁ : 0 ≤ c) (h₂ : c ≠ ⊤) :
304304
limsup (fun x => c * u x) f = c * limsup u f := by
305-
by_cases! h₃ : c ≤ 0
306-
· simp_rw [eq_of_ge_of_le h₁ h₃, zero_mul]; aesop
305+
obtain rfl | h₃ := h₁.eq_or_lt
306+
· simp
307307
simp_rw [EReal.mul_comm (x := c)]
308308
apply eq_of_le_of_ge
309309
· rw [limsup_le_iff]

0 commit comments

Comments
 (0)