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] - feat: port Algebra.Category.Group.Injective #3908

Closed
wants to merge 10 commits into from

Conversation

mattrobball
Copy link
Collaborator

@mattrobball mattrobball commented May 11, 2023

Mathbin -> Mathlib
fix certain import statements
move "by" to end of line
add import to Mathlib.lean
commit 3ff5641
Author: Matthew Ballard <matt@mrb.email>
Date:   Wed May 10 10:39:49 2023 -0400

    misc

commit a148357
Author: Matthew Ballard <matt@mrb.email>
Date:   Wed May 10 10:31:51 2023 -0400

    capitalize import file

commit 6aab7dd
Author: Matthew Ballard <matt@mrb.email>
Date:   Wed May 10 10:29:52 2023 -0400

    lint

commit 9d3e55d
Author: Matthew Ballard <matt@mrb.email>
Date:   Wed May 10 10:27:38 2023 -0400

    fix last errors, rename

commit 5aa6268
Author: Matthew Ballard <matt@mrb.email>
Date:   Tue May 9 17:06:18 2023 -0400

    fix more

commit df92a44
Author: Matthew Ballard <matt@mrb.email>
Date:   Tue May 9 14:33:09 2023 -0400

    automated fixes

    Mathbin -> Mathlib
    fix certain import statements
    move "by" to end of line
    add import to Mathlib.lean

commit 88161ad
Author: Matthew Ballard <matt@mrb.email>
Date:   Tue May 9 14:33:09 2023 -0400

    Initial file copy from mathport

commit c7d31f2
Author: Matthew Ballard <matt@mrb.email>
Date:   Tue May 9 14:33:09 2023 -0400

    feat: port Algebra.Module.Injective
@mattrobball mattrobball added the mathlib-port This is a port of a theory file from mathlib. label May 11, 2023
@semorrison semorrison added the blocked-by-math-PR This PR depends on another PR to Mathlib label May 11, 2023
@semorrison semorrison removed the blocked-by-math-PR This PR depends on another PR to Mathlib label May 11, 2023
@semorrison
Copy link
Contributor

This PR/issue depends on:

@mattrobball mattrobball added the awaiting-review The author would like community review of the PR label May 11, 2023
ext
convert FunLike.congr_fun (injective.comp_factor_thru G F) x }
convert map_zero (M := Y) (N := A) (F := Y →+ A) _
-- Porting note: hell of non-defeq instances; somehow this worked
Copy link
Member

Choose a reason for hiding this comment

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

Will this improve after Scott's refactor of concrete categories?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Alas, no. The problem is that M : ModuleCat \Z has the two fields isCommAddGroup and isModule so we immediately get a non-defeq diamond with isCommAddGroup.intModule and isModule. The ML3 version is clearly doing some work to dance around this. Things don't translate directly to ML4.

But it does look like #3900 let me drop a re-declaration of an instance.

Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@semorrison semorrison added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels May 13, 2023
bors bot pushed a commit that referenced this pull request May 13, 2023
@bors
Copy link

bors bot commented May 13, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat: port Algebra.Category.Group.Injective [Merged by Bors] - feat: port Algebra.Category.Group.Injective May 13, 2023
@bors bors bot closed this May 13, 2023
@bors bors bot deleted the port/Algebra.Category.Group.Injective branch May 13, 2023 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants