cfahlgren1/math / lean /OAI /AlgebraicGeometry /Seshadri /Projective /HyperplaneAvoidance.lean
cfahlgren1's picture
download
raw
2.38 kB
import Mathlib
import OAI.AlgebraicGeometry.Seshadri.Projective.ClosedEmbedding
import OAI.AlgebraicGeometry.Seshadri.Projective.HyperplaneSection
namespace OAI
section
noncomputable section
section
namespace MaximalSeshadri.Projective
noncomputable section
open AlgebraicGeometry CategoryTheory TopologicalSpace MvPolynomial
attribute [local instance] MvPolynomial.gradedAlgebra
variable {K σ ι : Type} [Field K] [Infinite K] [Fintype σ] [Finite ι]
def linearEquationLinear : (σ → K) →ₗ[K] MvPolynomial σ K where
toFun := linearEquation
map_add' v w := by simp [linearEquation, add_mul, Finset.sum_add_distrib]
map_smul' c v := by
simp [linearEquation, Algebra.smul_def, Finset.mul_sum, mul_assoc]
omit [Infinite K] in
lemma linearEquation_single_one [DecidableEq σ] (i : σ) :
linearEquation (Pi.single i (1 : K)) = X i := by
classical
simp [linearEquation, Pi.single_apply, apply_ite, ite_mul]
theorem exists_hyperplane_avoiding (x : ι → Proj (PolyGrade K σ)) :
∃ v : σ → K, ∀ i, x i ∈ Proj.basicOpen (PolyGrade K σ) (linearEquation v) := by
classical
let p (i : ι) : Submodule K (σ → K) :=
((x i).asHomogeneousIdeal.toIdeal.restrictScalars K).comap (linearEquationLinear (K := K) (σ := σ))
have hp (i : ι) : p i ≠ ⊤ := by
intro h
have hx : x i ∈ ⨆ j : σ, Proj.basicOpen (PolyGrade K σ) (X j) := by
rw [projective_coordinate_cover]
trivial
obtain ⟨j,hj⟩ := Opens.mem_iSup.mp hx
have hj' : Pi.single j (1 : K) ∈ p i := h ▸ Submodule.mem_top
change linearEquation (Pi.single j (1 : K)) ∈ (x i).asHomogeneousIdeal at hj'
rw [linearEquation_single_one] at hj'
exact hj hj'
obtain ⟨v,hv⟩ := Submodule.exists_forall_notMem_of_forall_ne_top p hp
exact ⟨v, hv⟩
theorem exists_section_avoiding {Y : Scheme} {M : Y.Modules}
(k : K →+* Γ(Y,⊤)) (s : σ → (MaximalSeshadri.Frames.O Y ⟶ M))
(hs : (⨆ i, SectionOpens.isoOpen (s i)) = ⊤) (x : ι → Y) :
∃ v : σ → K, ∀ i, x i ∈ SectionOpens.isoOpen (sectionCombination k s v) := by
obtain ⟨v,hv⟩ := exists_hyperplane_avoiding (fun i => sectionsMorphism k s hs (x i))
refine ⟨v, fun i => ?_⟩
rw [← sectionsMorphism_hyperplane k s hs]
exact hv i
end
end MaximalSeshadri.Projective
end
end
end
end OAI

Xet Storage Details

Size:
2.38 kB
·
Xet hash:
a9d2bf0470b4e8e928bac31fa143dc1fa844c980109351366d9833bc0431f542

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