Zulip Chat Archive

Stream: mathlib4

Topic: TotalPositiveCone


Yury G. Kudryashov (Feb 23 2024 at 03:53):

Do we need docs#AddCommGroup.PositiveCone, docs#AddCommGroup.TotalPositiveCone etc?

Yury G. Kudryashov (Feb 23 2024 at 03:57):

Added by @Mario Carneiro as a typeclass in 2017, converted to a structure by @Scott Morrison in 2021

Yury G. Kudryashov (Feb 23 2024 at 04:05):

#10868

Mario Carneiro (Feb 23 2024 at 04:10):

I did? I'm pretty sure this was originally just a smart constructor, and someone wanted it to be a structure to make the constructor easier to use

Mario Carneiro (Feb 23 2024 at 04:11):

I feel like the promotion to a structure has given this more legitimacy than it deserves

Mario Carneiro (Feb 23 2024 at 04:12):

it was only ever meant as a way to construct a partially or totally ordered group using a unary "is positive" predicate

Yury G. Kudryashov (Feb 23 2024 at 04:41):

https://github.com/leanprover-community/mathlib/commit/a1c3e2defc89c1bc792cb34caf9947dd77aabd3f

Yury G. Kudryashov (Feb 23 2024 at 05:43):

#10868 keeps failing on "get cache". Any ideas why?

Mario Carneiro (Feb 23 2024 at 05:43):

could be an import cycle?

Mario Carneiro (Feb 23 2024 at 05:44):

indeed Mathlib.Algebra.Order.Ring.Cone imports itself

Yury G. Kudryashov (Feb 23 2024 at 05:44):

:face_palm:


Last updated: May 02 2025 at 03:31 UTC