Module

RelativeDivisorEqPullbackRigidifyIso.lean

Nyll.JacobianVarieties.Picard.Divisors.RelativeDivisorEqPullbackRigidifyIso
23 declarations indexed from sourceView source ↗

Rigidification comparison and relative divisor pullback

The existing section uniqueness and fibre cohomology assumptions identify a relative Cartier divisor after change of base. The proof transports the given bundle comparisons and retains the original support and zero-scheme hypotheses.

Imports39
Imported by2

Declarations

JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.coe_support_zeroSchemeIdeal_pullbackSection

The support of the pulled-back zero scheme is the inverse image of its original support.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
theorem coe_support_zeroSchemeIdeal_pullbackSection {X X' : Scheme.{u}} (F : X' ⟶ X) {M : X.Modules}
    (hM : Scheme.Modules.IsInvertible M) (s : 𝟙_ X.Modules ⟶ M) :
    ((Scheme.Modules.zeroSchemeIdeal (Scheme.Modules.pullbackSection F s)).support : Set X') =
      F.base ⁻¹' ((Scheme.Modules.zeroSchemeIdeal s).support : Set X)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.pullbackEquivOfIso

Pullback along a scheme isomorphism gives an equivalence of module categories.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
def pullbackEquivOfIso {X X' : Scheme.{u}} (e : X' ≅ X) : X.Modules ≌ X'.Modules
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.full_pullback_of_isIso

Pullback along a scheme isomorphism is full.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
instance full_pullback_of_isIso {X X' : Scheme.{u}} (F : X' ⟶ X) [IsIso F] :
    (Scheme.Modules.pullback F).Full
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.faithful_pullback_of_isIso

Pullback along a scheme isomorphism is faithful.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
instance faithful_pullback_of_isIso {X X' : Scheme.{u}} (F : X' ⟶ X) [IsIso F] :
    (Scheme.Modules.pullback F).Faithful
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.pullbackSection_ne_zero_of_isIso

An isomorphism of schemes preserves nonzero sections under pullback.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
theorem pullbackSection_ne_zero_of_isIso {X X' : Scheme.{u}} (F : X' ⟶ X) [IsIso F] {M : X.Modules}
    {s : 𝟙_ X.Modules ⟶ M} (hs : s ≠ 0) : Scheme.Modules.pullbackSection F s ≠ 0
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.exists_pullbackSection_eq_of_isIso

Every section after pullback by an isomorphism comes from an original section.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
theorem exists_pullbackSection_eq_of_isIso {X X' : Scheme.{u}} (F : X' ⟶ X) [IsIso F]
    {M : X.Modules}
    (τ : 𝟙_ X'.Modules ⟶ (Scheme.Modules.pullback F).obj M) :
    ∃ s : 𝟙_ X.Modules ⟶ M, Scheme.Modules.pullbackSection F s = τ
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.forall_support_subset_iff_of_isIso

A support bound for every nonzero section is invariant under a scheme isomorphism.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
theorem forall_support_subset_iff_of_isIso {Y Y' : Scheme.{u}} (F : Y' ⟶ Y) [IsIso F]
    {P : Y.Modules}
    (hP : Scheme.Modules.IsInvertible P) {P' : Y'.Modules} (j : P' ≅ (Scheme.Modules.pullback
      F).obj P)
    (V : Set Y) :
    (∀ σ' : 𝟙_ Y'.Modules ⟶ P', σ' ≠ 0 →
        ((Scheme.Modules.zeroSchemeIdeal σ').support : Set Y') ⊆ F.base ⁻¹' V) ↔
      (∀ σ : 𝟙_ Y.Modules ⟶ P, σ ≠ 0 →
        ((Scheme.Modules.zeroSchemeIdeal σ).support : Set Y) ⊆ V)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.FinerAt

Every nonzero geometric-fibre section has zero-scheme support in the specified open.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
abbrev FinerAt {R : Type u} [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    (U : C.Opens)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (M : (pullback c t).Modules)
    {k : Type u} [Field k] (s : Spec (CommRingCat.of k) ⟶ T) : Prop
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.FinTransport.finerAt_transport

Transport the support condition through change of base and the given module isomorphism.

Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
namespace AlgebraicGeometry
namespace RelPicard
namespace FinTransport
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
theorem finerAt_transport {R : Type u} [CommRing R] {C : Scheme.{u}}
    (c : C ⟶ Spec (CommRingCat.of R))
    (U : C.Opens) {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (t' : T' ⟶ Spec
      (CommRingCat.of R))
    (ψ : SchemeHomOver t' t) (M : (pullback c t).Modules) (hM : Scheme.Modules.IsInvertible M)
    (M' : (pullback c t').Modules) (i : M' ≅ (Scheme.Modules.pullback (baseChangeSnd c ψ)).obj M)
    {k : Type u} [Field k] (x' : Spec (CommRingCat.of k) ⟶ T') :
    FinerAt c U t' M' x' ↔ FinerAt c U t M (x' ≫ ψ.1)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.pullbackAlong_congr_hom

Equal base morphisms induce the same pulled-back relative Cartier divisor.

Source context 20 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
theorem pullbackAlong_congr_hom {𝒞 S : Scheme.{u}} {f : 𝒞 ⟶ S} {n : ℕ} {T T' : Scheme.{u}}
    {g : T ⟶ S}
    {g' : T' ⟶ S} (D : RelEffCartierDiv f n g') {φ₁ φ₂ : T ⟶ T'} (h : φ₁ = φ₂) (h₁ : φ₁ ≫ g' = g)
    (h₂ : φ₂ ≫ g' = g) : D.pullbackAlong φ₁ h₁ = D.pullbackAlong φ₂ h₂
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.pullbackAlong_I_eq_mul

Pullback preserves the given product decomposition of Cartier divisor ideals.

Source context 20 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
theorem pullbackAlong_I_eq_mul {𝒞 S : Scheme.{u}} {f : 𝒞 ⟶ S} {n m l : ℕ}
    {T' : Scheme.{u}} {g' : T' ⟶ S} (D : RelEffCartierDiv f n g') (D₀ : RelEffCartierDiv f m g') (F
      : RelEffCartierDiv f l g')
    (hD : D.I = D₀.I * F.I) {T : Scheme.{u}} {g : T ⟶ S} (φ : T ⟶ T') (hφ : φ ≫ g' = g) :
    (D.pullbackAlong φ hφ).I = (D₀.pullbackAlong φ hφ).I * (F.pullbackAlong φ hφ).I
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.isInvertible_EI

The pullback of the supported reference divisor has an invertible ideal.

Source context 21 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
include hEU in
theorem isInvertible_EI {V : Scheme.{u}} (u : V ⟶ Spec (CommRingCat.of R)) :
    (E.pullbackAlong u (Category.comp_id u)).I.IsInvertible
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.isInvertible_ElineBundle

The pullback of the supported reference divisor has an invertible line bundle.

Source context 21 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
include hEU in
theorem isInvertible_ElineBundle {V : Scheme.{u}} (u : V ⟶ Spec (CommRingCat.of R)) :
    Scheme.Modules.IsInvertible (E.pullbackAlong u (Category.comp_id u)).lineBundle
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.isInvertible_Mγ

The rigidified bundle with the reference divisor and auxiliary ideal is invertible.

Source context 21 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
include hEU in
theorem isInvertible_Mγ {e : ℕ} {V : Scheme.{u}} (u : V ⟶ Spec (CommRingCat.of R))
    (LV : RigidifiedLineBundle c ε u) (DγV : RelEffCartierDiv c e u) (hDγV : DγV.SupportedIn U) :
    Scheme.Modules.IsInvertible (LV.L ⊗ ((E.pullbackAlong u (Category.comp_id u)).lineBundle ⊗
      DγV.idealModule))
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.exists_lineBundle_iso_of_rigidify_iso

Rigidification comparison produces a line-bundle comparison up to a base invertible module.

Source context 21 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
include hEU in
theorem exists_lineBundle_iso_of_rigidify_iso
    {g e : ℕ} {V : Scheme.{u}} (u : V ⟶ Spec (CommRingCat.of R))
    (LU : RigidifiedLineBundle c ε u) (DγU : RelEffCartierDiv c e u) (hDγU : DγU.SupportedIn U)
    (D₀ : RelEffCartierDiv c g u) (hD₀U : D₀.SupportedIn U) (D : RelEffCartierDiv c (g + e) u) (hD
      : D.I = D₀.I * DγU.I)
    (hDL : Nonempty (Scheme.Modules.rigidify (rigSection c u ε) (pullback.snd c u)
        (D.lineBundle ⊗ (E.pullbackAlong u (Category.comp_id u)).idealModule) ≅ LU.L)) :
    ∃ N : V.Modules, Scheme.Modules.IsInvertible N ∧
      Nonempty (D₀.lineBundle ≅ (LU.L ⊗ ((E.pullbackAlong u (Category.comp_id u)).lineBundle ⊗
        DγU.idealModule)) ⊗
        (Scheme.Modules.pullback (pullback.snd c u)).obj N)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.fibreIso

The comparison of fibres before and after changing the base, induced by pullback associativity.

Source context 22 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
def fibreIso : pullback (pullback.snd c t) (s' ≫ ψ1) ≅ pullback (pullback.snd c (ψ1 ≫
  t)) s'
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.fibreIso_hom_fibreAt

The fibre comparison respects the structure morphism to the residue field.

Source context 23 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
omit [IsSeparated c] in
theorem fibreIso_hom_fibreAt :
    (fibreIso R c t ψ1 s').hom ≫ fibreAt c (ψ1 ≫ t) s' = fibreAt c t (s' ≫ ψ1)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.fibreIso_hom_fst_baseChangeSnd

The fibre comparison respects projection followed by change of base.

Source context 23 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
omit [IsSeparated c] in
theorem fibreIso_hom_fst_baseChangeSnd :
    (fibreIso R c t ψ1 s').hom ≫ pullback.fst (pullback.snd c (ψ1 ≫ t)) s' ≫
        baseChangeSnd c (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t) =
      pullback.fst (pullback.snd c t) (s' ≫ ψ1)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.nonempty_Mγ_iso_pullback

The reference-divisor twist and auxiliary ideal commute with change of base.

Source context 23 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
include hEU hDγ in
theorem nonempty_Mγ_iso_pullback :
    Nonempty ((L.pullbackAlong (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t)).L ⊗
        ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗ (Dγ.pullbackAlong (ψ1 ≫ t)
          (Category.comp_id _)).idealModule) ≅
      (Scheme.Modules.pullback (baseChangeSnd c (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t))).obj
        (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
          (Category.comp_id t)).idealModule)))
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.nonempty_fibreModule_iso

The fibre comparison identifies the rigidified divisor-twisted modules.

Source context 23 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
include hEU hDγ in
theorem nonempty_fibreModule_iso :
    Nonempty (fibreModule c t (s' ≫ ψ1)
        (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
          (Category.comp_id t)).idealModule)) ≅
      (Scheme.Modules.pullback (fibreIso R c t ψ1 s').hom).obj (fibreModule c (ψ1 ≫ t) s'
        ((L.pullbackAlong (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t)).L ⊗
          ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗ (Dγ.pullbackAlong (ψ1 ≫ t)
            (Category.comp_id _)).idealModule))))
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.fibre_transport_to_t'

Transport the zeroth and first Cech cohomology groups to the changed base.

Source context 23 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
include hEU hDγ in
theorem fibre_transport_to_t' (𝒲 : (pullback (pullback.snd c t) (s' ≫ ψ1)).TwoAffineOpenCover) :
    ∃ 𝒱 : (pullback (pullback.snd c (ψ1 ≫ t)) s').TwoAffineOpenCover,
      Nonempty ((𝒱.sectionsOf (fibreAt c (ψ1 ≫ t) s') (fibreModule c (ψ1 ≫ t) s'
          ((L.pullbackAlong (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t)).L ⊗
            ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗ (Dγ.pullbackAlong (ψ1 ≫
              t) (Category.comp_id _)).idealModule)))).H0 ≃ₗ[k]
        (𝒲.sectionsOf (fibreAt c t (s' ≫ ψ1)) (fibreModule c t (s' ≫ ψ1)
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule)))).H0) ∧
      Nonempty ((𝒱.sectionsOf (fibreAt c (ψ1 ≫ t) s') (fibreModule c (ψ1 ≫ t) s'
          ((L.pullbackAlong (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t)).L ⊗
            ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗ (Dγ.pullbackAlong (ψ1 ≫
              t) (Category.comp_id _)).idealModule)))).H1 ≃ₗ[k]
        (𝒲.sectionsOf (fibreAt c t (s' ≫ ψ1)) (fibreModule c t (s' ≫ ψ1)
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule)))).H1)
JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE.fin_transport

Transport the zero-scheme support bounds on geometric-fibre sections.

Source context 23 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace JacobianVarieties.Picard.Proofs.RigidDivisorDescent
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
namespace AlgebraicGeometry
namespace RelPicard
namespace K5bSupplyE
open _root_.AlgebraicGeometry.RelPicard
open _root_.AlgebraicGeometry
open _root_.CategoryTheory
open _root_.CategoryTheory.Limits
open _root_.CategoryTheory.MonoidalCategory
open _root_.AlgebraicGeometry
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
open _root_.AlgebraicGeometry.RelPicard
open _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
open _root_.NeronModelInfra
variable (R : Type u) [CommRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of R))
    [IsSeparated c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    {ρ : ℕ} (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
section Transport
variable {e : ℕ} (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
  {T T' : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) (ψ1 : T' ⟶ T) (L : RigidifiedLineBundle c ε
    t)
  {k : Type u} [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
include hEU hDγ in
theorem fin_transport {k : Type u} [Field k] [IsAlgClosed k] (x' : Spec (CommRingCat.of k) ⟶ T')
    (hfin : ∀ (σ : 𝟙_ (pullback c (x' ≫ (ψ1 ≫ t))).Modules ⟶ (Scheme.Modules.pullback
      (mapOnProdOver c x' rfl)).obj
        ((L.pullbackAlong (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t)).L ⊗
          ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗ (Dγ.pullbackAlong (ψ1 ≫ t)
            (Category.comp_id _)).idealModule))),
      σ ≠ 0 → ((Scheme.Modules.zeroSchemeIdeal σ).support : Set ↥(pullback c (x' ≫ (ψ1 ≫ t)))) ⊆
        ((pullback.fst c (x' ≫ (ψ1 ≫ t))) ⁻¹ᵁ U : Set ↥(pullback c (x' ≫ (ψ1 ≫ t)))))
    (σ : 𝟙_ (pullback c ((x' ≫ ψ1) ≫ t)).Modules ⟶ (Scheme.Modules.pullback (mapOnProdOver c (x' ≫
      ψ1) rfl)).obj
        (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
          (Category.comp_id t)).idealModule)))
    (hσ : σ ≠ 0) :
    ((Scheme.Modules.zeroSchemeIdeal σ).support : Set ↥(pullback c ((x' ≫ ψ1) ≫ t))) ⊆
      ((pullback.fst c ((x' ≫ ψ1) ≫ t)) ⁻¹ᵁ U : Set ↥(pullback c ((x' ≫ ψ1) ≫ t)))
AlgebraicGeometry.RelPicard.relEffCartierDiv_eq_pullbackAlong_of_rigidify_iso_of_supportedIn_of_support_subset

Rigidification and the supplied section uniqueness identify the divisor after change of base.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicGeometry.RelPicard
universe u
attribute [local instance] FinTransport.full_pullback_of_isIso
attribute [local instance] FinTransport.faithful_pullback_of_isIso
open _root_.AlgebraicGeometry.RelEffCartierDiv (
  nonempty_rigidify_lineBundle_tensor_idealModule_pullbackAlong_iso_pullback_of_supportedIn) in
open CategoryTheory CategoryTheory.Limits Opposite _root_.CategoryTheory.MonoidalCategory
  _root_.AlgebraicGeometry
  _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry
  _root_.AlgebraicGeometry.RelPicard
  _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard
  NeronModelInfra
  _root_.JacobianVarieties.Picard.Proofs.RigidDivisorDescent.AlgebraicGeometry.RelPicard.K5bSupplyE
  in
theorem relEffCartierDiv_eq_pullbackAlong_of_rigidify_iso_of_supportedIn_of_support_subset
    (R : Type u) [CommRing R] [IsNoetherianRing R] {C : Scheme.{u}} (c : C ⟶ Spec (CommRingCat.of
      R)) [IsProper c]
    (ε : SchemeHomOver (𝟙 (Spec (CommRingCat.of R))) c)
    (U : C.Opens) [SmoothOfRelativeDimension 1 (U.ι ≫ c)]
    (g e ρ : ℕ) (hr : g + e = ρ)
    (E : RelEffCartierDiv c ρ (𝟙 (Spec (CommRingCat.of R)))) (hEU : E.SupportedIn U)
    (Dγ : RelEffCartierDiv c e (𝟙 (Spec (CommRingCat.of R)))) (hDγ : Dγ.SupportedIn U)
    (hsect : ∀ ⦃V : Scheme.{u}⦄ (u : V ⟶ Spec (CommRingCat.of R)) [LocallyOfFiniteType u] (M :
      (pullback c u).Modules),
      Scheme.Modules.IsInvertible M →
      (∀ (k : Type u) [Field k] (s : Spec (CommRingCat.of k) ⟶ V) (𝒲 : (pullback (pullback.snd c u)
        s).TwoAffineOpenCover),
        Subsingleton (𝒲.sectionsOf (fibreAt c u s) (fibreModule c u s M)).H1 ∧
          Module.finrank k (𝒲.sectionsOf (fibreAt c u s) (fibreModule c u s M)).H0 = 1) →
      (∀ (k : Type u) [Field k] [IsAlgClosed k] (x : Spec (CommRingCat.of k) ⟶ V)
        (σ : 𝟙_ (pullback c (x ≫ u)).Modules ⟶ (Scheme.Modules.pullback (mapOnProdOver c x
          rfl)).obj M), σ ≠ 0 →
        ∃ Dx : RelEffCartierDiv c g (x ≫ u), Dx.I = Scheme.Modules.zeroSchemeIdeal σ ∧
          Dx.SupportedIn U) →
      ∃ (D₀ : RelEffCartierDiv c g u) (N : V.Modules), Scheme.Modules.IsInvertible N ∧
        Nonempty (D₀.lineBundle ≅ M ⊗ (Scheme.Modules.pullback (pullback.snd c u)).obj N) ∧
        ∀ (d' : ℕ) (D' : RelEffCartierDiv c d' u) (N' : V.Modules), Scheme.Modules.IsInvertible N'
          → D'.SupportedIn U →
          Nonempty (D'.lineBundle ≅ M ⊗ (Scheme.Modules.pullback (pullback.snd c u)).obj N') → D'.I
            = D₀.I)
    (hZfibγ : ∀ ⦃T : Scheme.{u}⦄ (t : T ⟶ Spec (CommRingCat.of R)) [LocallyOfFiniteType t]
      (L : RigidifiedLineBundle c ε t), FibrewiseAlgEquivZero L →
      ∀ (k : Type u) [Field k] [IsAlgClosed k] (x : Spec (CommRingCat.of k) ⟶ T)
        (σ : 𝟙_ (pullback c (x ≫ t)).Modules ⟶ (Scheme.Modules.pullback (mapOnProdOver c x rfl)).obj
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule))), σ ≠ 0 →
        ((Scheme.Modules.zeroSchemeIdeal σ).support : Set ↥(pullback c (x ≫ t))) ⊆ ((pullback.fst c
          (x ≫ t)) ⁻¹ᵁ U : Set ↥(pullback c (x ≫ t))) →
        ∃ Dx : RelEffCartierDiv c g (x ≫ t), Dx.I = Scheme.Modules.zeroSchemeIdeal σ ∧
          Dx.SupportedIn U)
    (hH0one : ∀ ⦃T : Scheme.{u}⦄ (t : T ⟶ Spec (CommRingCat.of R)) (L : RigidifiedLineBundle c ε
      t), FibrewiseAlgEquivZero L →
      ∀ (k : Type u) [Field k] (s : Spec (CommRingCat.of k) ⟶ T) (𝒲 : (pullback (pullback.snd c t)
        s).TwoAffineOpenCover),
        Subsingleton (𝒲.sectionsOf (fibreAt c t s) (fibreModule c t s
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule)))).H1 →
        Module.finrank k (𝒲.sectionsOf (fibreAt c t s) (fibreModule c t s
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule)))).H0 = 1)
    {T : Scheme.{u}} (t : T ⟶ Spec (CommRingCat.of R)) [LocallyOfFiniteType t]
    (L : RigidifiedLineBundle c ε t) (hL : FibrewiseAlgEquivZero L) (W : T.Opens)
    (hWmax : ∀ (k : Type u) [Field k] [IsAlgClosed k] (s : Spec (CommRingCat.of k) ⟶ T),
      (∀ (𝒲 : (pullback (pullback.snd c t) s).TwoAffineOpenCover),
        Subsingleton (𝒲.sectionsOf (fibreAt c t s) (fibreModule c t s
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule)))).H1) →
      (∀ (σ : 𝟙_ (pullback c (s ≫ t)).Modules ⟶ (Scheme.Modules.pullback (mapOnProdOver c s
        rfl)).obj
          (L.L ⊗ ((E.pullbackAlong t (Category.comp_id t)).lineBundle ⊗ (Dγ.pullbackAlong t
            (Category.comp_id t)).idealModule))),
        σ ≠ 0 → ((Scheme.Modules.zeroSchemeIdeal σ).support : Set ↥(pullback c (s ≫ t))) ⊆
          ((pullback.fst c (s ≫ t)) ⁻¹ᵁ U : Set ↥(pullback c (s ≫ t)))) →
      Set.range ⇑s ⊆ (W : Set T))
    (D : RelEffCartierDiv c ρ (W.ι ≫ t)) (D₀ : RelEffCartierDiv c g (W.ι ≫ t))
    (hD : D.I = D₀.I * (Dγ.pullbackAlong (W.ι ≫ t) (Category.comp_id _)).I) (hD₀U : D₀.SupportedIn
      U)
    (hDL : Nonempty (Scheme.Modules.rigidify (RelPicard.rigSection c (W.ι ≫ t) ε) (pullback.snd c
      (W.ι ≫ t))
        (D.lineBundle ⊗ (E.pullbackAlong (W.ι ≫ t) (Category.comp_id _)).idealModule) ≅
      (L.pullbackAlong (⟨W.ι, rfl⟩ : SchemeHomOver (W.ι ≫ t) t)).L))
    {T' : Scheme.{u}} (t' : T' ⟶ Spec (CommRingCat.of R)) [LocallyOfFiniteType t'] (ψ :
      SchemeHomOver t' t)
    (D' : RelEffCartierDiv c ρ t') (D₀' : RelEffCartierDiv c g t')
    (hD' : D'.I = D₀'.I * (Dγ.pullbackAlong t' (Category.comp_id _)).I) (hD₀'U : D₀'.SupportedIn U)
    (hD'L : Nonempty (Scheme.Modules.rigidify (RelPicard.rigSection c t' ε) (pullback.snd c t')
        (D'.lineBundle ⊗ (E.pullbackAlong t' (Category.comp_id _)).idealModule) ≅ (L.pullbackAlong
          ψ).L))
    (h1' : ∀ (k : Type u) [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
      (𝒲 : (pullback (pullback.snd c t') s').TwoAffineOpenCover),
        Subsingleton (𝒲.sectionsOf (fibreAt c t' s') (fibreModule c t' s'
          ((L.pullbackAlong ψ).L ⊗ ((E.pullbackAlong t' (Category.comp_id t')).lineBundle ⊗
            (Dγ.pullbackAlong t' (Category.comp_id t')).idealModule)))).H1)
    (hfin' : ∀ (k : Type u) [Field k] [IsAlgClosed k] (x : Spec (CommRingCat.of k) ⟶ T')
      (σ : 𝟙_ (pullback c (x ≫ t')).Modules ⟶ (Scheme.Modules.pullback (mapOnProdOver c x rfl)).obj
        ((L.pullbackAlong ψ).L ⊗ ((E.pullbackAlong t' (Category.comp_id t')).lineBundle ⊗
          (Dγ.pullbackAlong t' (Category.comp_id t')).idealModule))),
      σ ≠ 0 → ((Scheme.Modules.zeroSchemeIdeal σ).support : Set ↥(pullback c (x ≫ t'))) ⊆
        ((pullback.fst c (x ≫ t')) ⁻¹ᵁ U : Set ↥(pullback c (x ≫ t')))) :
    Set.range ⇑ψ.1 ⊆ (W : Set T) ∧
      ∀ (φ : T' ⟶ W) (hφ : φ ≫ W.ι = ψ.1),
        D' = D.pullbackAlong φ (by rw [← Category.assoc, hφ]; exact ψ.2) := by
  obtain ⟨ψ1, rfl⟩ := ψ
  subst hr
  set Lψ := L.pullbackAlong (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t) with hLψ
  set DγT' := Dγ.pullbackAlong (ψ1 ≫ t) (Category.comp_id _) with hDγT'def
  have hDγT' : DγT'.SupportedIn U := hDγ.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)
  have hL' : FibrewiseAlgEquivZero Lψ := hL.pullback _
  have hfib' : ∀ (k : Type u) [Field k] (s' : Spec (CommRingCat.of k) ⟶ T')
      (𝒲 : (pullback (pullback.snd c (ψ1 ≫ t)) s').TwoAffineOpenCover),
      Subsingleton (𝒲.sectionsOf (fibreAt c (ψ1 ≫ t) s') (fibreModule c (ψ1 ≫ t) s'
        (Lψ.L ⊗ ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗
          DγT'.idealModule)))).H1 ∧
      Module.finrank k (𝒲.sectionsOf (fibreAt c (ψ1 ≫ t) s') (fibreModule c (ψ1 ≫ t) s'
        (Lψ.L ⊗ ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id _)).lineBundle ⊗
          DγT'.idealModule)))).H0 = 1 :=
    fun k _ s' 𝒲 => ⟨h1' k s' 𝒲, hH0one (ψ1 ≫ t) Lψ hL' k s' 𝒲 (h1' k s' 𝒲)⟩
  refine ⟨?_, ?_⟩
  · rintro _ ⟨y, rfl⟩
    classical
    let κ := T'.residueField y
    let kb : Type u := AlgebraicClosure κ
    set sb : Spec (CommRingCat.of kb) ⟶ T' :=
      Spec.map (CommRingCat.ofHom (algebraMap κ kb)) ≫ T'.fromSpecResidueField y with hsbdef
    let z : Spec (CommRingCat.of kb) := IsLocalRing.closedPoint kb
    have hsb : sb z = y :=
      (congrArg (fun f : Spec (CommRingCat.of kb) ⟶ T' => f z) hsbdef).trans
        ((Scheme.Hom.comp_apply (Spec.map (CommRingCat.ofHom (algebraMap κ kb)))
          (T'.fromSpecResidueField y) z).trans
          (Scheme.fromSpecResidueField_apply (X := T') y
            ((Spec.map (CommRingCat.ofHom (algebraMap κ kb))) z)))
    have key := hWmax kb (sb ≫ ψ1)
      (fun 𝒲 => by
        obtain ⟨𝒱, -, ⟨e1⟩⟩ := fibre_transport_to_t' R c ε U E hEU Dγ hDγ t ψ1 L sb 𝒲
        have := h1' _ sb 𝒱
        exact e1.symm.toEquiv.subsingleton)
      (fun σ hσ => fin_transport R c ε U E hEU Dγ hDγ t ψ1 L sb (hfin' kb sb) σ hσ)
    exact key ⟨z, (Scheme.Hom.comp_apply sb ψ1 z).trans
      (congrArg (fun x : T' => ψ1 x) hsb)⟩
  · intro φ hφ
    have hφt : φ ≫ (W.ι ≫ t) = ψ1 ≫ t := by rw [← Category.assoc, hφ]
    have hDU : D.SupportedIn U := by
      intro x hx
      rw [hD] at hx
      change x ∈ ((D₀.I * (Dγ.pullbackAlong (W.ι ≫ t) (Category.comp_id _)).I).support : Set _)
        at hx
      rw [Scheme.IdealSheafData.support_mul, TopologicalSpace.Closeds.coe_sup] at hx
      exact hx.elim (fun h => hD₀U h) (fun h => (hDγ.pullbackAlong (W.ι ≫ t) (Category.comp_id _))
        h)
    have hM' : Scheme.Modules.IsInvertible (Lψ.L ⊗ ((E.pullbackAlong (ψ1 ≫ t) (Category.comp_id
      _)).lineBundle ⊗ DγT'.idealModule)) :=
      isInvertible_Mγ R c ε U E hEU (ψ1 ≫ t) Lψ DγT' hDγT'
    obtain ⟨N₁, hN₁, ⟨e₁⟩⟩ := exists_lineBundle_iso_of_rigidify_iso R c ε U E hEU (ψ1 ≫ t) Lψ DγT'
      hDγT' D₀' hD₀'U D' hD' hD'L
    have hD₂ : (D.pullbackAlong φ hφt).I = (D₀.pullbackAlong φ hφt).I * DγT'.I := by
      rw [pullbackAlong_I_eq_mul D D₀ _ hD φ hφt, hDγT'def, RelEffCartierDiv.pullbackAlong_comp]
      congr 2
      refine RelEffCartierDiv.ext ?_
      change Dγ.I.comap _ = Dγ.I.comap _
      congr 1
      simp only [hφ, ← Category.assoc]
    have hβcomp : baseChangeSnd c (⟨φ, hφt⟩ : SchemeHomOver (ψ1 ≫ t) (W.ι ≫ t)) ≫
        baseChangeSnd c (⟨W.ι, rfl⟩ : SchemeHomOver (W.ι ≫ t) t) =
          baseChangeSnd c (⟨ψ1, rfl⟩ : SchemeHomOver (ψ1 ≫ t) t) := by
      apply pullback.hom_ext
      · simp only [RelPicard.baseChangeSnd, Category.assoc, pullback.lift_fst, Category.comp_id]
      · simp only [RelPicard.baseChangeSnd, Category.assoc, pullback.lift_snd,
          pullback.lift_snd_assoc, hφ]
    have eL : (Scheme.Modules.pullback (baseChangeSnd c (⟨φ, hφt⟩ : SchemeHomOver (ψ1 ≫ t) (W.ι ≫
      t)))).obj
        (L.pullbackAlong (⟨W.ι, rfl⟩ : SchemeHomOver (W.ι ≫ t) t)).L ≅ Lψ.L :=
      (Scheme.Modules.pullbackComp _ _).app L.L ≪≫ (Scheme.Modules.pullbackCongr hβcomp).app L.L
    have hDL₂ : Nonempty (Scheme.Modules.rigidify (rigSection c (ψ1 ≫ t) ε) (pullback.snd c (ψ1 ≫
      t))
        ((D.pullbackAlong φ hφt).lineBundle ⊗ (E.pullbackAlong (ψ1 ≫ t) (Category.comp_id
          _)).idealModule) ≅ Lψ.L) := by
      obtain ⟨i⟩ :=
        nonempty_rigidify_lineBundle_tensor_idealModule_pullbackAlong_iso_pullback_of_supportedIn
          c ε U E hEU (⟨φ, hφt⟩ : SchemeHomOver (ψ1 ≫ t) (W.ι ≫ t)) D hDU
      exact ⟨i ≪≫ (Scheme.Modules.pullback _).mapIso hDL.some ≪≫ eL⟩
    obtain ⟨N₂, hN₂, ⟨e₂⟩⟩ := exists_lineBundle_iso_of_rigidify_iso R c ε U E hEU (ψ1 ≫ t) Lψ DγT'
      hDγT'
      (D₀.pullbackAlong φ hφt) (hD₀U.pullbackAlong φ hφt) (D.pullbackAlong φ hφt) hD₂ hDL₂
    obtain ⟨D₀'', N'', -, -, huq⟩ := hsect (ψ1 ≫ t) _ hM' hfib'
      (fun k _ _ x σ hσ => hZfibγ (ψ1 ≫ t) Lψ hL' k x σ hσ (hfin' k x σ hσ))
    have huniq : D₀'.I = (D₀.pullbackAlong φ hφt).I :=
      (huq g D₀' N₁ hN₁ hD₀'U ⟨e₁⟩).trans (huq g (D₀.pullbackAlong φ hφt) N₂ hN₂
        (hD₀U.pullbackAlong φ hφt) ⟨e₂⟩).symm
    refine RelEffCartierDiv.ext ?_
    rw [hD', hD₂, huniq]