Zulip Chat Archive

Stream: mathlib4

Topic: infinite series


Quinn (Oct 04 2024 at 13:45):

i'm having a lot of trouble doing a simple \Sigma_{t \in \nat}. lsp looks up sigma type / existential quantifier when I ask it to explain the \Sigma symbol, and i've been reading mathlib docs for almost an hour searching

Quinn (Oct 04 2024 at 14:05):

specifically, I have a proposition on two series u and w, u conv or w div

Quinn (Oct 04 2024 at 14:57):

why can't i find the function in mathlib that takes functions nat -> R and sends them to ENNReal (simulating taking the sum)? i guess it's not necessarily computable in general (more of a computer algebra problem, anyway) but i feel like i shoudl be able to write it down noncomputationally

Yaël Dillies (Oct 04 2024 at 14:58):

docs#tsum sounds like what you want

Quinn (Oct 04 2024 at 15:26):

ah yeah ! that got me much closer.

i'm still not there, because i need to be able to reason about being less than T : ENNReal (top/infintiy) vs being equal to that

Jireh Loreaux (Oct 04 2024 at 15:47):

docs#Summable f where f : ℕ → ℝ.

Jireh Loreaux (Oct 04 2024 at 15:49):

If you want ℝ≥0∞-valued things, then maybe you want ∑' n : ℕ, (‖f n‖₊ : ℝ≥0∞). This will be the sum of the absolute value sequence, as an ℝ≥0∞. Whether this value is or not corresponds to whether or not f is Summable.

Jireh Loreaux (Oct 04 2024 at 15:53):

the file Mathlib.Analysis.Normed.Group.InfiniteSum has some results of this nature.

Jireh Loreaux (Oct 04 2024 at 16:02):

There's also docs#ENNReal.tsum_coe_ne_top_iff_summable

Jireh Loreaux (Oct 04 2024 at 16:02):

@loogle Summable (fun x : ?i ↦ ‖?f x‖₊)

loogle (Oct 04 2024 at 16:02):

:shrug: nothing found

Jireh Loreaux (Oct 04 2024 at 16:03):

@Joachim Breitner do you know why this doesn't return docs#Summable.of_nnnorm ?

Joachim Breitner (Oct 07 2024 at 09:32):

Without deep investigation, if I’d have to guess, probably https://github.com/nomeata/loogle/issues/18


Last updated: May 02 2025 at 03:31 UTC