Module

TwoChartCechGrothendieckComplex.lean

Nyll.SchemeTheory.RingTheory.TwoChartCechGrothendieckComplex
15 declarations indexed from sourceView source ↗

Construct a two-chart Cech Grothendieck complex over a local ring.

Imports10
Imported by4

Declarations

AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.free_K0
Source context 14 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
theorem free_K0 [IsNoetherianRing R] [IsLocalRing R] [Module.Flat R C0] [Module.Flat R C1]
    [Module.Finite R (LinearMap.ker d)] : Module.Free R (K0 d)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.model

The finite free two-term complex constructed from the kernel of the combined surjection.

Source context 14 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
def model [IsNoetherianRing R] [IsLocalRing R] [Module.Flat R C0] [Module.Flat R C1]
    [Module.Finite R (LinearMap.ker d)] : CoherentBaseChange.TwoTermComplex.{u, u} R
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.d_baseChange_comp_iota0_baseChange
Source context 16 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
theorem d_baseChange_comp_iota0_baseChange :
    (d.baseChange A) ∘ₗ ((ι0 d).baseChange A)
      = -(((lift d).baseChange A) ∘ₗ ((dK d).baseChange A))
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.subtype_baseChange_injective
Source context 17 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
theorem subtype_baseChange_injective :
    Function.Injective ((K0 d).subtype.baseChange A)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.mem_range_subtype_baseChange
Source context 18 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
omit [Module.Flat R C1] in
theorem mem_range_subtype_baseChange (w : A ⊗[R] (C0 × (Fin (rank d) → R))) :
    ((d.coprod (lift d)).baseChange A) w = 0 ↔ ∃ z, ((K0 d).subtype.baseChange A) z = w
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.prodRight_apply_eq_baseChange
Source context 18 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
omit [Module.Flat R C1] in
theorem prodRight_apply_eq_baseChange {M N : Type u} [AddCommGroup M] [Module R M]
    [AddCommGroup N] [Module R N] (w : A ⊗[R] (M × N)) :
    (TensorProduct.prodRight R A A M N) w
      = (((LinearMap.fst R M N).baseChange A) w, ((LinearMap.snd R M N).baseChange A) w)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.prodRight_subtype_baseChange
Source context 18 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
omit [Module.Flat R C1] in
theorem prodRight_subtype_baseChange (z : A ⊗[R] K0 d) :
    (TensorProduct.prodRight R A A C0 (Fin (rank d) → R)) (((K0 d).subtype.baseChange A) z)
      = (((ι0 d).baseChange A) z, ((dK d).baseChange A) z)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.coprod_baseChange_apply
Source context 18 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
omit [Module.Flat R C1] in
theorem coprod_baseChange_apply (w : A ⊗[R] (C0 × (Fin (rank d) → R))) :
    ((d.coprod (lift d)).baseChange A) w
      = (d.baseChange A) ((TensorProduct.prodRight R A A C0 (Fin (rank d) → R)) w).1
        + ((lift d).baseChange A) ((TensorProduct.prodRight R A A C0 (Fin (rank d) → R)) w).2
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.kerMap_injective
Source context 17 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
theorem kerMap_injective :
    Function.Injective (kerMapBaseChange (dK d) d (ι0 d) (-(lift d)) (Mumford.comm d) A)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.kerMap_surjective
Source context 18 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
omit [Module.Flat R C1] in
theorem kerMap_surjective :
    Function.Surjective (kerMapBaseChange (dK d) d (ι0 d) (-(lift d)) (Mumford.comm d) A)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.cokerMap_surjective
Source context 17 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
theorem cokerMap_surjective [IsNoetherianRing R] [IsLocalRing R] [Module.Flat R C0]
    [Module.Finite R (LinearMap.ker d)] :
    Function.Surjective
      (cokerMapBaseChange (model d).d d (ι0 d) (-(lift d)) (Mumford.comm d) A)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.cokerMap_injective
Source context 17 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
section BaseChange
variable (A : Type u) [CommRing A] [Algebra R A]
variable [Module.Flat R C1]
theorem cokerMap_injective [IsNoetherianRing R] [IsLocalRing R] [Module.Flat R C0]
    [Module.Finite R (LinearMap.ker d)] :
    Function.Injective
      (cokerMapBaseChange (model d).d d (ι0 d) (-(lift d)) (Mumford.comm d) A)
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.Truncation.grothendieckComplex

The finite free model whose comparison maps preserve kernel and cokernel under the given flat base changes.

Source context 14 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
namespace Truncation
variable {R : Type u} [CommRing R]
variable {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
variable (d : C0 →ₗ[R] C1) [Module.Finite R (C1 ⧸ LinearMap.range d)]
def grothendieckComplex [IsNoetherianRing R] [IsLocalRing R] [Module.Flat R C0] [Module.Flat R C1]
    [Module.Finite R (LinearMap.ker d)] : GrothendieckComplex d where
  G := model d
  ι0 := ι0 d
  ι1 := -(lift d)
  comm := Mumford.comm d
  bijective_kerMap A _ _ := ⟨kerMap_injective d A, kerMap_surjective d A⟩
  bijective_cokerMap A _ _ := ⟨cokerMap_injective d A, cokerMap_surjective d A⟩
AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing.TwoChartCech.nonempty_of_isLocalRing'
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
namespace TwoChartCech
open _root_.TwoChartCech
open _root_.TwoChartCech.Mumford
theorem nonempty_of_isLocalRing' {R : Type u} [CommRing R] [IsNoetherianRing R]
    [IsLocalRing R] {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
    [Module.Flat R C0] [Module.Flat R C1] (d : C0 →ₗ[R] C1)
    [Module.Finite R (LinearMap.ker d)] [Module.Finite R (C1 ⧸ LinearMap.range d)] :
    Nonempty (_root_.TwoChartCech.GrothendieckComplex d)
TwoChartCech.GrothendieckComplex.nonempty_of_isLocalRing
Source context 7 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace TwoChartCech_GrothendieckComplex_nonempty_of_isLocalRing
noncomputable section
open scoped TensorProduct
universe u
theorem _root_.TwoChartCech.GrothendieckComplex.nonempty_of_isLocalRing {R : Type u} [CommRing
    R] [IsNoetherianRing R]
    [IsLocalRing R] {C0 C1 : Type u} [AddCommGroup C0] [Module R C0] [AddCommGroup C1] [Module R C1]
    [Module.Flat R C0] [Module.Flat R C1] (d : C0 →ₗ[R] C1)
    [Module.Finite R (LinearMap.ker d)] [Module.Finite R (C1 ⧸ LinearMap.range d)] :
    Nonempty (_root_.TwoChartCech.GrothendieckComplex d)