import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.PointJets import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointDimension import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IndependentLinearCut /-! # Point Jet Coordinates -/ namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointJetCoordinates noncomputable section /-! First-order coordinates at finitely many actual points can be made independent while retaining a center disjoint from the projective scheme. -/ set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false open _root_.CategoryTheory _root_.AlgebraicGeometry variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : Foundations.Scheme.ProjectiveSpace.complexBase ⟢ X.carrier) (hp : p ≫ X.structureMap = πŸ™ _) def coordinate : Fin (X.ambientDimension + 1) := Classical.choose (Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen X.ambientDimension (X.embedding (p (IsLocalRing.closedPoint β„‚)))) theorem coordinate_mem : X.embedding (p (IsLocalRing.closedPoint β„‚)) ∈ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen X.ambientDimension (coordinate X p) := Classical.choose_spec (Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen X.ambientDimension (X.embedding (p (IsLocalRing.closedPoint β„‚)))) include hp in theorem over : p ≫ (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) = πŸ™ _ := by rw [X.embedding_over, hp] abbrev space := letI := Stalk.PointAlgebra.scalarAlgebra (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) (p (IsLocalRing.closedPoint β„‚)) β„‚ Γ— (AugmentedCotangent.ideal (Stalk.PointAlgebra.evaluation (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) p (over X p hp))).Cotangent abbrev scalar := Stalk.PointAlgebra.scalarAlgebra (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) (p (IsLocalRing.closedPoint β„‚)) attribute [local instance] scalar def map : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 β†’β‚—[β„‚] space X p hp := Projective.PointJets.map X.ambientDimension (coordinate X p) X.embedding p (over X p hp) (coordinate_mem X p) theorem surjective : Function.Surjective (map X p hp) := Projective.PointJets.surjective X.ambientDimension (coordinate X p) X.embedding p (over X p hp) (coordinate_mem X p) variable (m : β„•) [SmoothOfRelativeDimension m X.structureMap] include m in theorem finite : Module.Finite β„‚ (space X p hp) := by let : SmoothOfRelativeDimension m (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) := by rw [X.embedding_over] infer_instance let := Stalk.PointAlgebra.finite_cotangent (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) m p (over X p hp) infer_instance theorem dimension : Module.finrank β„‚ (space X p hp) = m + 1 := by let : SmoothOfRelativeDimension m (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) := by rw [X.embedding_over] infer_instance apply Stalk.PointAlgebra.jet_dimension (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) m p (over X p hp) apply Closed.PointDimension.coheight X m exact ((pointEquivClosedPoint X.structureMap) ⟨p, hp⟩).property def equivalence : space X p hp ≃ₗ[β„‚] (Fin (m + 1) β†’ β„‚) := by let := finite X p hp m exact LinearEquiv.ofFinrankEq _ _ (by rw [dimension X p hp m, Module.finrank_fin_fun]) theorem exists_forms {ΞΉ : Type} [Finite ΞΉ] (p : ΞΉ β†’ (Foundations.Scheme.ProjectiveSpace.complexBase ⟢ X.carrier)) (hp : βˆ€ j, p j ≫ X.structureMap = πŸ™ _) : βˆƒ L : Fin (m + 1) β†’ Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1, (βˆ€ x : X.carrier, βˆƒ a, (L a).val βˆ‰ (X.embedding x).asHomogeneousIdeal) ∧ βˆ€ j, LinearIndependent β„‚ (fun a => map X (p j) (hp j) (L a)) := by let D j := (equivalence X (p j) (hp j) m).toLinearMap.comp (map X (p j) (hp j)) have hD : βˆ€ j, Function.Surjective (D j) := fun j => (equivalence X (p j) (hp j) m).surjective.comp (PointJetCoordinates.surjective X (p j) (hp j)) obtain ⟨L, hav, hLI⟩ := IndependentLinearCut.exists_full X m D hD refine ⟨L, hav, fun j => ?_⟩ exact LinearIndependent.of_comp (equivalence X (p j) (hp j) m).toLinearMap (hLI j) end end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointJetCoordinates