Skip to content

[Merged by Bors] - feat(FieldTheory/IntermediateField): define the image of an intermediate field in a larger extension - #36772

Closed
xroblot wants to merge 14 commits into
leanprover-community:masterfrom
xroblot:extendtop
Closed

xroblot wants to merge 14 commits into
leanprover-community:masterfrom
xroblot:extendtop

Conversation

@xroblot

@xroblot xroblot commented Mar 17, 2026 •

Copy link
Copy Markdown
Collaborator

Given a tower of fields K ⊆ L ⊆ M and an intermediate field F of L/K, defines IntermediateField.extendTop F M as the image of F under L →ₐ[K] M, together with instances transferring Algebra, IsFractionRing and IsIntegralClosure to the image. The main motivation is to embed a subextension F/K of L/K into a larger extension M/K. This is useful for instance when one needs M/K to be Galois.

This construction will be useful in a later PR to prove that the compositum of two unramified extensions is unramified. Indeed, the result is first proved when the two extensions are IntermediateField K L with L/K Galois, and then in the general case (see #36843)


Open in Gitpod

@github-actions github-actions Bot added the t-ring-theory Ring theory label Mar 17, 2026
@github-actions

github-actions Bot commented Mar 17, 2026 •

Copy link
Copy Markdown

PR summary 92fbe7f8c5

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.FieldTheory.IntermediateField.ExtendRight (new file) 1600

Declarations diff

+ IsFractionRing.of_algEquiv
+ _root_.Algebra.algHom_apply
+ _root_.IntermediateField.extendRightEquiv'
+ algebra
+ algebraMap_extendRightEquiv
+ algebraMap_extendRightEquiv'
+ algebraMap_extendRightEquiv'_symm
+ algebraMap_extendRightEquiv_symm
+ algebraMap_mem
+ coe_extendRightEquiv
+ coe_extendRightEquiv'
+ coe_smul
+ extendRight
+ extendRightEquiv
+ instance : IsScalarTower S (F.extendRight M) M := IsScalarTower.of_algebraMap_eq' rfl
+ instance : IsScalarTower S F (F.extendRight M) := IsScalarTower.to₁₂₃ S F (F.extendRight M) M
+ instance : SMul S (F.extendRight M)
+ instance [Algebra R S] [Algebra R F] [Algebra R M] [IsScalarTower R F M] [IsScalarTower R S M] :
+ isFractionRing
+ isIntegralClosure

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

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

@plp127

plp127 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

What's the reason for the name extendTop?

@xroblot

xroblot commented Mar 17, 2026

Copy link
Copy Markdown
Collaborator Author

What's the reason for the name extendTop?

Well, the top L of F : IntermediateField K L is replaced by a larger top M. It's the best I could come up with...

@robin-carlier robin-carlier added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Apr 3, 2026
@xroblot xroblot removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Apr 10, 2026
@robin-carlier

Copy link
Copy Markdown
Contributor

The CI error should go away when you merge master and has nothing to do with this PR so,

Thanks!

maintainer delegate

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by robin-carlier.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Apr 10, 2026
@xroblot

xroblot commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator Author

The CI error should go away when you merge master and has nothing to do with this PR so,

Thanks!

maintainer delegate

Thanks for the review!

@riccardobrasca riccardobrasca left a comment

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.

Thanks!

bors d+

@mathlib-bors

mathlib-bors Bot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

✌️ xroblot can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Apr 12, 2026
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Apr 12, 2026
xroblot added 2 commits April 13, 2026 16:15
change extendTop -> extendRight
@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 Apr 13, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Apr 13, 2026
…ate field in a larger extension (#36772)

Given a tower of fields `K ⊆ L ⊆ M` and an intermediate field `F` of `L/K`, defines `IntermediateField.extendTop F M` as the image of `F` under` L →ₐ[K] M`, together with instances transferring `Algebra`, `IsFractionRing` and `IsIntegralClosure` to the image. The main motivation is to embed a subextension `F/K` of `L/K` into a larger extension `M/K`. This is useful for instance when one needs `M/K` to be Galois.

This construction will be useful in a later PR to prove that the compositum of two unramified extensions is unramified. Indeed, the result is first proved when the two extensions are `IntermediateField K L` with `L/K` Galois, and then in the general case (see #36843)
@mathlib-bors

mathlib-bors Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(FieldTheory/IntermediateField): define the image of an intermediate field in a larger extension [Merged by Bors] - feat(FieldTheory/IntermediateField): define the image of an intermediate field in a larger extension Apr 13, 2026
@mathlib-bors mathlib-bors Bot closed this Apr 13, 2026
jessealama pushed a commit to jessealama/mathlib4 that referenced this pull request May 2, 2026
…ate field in a larger extension (leanprover-community#36772)

Given a tower of fields `K ⊆ L ⊆ M` and an intermediate field `F` of `L/K`, defines `IntermediateField.extendTop F M` as the image of `F` under` L →ₐ[K] M`, together with instances transferring `Algebra`, `IsFractionRing` and `IsIntegralClosure` to the image. The main motivation is to embed a subextension `F/K` of `L/K` into a larger extension `M/K`. This is useful for instance when one needs `M/K` to be Galois.

This construction will be useful in a later PR to prove that the compositum of two unramified extensions is unramified. Indeed, the result is first proved when the two extensions are `IntermediateField K L` with `L/K` Galois, and then in the general case (see leanprover-community#36843)
gaetanserre pushed a commit to gaetanserre/mathlib4 that referenced this pull request May 5, 2026
…ate field in a larger extension (leanprover-community#36772)

Given a tower of fields `K ⊆ L ⊆ M` and an intermediate field `F` of `L/K`, defines `IntermediateField.extendTop F M` as the image of `F` under` L →ₐ[K] M`, together with instances transferring `Algebra`, `IsFractionRing` and `IsIntegralClosure` to the image. The main motivation is to embed a subextension `F/K` of `L/K` into a larger extension `M/K`. This is useful for instance when one needs `M/K` to be Galois.

This construction will be useful in a later PR to prove that the compositum of two unramified extensions is unramified. Indeed, the result is first proved when the two extensions are `IntermediateField K L` with `L/K` Galois, and then in the general case (see leanprover-community#36843)
gasparattila pushed a commit to gasparattila/mathlib4 that referenced this pull request May 9, 2026
…ate field in a larger extension (leanprover-community#36772)

Given a tower of fields `K ⊆ L ⊆ M` and an intermediate field `F` of `L/K`, defines `IntermediateField.extendTop F M` as the image of `F` under` L →ₐ[K] M`, together with instances transferring `Algebra`, `IsFractionRing` and `IsIntegralClosure` to the image. The main motivation is to embed a subextension `F/K` of `L/K` into a larger extension `M/K`. This is useful for instance when one needs `M/K` to be Galois.

This construction will be useful in a later PR to prove that the compositum of two unramified extensions is unramified. Indeed, the result is first proved when the two extensions are `IntermediateField K L` with `L/K` Galois, and then in the general case (see leanprover-community#36843)
@xroblot
xroblot deleted the extendtop branch August 7, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). 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.

6 participants