Zulip Chat Archive
Stream: Is there code for X?
Topic: Finset.sum_add_adjacent_intervals
Alex Kontorovich (Mar 28 2024 at 17:22):
Do we not have something like this (mimicking intervalIntegral.integral_add_adjacent_intervals
)?
import Mathlib
open BigOperators
lemma Finset.sum_add_adjacent_intervals {a b c : ℤ} (f : ℤ → ℝ) (h : a ≤ b) (h' : b ≤ c) :
(∑ n in Finset.Ioc a b, f n) + (∑ n in Finset.Ioc b c, f n) = ∑ n in Finset.Ioc a c, f n := by
sorry
Thanks!
Notification Bot (Mar 28 2024 at 17:22):
Alex Kontorovich has marked this topic as resolved.
Notification Bot (Mar 28 2024 at 17:22):
Alex Kontorovich has marked this topic as unresolved.
Notification Bot (Mar 28 2024 at 17:22):
Alex Kontorovich has marked this topic as resolved.
Notification Bot (Mar 28 2024 at 17:22):
Alex Kontorovich has marked this topic as unresolved.
Notification Bot (Mar 28 2024 at 17:22):
Alex Kontorovich has marked this topic as resolved.
Notification Bot (Mar 28 2024 at 17:23):
Alex Kontorovich has marked this topic as unresolved.
Yaël Dillies (Mar 28 2024 at 17:24):
It's part of an API I've been working on, but it's ot on mathlib
Alex Kontorovich (Mar 28 2024 at 17:25):
Ok thanks! Did I guess the name right? (Tried editing the title, and the "edit" button kept sliding away, putting my cursor on the "resolved" button! Haha...)
Yaël Dillies (Mar 28 2024 at 17:27):
Finset.sum_Ioc_add_sum_Ioc
it would be, rather!
Last updated: May 02 2025 at 03:31 UTC