Module

Normalization.lean

Nyll.SchemeTheory.RingTheory.IntegralClosure.Normalization
11 declarations indexed from sourceView source ↗

Finite normalization and generic finiteness

Imports13
  • Mathlib.Algebra.MvPolynomial.Coeff
  • Mathlib.FieldTheory.AlgebraicClosure
  • Mathlib.FieldTheory.Perfect
  • Mathlib.FieldTheory.PurelyInseparable.Exponent
  • Mathlib.RingTheory.DedekindDomain.IntegralClosure
  • Mathlib.RingTheory.Ideal.MinimalPrime.Localization
  • Mathlib.RingTheory.Localization.Integral
  • Mathlib.RingTheory.Localization.Finiteness
  • Mathlib.RingTheory.NoetherNormalization
  • Mathlib.RingTheory.Polynomial.RationalRoot
  • Mathlib.RingTheory.Polynomial.UniqueFactorization
  • Mathlib.RingTheory.QuasiFinite.Basic
  • Mathlib.RingTheory.RingHom.FiniteType
Imported by3

Declarations

AbelianVarieties.NOSProofs.FiniteNormalization.IsIntegralClosure.FiniteOfFiniteType.finite_of_comp_finite_of_injective
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
namespace IsIntegralClosure
open _root_.IsIntegralClosure
namespace FiniteOfFiniteType
open _root_.IsIntegralClosure
theorem finite_of_comp_finite_of_injective {R B T : Type*} [CommRing R] [CommRing B]
    [CommRing T] [IsNoetherianRing R] (φ : R →+* B) (g : B →+* T)
    (hg : Function.Injective g) (h : (g.comp φ).Finite) : φ.Finite
