Skip to content

[Merged by Bors] - feat: Order on the localization - #3567

Closed
YaelDillies wants to merge 6 commits into
masterfrom
ordered_localization
Closed

YaelDillies wants to merge 6 commits into
masterfrom
ordered_localization

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Apr 21, 2023 •

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies added WIP Work in progress mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged labels Apr 21, 2023
@YaelDillies YaelDillies added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed WIP Work in progress labels Apr 22, 2023

@[to_additive]
theorem mk_left_injective (b : s) : Injective fun a => mk a b := fun c d h => by
have : Nonempty s := ⟨b⟩ -- porting note: Needed to add this `have`

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.

Do you know why? Did we misport a lemma and add this hypothesis unecessarily?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, I cannot find the lemma that uses it. It might be a matter of instance unification, again.

@eric-wieser eric-wieser Apr 23, 2023 •

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.

I think we're missing the fact that submonoids are inhabited (with 1) Nope, that's not it: lean3 can't find that either.

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.

In Lean3 this finds has_one.nonempty

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No fix in sight, then?

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.

I think TC search just times out before it finds it

@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Apr 23, 2023
@kim-em kim-em added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Apr 24, 2023
@YaelDillies YaelDillies added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Apr 24, 2023
@eric-wieser

Copy link
Copy Markdown
Member

bors merge

Thanks!

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Apr 24, 2023
@bors

bors Bot commented Apr 24, 2023

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: Order on the localization [Merged by Bors] - feat: Order on the localization Apr 24, 2023
@bors bors Bot closed this Apr 24, 2023
@bors
bors Bot deleted the ordered_localization branch April 24, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants