Skip to content

[Merged by Bors] - feat(LocalRing/Etale): Finite étale extensions of local rings are monogenic - #37527

Closed
bryanboehnke wants to merge 21 commits into
leanprover-community:masterfrom
uw-math-ai:bryan/monogenic-extensions
Closed

bryanboehnke wants to merge 21 commits into
leanprover-community:masterfrom
uw-math-ai:bryan/monogenic-extensions

Conversation

@bryanboehnke

@bryanboehnke bryanboehnke commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Formalization of Lemma 3.2 from https://arxiv.org/abs/2503.07846: Given a finite extension of local rings R -> S, if the extension is étale, then there exists β ∈ S such that R[β] = S. Furthermore, if f(z) ∈ R[z] is the minimal polynomial of β, then f′(β) is a unit in S. This file also includes some relevant intermediate results used in the formalization of the proof of Lemma 3.1 from the same paper.

Co-authored-by: George Peykanu [email protected]
Co-authored-by: Bianca Viray [email protected]
Co-authored-by: Grant Yang [email protected]


Open in Gitpod

ROTARTSI82 and others added 9 commits March 30, 2026 15:31
Alternative hypothesis to existing theorem: prove the result from a Module.Free hypothesis instead of IsIntegrallyClosed. If `α` generates `S` as an algebra, then `S` is given by adjoining a root of `minpoly R α`.

Co-authored-by: George Peykanu <[email protected]>
Co-authored-by: Bryan Boehnke <[email protected]>
Co-authored-by: Bianca Viray <[email protected]>
Formalization of lemma 3.2 from https://arxiv.org/abs/2503.07846: Given a local finite ring extension R -> S, if the algebraMap is etale, then there exists a β ∈ S such that R[β] = S. Furthermore, if f(z) ∈ R[z] is the minimal polynomial of β, then f′(β) ∈ S×.
@github-actions github-actions Bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Apr 2, 2026
@github-actions

github-actions Bot commented Apr 2, 2026

Copy link
Copy Markdown

Welcome new contributor!

Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests.

We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the awaiting-author tag, or another reason described in the Lifecycle of a PR. The review dashboard has a dedicated webpage which shows whether your PR is on the review queue, and (if not), why.

If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR.

Thank you again for joining our community.

@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Apr 2, 2026
@github-actions

github-actions Bot commented Apr 2, 2026 •

Copy link
Copy Markdown

PR summary 413a5d2edb

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.RingTheory.LocalRing.Etale (new file) 2340

Declarations diff

+ adjoin_residue_eq_top_iff_adjoin_eq_top
+ exists_adjoin_eq_top
+ finrank_eq_finrank_residueField
+ isUnit_aeval_derivative_minpoly_of_adjoin_eq_top
+ minpoly_map_residue

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.


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

@github-actions github-actions Bot added the t-ring-theory Ring theory label Apr 2, 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 Apr 2, 2026
@mathlib-dependent-issues mathlib-dependent-issues Bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Apr 15, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

This PR/issue depends on:

@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 Apr 15, 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 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 Apr 17, 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 Apr 17, 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 Apr 20, 2026
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
@dagurtomas dagurtomas added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label May 13, 2026
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
Comment thread Mathlib/RingTheory/LocalRing/Etale.lean Resolved
@riccardobrasca

Copy link
Copy Markdown
Member

I am now lost with the diff, but consider

    · rw [Algebra.FormallyUnramified.map_maximalIdeal, Submodule.restrictScalars_mem,
        ← Ideal.Quotient.eq]
      rw [← map_aeval_eq_aeval_map (ψ := residue S) (φ := residue R) rfl] at hp
      exact hp.symm

that eliminates the first erw.

Co-authored-by: Riccardo Brasca <[email protected]>
@ROTARTSI82

Copy link
Copy Markdown
Contributor

Oops, sorry about that! Committed that and everything should be good with no erws. Thanks!

@riccardobrasca

Copy link
Copy Markdown
Member

If this is ready for another round of review can you please mark all the comments resolved and remove the awaiting-author label? Thanks!

@bryanboehnke

Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label May 15, 2026
@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors merge

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label May 18, 2026
mathlib-bors Bot pushed a commit that referenced this pull request May 18, 2026
…ogenic (#37527)

Formalization of Lemma 3.2 from https://arxiv.org/abs/2503.07846: Given a finite extension of local rings R -> S, if the extension is étale, then there exists β ∈ S such that R[β] = S. Furthermore, if f(z) ∈ R[z] is the minimal polynomial of β, then f′(β) is a unit in S. This file also includes some relevant intermediate results used in the formalization of the proof of Lemma 3.1 from the same paper.

Co-authored-by: George Peykanu <[email protected]>
Co-authored-by: Bianca Viray <[email protected]>
Co-authored-by: Grant Yang <[email protected]>
Co-authored-by: Grant Yang <[email protected]>
Co-authored-by: bryanboehnke <[email protected]>
Co-authored-by: Grant Yang <[email protected]>
@mathlib-bors

mathlib-bors Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(LocalRing/Etale): Finite étale extensions of local rings are monogenic [Merged by Bors] - feat(LocalRing/Etale): Finite étale extensions of local rings are monogenic May 18, 2026
@mathlib-bors mathlib-bors Bot closed this May 18, 2026
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
…ogenic (leanprover-community#37527)

Formalization of Lemma 3.2 from https://arxiv.org/abs/2503.07846: Given a finite extension of local rings R -> S, if the extension is étale, then there exists β ∈ S such that R[β] = S. Furthermore, if f(z) ∈ R[z] is the minimal polynomial of β, then f′(β) is a unit in S. This file also includes some relevant intermediate results used in the formalization of the proof of Lemma 3.1 from the same paper.

Co-authored-by: George Peykanu <[email protected]>
Co-authored-by: Bianca Viray <[email protected]>
Co-authored-by: Grant Yang <[email protected]>
Co-authored-by: Grant Yang <[email protected]>
Co-authored-by: bryanboehnke <[email protected]>
Co-authored-by: Grant Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! ready-to-merge This PR has been sent to bors. t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants