Skip to content

[Merged by Bors] - feat(Algebra): lemma about is AdicComplete local ring - #22429

Closed
Thmoas-Guan wants to merge 9 commits into
masterfrom
lemma-about-IsAdicComplete-local-ring
Closed

[Merged by Bors] - feat(Algebra): lemma about is AdicComplete local ring#22429
Thmoas-Guan wants to merge 9 commits into
masterfrom
lemma-about-IsAdicComplete-local-ring

Conversation

@Thmoas-Guan

@Thmoas-Guan Thmoas-Guan commented Mar 1, 2025

Copy link
Copy Markdown
Collaborator

Prove that if a ring is adic complete with respect to a maximal ideal then very element outside it is unit and it follows that the ring is a local ring (complete local ring).


Open in Gitpod

@github-actions

github-actions Bot commented Mar 1, 2025

Copy link
Copy Markdown

PR summary 969d8a468e

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.RingTheory.AdicCompletion.LocalRing (new file) 1116

Declarations diff

+ isLocalRing_of_isAdicComplete_maximal
+ isUnit_iff_nmem_of_isAdicComplete_maximal

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

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Mar 1, 2025
@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 Mar 1, 2025
@Thmoas-Guan

Copy link
Copy Markdown
Collaborator Author

Is this place appropriate? If the place is correct the I would try to replace the same lemma in #21944

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Mar 1, 2025
@mathlib4-dependent-issues-bot

Copy link
Copy Markdown
Collaborator

This PR/issue depends on:

@grunweg grunweg changed the title feat(Algebra):Lemma about is AdicComplete local ring feat(Algebra): lemma about is AdicComplete local ring Mar 1, 2025

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Some minor suggestions below

Comment thread Mathlib/RingTheory/AdicCompletion/LocalRing.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/LocalRing.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/LocalRing.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/LocalRing.lean Outdated
rcases IsUnit.exists_left_inv h with ⟨s, hs⟩
absurd m.ne_top_iff_one.mp (Ideal.IsMaximal.ne_top hmax)
simp [← hs, Ideal.mul_mem_left m s mem]
· have mapu {n : ℕ} (npos : n > 0) : IsUnit (Ideal.Quotient.mk (m ^ n) r) := by

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use 0 < n throughout

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.

Wait, didn't we have a linter for this?!

Comment thread Mathlib/RingTheory/AdicCompletion/LocalRing.lean Outdated
Comment thread Mathlib/RingTheory/AdicCompletion/LocalRing.lean Outdated
@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Mar 2, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Mar 2, 2025
Prove that if a ring is adic complete with respect to a maximal ideal then very element outside it is unit and it follows that the ring is a local ring (complete local ring).
@mathlib-bors

mathlib-bors Bot commented Mar 2, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Algebra): lemma about is AdicComplete local ring [Merged by Bors] - feat(Algebra): lemma about is AdicComplete local ring Mar 2, 2025
@mathlib-bors mathlib-bors Bot closed this Mar 2, 2025
@mathlib-bors
mathlib-bors Bot deleted the lemma-about-IsAdicComplete-local-ring branch March 2, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants