cfahlgren1/math / lean /OAI /NumberTheory /PiExponent /Geometry /PolynomialProjectiveStructure.lean
cfahlgren1's picture
download
raw
1.93 kB
16
def polynomialGradeZeroEquiv : R ≃+* homogeneousSubmodule σ R 0 :=
body · 10 lines
  RingEquiv.ofBijective (algebraMap R (homogeneousSubmodule σ R 0)) (by
    constructor
    · intro a b h
      apply MvPolynomial.C_injective
      exact congrArg (fun x : homogeneousSubmodule σ R 0 => (x : MvPolynomial σ R)) h
    · intro p
      refine ⟨p.1.coeff 0, ?_⟩
      apply Subtype.ext
      exact (MvPolynomial.totalDegree_eq_zero_iff_eq_C.mp
        ((MvPolynomial.totalDegree_zero_iff_isHomogeneous σ).mpr p.2)).symm)
28
def polynomialProjectiveProjection : Proj (homogeneousSubmodule σ R) ⟶ Spec (CommRingCat.of R) :=
body · 2 lines
  Proj.toSpecZero (homogeneousSubmodule σ R) ≫
    Spec.map (CommRingCat.ofHom (polynomialGradeZeroEquiv R σ).toRingHom)
32
instance : IsScalarTower R (homogeneousSubmodule σ R 0) (MvPolynomial σ R) :=
body · 2 lines
  IsScalarTower.of_algebraMap_eq (R := R) (S := homogeneousSubmodule σ R 0)
    (A := MvPolynomial σ R) (fun _ => rfl)
36
instance [Finite σ] : Algebra.FiniteType (homogeneousSubmodule σ R 0) (MvPolynomial σ R) :=
body · 2 lines
  Algebra.FiniteType.of_restrictScalars_finiteType R
    (homogeneousSubmodule σ R 0) (MvPolynomial σ R)
40
instance polynomialProjectiveProjection_proper [Finite σ] :
    IsProper (polynomialProjectiveProjection R σ) := by
body · 5 lines
  have : IsProper (Proj.toSpecZero (homogeneousSubmodule σ R)) := inferInstance
  have : IsIso (Spec.map (CommRingCat.ofHom (polynomialGradeZeroEquiv R σ).toRingHom)) := by
    change IsIso (Spec.map (polynomialGradeZeroEquiv R σ).toCommRingCatIso.hom)
    infer_instance
  exact MorphismProperty.comp_mem (@IsProper) _ _ inferInstance inferInstance

Xet Storage Details

Size:
1.93 kB
·
Xet hash:
4338185fa14320a00e6558c53d745b23ace8141ed88b9fe6dc5afa8ab8588b7e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.