Zulip Chat Archive

Stream: mathlib4

Topic: !4#4710 IntervalIntegral


Johan Commelin (Jun 06 2023 at 18:30):

The simp linter is quite upset about this PR. I don't know if we took a wrong turn somewhere...

Yury G. Kudryashov (Jun 06 2023 at 20:15):

This PR has a bunch of lemmas about integrals of, e.g., f (x + c). I understand that in nontrivial situations it may be hard for Lean to match a lemma like this. Should we drop these @[simp] attributes (for now)?

Jireh Loreaux (Jun 06 2023 at 20:35):

@Yury G. Kudryashov can you link to a discussion or explanation of why Lean will find these lemmas hard to match? Is it because we now use discrimination tree indexing or something?

Yury G. Kudryashov (Jun 06 2023 at 20:36):

I think, it's generally hard to match if x appears several times.

Yury G. Kudryashov (Jun 06 2023 at 20:36):

E.g., (x + 3) ^ 2 + sin (x + 3) but bigger.

Yury G. Kudryashov (Jun 06 2023 at 20:36):

But this is a guess.

Johan Commelin (Jun 07 2023 at 00:33):

@Yury G. Kudryashov Let's just drop @[simp] for now. But we might want to have an extra porting note at the top of the file or something...

Yury G. Kudryashov (Jun 07 2023 at 03:14):

Done. Waiting for CI


Last updated: Dec 20 2023 at 11:08 UTC