Module

ModuleFlatMemNonZeroDivisorsFlatQuotientSpan.lean

Nyll.SchemeTheory.FunctionFields.ModuleFlatMemNonZeroDivisorsFlatQuotientSpan
16 declarations indexed from sourceView source ↗

Algebra, divisors, and base change

Flatness over algebraically closed residue fibres gives non-zero-divisor and quotient flatness criteria.

Imports21
  • Mathlib.RingTheory.LocalRing.Module
  • Mathlib.RingTheory.LocalRing.RingHom.Basic
  • Mathlib.RingTheory.LocalRing.ResidueField.Basic
  • Mathlib.RingTheory.LocalRing.ResidueField.Fiber
  • Mathlib.RingTheory.Filtration
  • Mathlib.RingTheory.Flat.Basic
  • Mathlib.RingTheory.Flat.Localization
  • Mathlib.RingTheory.Ideal.Maps
  • Mathlib.RingTheory.Localization.AtPrime.Basic
  • Mathlib.RingTheory.Localization.BaseChange
  • Mathlib.RingTheory.Localization.Ideal
  • Mathlib.RingTheory.LocalProperties.Basic
  • Mathlib.RingTheory.TensorProduct.Quotient
  • Mathlib.LinearAlgebra.TensorProduct.Quotient
  • Mathlib.LinearAlgebra.TensorProduct.Tower
  • Mathlib.LinearAlgebra.Basis.VectorSpace
  • Mathlib.Algebra.Algebra.Bilinear
  • Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure
  • Mathlib.RingTheory.Noetherian.Basic
  • Mathlib.RingTheory.TensorProduct.Basic
  • Mathlib.FieldTheory.IsAlgClosed.Basic
Imported by2

Declarations

AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.lTensor_injective_of_isTorsionBySet
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem lTensor_injective_of_isTorsionBySet [IsLocalRing R] (u : N →ₗ[R] M)
    (hu : Function.Injective (u.lTensor (ResidueField R)))
    (V : Type*) [AddCommGroup V] [Module R V]
    (hV : Module.IsTorsionBySet R V (maximalIdeal R)) :
    Function.Injective (u.lTensor V)
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.lTensor_quotient_injective_of_le
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem lTensor_quotient_injective_of_le [Module.Flat R M] (u : N →ₗ[R] M) {J' J : Ideal R}
    (h : J' ≤ J)
    (hA : Function.Injective (u.lTensor (LinearMap.ker (Submodule.factor h))))
    (hJ : Function.Injective (u.lTensor (R ⧸ J))) :
    Function.Injective (u.lTensor (R ⧸ J'))
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.isTorsionBySet_quotient
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem isTorsionBySet_quotient {K s : Ideal R} (h : s ≤ K) :
    Module.IsTorsionBySet R (R ⧸ K) s
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.isTorsionBySet_ker_factor
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem isTorsionBySet_ker_factor {J' J : Ideal R} (h : J' ≤ J) {s : Ideal R} (hs : s * J ≤ J') :
    Module.IsTorsionBySet R (LinearMap.ker (Submodule.factor h)) s
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.lTensor_quotient_sup_pow_injective
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem lTensor_quotient_sup_pow_injective [IsLocalRing R] [Module.Flat R M] (u : N →ₗ[R] M)
    (hu : Function.Injective (u.lTensor (ResidueField R))) (I : Ideal R) (n : ℕ) :
    Function.Injective (u.lTensor (R ⧸ (I ⊔ maximalIdeal R ^ n)))
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.lTensor_quotient_injective_iff
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem lTensor_quotient_injective_iff (u : N →ₗ[R] M) (J : Ideal R) :
    Function.Injective (u.lTensor (R ⧸ J)) ↔
      ∀ x, u x ∈ J • (⊤ : Submodule R M) → x ∈ J • (⊤ : Submodule R N)
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.mem_smul_top_of_forall_mem_sup_pow_smul
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem mem_smul_top_of_forall_mem_sup_pow_smul
    (S : Type*) [CommRing S] [Algebra R S] [IsLocalRing R] [IsLocalRing S]
    [IsLocalHom (algebraMap R S)] [IsNoetherianRing S]
    [Module S N] [IsScalarTower R S N] [Module.Finite S N] (I : Ideal R) (x : N)
    (hx : ∀ n : ℕ, x ∈ (I ⊔ maximalIdeal R ^ n) • (⊤ : Submodule R N)) :
    x ∈ I • (⊤ : Submodule R N)
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.lTensor_quotient_injective
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem lTensor_quotient_injective
    (S : Type*) [CommRing S] [Algebra R S] [IsLocalRing R] [IsLocalRing S]
    [IsLocalHom (algebraMap R S)] [IsNoetherianRing S]
    [Module S N] [IsScalarTower R S N] [Module.Finite S N] [Module.Flat R M] (u : N →ₗ[R] M)
    (hu : ∀ x, u x ∈ maximalIdeal R • (⊤ : Submodule R M) →
      x ∈ maximalIdeal R • (⊤ : Submodule R N))
    (I : Ideal R) : Function.Injective (u.lTensor (R ⧸ I))
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.injective_and_flat_quotient_range
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
variable {R : Type*} [CommRing R]
variable {N M : Type*} [AddCommGroup N] [Module R N] [AddCommGroup M] [Module R M]
theorem injective_and_flat_quotient_range
    (S : Type*) [CommRing S] [Algebra R S] [IsLocalRing R] [IsLocalRing S]
    [IsLocalHom (algebraMap R S)] [IsNoetherianRing S]
    [Module S N] [IsScalarTower R S N] [Module.Finite S N] [Module.Flat R M] (u : N →ₗ[R] M)
    (hu : ∀ x, u x ∈ maximalIdeal R • (⊤ : Submodule R M) →
      x ∈ maximalIdeal R • (⊤ : Submodule R N)) :
    Function.Injective u ∧ Module.Flat R (M ⧸ LinearMap.range u)
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.stacks00MF
Source context 7 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
theorem stacks00MF
    {R : Type*} {S : Type*} [CommRing R] [CommRing S] [Algebra R S] [IsLocalRing R] [IsLocalRing S]
    [IsLocalHom (algebraMap R S)] [IsNoetherianRing S] [Module.Flat R S] (f : S)
    (hf : Ideal.Quotient.mk ((maximalIdeal R).map (algebraMap R S)) f ∈
      nonZeroDivisors (S ⧸ (maximalIdeal R).map (algebraMap R S))) :
    f ∈ nonZeroDivisors S ∧ Module.Flat R (S ⧸ Ideal.span {f})
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.fiberEquivQuotient

The algebra equivalence identifying a prime fibre with a quotient of the corresponding localization.

Source context 11 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
section Fiber
variable {A B : Type*} [CommRing A] [CommRing B] [Algebra A B] (p : Ideal A) [p.IsPrime]
attribute [local instance] Algebra.TensorProduct.rightAlgebra
open Algebra.TensorProduct in
def fiberEquivQuotient :
    letI Rp := Localization p.primeCompl
    letI pRp := IsLocalRing.maximalIdeal Rp
    letI Sp := Localization (Algebra.algebraMapSubmonoid B p.primeCompl)
    letI pSp := pRp.map (algebraMap Rp Sp)
    p.Fiber B ≃ₐ[B] Sp ⧸ pSp :=
  (commRight A B p.ResidueField).symm.trans <| (tensorQuotientEquiv B _ B _).trans <|
    Ideal.quotientEquivAlg _ _ (Localization.tensorLeftAlgEquiv p.primeCompl B) (by
      rw [← Ideal.map_coe includeRight, Ideal.map_map]
      congr
      ext
      simp [Localization.tensorLeftAlgEquiv_apply_one_tmul p.primeCompl])
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.exists_smul_mem_of_one_tmul_eq_zero
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
section Fiber
variable {A B : Type*} [CommRing A] [CommRing B] [Algebra A B] (p : Ideal A) [p.IsPrime]
attribute [local instance] Algebra.TensorProduct.rightAlgebra
theorem exists_smul_mem_of_one_tmul_eq_zero (b : B)
    (h : ((1 : p.ResidueField) ⊗ₜ[A] b : p.Fiber B) = 0) :
    ∃ a ∉ p, a • b ∈ p.map (algebraMap A B)
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.exists_smul_mem_of_mul_mem
Source context 7 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
theorem exists_smul_mem_of_mul_mem {A : Type u} {B : Type v} [CommRing A] [CommRing B] [Algebra A B]
    [Module.Flat A B] (g : B)
    (hg : ∀ (K : Type u) [Field K] [IsAlgClosed K] [Algebra A K],
      (g ⊗ₜ[A] (1 : K)) ∈ nonZeroDivisors (B ⊗[A] K))
    (p : Ideal A) [p.IsPrime] (b : B) (hb : g * b ∈ p.map (algebraMap A B)) :
    ∃ a ∉ p, a • b ∈ p.map (algebraMap A B)
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.localization_regular_and_flat
Source context 7 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
theorem localization_regular_and_flat {A : Type u} {B : Type v} [CommRing A] [CommRing B]
  [Algebra A B]
    [IsNoetherianRing B] [Module.Flat A B] (g : B)
    (H : ∀ (p : Ideal A) [p.IsPrime] (b : B), g * b ∈ p.map (algebraMap A B) →
      ∃ a ∉ p, a • b ∈ p.map (algebraMap A B))
    (q : Ideal B) [q.IsPrime] :
    algebraMap B (Localization.AtPrime q) g ∈ (Localization.AtPrime q)⁰ ∧
      Module.Flat A (Localization.AtPrime q ⧸
        Ideal.span {algebraMap B (Localization.AtPrime q) g})
AlgebraicCurves.Foundations.FieldTheory.Proofs.Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed.ZDFlatCA.mem_nonZeroDivisors_and_flat_quotient
Source context 7 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
namespace ZDFlatCA
theorem mem_nonZeroDivisors_and_flat_quotient {A : Type u} {B : Type v} [CommRing A] [CommRing B]
    [Algebra A B] [IsNoetherianRing B] [Module.Flat A B] (g : B)
    (hg : ∀ (K : Type u) [Field K] [IsAlgClosed K] [Algebra A K],
      (g ⊗ₜ[A] (1 : K)) ∈ nonZeroDivisors (B ⊗[A] K)) :
    g ∈ nonZeroDivisors B ∧ Module.Flat A (B ⧸ Ideal.span {g})
Module.Flat.mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
Source context 6 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.FieldTheory.Proofs
namespace Module_Flat_mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
universe u v w x
open IsLocalRing TensorProduct nonZeroDivisors
theorem _root_.Module.Flat.mem_nonZeroDivisors_and_flat_quotient_span_of_forall_isAlgClosed
    {A : Type u} {B : Type v} [CommRing A] [CommRing B] [Algebra A B] [IsNoetherianRing B]
    [Module.Flat A B] (g : B)
    (hg : ∀ (K : Type u) [Field K] [IsAlgClosed K] [Algebra A K],
      (g ⊗ₜ[A] (1 : K)) ∈ nonZeroDivisors (B ⊗[A] K)) :
    g ∈ nonZeroDivisors B ∧ Module.Flat A (B ⧸ Ideal.span {g})