Skip to content

feat(RingTheory/FractionalIdeal/Extended): pointwise group action on fractional ideals - #46386

Open
xroblot wants to merge 3 commits into
leanprover-community:masterfrom
xroblot:fractional-ideal-pointwise-action
Open

xroblot wants to merge 3 commits into
leanprover-community:masterfrom
xroblot:fractional-ideal-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 commutative ring R by ring automorphisms on the fractional ideals of a fraction ring of R, using extension of fractional ideals. This instance is scoped in the Pointwise locale (as it is for ideals). This PR also proves basic properties of the action and adds the general API on extension of fractional ideals and on canonicalEquiv that they need.

🤖 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 d4051409e3

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
+ instance : CovariantClass G (FractionalIdeal R⁰ K) HSMul.hSMul LE.le
+ map_toRingHom_apply
+ mem_pointwise_smul_iff_inv_smul_mem
+ pointwiseMulSemiringAction
+ pointwise_smul_def
+ smul_mem_pointwise_smul
+ smul_spanSingleton

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

  • +15 new declarations
  • −0 removed declarations
+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
+IsLocalization.map_toRingHom_apply
+nonZeroDivisors_le_comap_toRingHom

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

Current commit d4051409e3
Reference commit 3d5031f896

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
@xroblot xroblot added the WIP Work in progress label Nov 23, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) and removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Nov 23, 2026
@xroblot
xroblot marked this pull request as ready for review November 23, 2026 18:05
@xroblot xroblot removed the WIP Work in progress label Nov 23, 2026

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

t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant