Skip to content

[Merged by Bors] - feat: add some result on IsFractionRing and fieldRange#18984

Closed
acmepjz wants to merge 7 commits intomasterfrom
acmepjz_loc_field_range
Closed

[Merged by Bors] - feat: add some result on IsFractionRing and fieldRange#18984
acmepjz wants to merge 7 commits intomasterfrom
acmepjz_loc_field_range

Conversation

@acmepjz
Copy link
Copy Markdown
Collaborator

@acmepjz acmepjz commented Nov 13, 2024

In Mathlib/RingTheory/Localization/FractionRing.lean:

  • IsFractionRing.closure_range_algebraMap: if A is a ring with fraction field K, then the subfield of K generated by the image of algebraMap A K is equal to the whole field K.
  • IsFractionRing.ringHom_fieldRange_eq_of_comp_eq[_of_range_eq]: if A is a ring with fraction field K, L is a field, g : A →+* L lifts to f : K →+* L, then the image of f is the field generated by the image of g.

In Mathlib/FieldTheory/Adjoin.lean:

  • IsFractionRing.algHom_fieldRange_eq_of_comp_eq[_of_range_eq]: if F is a field, A is an F-algebra with fraction field K, L is a field, g : A →ₐ[F] L lifts to f : K →ₐ[F] L, s is a set such that the image of g is the subalgebra generated by s, then the image of f is the intermediate field generated by s. Note: this does not require IsScalarTower F A K.

Open in Gitpod

@acmepjz acmepjz added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebra Algebra (groups, rings, fields, etc) labels Nov 13, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 13, 2024

PR summary 3166ea683c

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.Localization.FractionRing 854 856 +2 (+0.23%)
Import changes for all files
Files Import difference
176 files Mathlib.LinearAlgebra.FreeModule.Norm Mathlib.LinearAlgebra.Charpoly.Basic Mathlib.Algebra.Polynomial.FieldDivision Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion Mathlib.RingTheory.Localization.Away.Lemmas Mathlib.AlgebraicGeometry.Modules.Sheaf Mathlib.RingTheory.DedekindDomain.Dvr Mathlib.RingTheory.Polynomial.Content Mathlib.RingTheory.PowerBasis Mathlib.AlgebraicGeometry.EllipticCurve.NormalForms Mathlib.AlgebraicGeometry.Morphisms.Preimmersion Mathlib.AlgebraicGeometry.PrimeSpectrum.TensorProduct Mathlib.RingTheory.DedekindDomain.Ideal Mathlib.AlgebraicGeometry.Sites.MorphismProperty Mathlib.AlgebraicGeometry.Sites.BigZariski Mathlib.RingTheory.Ideal.Over Mathlib.NumberTheory.Cyclotomic.CyclotomicCharacter Mathlib.LinearAlgebra.Lagrange Mathlib.RingTheory.ClassGroup Mathlib.AlgebraicGeometry.Morphisms.Basic Mathlib.AlgebraicGeometry.Morphisms.IsIso Mathlib.AlgebraicGeometry.Modules.Presheaf Mathlib.Algebra.Module.DedekindDomain Mathlib.Algebra.Polynomial.SpecificDegree Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots Mathlib.RingTheory.FractionalIdeal.Extended Mathlib.RingTheory.Adjoin.PowerBasis Mathlib.Algebra.MvPolynomial.Funext Mathlib.RingTheory.RingHom.FiniteType Mathlib.RingTheory.Localization.BaseChange Mathlib.LinearAlgebra.Charpoly.ToMatrix Mathlib.RingTheory.DiscreteValuationRing.Basic Mathlib.Algebra.Polynomial.Splits Mathlib.RingTheory.Localization.AsSubring Mathlib.RingTheory.Localization.Finiteness Mathlib.AlgebraicGeometry.Morphisms.UnderlyingMap Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact Mathlib.RingTheory.Polynomial.Dickson Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion Mathlib.RingTheory.Localization.Integral Mathlib.AlgebraicGeometry.Noetherian Mathlib.AlgebraicGeometry.Morphisms.RingHomProperties Mathlib.AlgebraicGeometry.EllipticCurve.Affine Mathlib.AlgebraicGeometry.EllipticCurve.Group Mathlib.RingTheory.RingHom.StandardSmooth Mathlib.Algebra.CubicDiscriminant Mathlib.AlgebraicGeometry.Spec Mathlib.RingTheory.RingHom.Finite Mathlib.Algebra.GCDMonoid.IntegrallyClosed Mathlib.RingTheory.PowerSeries.Derivative Mathlib.AlgebraicGeometry.ResidueField Mathlib.LinearAlgebra.Matrix.Charpoly.Minpoly Mathlib.RingTheory.Polynomial.Radical Mathlib.AlgebraicGeometry.Over Mathlib.AlgebraicGeometry.PrimeSpectrum.Basic Mathlib.RingTheory.Adjoin.Field Mathlib.AlgebraicGeometry.Pullbacks Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs Mathlib.RingTheory.MvPolynomial.Homogeneous Mathlib.RingTheory.FractionalIdeal.Basic Mathlib.RingTheory.Polynomial.Vieta Mathlib.RingTheory.Valuation.ValuationRing Mathlib.AlgebraicGeometry.Properties Mathlib.AlgebraicGeometry.Morphisms.Affine Mathlib.RingTheory.Valuation.Integral Mathlib.RingTheory.Localization.LocalizationLocalization Mathlib.RingTheory.Unramified.Pi Mathlib.RingTheory.Localization.Submodule Mathlib.AlgebraicGeometry.RationalMap Mathlib.AlgebraicGeometry.Modules.Tilde Mathlib.AlgebraicGeometry.Morphisms.Finite Mathlib.AlgebraicGeometry.PrimeSpectrum.Noetherian Mathlib.Algebra.Polynomial.PartialFractions Mathlib.RingTheory.DiscreteValuationRing.TFAE Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic Mathlib.AlgebraicGeometry.PrimeSpectrum.Module Mathlib.RingTheory.RingHom.FinitePresentation Mathlib.RingTheory.Algebraic Mathlib.RingTheory.Valuation.RamificationGroup Mathlib.Algebra.AlgebraicCard Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic Mathlib.AlgebraicGeometry.SpreadingOut Mathlib.AlgebraicGeometry.StructureSheaf Mathlib.RingTheory.RingHom.Integral Mathlib.AlgebraicGeometry.Morphisms.AffineAnd Mathlib.RingTheory.Smooth.Basic Mathlib.Algebra.Polynomial.Degree.CardPowDegree Mathlib.AlgebraicGeometry.EllipticCurve.Weierstrass Mathlib.AlgebraicGeometry.FunctionField Mathlib.AlgebraicGeometry.Morphisms.Constructors Mathlib.LinearAlgebra.Matrix.SpecialLinearGroup Mathlib.RingTheory.DedekindDomain.Basic Mathlib.LinearAlgebra.Matrix.Charpoly.Univ Mathlib.AlgebraicGeometry.Morphisms.Smooth Mathlib.AlgebraicGeometry.OpenImmersion Mathlib.RingTheory.Localization.Free Mathlib.AlgebraicGeometry.EllipticCurve.Projective Mathlib.AlgebraicGeometry.AffineScheme Mathlib.Algebra.Module.FinitePresentation Mathlib.AlgebraicGeometry.Limits Mathlib.RingTheory.EisensteinCriterion Mathlib.RingTheory.RootsOfUnity.EnoughRootsOfUnity Mathlib.Topology.Algebra.Valued.ValuationTopology Mathlib.AlgebraicGeometry.Morphisms.QuasiSeparated Mathlib.RingTheory.AlgebraicIndependent Mathlib.LinearAlgebra.Matrix.SesquilinearForm Mathlib.RingTheory.Localization.NumDen Mathlib.RingTheory.IntegralClosure.IntegrallyClosed Mathlib.RingTheory.Smooth.Kaehler Mathlib.RingTheory.RingHom.Locally Mathlib.AlgebraicGeometry.PrimeSpectrum.Maximal Mathlib.FieldTheory.RatFunc.Defs Mathlib.RingTheory.Unramified.Basic Mathlib.LinearAlgebra.AnnihilatingPolynomial Mathlib.RingTheory.Polynomial.UniqueFactorization Mathlib.RingTheory.LocalProperties.Submodule Mathlib.RingTheory.Valuation.AlgebraInstances Mathlib.AlgebraicGeometry.Morphisms.FinitePresentation Mathlib.Algebra.Module.Presentation.Finite Mathlib.RingTheory.LocalProperties.Reduced Mathlib.RingTheory.AdjoinRoot Mathlib.AlgebraicGeometry.Morphisms.FiniteType Mathlib.LinearAlgebra.Matrix.ProjectiveSpecialLinearGroup Mathlib.RingTheory.Valuation.ValuationSubring Mathlib.RingTheory.Smooth.Pi Mathlib.RingTheory.LocalProperties.IntegrallyClosed Mathlib.AlgebraicGeometry.Scheme Mathlib.NumberTheory.LucasPrimality Mathlib.AlgebraicGeometry.Gluing Mathlib.FieldTheory.Minpoly.Field Mathlib.Algebra.Module.LinearMap.Polynomial Mathlib.NumberTheory.BernoulliPolynomials Mathlib.AlgebraicGeometry.Cover.Open Mathlib.AlgebraicGeometry.Stalk Mathlib.RingTheory.Polynomial.Eisenstein.Basic Mathlib.AlgebraicGeometry.EllipticCurve.Jacobian Mathlib.RingTheory.FractionalIdeal.Operations Mathlib.RingTheory.Etale.Basic Mathlib.AlgebraicGeometry.EllipticCurve.VariableChange Mathlib.Algebra.CharP.Algebra Mathlib.RingTheory.Localization.Module Mathlib.Algebra.Polynomial.Module.FiniteDimensional Mathlib.RingTheory.Kaehler.TensorProduct Mathlib.RingTheory.LocalProperties.Basic Mathlib.AlgebraicGeometry.GammaSpecAdjunction Mathlib.NumberTheory.Bernoulli Mathlib.AlgebraicGeometry.Cover.MorphismProperty Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Degree Mathlib.AlgebraicGeometry.GluingOneHypercover Mathlib.Algebra.Polynomial.Bivariate Mathlib.RingTheory.DedekindDomain.Factorization Mathlib.AlgebraicGeometry.Restrict Mathlib.RingTheory.MaximalSpectrum Mathlib.Algebra.Polynomial.Roots Mathlib.AlgebraicGeometry.PrimeSpectrum.IsOpenComapC Mathlib.RingTheory.Polynomial.RationalRoot Mathlib.LinearAlgebra.Matrix.ToLinearEquiv Mathlib.RingTheory.IntegralDomain Mathlib.RingTheory.Localization.Cardinality Mathlib.RingTheory.RingHom.Surjective Mathlib.NumberTheory.ModularForms.CongruenceSubgroups Mathlib.RingTheory.DedekindDomain.PID Mathlib.FieldTheory.AxGrothendieck Mathlib.FieldTheory.RatFunc.Basic Mathlib.LinearAlgebra.Charpoly.BaseChange Mathlib.RingTheory.Localization.FractionRing Mathlib.RingTheory.RootsOfUnity.Basic Mathlib.RingTheory.Localization.Away.AdjoinRoot Mathlib.NumberTheory.FLT.MasonStothers Mathlib.LinearAlgebra.Matrix.FixedDetMatrices Mathlib.RingTheory.LocalProperties.Projective Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Basic Mathlib.RingTheory.PowerSeries.Inverse Mathlib.AlgebraicGeometry.Morphisms.Etale Mathlib.Algebra.Module.LocalizedModule.Submodule
2

Declarations diff

+ algHom_fieldRange_eq_of_comp_eq
+ algHom_fieldRange_eq_of_comp_eq_of_range_eq
+ closure_range_algebraMap
+ ringHom_fieldRange_eq_of_comp_eq
+ ringHom_fieldRange_eq_of_comp_eq_of_range_eq

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

@acmepjz acmepjz added the awaiting-author A reviewer has asked the author a question or requested changes. label Nov 13, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Nov 13, 2024
@acmepjz acmepjz removed the awaiting-author A reviewer has asked the author a question or requested changes. label Nov 13, 2024
@acmepjz acmepjz changed the title feat(RingTheory/Localization/FieldRange): add some result on IsFractionRing and fieldRange feat: add some result on IsFractionRing and fieldRange Nov 14, 2024
@alreadydone
Copy link
Copy Markdown
Contributor

Thanks!
maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by alreadydone.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 14, 2024
import Mathlib.Algebra.Order.Field.Rat
import Mathlib.Algebra.Order.Ring.Int
import Mathlib.RingTheory.Localization.Basic
import Mathlib.RingTheory.SimpleRing.Basic
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.

I am a little concerned about this new import. Maybe we can create a new file?

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.

See the comment here: #18868 (comment)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Note that the new import is Mathlib.Algebra.Field.Subfield.Basic. The Mathlib.RingTheory.SimpleRing.Basic is just reordered alphabetically.

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.

