Skip to content

feat(RingTheory): localization of Gorenstein local ring#32035

Open
Thmoas-Guan wants to merge 710 commits into
leanprover-community:masterfrom
Thmoas-Guan:Localization-of-Gorenstein-Local-Ring
Open

feat(RingTheory): localization of Gorenstein local ring#32035
Thmoas-Guan wants to merge 710 commits into
leanprover-community:masterfrom
Thmoas-Guan:Localization-of-Gorenstein-Local-Ring

Conversation

@Thmoas-Guan

Copy link
Copy Markdown
Collaborator

In this PR, we proved that localization of Gorenstein local ring at prime is again Gorenstein.


Open in Gitpod

@github-actions

github-actions Bot commented Nov 24, 2025

Copy link
Copy Markdown

PR summary 0f6e9879a1

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.RingTheory.Gorenstein.Defs (new file) 2031
Mathlib.RingTheory.Gorenstein.Localization (new file) 2160

Declarations diff (regex)

+ IsGorensteinLocalRing
+ IsGorensteinLocalRing.of_isLocalRing_of_isGorensteinRing
+ IsGorensteinLocalRing.of_ringEquiv
+ IsGorensteinRing
+ IsGorensteinRing.of_isGorensteinLocalRing
+ isGorensteinLocalRing_def
+ isGorensteinRing_def
+ isGorensteinRing_def'
+ isGorensteinRing_iff
+ isGorensteinRing_of_ringEquiv
+ isGoresteinLocalRing_localization
+ isGoresteinLocalRing_of_isLocalizationAtPrime

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

  • +23 new declarations
  • −0 removed declarations
+IsGorensteinLocalRing
+IsGorensteinLocalRing.casesOn
+IsGorensteinLocalRing.injdim
+IsGorensteinLocalRing.mk
+IsGorensteinLocalRing.of_isLocalRing_of_isGorensteinRing
+IsGorensteinLocalRing.of_ringEquiv
+IsGorensteinLocalRing.rec
+IsGorensteinLocalRing.recOn
+IsGorensteinLocalRing.toIsLocalRing
+IsGorensteinRing
+IsGorensteinRing.casesOn
+IsGorensteinRing.isGorenstein_localize
+IsGorensteinRing.mk
+IsGorensteinRing.of_isGorensteinLocalRing
+IsGorensteinRing.rec
+IsGorensteinRing.recOn
+isGorensteinLocalRing_def
+isGorensteinRing_def
+isGorensteinRing_def'
+isGorensteinRing_iff
+isGorensteinRing_of_ringEquiv
+isGoresteinLocalRing_localization
+isGoresteinLocalRing_of_isLocalizationAtPrime

No changes to strong technical debt.

Increase in weak tech debt: (relative, absolute) = (2.00, 0.00)
Current number Change Type (weak)
5022 2 exposed public sections

Current commit 0f6e9879a1
Reference commit 8f560a2211

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

@mathlib4-dependent-issues-bot mathlib4-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 24, 2025
@mathlib4-dependent-issues-bot

mathlib4-dependent-issues-bot commented Nov 24, 2025

Copy link
Copy Markdown
Collaborator

@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 4, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown
Collaborator

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

@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 Dec 21, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 24, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown
Collaborator

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

@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 Dec 24, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 5, 2026
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown
Collaborator

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

@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 Jan 6, 2026
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 25, 2026
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown
Collaborator

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

@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 Jan 28, 2026
@joneugster joneugster added the t-ring-theory Ring theory label Feb 1, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 7, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

@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 Feb 7, 2026
@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 21, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 1, 2026
@github-actions github-actions Bot removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) large-import Automatically added label for PRs with a significant increase in transitive imports labels Mar 7, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 18, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

@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 Mar 20, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 20, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

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

@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 Mar 21, 2026
@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 Jun 26, 2026
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.

6 participants