-
Notifications
You must be signed in to change notification settings - Fork 840
[Merged by Bors] - refactor(Analysis/LocallyConvex/AbsConvex): Redefine AbsConvex to use a single ring of scalars #29342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - refactor(Analysis/LocallyConvex/AbsConvex): Redefine AbsConvex to use a single ring of scalars #29342
Conversation
PR summary 724a6cb9d7Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! π You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit> The doc-module for No changes to technical debt.You can run this locally as
|
This PR/issue depends on:
|
open ComplexOrder | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd venture that this is the most controversial part of this PR. I think this PR is a good change, but in the past many people have been resistant to letting β
(and hence also RCLike π
) have a PartialOrder
instance.
open ComplexOrder | |
open scoped ComplexOrder | |
I think this PR likely warrants a Zulip discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
bors merge |
β¦ a single ring of scalars (#29342) Currently the definition of Absolutely Convex in Mathlib is a little unexpected: ``` def AbsConvex (s : Set E) : Prop := Balanced π s β§ Convex β s ``` At the time this definition was formulated, Mathlib's definition of `Convex` required the scalars to be an `OrderedSemiring` whereas the definition of `Balanced` required the scalars to be a `SeminormedRing`. Mathlib didn't have a concept of a semi-normed ordered ring, so a set was defined as `AbsConvex` if it is balanced over a `SeminormedRing` `π` and convex over `β`. Recently the requirements for the definition of `Convex` have been relaxed (#24392, #20595) so it is now possible to use a single scalar ring in common with the literature. Previous discussion: - #17029 (comment) - #26345 (comment)
Pull request successfully merged into master. Build succeeded: |
Currently the definition of Absolutely Convex in Mathlib is a little unexpected:
At the time this definition was formulated, Mathlib's definition of
Convex
required the scalars to be anOrderedSemiring
whereas the definition ofBalanced
required the scalars to be aSeminormedRing
. Mathlib didn't have a concept of a semi-normed ordered ring, so a set was defined asAbsConvex
if it is balanced over aSeminormedRing
π
and convex overβ
.Recently the requirements for the definition of
Convex
have been relaxed (#24392, #20595) so it is now possible to use a single scalar ring in common with the literature.Previous discussion: