Zulip Chat Archive

Stream: Is there code for X?

Topic: Group an infinite sum into finite sums


Yaël Dillies (Feb 20 2024 at 07:25):

Is there a way to split an infinite sum into an infinite sum of finite sums (where the domains of the sum form a partition of the original space?

Yaël Dillies (Feb 20 2024 at 07:25):

Context is I'm trying to generalise

lemma summable_lemma (f : (Fin 2  )  ) (h :  y : (Fin 2  ), 0  f y)
    (ι :   Finset ( × )) (HI :  y :  × , ∃! i : , y  ι i) :
      Summable f  Summable fun n :  =>  x in ι n, f ![x.1, x.2]

from #10377

Eric Wieser (Feb 20 2024 at 07:32):

You can there there via an equivalence between the original index type and Prod I think?

Eric Wieser (Feb 20 2024 at 07:33):

That is, first group into infinite sums, then show that the infinite sums are finite

Yaël Dillies (Feb 20 2024 at 08:38):

It can't be that easy because (1 - 1) + (1 - 1) + ... is summable while 1 - 1 + 1 - 1 + ... is not

Yaël Dillies (Feb 20 2024 at 08:39):

cc @Chris Birkbeck

Yaël Dillies (Feb 20 2024 at 08:43):

Ahah! docs#summable_sigma_of_nonneg

Chris Birkbeck (Feb 20 2024 at 08:45):

yes I was about to say that. I used it in the PR

Chris Birkbeck (Feb 20 2024 at 08:48):

This is the reason I had this sigmaEquiv since I needed to turn the domain into a sigma to use this result. Although I didn't think if there was a more direct way to do this.


Last updated: May 02 2025 at 03:31 UTC