Zulip Chat Archive

Stream: Is there code for X?

Topic: continuous.sum


Johan Commelin (Apr 30 2021 at 20:51):

continuous.add shows that the sum of two continuous maps is ctu. I can't find the analogue for a family of ctu maps in mathlib? Is this missing, or am I blind?

Hanting Zhang (Apr 30 2021 at 20:55):

Hmm, it's weirdly named, but does this work? docs#continuous_finset_sum

Johan Commelin (Apr 30 2021 at 21:00):

Thanks, that looks good!

Patrick Massot (Apr 30 2021 at 21:01):

Why do you say this is weird name?

Johan Commelin (Apr 30 2021 at 21:06):

I understand that you can't use dot notation in this case.

Johan Commelin (Apr 30 2021 at 21:06):

But there's a bit of a pattern between continuous_add and continuous.add.

Johan Commelin (Apr 30 2021 at 21:07):

So continuous_(finset_)sum would be continuity of the summation map A ^ n -> A. And continuous.(finset_)sum would be for sums of maps.

Hanting Zhang (Apr 30 2021 at 21:15):

Patrick Massot said:

Why do you say this is weird name?

In my experience the convention is X_add generalizes to X_sum, where the sum is implied to be over a finset.

Hanting Zhang (Apr 30 2021 at 21:28):

I think it would make sense to me if there was another continuous_sum about something more frequently used than finset sums, but there isn't. :thinking:


Last updated: Dec 20 2023 at 11:08 UTC