AbelianVarieties.NOSProofs.FiniteNormalization.IsIntegralClosure.FiniteOfFiniteType.finite_integralClosure_of_factor
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
namespace IsIntegralClosure
open _root_.IsIntegralClosure
namespace FiniteOfFiniteType
open _root_.IsIntegralClosure
theorem finite_integralClosure_of_factor
    {R A L R' F' Ω : Type*} [CommRing R] [IsNoetherianRing R] [CommRing A] [Algebra R A]
    [Algebra.IsIntegral R A] [Field L] [Algebra A L] [Algebra R L] [IsScalarTower R A L]
    [CommRing R'] [IsDomain R'] [IsIntegrallyClosed R'] [IsNoetherianRing R']
    [Field F'] [Algebra R' F'] [IsFractionRing R' F'] [Field Ω] [Algebra F' Ω] [Algebra R' Ω]
    [IsScalarTower R' F' Ω] (L' : IntermediateField F' Ω) [FiniteDimensional F' L']
    [Algebra.IsSeparable F' L'] (σ : R →+* R') (hσ : σ.Finite) (ι : L →+* Ω)
    (hι : ∀ x, ι x ∈ L') (hcomm : (algebraMap R' Ω).comp σ = ι.comp (algebraMap R L)) :
    Module.Finite A (integralClosure A L)
AbelianVarieties.NOSProofs.FiniteNormalization.IsIntegralClosure.FiniteOfFiniteType.exists_twist
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
namespace IsIntegralClosure
open _root_.IsIntegralClosure
namespace FiniteOfFiniteType
open _root_.IsIntegralClosure
theorem exists_twist {k Ω : Type*} [Field k] [Field Ω] [Algebra k Ω] (p n : ℕ) [ExpChar k p]
    [ExpChar Ω p] [PerfectRing Ω p] {d : ℕ} (η : MvPolynomial (Fin d) k →+* Ω)
    (hη : Function.Injective η) (hηC : η.comp MvPolynomial.C = algebraMap k Ω)
    (CO : Finset k) :
    ∃ (k' : IntermediateField k Ω) (_ : FiniteDimensional k k')
      (θ : MvPolynomial (Fin d) k' →ₐ[k'] Ω)
      (σ : MvPolynomial (Fin d) k →+* MvPolynomial (Fin d) k'),
      Function.Injective θ ∧ σ.Finite ∧ θ.toRingHom.comp σ = η ∧
      ∀ f : MvPolynomial (Fin d) k, (∀ mo ∈ f.support, f.coeff mo ∈ CO) →
        (iterateFrobeniusEquiv Ω p n).symm (η f) ∈ θ.range
AbelianVarieties.NOSProofs.FiniteNormalization.IsIntegralClosure.FiniteOfFiniteType.isIntegrallyClosed_mvPolynomial
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
namespace IsIntegralClosure
open _root_.IsIntegralClosure
namespace FiniteOfFiniteType
open _root_.IsIntegralClosure
theorem isIntegrallyClosed_mvPolynomial (K : Type*) [Field K] (d : ℕ) :
    IsIntegrallyClosed (MvPolynomial (Fin d) K)
AbelianVarieties.NOSProofs.FiniteNormalization.IsIntegralClosure.FiniteOfFiniteType.isNoetherianRing_mvPolynomial
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
namespace IsIntegralClosure
open _root_.IsIntegralClosure
namespace FiniteOfFiniteType
open _root_.IsIntegralClosure
theorem isNoetherianRing_mvPolynomial (K : Type*) [Field K] (d : ℕ) :
    IsNoetherianRing (MvPolynomial (Fin d) K)
AbelianVarieties.NOSProofs.FiniteNormalization.IsIntegralClosure.FiniteOfFiniteType.finite_integralClosure
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
namespace IsIntegralClosure
open _root_.IsIntegralClosure
namespace FiniteOfFiniteType
open _root_.IsIntegralClosure
theorem finite_integralClosure (k A K L : Type*) [Field k] [CommRing A] [IsDomain A]
    [Algebra k A] [Algebra.FiniteType k A] [Field K] [Algebra A K] [IsFractionRing A K]
    [Field L] [Algebra K L] [Algebra A L] [IsScalarTower A K L] [FiniteDimensional K L] :
    Module.Finite A (integralClosure A L)
IsIntegralClosure.finite_of_finiteType
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_IsIntegralClosure_finite_of_finiteType.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace FiniteNormalization
open Polynomial
theorem _root_.IsIntegralClosure.finite_of_finiteType
    (k A K L C : Type*) [Field k] [CommRing A] [IsDomain A] [Algebra k A]
    [Algebra.FiniteType k A] [Field K] [Algebra A K] [IsFractionRing A K]
    [Field L] [Algebra K L] [Algebra A L] [IsScalarTower A K L] [FiniteDimensional K L]
    [CommRing C] [Algebra C L] [Algebra A C] [IsScalarTower A C L] [IsIntegralClosure C A L] :
    Module.Finite A C
AbelianVarieties.NOSProofs.GenericFiniteness.GFRingGC7.isIntegral_of_isLocalRing_of_forall_isNilpotent
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Algebra_QuasiFinite_exists_not_mem_finite_awayMap_of_mem_minimalPrimes.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace GenericFiniteness
universe u
namespace GFRingGC7
open _root_.Polynomial
open _root_.TensorProduct
theorem isIntegral_of_isLocalRing_of_forall_isNilpotent
    {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] [IsLocalRing R]
    [Algebra.QuasiFinite R S]
    (h : ∀ x ∈ IsLocalRing.maximalIdeal R, IsNilpotent x) : Algebra.IsIntegral R S
AbelianVarieties.NOSProofs.GenericFiniteness.GFRingGC7.exists_not_mem_isIntegral_smul
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Algebra_QuasiFinite_exists_not_mem_finite_awayMap_of_mem_minimalPrimes.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace GenericFiniteness
universe u
namespace GFRingGC7
open _root_.Polynomial
open _root_.TensorProduct
theorem exists_not_mem_isIntegral_smul
    {R A : Type*} [CommRing R] [CommRing A] [Algebra R A] [Algebra.QuasiFinite R A]
    (p : Ideal R) (hp : p ∈ minimalPrimes R) (a : A) :
    ∃ t : R, t ∉ p ∧ IsIntegral R (t • a)
AbelianVarieties.NOSProofs.GenericFiniteness.GFRingGC7.finite_awayMap_of_forall_isIntegral_smul
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Algebra_QuasiFinite_exists_not_mem_finite_awayMap_of_mem_minimalPrimes.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace GenericFiniteness
universe u
namespace GFRingGC7
open _root_.Polynomial
open _root_.TensorProduct
theorem finite_awayMap_of_forall_isIntegral_smul
    {R A : Type u} [CommRing R] [CommRing A] [Algebra R A]
    (gens : Finset A) (hgens : Algebra.adjoin R (gens : Set A) = ⊤)
    (t : A → R) (ht : ∀ a ∈ gens, IsIntegral R (t a • a)) :
    (Localization.awayMap (algebraMap R A) (∏ a ∈ gens, t a)).Finite
Algebra.QuasiFinite.exists_not_mem_finite_awayMap_of_mem_minimalPrimes
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section
/-
Anthropic FLT upstream notice: Copyright 2026 Anthropic, PBC.
Released under Apache 2.0 license as described in the file LICENSE.
Adapted Anthropic FLT source (pinned revision):
https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/P2M/Sol/S_Algebra_QuasiFinite_exists_not_mem_finite_awayMap_of_mem_minimalPrimes.lean
Upstream NOTICE: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/NOTICE
Upstream per-file ATTRIBUTION: https://github.com/anthropics/fermats-last-theorem/blob/6e837e75355538c7f80bab5b956861e86c4eacc2/ATTRIBUTION.md
Copies of these notices are retained in the AbelianVarieties directory.
Existing upstream author/copyright comments in the source are retained below.

Local adaptation and maintenance: Naganori Yamaguchi (https://github.com/n-yamaguchi-0729).
AI assistance in local adaptation and maintenance: OpenAI Codex.
-/
namespace AbelianVarieties
namespace NOSProofs
namespace GenericFiniteness
universe u
theorem _root_.Algebra.QuasiFinite.exists_not_mem_finite_awayMap_of_mem_minimalPrimes
    {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] [Algebra.FiniteType R A]
        [Algebra.QuasiFinite R A]
    (p : Ideal R) (hp : p ∈ minimalPrimes R) :
    ∃ r : R, r ∉ p ∧ (Localization.awayMap (algebraMap R A) r).Finite