AlgebraicCurves.Geometry.Sheaves.Proofs.Scheme_Modules_isPrincipal_sub_sub_of_presentations_tensor.AlgebraicGeometry.Scheme.Modules.isPrincipal_sub_sub_of_presentations_tensor'
Source context 23 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_Modules_isPrincipal_sub_sub_of_presentations_tensor
attribute [-instance]
AlgebraicCurve.Place.instIsRankOneDiscreteWithZeroMultiplicativeIntAdicValuation
AlgebraicCurve.Place.instIsTrivialOnWithZeroMultiplicativeIntAdicValuation
AlgebraicCurve.IsCurveOver.instNontrivialKaehler
AlgebraicCurve.IsCurveOver.instFreeKaehler
AlgebraicCurve.IsCurveOver.toHasPrincipalDivisors
AlgebraicCurve.IsCurveOver.instFiniteResidue
AlgebraicCurve.instFundamentalIdentityOfSumRamificationInertia
AlgebraicCurve.Place.instIsScalarTowerResidueFieldRestrictPushforward
AlgebraicCurve.Place.instAlgebraResidueFieldRestrictPushforward
AlgebraicCurve.Place.instIsLocalHomRestrictInclusion
AlgebraicCurve.Place.instIsPrimeCenter
AlgebraicCurve.Place.instIsFractionRingIntegralClosureAt
instIsTorsionFreeSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
AlgebraicCurve.Place.instIsDedekindDomainIntegralClosureAt
AlgebraicCurve.Place.instFiniteSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
AlgebraicCurve.RationalFunctionField.instNontrivialInftyValueGroup
PresheafOfModules.PullbackMonoidal.pullback_monoidal
PresheafOfModules.PullbackMonoidal.isIso_δ
PresheafOfModules.pushforward_laxMonoidal
PresheafOfModules.PullbackMonoidal.isIso_η
PresheafOfModules.free_monoidal
PresheafOfModules.restrictScalars_laxMonoidal
PresheafOfModules.PullbackMonoidal.isIso_δ_gS
attribute [-instance]
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
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
AlgebraicCurve.mulAdele_apply
AlgebraicCurve.residuePairing_apply_coe
AlgebraicCurve.mem_adeleBdd
AlgebraicCurve.weilSmul_one
AlgebraicCurve.diagonalHom_apply
AlgebraicCurve.weilSmul_apply
AlgebraicCurve.adeleSpaceMul_coe
AlgebraicCurve.mulAdele_one
AlgebraicCurve.Divisor.mapRestrict_single
AlgebraicCurve.Divisor.pushforward_single
AlgebraicCurve.Place.coe_restrictInclusion
AlgebraicCurve.Place.mem_fiber
AlgebraicCurve.Place.restrict_toValuationSubring
AlgebraicCurve.Divisor.degree_pushforward
AlgebraicCurve.Place.restrictResidueMap_residue
AlgebraicCurve.Pic0.coe_pushforwardDegZeroHom
AlgebraicCurve.Pic0.coe_pullbackDegZeroHom
attribute [-simp]
AlgebraicCurve.Place.placeOfPrime_toValuationSubring
AlgebraicCurve.Place.mem_fiberOver
AlgebraicCurve.Place.fiberEquiv_symm_apply
AlgebraicCurve.Place.fiberEquiv_apply
AlgebraicCurve.Place.centerHeightOneSpectrum_asIdeal
AlgebraicCurve.RationalFunctionField.placeInfty_toValuationSubring
AlgebraicCurve.RationalFunctionField.placeEquivOption_placeInfty
AlgebraicCurve.RationalFunctionField.placeEquivOption_symm_some
AlgebraicCurve.RationalFunctionField.placeEquivOption_placeOfPoint
AlgebraicCurve.RationalFunctionField.placeEquivOption_symm_none
AlgebraicCurve.Divisor.evalFun_zero
AlgebraicCurve.Place.evalAt_one
AlgebraicCurve.Place.differentialCoeff_zero
AlgebraicCurve.Place.differentialCoeff_dCoord
AlgebraicCurve.TranscendenceTower.mk.sizeOf_spec
AlgebraicCurve.IntegralBasisInLSpace.mk.injEq
AlgebraicCurve.TranscendenceTower.mk.injEq
AlgebraicCurve.PoleDivisorPackage.mk.sizeOf_spec
AlgebraicCurve.IntegralBasisInLSpace.mk.sizeOf_spec
AlgebraicCurve.PoleDivisorPackage.mk.injEq
PresheafOfModules.freeεIso_hom_app
PresheafOfModules.freeμIso_hom_app
universe u
open _root_.CategoryTheory
open _root_.AlgebraicGeometry
open _root_.Opposite
open _root_.TopologicalSpace
open scoped _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme
_root_.AlgebraicGeometry.Scheme.Modules in
with_weak_namespace _root_.AlgebraicCurves.Geometry.Sheaves.Proofs
with_weak_namespace Scheme_Modules_isPrincipal_sub_sub_of_presentations_tensor
with_weak_namespace AlgebraicGeometry.Scheme
open _root_.AlgebraicGeometry.Scheme.Modules in
open Modules Modules.RatSec AlgebraicCurve _root_.CategoryTheory.MonoidalCategory WithZero in
with_weak_namespace _root_.AlgebraicCurves.Geometry.Sheaves.Proofs
with_weak_namespace Scheme_Modules_isPrincipal_sub_sub_of_presentations_tensor
Lean source · full declarationtheorem AlgebraicGeometry.Scheme.Modules.isPrincipal_sub_sub_of_presentations_tensor'
{K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} (x : X ⟶ Spec (CommRingCat.of K))
[IsIntegral X] [IsProper x] [SmoothOfRelativeDimension 1 x] (L L' : X.Modules)
(hL : Scheme.Modules.IsInvertible L) (hL' : Scheme.Modules.IsInvertible L')
(D D' D'' : letI := (AlgebraicCurve.baseToFunctionField x).toAlgebra
AlgebraicCurve.Divisor K X.functionField)
(φ : ∀ U : X.Opens, Γ(L, U) →+ (X.functionField : Type u))
(hnat : ∀ (U V : X.Opens) (h : V ≤ U), Nonempty V →
∀ m : Γ(L, U), φ V ((L).presheaf.map (homOfLE h).op m) = φ U m)
(hsmul : ∀ (U : X.Opens) [Nonempty U] (a : Γ(X, U)) (m : Γ(L, U)),
φ U (a • m) = algebraMap Γ(X, U) X.functionField a * φ U m)
(hinj : ∀ U : X.Opens, Nonempty U → Function.Injective (φ U))
(hrange : letI := (AlgebraicCurve.baseToFunctionField x).toAlgebra
∀ U : X.Opens, IsAffineOpen U → Nonempty U →
Set.range (φ U) = (AlgebraicCurve.lSpaceOn (AlgebraicCurve.placesOf x U) D : Set
X.functionField))
(φ' : ∀ U : X.Opens, Γ(L', U) →+ (X.functionField : Type u))
(hnat' : ∀ (U V : X.Opens) (h : V ≤ U), Nonempty V →
∀ m : Γ(L', U), φ' V ((L').presheaf.map (homOfLE h).op m) = φ' U m)
(hsmul' : ∀ (U : X.Opens) [Nonempty U] (a : Γ(X, U)) (m : Γ(L', U)),
φ' U (a • m) = algebraMap Γ(X, U) X.functionField a * φ' U m)
(hinj' : ∀ U : X.Opens, Nonempty U → Function.Injective (φ' U))
(hrange' : letI := (AlgebraicCurve.baseToFunctionField x).toAlgebra
∀ U : X.Opens, IsAffineOpen U → Nonempty U →
Set.range (φ' U) = (AlgebraicCurve.lSpaceOn (AlgebraicCurve.placesOf x U) D' : Set
X.functionField))
(φ'' : ∀ U : X.Opens, Γ(L ⊗ L', U) →+ (X.functionField : Type u))
(hnat'' : ∀ (U V : X.Opens) (h : V ≤ U), Nonempty V →
∀ m : Γ(L ⊗ L', U), φ'' V ((L ⊗ L').presheaf.map (homOfLE h).op m) = φ'' U m)
(hsmul'' : ∀ (U : X.Opens) [Nonempty U] (a : Γ(X, U)) (m : Γ(L ⊗ L', U)),
φ'' U (a • m) = algebraMap Γ(X, U) X.functionField a * φ'' U m)
(hinj'' : ∀ U : X.Opens, Nonempty U → Function.Injective (φ'' U))
(hrange'' : letI := (AlgebraicCurve.baseToFunctionField x).toAlgebra
∀ U : X.Opens, IsAffineOpen U → Nonempty U →
Set.range (φ'' U) = (AlgebraicCurve.lSpaceOn (AlgebraicCurve.placesOf x U) D'' : Set
X.functionField)) :
let := (AlgebraicCurve.baseToFunctionField x).toAlgebra
AlgebraicCurve.Divisor.IsPrincipal (D'' - D - D') := by
intro sharedOwner1
classical
obtain ⟨E, ψ, e1, e2, e3, e4, e5⟩ := Scheme.Modules.IsInvertible.exists_divisor_range_eq_lSpaceOn
x L hL
obtain ⟨E', ψ', e1', e2', e3', e4', e5'⟩ :=
Scheme.Modules.IsInvertible.exists_divisor_range_eq_lSpaceOn x L' hL'
obtain ⟨E'', ψ'', e1'', e2'', e3'', e4'', e5''⟩ :=
Scheme.Modules.IsInvertible.exists_divisor_range_eq_lSpaceOn x (L ⊗ L') (hL.tensor hL')
obtain ⟨f, hf0, hf⟩ := exists_forall_tensorSections_eq_mul hL hL' ψ ψ' ψ'' e1 e1' e1'' e2 e2' e2''
e3 e3' e3''
have hpt : ∀ v : Place K X.functionField, (E'' - E - E') v = v.ord f⁻¹ := by
intro v
obtain ⟨y, hy, hv⟩ := exists_closedPoint_range_stalk_eq x v
obtain ⟨U₁, s₁, hy₁, hs₁⟩ := hL.exists_isFrameOn y
obtain ⟨U₂, t₂, hy₂, ht₂⟩ := hL'.exists_isFrameOn y
let W : X.Opens := U₁ ⊓ U₂
have hyW : y ∈ W := ⟨hy₁, hy₂⟩
have : Nonempty W := ⟨⟨y, hyW⟩⟩
let s : Γ(L, W) := rM L inf_le_left s₁
let t : Γ(L', W) := rM L' inf_le_right t₂
have hs : IsFrameOn s W := (hs₁.map (homOfLE (inf_le_left : W ≤ U₁))).mono inf_le_left
have ht : IsFrameOn t W := (ht₂.map (homOfLE (inf_le_right : W ≤ U₂))).mono inf_le_right
have hst : IsFrameOn (tensorSections s t) W := hs.tensorSections ht
have gen : ∀ {M : X.Modules} (m : Γ(M, W)), IsFrameOn m W →
∀ (W' : X.Opens) (h : W' ≤ W), y ∈ W' → ∀ m' : Γ(M, W'), ∃ a : Γ(X, W'),
m' = a • M.presheaf.map (homOfLE h).op m := by
intro M m hm W' h _ m'
obtain ⟨a, ha⟩ := (hm h h).2 m'
exact ⟨a, ha.symm⟩
have k := e5 W s y hyW hy (gen s hs) v hv
have k' := e5' W t y hyW hy (gen t ht) v hv
have k'' := e5'' W (tensorSections s t) y hyW hy (gen _ hst) v hv
rw [hf W s t, Valuation.map_mul, Valuation.map_mul, ← k, ← k'] at k''
have hfv : v.adicValuation f ≠ 0 := (Valuation.ne_zero_iff _).mpr hf0
have hfv' : v.adicValuation f = exp (-(v.ord f)) := by
simp only [Place.ord, neg_neg, WithZero.exp_log hfv]
rw [hfv', ← WithZero.exp_add, ← WithZero.exp_add, WithZero.exp_injective.eq_iff] at k''
simp only [Finsupp.coe_sub, Pi.sub_apply, Place.ord_inv]
omega
have hP0 : Divisor.IsPrincipal (E'' - E - E') := ⟨f⁻¹, inv_ne_zero hf0, hpt⟩
have hsec : ∀ {M : X.Modules}, Scheme.Modules.IsInvertible M → ∃ (U : X.Opens) (m : Γ(M, U)), m ≠
0 := by
intro M hM
obtain ⟨U, s, hη, hs⟩ := hM.exists_isFrameOn (genericPoint X)
have : Nonempty U := ⟨⟨_, hη⟩⟩
exact ⟨U, s, IsFrameOn.ne_zero_of_nontrivial hs⟩
obtain ⟨-, -, -, -, hP1⟩ := Scheme.Modules.exists_eq_mul_and_eq_add_ord_of_presentations x L D E φ
ψ
hnat e1 hsmul e2 hinj e3 hrange e4 (hsec hL)
obtain ⟨-, -, -, -, hP2⟩ := Scheme.Modules.exists_eq_mul_and_eq_add_ord_of_presentations x L' D'
E' φ' ψ'
hnat' e1' hsmul' e2' hinj' e3' hrange' e4' (hsec hL')
obtain ⟨-, -, -, -, hP3⟩ := Scheme.Modules.exists_eq_mul_and_eq_add_ord_of_presentations x (L ⊗
L') D'' E''
φ'' ψ'' hnat'' e1'' hsmul'' e2'' hinj'' e3'' hrange'' e4'' (hsec (hL.tensor hL'))
have key : D'' - D - D' = (D'' - E'') - (D - E) - (D' - E') + (E'' - E - E') := by abel
rw [key]
have mem : (D'' - E'') - (D - E) - (D' - E') + (E'' - E - E') ∈ Divisor.principal (K := K) (F :=
X.functionField) :=
add_mem (sub_mem (sub_mem hP3 hP1) hP2) hP0
exact mem