Skip to content

[Merged by Bors] - feat(Algebra/Module/LinearMap): add AddMonoidHom.coe_toNatLinearMap - #27085

Closed
staroperator wants to merge 2 commits into
leanprover-community:masterfrom
staroperator:simps_toNatLinearMap
Closed

staroperator wants to merge 2 commits into
leanprover-community:masterfrom
staroperator:simps_toNatLinearMap

Conversation

@staroperator

@staroperator staroperator commented Jul 13, 2025 •

Copy link
Copy Markdown
Collaborator

which is similar to AddMonoidHom.coe_toIntLinearMap.


Open in Gitpod

@github-actions github-actions Bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Jul 13, 2025
@staroperator staroperator added easy < 20s of review time. See the lifecycle page for guidelines. and removed new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! labels Jul 13, 2025
@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Jul 13, 2025
@github-actions

github-actions Bot commented Jul 13, 2025 •

Copy link
Copy Markdown

PR summary 96f881c550

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ AddMonoidHom.coe_toNatLinearMap

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

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

We already have AddMonoidHom.coe_toIntLinearMap below, perhaps writing a manual AddMonoidHom.coe_toNatLinearMap would be better.

@staroperator staroperator changed the title feat(Algebra/Module/LinearMap): add @[simps] for AddMonoidHom feat(Algebra/Module/LinearMap): add AddMonoidHom.coe_toNatLinearMap Jul 13, 2025
@staroperator

Copy link
Copy Markdown
Collaborator Author

We already have AddMonoidHom.coe_toIntLinearMap below, perhaps writing a manual AddMonoidHom.coe_toNatLinearMap would be better.

Thanks, I didn't notice that! Updated now.

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

bors merge

Thanks!

mathlib-bors Bot pushed a commit that referenced this pull request Jul 14, 2025
…#27085)

which is similar to `AddMonoidHom.coe_toIntLinearMap`.
@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jul 14, 2025
@mathlib-bors

mathlib-bors Bot commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

  • CI Success

@mathlib-bors mathlib-bors Bot changed the title feat(Algebra/Module/LinearMap): add AddMonoidHom.coe_toNatLinearMap [Merged by Bors] - feat(Algebra/Module/LinearMap): add AddMonoidHom.coe_toNatLinearMap Jul 14, 2025
@mathlib-bors mathlib-bors Bot closed this Jul 14, 2025
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Jul 16, 2025
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
hrmacbeth pushed a commit to szqzs/mathlib4 that referenced this pull request Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants