Module

NilpotentUnitScheme.lean

Nyll.SchemeTheory.Affine.WeilRestriction.NilpotentUnitScheme
13 declarations indexed from sourceView source ↗

The affine group scheme of the actual nilpotent unit kernel

Declarations

SchemeTheory.Affine.UnitNormPolynomial.tensorUnitKernelFunctor

The literal kernel of tensor-unit restriction as a group-valued algebra functor.

Source context 8 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
def tensorUnitKernelFunctor : CommAlgCat.{u} R ⥤ CommGrpCat.{u} where
  obj S := CommGrpCat.of (algebraUnitRestriction (S := S) f).ker
  map g := CommGrpCat.ofHom (tensorUnitKernelMap f g.hom)
  map_id S := by
    apply ConcreteCategory.hom_ext
    intro x
    apply Subtype.ext
    apply Units.ext
    change Algebra.TensorProduct.map (AlgHom.id R S) (AlgHom.id R A) _ = _
    rw [Algebra.TensorProduct.map_id]
    rfl
  map_comp g h := by
    apply ConcreteCategory.hom_ext
    intro x
    apply Subtype.ext
    apply Units.ext
    change Algebra.TensorProduct.map (h.hom.comp g.hom) (AlgHom.id R A) _ =
      Algebra.TensorProduct.map h.hom (AlgHom.id R A)
        (Algebra.TensorProduct.map g.hom (AlgHom.id R A) _)
    rw [← AlgHom.comp_apply, ← Algebra.TensorProduct.map_comp]
    rfl
SchemeTheory.Affine.UnitNormPolynomial.tensorUnitGroupPresheaf

Actual tensor units with their multiplication on all test schemes.

Source context 8 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
def tensorUnitGroupPresheaf (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] :
    (Over (Spec (CommRingCat.of R)))ᵒᵖ ⥤ CommGrpCat.{u}
SchemeTheory.Affine.UnitNormPolynomial.tensorUnitKernelPresheaf

The actual unit kernel, including on nonaffine scheme tests.

Source context 8 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
def tensorUnitKernelPresheaf : (Over (Spec (CommRingCat.of R)))ᵒᵖ ⥤ CommGrpCat.{u}
SchemeTheory.Affine.UnitNormPolynomial.tensorUnitKernelInclusion

The inclusion is the original inclusion into the tensor-algebra units.

Source context 8 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
def tensorUnitKernelInclusion : tensorUnitKernelPresheaf f ⟶ tensorUnitGroupPresheaf R A where
  app T := CommGrpCat.ofHom (algebraUnitRestriction (S := sectionsAlgebra R T.unop) f).ker.subtype
  naturality _ _ _ := by
    apply ConcreteCategory.hom_ext
    intro x
    rfl
SchemeTheory.Affine.UnitNormPolynomial.tensorUnitGroupRestriction

Restriction remains the actual tensor-algebra unit homomorphism.

Source context 8 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
def tensorUnitGroupRestriction : tensorUnitGroupPresheaf R A ⟶ tensorUnitGroupPresheaf R B where
  app T := CommGrpCat.ofHom (algebraUnitRestriction (S := sectionsAlgebra R T.unop) f)
  naturality _ _ g := by
    apply ConcreteCategory.hom_ext
    intro x
    exact algebraUnitRestriction_naturality f (sectionsMap g.unop) x
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelObject

The affine space carrying the nilpotent unit kernel.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
def nilpotentUnitKernelObject : Over (Spec (CommRingCat.of R))
SchemeTheory.Affine.UnitNormPolynomial.polynomialCoordinatesEquiv

Polynomial maps are classified by their actual variable values.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
def polynomialCoordinatesEquiv (S : Type u) [CommRing S] [Algebra R S] :
    (MvPolynomial ι R →ₐ[R] S) ≃ (ι → S) where
  toFun p i := p (MvPolynomial.X i)
  invFun := MvPolynomial.aeval
  left_inv p := by
    apply MvPolynomial.algHom_ext
    intro i
    exact MvPolynomial.aeval_X _ i
  right_inv x := by
    funext i
    exact MvPolynomial.aeval_X x i
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelHomEquiv

Polynomial coordinates classify every actual unit in the kernel.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
def nilpotentUnitKernelHomEquiv (S : Type u) [CommRing S] [Algebra R S] :
    (MvPolynomial ι R →ₐ[R] S) ≃ (algebraUnitRestriction (S := S) f).ker
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelHomEquiv_comp

The polynomial classification commutes with every parameter-algebra map.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
theorem nilpotentUnitKernelHomEquiv_comp {S T : Type u} [CommRing S] [CommRing T]
    [Algebra R S] [Algebra R T] (p : MvPolynomial ι R →ₐ[R] S) (g : S →ₐ[R] T) :
    nilpotentUnitKernelHomEquiv f bA bB hleft hright hf hnil T (g.comp p) =
      tensorUnitKernelMap f g (nilpotentUnitKernelHomEquiv f bA bB hleft hright hf hnil S p)
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelRepresentable

The actual unit kernel is represented by affine space on arbitrary scheme tests.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
def nilpotentUnitKernelRepresentable :
    (tensorUnitKernelPresheaf f ⋙ forget CommGrpCat).RepresentableBy
      (nilpotentUnitKernelObject (R := R) (ι := ι)) where
  homEquiv {T} :=
    (affinePointEquiv (CommAlgCat.of R (MvPolynomial ι R)) T).symm.trans
      (nilpotentUnitKernelHomEquiv f bA bB hleft hright hf hnil (sectionsAlgebra R T))
  homEquiv_comp {T T'} g p :=
    (congrArg (nilpotentUnitKernelHomEquiv f bA bB hleft hright hf hnil (sectionsAlgebra R T))
      (affinePointEquiv_symm_comp (CommAlgCat.of R (MvPolynomial ι R)) g p)).trans
        (nilpotentUnitKernelHomEquiv_comp f bA bB hleft hright hf hnil
          ((affinePointEquiv (CommAlgCat.of R (MvPolynomial ι R)) T').symm p) (sectionsMap g))
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelGroup

The affine-space carrier with the original multiplicative law of the unit kernel.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
def nilpotentUnitKernelGroup : CommGrp (Over (Spec (CommRingCat.of R)))
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelGroup_carrier

The constructed group has the actual polynomial spectrum as its carrier.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
theorem nilpotentUnitKernelGroup_carrier :
    (nilpotentUnitKernelGroup f bA bB hleft hright hf hnil).X.left =
      Spec (CommRingCat.of (MvPolynomial ι R))
SchemeTheory.Affine.UnitNormPolynomial.nilpotentUnitKernelGroup_isAffine

In particular, this actual nilpotent unit group is affine.

Source context 9 commands

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

@[expose] public section
noncomputable section
universe u
open AlgebraicGeometry CategoryTheory Opposite Module
open scoped TensorProduct
namespace SchemeTheory.Affine.UnitNormPolynomial
open ScalarQuotientPresheaf ScalarQuotientSchemePresheaf WeilRestrictionUnits
variable {R A B : Type u} [CommRing R] [CommRing A] [CommRing B]
  [Algebra R A] [Algebra R B] (f : A →ₐ[R] B)
variable {ι κ : Type} [Fintype ι] [Fintype κ]
  (bA : Basis (ι ⊕ κ) R A) (bB : Basis κ R B)
  (hleft : ∀ i, f (bA (Sum.inl i)) = 0)
  (hright : ∀ j, f (bA (Sum.inr j)) = bB j)
  (hf : Function.Surjective f) (hnil : IsNilpotent (RingHom.ker f.toRingHom))
instance nilpotentUnitKernelGroup_isAffine :
    IsAffine (nilpotentUnitKernelGroup f bA bB hleft hright hf hnil).X.left