Skip to content

Commit 5908048

Browse files
committed
chore(Topology/Order): fix name of nhdsLT lemma (#34063)
The dual version of this was renamed over a year and a half ago, and it looks like this one was missed. In particular, all lemmas in mathlib about `𝓝[<]` are named `nhdsLT` with this one as the sole exception, and we choose the new name to match the dual `nhdsGT_neBot_of_exists_gt`. Note that the statement itself appears different, but is definitionally equal to the old one, and again matches the dual.
1 parent 044bc75 commit 5908048

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

β€ŽMathlib/Topology/Instances/ENNReal/Lemmas.leanβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ theorem nhdsGT_ofNat_neBot (n : β„•) [n.AtLeastTwo] : (𝓝[>] (OfNat.ofNat n :
188188

189189
@[instance]
190190
theorem nhdsLT_neBot [NeZero x] : (𝓝[<] x).NeBot :=
191-
nhdsWithin_Iio_self_neBot' ⟨0, NeZero.pos x⟩
191+
nhdsLT_neBot_of_exists_lt ⟨0, NeZero.pos x⟩
192192

193193
/-- Closed intervals `Set.Icc (x - Ξ΅) (x + Ξ΅)`, `Ξ΅ β‰  0`, form a basis of neighborhoods of an
194194
extended nonnegative real number `x β‰  ∞`. We use `Set.Icc` instead of `Set.Ioo` because this way the

β€ŽMathlib/Topology/Order/DenselyOrdered.leanβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,11 @@ theorem nhdsWithin_Iio_neBot' {b c : Ξ±} (H₁ : (Iio c).Nonempty) (Hβ‚‚ : b ≀
198198
theorem nhdsWithin_Iio_neBot [NoMinOrder Ξ±] {a b : Ξ±} (H : a ≀ b) : NeBot (𝓝[Iio b] a) :=
199199
nhdsWithin_Iio_neBot' nonempty_Iio H
200200

201-
theorem nhdsWithin_Iio_self_neBot' {b : Ξ±} (H : (Iio b).Nonempty) : NeBot (𝓝[<] b) :=
201+
theorem nhdsLT_neBot_of_exists_lt {b : Ξ±} (H : βˆƒ a, a < b) : NeBot (𝓝[<] b) :=
202202
nhdsWithin_Iio_neBot' H (le_refl b)
203203

204+
@[deprecated (since := "2026-01-16")] alias nhdsWithin_Iio_self_neBot' := nhdsLT_neBot_of_exists_lt
205+
204206
instance nhdsLT_neBot [NoMinOrder Ξ±] (a : Ξ±) : NeBot (𝓝[<] a) := nhdsWithin_Iio_neBot (le_refl a)
205207

206208
theorem right_nhdsWithin_Ico_neBot {a b : Ξ±} (H : a < b) : NeBot (𝓝[Ico a b] b) :=

0 commit comments

Comments
Β (0)