Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

[Merged by Bors] - chore(*): remove instance arguments that are inferrable from earlier - #13386

Closed
alexjbest wants to merge 4 commits into
masterfrom
inferrable-arguments
Closed

alexjbest wants to merge 4 commits into
masterfrom
inferrable-arguments

Conversation

@alexjbest

@alexjbest alexjbest commented Apr 12, 2022 •

Copy link
Copy Markdown
Member

Some lemmas have typeclass arguments that are in fact inferrable from the earlier ones, at least when everything is Prop valued this is unecessary so we clean up a few cases as they likely stem from typos or library changes.


Open in Gitpod

@alexjbest alexjbest added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Apr 12, 2022

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's very useful. Thanks! Once this is merged, I will try to weaken assumptions in convexity files.

Comment thread src/algebra/invertible.lean Resolved
@github-actions github-actions Bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Apr 12, 2022

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

bors Bot pushed a commit that referenced this pull request Apr 12, 2022
…13386)

Some lemmas have typeclass arguments that are in fact inferrable from the earlier ones, at least when everything is Prop valued this is unecessary so we clean up a few cases as they likely stem from typos or library changes. 

- `src/field_theory/finiteness.lean` it wasn't known at the time (#7644) that a division ring was noetherian, but now it is (#7661)
- `src/category_theory/simple.lean` any abelian category has all cokernels so no need to assume it seperately
- `src/analysis/convex/extreme.lean` assumed `linear_ordered_field` and `no_smul_zero_divisors` which is unnecessary, we take this as a sign that this and a couple of other convexity results should be generalized to densely ordered linear ordered rings (of which there are examples that are not fields) cc @YaelDillies
@bors

bors Bot commented Apr 12, 2022

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title chore(*): remove instance arguments that are inferrable from earlier [Merged by Bors] - chore(*): remove instance arguments that are inferrable from earlier Apr 12, 2022
@bors bors Bot closed this Apr 12, 2022
@bors
bors Bot deleted the inferrable-arguments branch April 12, 2022 19:51
@YaelDillies YaelDillies removed the awaiting-review The author would like community review of the PR label Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants