Zulip Chat Archive

Stream: new members

Topic: Tendsto f atTop (nhds L)


Hbz (Aug 10 2025 at 14:34):

Is there a theorem in Lean4 regarding ∃ L : ℝ , Tendsto f atTop (nhds L) ↔ ∃ L, ∀ ε > 0, ∃ N, ∀ x > N, |f x - L| < ε, or a similar theorem? Or do I have to prove it manually?

Kenny Lau (Aug 10 2025 at 14:41):

@Hbz @loogle Filter.Tendsto _ Filter.atTop (nhds _) ↔ _

loogle (Aug 10 2025 at 14:41):

:search: tendsto_atTop_nhds, tendsto_const_mul_pow_nhds_iff, and 23 more

Kenny Lau (Aug 10 2025 at 14:42):

@loogle Filter.Tendsto _ Filter.atTop (nhds _) ↔ _, Norm.norm

loogle (Aug 10 2025 at 14:42):

:search: NormedAddCommGroup.tendsto_atTop, NormedAddCommGroup.tendsto_atTop', and 1 more

Matt Diamond (Aug 10 2025 at 18:56):

docs#Metric.tendsto_atTop / docs#Metric.tendsto_atTop' is close

Matt Diamond (Aug 10 2025 at 19:00):

actually I think that's exactly it

Jireh Loreaux (Aug 10 2025 at 23:55):

But to be honest, the right answer here is just to use filter bases and docs#Filter.HasBasis.tendsto_iff as the proof of the result Matt linked to does. That allows you to easily get lots of minor variations on the precise statement (e.g. if you wanted \le \eps instead at the end).

Wuyang (Aug 11 2025 at 15:59):

Looks like Metric.tendsto_atTop or its variants should match your need, and Filter.HasBasis.tendsto_iff gives flexibility for tweaks.

You can also try LeanFinder (www.leanfinder.org) to explore related limit theorems quickly.

Wuyang (Aug 11 2025 at 15:59):

@leanfinder limit theorem equivalence tendsto atTop nhds L epsilon N characterization in Lean4

leanfinder (Aug 11 2025 at 16:00):

Here’s what I found:

  1. The function ff tends to the neighborhood filter N(x)\mathcal{N}(x) along the filter atTop (i.e., limif(i)=x\lim_{i \to \infty} f(i) = x in the order topology).
  2. For every open neighborhood UU of xx in XX, there exists an index NαN \in \alpha such that for all nNn \geq N, we have f(n)Uf(n) \in U." (score: 0.726)
  1. The function ff tends to the neighborhood filter N(x)\mathcal{N}(x) along the filter atTop (i.e., limif(i)=x\lim_{i \to \infty} f(i) = x in the order topology).
  2. For every open neighborhood UU of xx in XX, there exists an index NαN \in \alpha such that for all nNn \geq N, we have f(n)Uf(n) \in U." (score: 0.726)

Last updated: Dec 20 2025 at 21:32 UTC