Skip to content

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

Closed
YaelDillies wants to merge 6 commits intomasterfrom
ordered_localization
Closed

[Merged by Bors] - feat: Order on the localization#3567
YaelDillies wants to merge 6 commits intomasterfrom
ordered_localization

Conversation

@YaelDillies
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies commented Apr 21, 2023

@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.

Copy link
Copy Markdown
Member

@eric-wieser eric-wieser Apr 23, 2023

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 A reviewer has asked the author a question or requested changes. and removed awaiting-review labels Apr 24, 2023
@YaelDillies YaelDillies added awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes. 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 bot pushed a commit that referenced this pull request Apr 24, 2023
@bors
Copy link
Copy Markdown

bors bot commented Apr 24, 2023

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
kim-em pushed a commit that referenced this pull request May 10, 2023
hrmacbeth pushed a commit that referenced this pull request May 10, 2023
hrmacbeth pushed a commit that referenced this pull request May 11, 2023
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