We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0328b84 commit 61def9cCopy full SHA for 61def9c
1 file changed
Mathlib/Topology/Instances/EReal/Lemmas.lean
@@ -302,8 +302,8 @@ lemma liminf_add_top_of_ne_bot (h : liminf u f = ⊤) (h' : liminf v f ≠ ⊥)
302
303
theorem limsup_const_mul_of_nonneg_of_ne_top [NeBot f] {c : EReal} (h₁ : 0 ≤ c) (h₂ : c ≠ ⊤) :
304
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
+ obtain rfl | h₃ := h₁.eq_or_lt
+ · simp
307
simp_rw [EReal.mul_comm (x := c)]
308
apply eq_of_le_of_ge
309
· rw [limsup_le_iff]
0 commit comments