Skip to content

feat: custom simp sets for translating between Equiv and algebraic notation#38359

Open
mcdoll wants to merge 6 commits intoleanprover-community:masterfrom
mcdoll:equivify
Open

feat: custom simp sets for translating between Equiv and algebraic notation#38359
mcdoll wants to merge 6 commits intoleanprover-community:masterfrom
mcdoll:equivify

Conversation

@mcdoll
Copy link
Copy Markdown
Member

@mcdoll mcdoll commented Apr 22, 2026


The names for the simpsets are not great, I did ask on zulip, but no suggestions.
#mathlib4 > simpsets for moving between group and equiv

Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

PR summary 452dba9608

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/pr_summary/declarations_diff.sh <optional_commit>

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

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


No changes to technical debt.

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/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-group-theory Group theory label Apr 22, 2026
@mcdoll mcdoll added t-meta Tactics, attributes or user commands t-algebra Algebra (groups, rings, fields, etc) and removed t-group-theory Group theory labels Apr 22, 2026
@mcdoll mcdoll marked this pull request as ready for review April 26, 2026 22:42
Copy link
Copy Markdown
Contributor

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

This approach makes sense to me, it seems a lot less messy than allowing a mix of definitions.

Agreed that the naming is not obvious. What do you think about calling them push_equiv and pull_equiv in analogy to the push_cast/push_neg/push tactics? Or push_end(omorphism)?

@Vierkantor Vierkantor self-assigned this Apr 27, 2026
@mcdoll
Copy link
Copy Markdown
Member Author

mcdoll commented Apr 27, 2026

I like the idea, but which one would be pull and which would be push?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-algebra Algebra (groups, rings, fields, etc) t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants