Skip to content

[Merged by Bors] - feat(to_additive (reorder := ..)): reorder arguments in Prod.pow_mk - #24283

Closed
JovanGerb wants to merge 1 commit into
masterfrom
pow_mk-reorder
Closed

JovanGerb wants to merge 1 commit into
masterfrom
pow_mk-reorder

Conversation

@JovanGerb

Copy link
Copy Markdown
Contributor

In #3632, to_additive gained the ability to reorder cycles of arguments. Thus Prod.pow_mk can now have the desired ordering of its arguments.

Actually, the (reorder := 6 7) that was there previously was incorrect. We should employ a check that to_additive existing does the correct thing, such as in #21719.


Open in Gitpod

@github-actions

Copy link
Copy Markdown

PR summary 06e4089e72

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Apr 22, 2025
@JovanGerb JovanGerb changed the title feat: reorder arguments in Prod.pow_mk feat(to_additive (reorder := ..)): reorder arguments in Prod.pow_mk Apr 22, 2025
@fpvandoorn

Copy link
Copy Markdown
Member

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Apr 22, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Apr 22, 2025
…#24283)

In #3632, to_additive gained the ability to reorder cycles of arguments. Thus `Prod.pow_mk` can now have the desired ordering of its arguments.

Actually, the `(reorder := 6 7)` that was there previously was incorrect. We should employ a check that `to_additive existing` does the correct thing, such as in #21719.
@mathlib-bors

mathlib-bors Bot commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(to_additive (reorder := ..)): reorder arguments in Prod.pow_mk [Merged by Bors] - feat(to_additive (reorder := ..)): reorder arguments in Prod.pow_mk Apr 22, 2025
@mathlib-bors mathlib-bors Bot closed this Apr 22, 2025
@mathlib-bors
mathlib-bors Bot deleted the pow_mk-reorder branch April 22, 2025 15:07
tannerduve pushed a commit that referenced this pull request May 13, 2025
…#24283)

In #3632, to_additive gained the ability to reorder cycles of arguments. Thus `Prod.pow_mk` can now have the desired ordering of its arguments.

Actually, the `(reorder := 6 7)` that was there previously was incorrect. We should employ a check that `to_additive existing` does the correct thing, such as in #21719.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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