Ah ok!

@riccardobrasca
Copy link
Copy Markdown
Member

Thanks!

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Nov 14, 2024
mathlib-bors bot pushed a commit that referenced this pull request Nov 14, 2024
In `Mathlib/RingTheory/Localization/FractionRing.lean`:

- `IsFractionRing.closure_range_algebraMap`: if `A` is a ring with fraction field `K`, then the subfield of `K` generated by the image of `algebraMap A K` is equal to the whole field `K`.
- `IsFractionRing.ringHom_fieldRange_eq_of_comp_eq[_of_range_eq]`: if `A` is a ring with fraction field `K`, `L` is a field, `g : A →+* L` lifts to `f : K →+* L`, then the image of `f` is the field generated by the image of `g`.

In `Mathlib/FieldTheory/Adjoin.lean`:

- `IsFractionRing.algHom_fieldRange_eq_of_comp_eq[_of_range_eq]`: if `F` is a field, `A` is an `F`-algebra with fraction field `K`, `L` is a field, `g : A →ₐ[F] L` lifts to `f : K →ₐ[F] L`, `s` is a set such that the image of `g` is the subalgebra generated by `s`, then the image of `f` is the intermediate field generated by `s`. Note: this does not require `IsScalarTower F A K`.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 14, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: add some result on IsFractionRing and fieldRange [Merged by Bors] - feat: add some result on IsFractionRing and fieldRange Nov 14, 2024
@mathlib-bors mathlib-bors bot closed this Nov 14, 2024
@mathlib-bors mathlib-bors bot deleted the acmepjz_loc_field_range branch November 14, 2024 18:27
TobiasLeichtfried pushed a commit that referenced this pull request Nov 21, 2024
In `Mathlib/RingTheory/Localization/FractionRing.lean`:

- `IsFractionRing.closure_range_algebraMap`: if `A` is a ring with fraction field `K`, then the subfield of `K` generated by the image of `algebraMap A K` is equal to the whole field `K`.
- `IsFractionRing.ringHom_fieldRange_eq_of_comp_eq[_of_range_eq]`: if `A` is a ring with fraction field `K`, `L` is a field, `g : A →+* L` lifts to `f : K →+* L`, then the image of `f` is the field generated by the image of `g`.

In `Mathlib/FieldTheory/Adjoin.lean`:

- `IsFractionRing.algHom_fieldRange_eq_of_comp_eq[_of_range_eq]`: if `F` is a field, `A` is an `F`-algebra with fraction field `K`, `L` is a field, `g : A →ₐ[F] L` lifts to `f : K →ₐ[F] L`, `s` is a set such that the image of `g` is the subalgebra generated by `s`, then the image of `f` is the intermediate field generated by `s`. Note: this does not require `IsScalarTower F A K`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. 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.

3 participants