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 segments to vector spaces #9094

Closed
wants to merge 5 commits into from

Conversation

YaelDillies
Copy link
Collaborator

segment and open_segment 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.


Open in Gitpod

@YaelDillies YaelDillies added the awaiting-review The author would like community review of the PR label Sep 8, 2021
@YaelDillies YaelDillies linked an issue Sep 8, 2021 that may be closed by this pull request
16 tasks
@YaelDillies YaelDillies removed a link to an issue Sep 9, 2021
16 tasks
@semorrison semorrison added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Sep 9, 2021
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Sep 9, 2021
src/analysis/convex/basic.lean Outdated Show resolved Hide resolved
src/analysis/convex/basic.lean Outdated Show resolved Hide resolved
@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 10, 2021
bors bot pushed a commit that referenced this pull request Sep 10, 2021
…#9094)

`segment` and `open_segment` 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 10, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Sep 10, 2021
…#9094)

`segment` and `open_segment` 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 10, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(analysis/convex/basic): generalize segments to vector spaces [Merged by Bors] - refactor(analysis/convex/basic): generalize segments to vector spaces Sep 10, 2021
@bors bors bot closed this Sep 10, 2021
@bors bors bot deleted the kill_real branch September 10, 2021 20:31
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

4 participants