AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_IdealSheafData_IsInvertible_exists_divisor_range_invModule_eq_lSpaceOn.AlgebraicGeometry.Scheme.IdealSheafData.IsInvertible.exists_divisor_range_invModule_eq_lSpaceOn'
Source context 21 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization (rM rO rM_rM rO_rO rM_self rO_self
rM_smul hat_eq le_hat hat_le eApp eInv eInv_eApp eApp_eInv eApp_zero eApp_injective
restrict_smul_eq eApp_smul eApp_res ψ ψinv rM_roundtrip rM_roundtrip' rO_roundtrip rO_roundtrip'
ψ_ψinv ψinv_ψ ψ_injective ψ_zero ψ_smul ψ_res)
section ProofImplementation
open _root_.AlgebraicGeometry.Scheme.Modules.LocalTrivialization
(frame ψ_frame ψ_rM_frame eq_smul_frame IsGeneratorAt isGeneratorAt_frame isGeneratorAt_rM)
namespace AlgebraicCurves.Geometry.Sheaves.Proofs
namespace Scheme_IdealSheafData_IsInvertible_exists_divisor_range_invModule_eq_lSpaceOn
attribute [-instance]
AlgebraicCurve.Place.instIsRankOneDiscreteWithZeroMultiplicativeIntAdicValuation
AlgebraicCurve.Place.instIsTrivialOnWithZeroMultiplicativeIntAdicValuation
PresheafOfModules.PullbackMonoidal.pullback_monoidal
PresheafOfModules.PullbackMonoidal.isIso_δ
PresheafOfModules.pushforward_laxMonoidal
PresheafOfModules.PullbackMonoidal.isIso_η
PresheafOfModules.free_monoidal
PresheafOfModules.restrictScalars_laxMonoidal
PresheafOfModules.PullbackMonoidal.isIso_δ_gS
PresheafOfModules.pullback_oplaxMonoidal
instPreservesColimitsOfSizeCompOppositeCommRingCatRingCatForget₂RingHomCarrierCarrierPb
PresheafOfModules.pullback_monoidal'
AlgebraicGeometry.Scheme.Modules.preservesBinaryProducts_opensMap
AlgebraicGeometry.Scheme.Modules.pullback_monoidal
AlgebraicGeometry.Scheme.Modules.sheafify_isLocalization'
AlgebraicGeometry.Scheme.Modules.preservesTerminal_opensMap
AlgebraicGeometry.Scheme.Modules.pullback₀_monoidal
AlgebraicGeometry.Scheme.Modules.preservesFiniteProducts_opensMap
AlgebraicGeometry.Scheme.Modules.sheafifyPullback_lifting
SheafOfModules.isIso_ihomModelToIhom
attribute [-simp]
AlgebraicCurve.Place.congrEquiv_symm_apply
AlgebraicCurve.RationalFunctionField.heightOneSpectrumOfIrreducible_asIdeal
AlgebraicCurve.Place.congrRingEquiv_toValuationSubring
AlgebraicCurve.Place.congrEquiv_apply
AlgebraicCurve.Place.coe_comapSymmRingEquiv_apply
AlgebraicCurve.RationalFunctionField.deg_placeOfPoint
PresheafOfModules.freeεIso_hom_app
PresheafOfModules.freeμIso_hom_app
PresheafOfModules.InternalHom.IsSheafAux.appAt_toPresheafHom
SheafOfModules.ihomSectionsEquivFamily_unit
AlgebraicGeometry.Scheme.Modules.restrictHomEquivFamily_apply
SheafOfModules.ihomEval_unit_app
AlgebraicGeometry.Scheme.Modules.ihomEval_zero_right
AlgebraicGeometry.Scheme.Modules.ihomEval_zero_left
AlgebraicGeometry.Scheme.Modules.homOfFamily_app_apply
SheafOfModules.unit_ihomSectionsEquivFamily
AlgebraicGeometry.Scheme.Modules.familyOfHom_app
AlgebraicGeometry.Scheme.Modules.restrictUnitIso_hom_app_apply
AlgebraicGeometry.Scheme.Modules.restrictUnitIso_inv_app_apply
AlgebraicGeometry.Scheme.Modules.restrictHomOfFamily_app_apply
AlgebraicGeometry.Scheme.Modules.restrictHomEquivFamily_symm_apply
AlgebraicGeometry.Scheme.Modules.tensorSections_zero_right
AlgebraicGeometry.Scheme.Modules.map_unitSection
AlgebraicGeometry.Scheme.Modules.tensorSectionsBilin_apply
AlgebraicGeometry.Scheme.Modules.tensorPowSection_zero
AlgebraicGeometry.Scheme.Modules.tensorSections_zero_left
AlgebraicGeometry.Scheme.Modules.tensorPow_zero
AlgebraicGeometry.Scheme.Modules.tensorPow_succ
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
open scoped _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme
_root_.AlgebraicGeometry.Scheme.IdealSheafData
_root_.AlgebraicGeometry.Scheme.IdealSheafData.IsInvertible in
with_weak_namespace _root_.AlgebraicCurves.Geometry.Sheaves.Proofs
with_weak_namespace Scheme_IdealSheafData_IsInvertible_exists_divisor_range_invModule_eq_lSpaceOn
with_weak_namespace AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry.Scheme.Modules hiding restrict_smul_eq in
open Modules Modules.RatSec IdealSheafData.PresMod AlgebraicCurve
_root_.CategoryTheory.MonoidalCategory in
with_weak_namespace _root_.AlgebraicCurves.Geometry.Sheaves.Proofs
with_weak_namespace Scheme_IdealSheafData_IsInvertible_exists_divisor_range_invModule_eq_lSpaceOn
Lean source · full declarationtheorem
AlgebraicGeometry.Scheme.IdealSheafData.IsInvertible.exists_divisor_range_invModule_eq_lSpaceOn'
{K : Type u} [Field K] {X : Scheme.{u}} (x : X ⟶ Spec (CommRingCat.of K))
[IsIntegral X] [IsSeparated x] [QuasiCompact x] [SmoothOfRelativeDimension 1 x]
{I : X.IdealSheafData} (hI : I.IsInvertible) :
let := (AlgebraicCurve.baseToFunctionField x).toAlgebra
∃ (D : AlgebraicCurve.Divisor K X.functionField)
(φ : ∀ U : X.Opens, Γ(I.invModule, U) →+ (X.functionField : Type u)),
((∀ (U V : X.Opens) (h : V ≤ U), Nonempty V →
∀ m : Γ(I.invModule, U), φ V (I.invModule.presheaf.map (homOfLE h).op m) = φ U m) ∧
(∀ (U : X.Opens) [Nonempty U] (a : Γ(X, U)) (m : Γ(I.invModule, U)),
φ U (a • m) = algebraMap Γ(X, U) X.functionField a * φ U m) ∧
(∀ U : X.Opens, Nonempty U → Function.Injective (φ U)) ∧
(∀ U : X.Opens, IsAffineOpen U → Nonempty U →
Set.range (φ U) = (AlgebraicCurve.lSpaceOn (AlgebraicCurve.placesOf x U) D : Set
X.functionField)) ∧
(∀ (U : X.Opens) (s : Γ(I.invModule, U)) (y : X), y ∈ U → IsClosed ({y} : Set X) →
(∀ (W : X.Opens) (h : W ≤ U), y ∈ W → ∀ m : Γ(I.invModule, W), ∃ a : Γ(X, W), m = a •
I.invModule.presheaf.map (homOfLE h).op s) →
∀ v : AlgebraicCurve.Place K X.functionField,
(algebraMap (X.presheaf.stalk y) X.functionField).range = v.toValuationSubring.toSubring
→
WithZero.exp (D v) = v.adicValuation (φ U s))) ∧
φ ⊤ (I.invModuleSection.app ⊤ (Scheme.Modules.toUnitSection ⊤ 1)) ≠ 0 ∧
(∀ (U : X.Opens) (hU : IsAffineOpen U) (g : Γ(X, U)) (y : X) (hyU : y ∈ U), IsClosed ({y} :
Set X) →
I.ideal ⟨U, hU⟩ = Ideal.span {g} →
∀ v : AlgebraicCurve.Place K X.functionField,
(algebraMap (X.presheaf.stalk y) X.functionField).range = v.toValuationSubring.toSubring
→
haveI : Nonempty U := ⟨⟨y, hyU⟩⟩
D v + v.ord (φ ⊤ (I.invModuleSection.app ⊤ (Scheme.Modules.toUnitSection ⊤ 1))) =
v.ord (algebraMap Γ(X, U) X.functionField g)) := by
intro sharedOwner1
classical
have hM : Scheme.Modules.IsInvertible I.invModule := hI.isInvertible_invModule
obtain ⟨D, φ, h1, h2, h3, h4, h5⟩ :=
Scheme.Modules.IsInvertible.exists_divisor_range_eq_lSpaceOn x I.invModule hM
set σ : 𝟙_ X.Modules ⟶ I.invModule := I.invModuleSection with hσ
have : Nonempty (⊤ : X.Opens) := ⟨⟨genericPoint X, trivial⟩⟩
have hZ : Scheme.Modules.zeroSchemeIdeal σ = I := hI.zeroSchemeIdeal_invModuleSection
have hideal : ∀ (W : X.affineOpens) (τ : I.invModule.restrict W.1.ι ≅ 𝟙_ (W.1 :
Scheme.{u}).Modules),
I.ideal W = Ideal.span {ψ I.invModule W.1 τ le_rfl (σ.app W.1 (toUnitSection W.1 1))} := by
intro W τ
rw [ψ_section_eq_coeff I.invModule W.1 τ σ]
conv_lhs => rw [← hZ]
exact ((Scheme.Modules.IsInvertible.coeffIdeal_le_and_ideal_zeroSchemeIdeal_eq hM σ).2 W τ).1
have key : ∀ (U : X.Opens) (hU : IsAffineOpen U) (g : Γ(X, U)) (y : X) (hyU : y ∈ U), IsClosed
({y} : Set X) →
I.ideal ⟨U, hU⟩ = Ideal.span {g} →
∀ v : AlgebraicCurve.Place K X.functionField,
(algebraMap (X.presheaf.stalk y) X.functionField).range = v.toValuationSubring.toSubring →
haveI : Nonempty U := ⟨⟨y, hyU⟩⟩
WithZero.exp (D v) * v.adicValuation (alg U g) =
v.adicValuation (φ ⊤ (σ.app ⊤ (toUnitSection ⊤ 1))) := by
intro U hU g y hyU hy hg v hv
have : Nonempty U := ⟨⟨y, hyU⟩⟩
obtain ⟨W, hyW, hWU, ⟨τ⟩⟩ := Scheme.Modules.IsInvertible.exists_restrict_iso hM (V := U) hyU
have : Nonempty W.1 := ⟨⟨y, hyW⟩⟩
let s : Γ(I.invModule, W.1) := frame I.invModule W.1 τ
have hs : IsGeneratorAt I.invModule W.1 s y := isGeneratorAt_frame I.invModule W.1 τ y
let a : Γ(X, W.1) := ψ I.invModule W.1 τ le_rfl (σ.app W.1 (toUnitSection W.1 1))
have hσW : σ.app W.1 (toUnitSection W.1 1) = a • s := by
have e1 := eq_smul_frame I.invModule W.1 τ le_rfl (σ.app W.1 (toUnitSection W.1 1))
rw [rM_self] at e1
exact e1
have hIW1 : I.ideal W = Ideal.span {a} := hideal W τ
have hIW2 : I.ideal W = Ideal.span {rO hWU g} := by
rw [← I.map_ideal (U := W) (V := ⟨U, hU⟩) hWU, hg, Ideal.map_span, Set.image_singleton]
rfl
have hval : v.adicValuation (alg W.1 a) = v.adicValuation (alg U g) := by
rw [adicValuation_alg_eq_of_span_eq x W.1 y hyW hy v hv a (rO hWU g) (hIW1.symm.trans hIW2),
alg_rO]
have k5 := h5 W.1 s y hyW hy (fun W' h hyW' m => hs W' h hyW' m) v hv
have k1 : φ ⊤ (σ.app ⊤ (toUnitSection ⊤ 1)) = φ W.1 (σ.app W.1 (toUnitSection W.1 1)) := by
rw [← rM_section_one I.invModule σ (le_top : W.1 ≤ ⊤)]
exact (h1 ⊤ W.1 le_top inferInstance _).symm
rw [k1, hσW, h2, Valuation.map_mul, ← k5, ← hval]
change _ = v.adicValuation (alg W.1 a) * _
rw [mul_comm]
have hσ1 : σ.app ⊤ (toUnitSection ⊤ 1) ≠ 0 := by
intro h0
obtain ⟨U, f, hηf, g, hg, hIg⟩ := hI (genericPoint X)
obtain ⟨W, hηW, hWU, ⟨τ⟩⟩ :=
Scheme.Modules.IsInvertible.exists_restrict_iso hM (V := X.affineBasicOpen f) hηf
have : Nonempty W.1 := ⟨⟨genericPoint X, hηW⟩⟩
have : Nonempty (X.affineBasicOpen f : X.Opens) := ⟨⟨genericPoint X, hηf⟩⟩
have hW0 : σ.app W.1 (toUnitSection W.1 1) = 0 := by
rw [← rM_section_one I.invModule σ (le_top : W.1 ≤ ⊤), h0, rM_zero]
have hIW1 := hideal W τ
rw [hW0] at hIW1
erw [ψ_zero] at hIW1
have hIW2 : I.ideal W = Ideal.span {rO hWU g} := by
rw [← I.map_ideal (U := W) (V := X.affineBasicOpen f) hWU, hIg, Ideal.map_span,
Set.image_singleton]
rfl
have hg0 : rO hWU g = 0 := by
have hmem : rO hWU g ∈ I.ideal W := hIW2 ▸ Ideal.mem_span_singleton_self _
rw [hIW1] at hmem
simpa using hmem
have hg0' : g = 0 := rO_injective hWU (by rw [hg0, rO_zero])
exact nonZeroDivisors.ne_zero hg hg0'
have hf : φ ⊤ (σ.app ⊤ (toUnitSection ⊤ 1)) ≠ 0 := by
intro h0
exact hσ1 (h3 ⊤ inferInstance (by rw [h0, map_zero]))
refine ⟨D, φ, ⟨h1, h2, h3, h4, h5⟩, hf, ?_⟩
intro U hU g y hyU hy hg v hv
have : Nonempty U := ⟨⟨y, hyU⟩⟩
have k := key U hU g y hyU hy hg v hv
have hf' : v.adicValuation (φ ⊤ (σ.app ⊤ (toUnitSection ⊤ 1))) ≠ 0 := (Valuation.ne_zero_iff
_).mpr hf
have hg' : v.adicValuation (alg U g) ≠ 0 := by
intro h0
rw [h0, mul_zero] at k
exact hf' k.symm
have hlog := congrArg WithZero.log k
rw [WithZero.log_mul WithZero.exp_ne_zero hg', WithZero.log_exp] at hlog
simp only [Place.ord]
change D v + -WithZero.log (v.adicValuation (φ ⊤ (σ.app ⊤ (toUnitSection ⊤ 1)))) = -WithZero.log
(v.adicValuation (alg U g))
omega