Skip to content
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/convex/basic): generalize convexity to vector spaces #9058

Closed
wants to merge 27 commits into from

Conversation

YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented Sep 7, 2021

convex and convex_hull are currently only defined in real vector spaces. This generalizes ℝ to arbitrary ordered_semirings in definitions and abstracts it away to the correct generality in lemmas. It also generalizes the space from add_comm_group to add_comm_monoid where possible.


Next step is to generalize convexity to affine spaces as requested in #2910.

Open in Gitpod

@YaelDillies YaelDillies added the WIP Work in progress label Sep 7, 2021
@YaelDillies YaelDillies linked an issue Sep 7, 2021 that may be closed by this pull request
16 tasks
@github-actions github-actions bot added the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Sep 8, 2021
@github-actions github-actions bot removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Sep 8, 2021
@YaelDillies YaelDillies removed a link to an issue Sep 9, 2021
16 tasks
@github-actions github-actions bot added the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Sep 10, 2021
@github-actions github-actions bot added merge-conflict Please `git merge origin/master` then a bot will remove this label. and removed merge-conflict Please `git merge origin/master` then a bot will remove this label. labels Sep 10, 2021
@github-actions github-actions bot removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Sep 11, 2021
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed WIP Work in progress labels Sep 13, 2021
@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Sep 16, 2021
bors bot pushed a commit that referenced this pull request Sep 16, 2021
#9058)

`convex` and `convex_hull` are currently only defined in real vector spaces. This generalizes ℝ to arbitrary ordered_semirings in definitions and abstracts it away to the correct generality in lemmas. It also generalizes the space from `add_comm_group` to `add_comm_monoid` where possible.
@bors
Copy link

bors bot commented Sep 16, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(analysis/convex/basic): generalize convexity to vector spaces [Merged by Bors] - refactor(analysis/convex/basic): generalize convexity to vector spaces Sep 16, 2021
@bors bors bot closed this Sep 16, 2021
@bors bors bot deleted the convex_real_no_more branch September 16, 2021 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants