Skip to content

[Merged by Bors] - fix(to_additive): let (reorder := ...) eta-expand the value if necessary - #27693

Closed
JovanGerb wants to merge 5 commits into
leanprover-community:masterfrom
JovanGerb:Jovan-reorder-eta
Closed

JovanGerb wants to merge 5 commits into
leanprover-community:masterfrom
JovanGerb:Jovan-reorder-eta

Conversation

@JovanGerb

@JovanGerb JovanGerb commented Jul 30, 2025 •

Copy link
Copy Markdown
Contributor

This PR fixes a problem in to_additive (reorder := ...) by eta-expanding the proof term if necessary. Previously, this case would throw an error.


Open in Gitpod

@github-actions github-actions Bot added the t-meta Tactics, attributes or user commands label Jul 30, 2025
@github-actions

github-actions Bot commented Jul 30, 2025 •

Copy link
Copy Markdown

PR summary c604c957a2

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ reorderMulThree_alias
+ reorderMulThree_alias'
+ reorderMulThree_alias''

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

Comment thread MathlibTest/toAdditive.lean Resolved
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 31, 2025
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 31, 2025

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

LGTM

bors d+

Comment thread Mathlib/Tactic/ToAdditive/Frontend.lean Resolved
Comment thread Mathlib/Tactic/ToAdditive/Frontend.lean Resolved
@mathlib-bors

mathlib-bors Bot commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

✌️ JovanGerb can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Aug 1, 2025
@JovanGerb

Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Aug 1, 2025
…ssary (#27693)

This PR fixes a problem in `to_additive (reorder := ...)` by eta-expanding the proof term if necessary. Previously, this case would throw an error.
@mathlib-bors

mathlib-bors Bot commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title fix(to_additive): let (reorder := ...) eta-expand the value if necessary [Merged by Bors] - fix(to_additive): let (reorder := ...) eta-expand the value if necessary Aug 1, 2025
@mathlib-bors mathlib-bors Bot closed this Aug 1, 2025
Equilibris pushed a commit to Equilibris/mathlib4 that referenced this pull request Aug 7, 2025
…ssary (leanprover-community#27693)

This PR fixes a problem in `to_additive (reorder := ...)` by eta-expanding the proof term if necessary. Previously, this case would throw an error.
Paul-Lez pushed a commit to Paul-Lez/mathlib4 that referenced this pull request Aug 23, 2025
…ssary (leanprover-community#27693)

This PR fixes a problem in `to_additive (reorder := ...)` by eta-expanding the proof term if necessary. Previously, this case would throw an error.
Paul-Lez pushed a commit to Paul-Lez/mathlib4 that referenced this pull request Aug 23, 2025
…ssary (leanprover-community#27693)

This PR fixes a problem in `to_additive (reorder := ...)` by eta-expanding the proof term if necessary. Previously, this case would throw an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants