Skip to content

feat(RingTheory/ClassGroup/ExtendedHom): pointwise group action on the class group - #46402

Draft
xroblot wants to merge 2 commits into
leanprover-community:masterfrom
xroblot:classgroup-pointwise-action
Draft

xroblot wants to merge 2 commits into
leanprover-community:masterfrom
xroblot:classgroup-pointwise-action

Conversation

@xroblot

@xroblot xroblot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

This PR defines the action of a group acting on a domain R by ring automorphisms on the class group of R, induced by the action on fractional ideals. As for ideals and fractional ideals, it is an instance in the Pointwise locale. It also adds the compatibility of the action with the representatives of ideal classes, as units of fractional ideals and as nonzero ideals.

🤖 This result is used in the proof of Stickelberger's theorem in #46022. Claude extracted it from my SKW project.


@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR summary 6ba72ab638

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ _root_.nonZeroDivisors_le_comap_toRingHom
+ canonicalEquiv_eq_extended
+ canonicalEquiv_eq_map
+ canonicalEquiv_smul
+ coeIdeal_smul
+ extended_congr
+ extended_id
+ extended_mono
+ group
+ instance : CovariantClass G (FractionalIdeal R⁰ K) HSMul.hSMul LE.le
+ map_toRingHom_apply
+ mem_pointwise_smul_iff_inv_smul_mem
+ pointwiseMulDistribMulAction
+ pointwiseMulSemiringAction
+ pointwise_smul_eq_mulEquiv
+ smul_mem_pointwise_smul
+ smul_mk
+ smul_mk0
+ smul_spanSingleton
+ unitsPointwiseMulDistribMulAction
++ pointwise_smul_def

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 6ba72ab).

  • +21 new declarations
  • −0 removed declarations
+ClassGroup.pointwiseMulDistribMulAction
+ClassGroup.pointwise_smul_def
+ClassGroup.pointwise_smul_eq_mulEquiv
+ClassGroup.smul_mk
+ClassGroup.smul_mk0
+FractionalIdeal.canonicalEquiv_eq_extended
+FractionalIdeal.canonicalEquiv_eq_map
+FractionalIdeal.canonicalEquiv_smul
+FractionalIdeal.coeIdeal_smul
+FractionalIdeal.extended_congr
+FractionalIdeal.extended_id
+FractionalIdeal.extended_mono
+FractionalIdeal.instCovariantClassNonZeroDivisorsHSMulLe
+FractionalIdeal.mem_pointwise_smul_iff_inv_smul_mem
+FractionalIdeal.pointwiseMulSemiringAction
+FractionalIdeal.pointwise_smul_def
+FractionalIdeal.smul_mem_pointwise_smul
+FractionalIdeal.smul_spanSingleton
+FractionalIdeal.unitsPointwiseMulDistribMulAction
+IsLocalization.map_toRingHom_apply
+nonZeroDivisors_le_comap_toRingHom

No changes to strong technical debt.
No changes to weak technical debt.

Current commit 6ba72ab638
Reference commit 53dad9ed98

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.py 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-ring-theory Ring theory label Nov 23, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 23, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

@xroblot
xroblot marked this pull request as ready for review November 27, 2026 13:44
@xroblot
xroblot marked this pull request as draft November 27, 2026 13:44

This branch has not been deployed

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

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant