cfahlgren1/math / lean /OAI /NumberTheory /PiExponent /Geometry /ProjectiveLineProper.lean
cfahlgren1's picture
download
raw
2.66 kB
13
abbrev projectiveLine (F : Type u) [CommRing F] : Scheme.{u} :=
body · 1 line
  Proj (MvPolynomial.homogeneousSubmodule Bool F)
16
def constantsInDegreeZero (F : Type u) [CommRing F] :
    F →+* (MvPolynomial.homogeneousSubmodule Bool F 0) where
body · 5 lines
  toFun r := ⟨MvPolynomial.C r, MvPolynomial.isHomogeneous_C _ r⟩
  map_one' := Subtype.ext MvPolynomial.C_1
  map_mul' a b := Subtype.ext (MvPolynomial.C_mul (a := a) (a' := b))
  map_zero' := Subtype.ext MvPolynomial.C_0
  map_add' a b := Subtype.ext (MvPolynomial.C_add (a := a) (a' := b))
24
theorem constantsInDegreeZero_bijective (F : Type u) [CommRing F] :
    Function.Bijective (constantsInDegreeZero F) := by
proof · 9 lines
  constructor
  · intro a b h
    exact MvPolynomial.C_injective _ _ (congrArg Subtype.val h)
  · intro p
    have h : p.val.totalDegree = 0 :=
      (MvPolynomial.totalDegree_zero_iff_isHomogeneous _).mpr p.property
    refine ⟨p.val.coeff 0, ?_⟩
    apply Subtype.ext
    exact (MvPolynomial.totalDegree_eq_zero_iff_eq_C.mp h).symm
36
def degreeZeroEquiv (F : Type u) [CommRing F] :
    F ≃+* (MvPolynomial.homogeneousSubmodule Bool F 0) :=
body · 1 line
  RingEquiv.ofBijective (constantsInDegreeZero F) (constantsInDegreeZero_bijective F)
40
instance constantsInDegreeZero_isIso (F : Type u) [CommRing F] :
    IsIso (CommRingCat.ofHom (constantsInDegreeZero F)) :=
body · 1 line
  (degreeZeroEquiv F).toCommRingCatIso.isIso_hom
44
def structureMap (F : Type u) [CommRing F] :
    projectiveLine F ⟶ Spec (CommRingCat.of F) :=
body · 2 lines
  Proj.toSpecZero (MvPolynomial.homogeneousSubmodule Bool F) ≫
    Spec.map (CommRingCat.ofHom (constantsInDegreeZero F))
49
instance structureMap_isProper (F : Type u) [CommRing F] :
    IsProper (structureMap F) := by
body · 12 lines
  let A := MvPolynomial Bool F
  let 𝒜 := MvPolynomial.homogeneousSubmodule Bool F
  let : Algebra F (𝒜 0) := SetLike.GradeZero.instAlgebra 𝒜
  let : IsScalarTower F (𝒜 0) A := ⟨fun a b c => by
    change (a • (b : A)) * c = a • ((b : A) * c)
    exact smul_mul_assoc a (b : A) c⟩
  let : Algebra.FiniteType (𝒜 0) A :=
    Algebra.FiniteType.of_restrictScalars_finiteType F (𝒜 0) A
  have hp : IsProper (Proj.toSpecZero 𝒜) := inferInstance
  have : IsIso (Spec.map (CommRingCat.ofHom (constantsInDegreeZero F))) := inferInstance
  unfold structureMap
  exact IsProper.stableUnderComposition.comp_mem _ _ hp inferInstance

Xet Storage Details

Size:
2.66 kB
·
Xet hash:
733c71965762bbfd10ae63338f894b83d6343c34f6894df1e0c276e0ef61d147

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