Zulip Chat Archive

Stream: mathlib4

Topic: positivity


Heather Macbeth (Jan 07 2023 at 16:50):

@David Renshaw Thank you for the positivity extensions you are churning out!!

If you would like a suggestion for one to do next: there is a broken positivity call in #1304 (worked around for now)
https://github.com/leanprover-community/mathlib4/blob/1bf3ce67445f01212cf926aa4cca7b1a6e8166fd/Mathlib/Algebra/Order/Floor.lean#L1045
where apparently the problem is the lack of the docs#positivity_coe extension.

Yury G. Kudryashov (Feb 13 2023 at 06:33):

Is there any documentation about writing positivity extensions in mathlib4?

Jeremy Tan (Jun 25 2023 at 05:04):

Yes. How can I get the first positivity extension in !4#4409 to work?

Jeremy Tan (Jun 25 2023 at 05:05):

The second one has been made to work, but the first requires extracting a hypothesis of the right type from context for which there is absolutely no documentation or precedent to work from

Jeremy Tan (Jun 25 2023 at 11:44):

I've included the original mathlib3 code there. Anyone?

Kyle Miller (Jun 25 2023 at 18:20):

@Jeremy Tan I wrote a new little tactic macro to drive positivity for this file. It seems like having it be a positivity extension isn't a good match for mathlib4's positivity anymore.


Last updated: Dec 20 2023 at 11:08 UTC