Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.OpenSectionsLinearity |
| 2 | |
| 3 | /-! # Open Sections Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.OpenSectionsRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The linear external-section comparison commutes with restriction to a |
| 10 | smaller affine parameter open. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 12 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {S X Y P : Scheme.{u}} [IsAffine S] [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 17 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 18 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 19 | variable (U : Y.Opens) (haU : IsAffineOpen U) |
| 20 | variable (eU : (Scheme.Modules.pullback U.ι).obj N.sheaf ≅ Line.Bundles.structureModule U.toScheme) |
| 21 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) (hV : iSup V = ⊤) |
| 22 | variable (ha : ∀ i, IsAffineOpen (V i)) |
| 23 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 24 | variable [Module.Flat Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U))] |
| 25 | |
| 26 | theorem externalOpenSectionsModuleIso_hom : |
| 27 | (HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤)).map (OpenSectionsLinearity.externalOpenSectionsModuleIso H L N U haU eU V hV ha he).hom = |
| 28 | (Intrinsic.ExternalFactorAllCohomology.nativeExternalFactorAllCohomologyIso H L N U haU eU V hV ha he 0).hom ≫ |
| 29 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyIso |
| 30 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf)) (b ⁻¹ᵁ U)).hom := rfl |
| 31 | |
| 32 | variable (U' : Y.Opens) (haU' : IsAffineOpen U') |
| 33 | variable (eU' : (Scheme.Modules.pullback U'.ι).obj N.sheaf ≅ Line.Bundles.structureModule U'.toScheme) |
| 34 | variable [Module.Flat Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U'))] |
| 35 | |
| 36 | theorem externalOpenSectionsModuleIso_restrict (hU : U' ≤ U) : |
| 37 | (tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf)).map |
| 38 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).map (homOfLE hU).op) ≫ |
| 39 | (OpenSectionsLinearity.externalOpenSectionsModuleIso H L N U' haU' eU' V hV ha he).hom = |
| 40 | (OpenSectionsLinearity.externalOpenSectionsModuleIso H L N U haU eU V hV ha he).hom ≫ |
| 41 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp f.appTop.hom) |
| 42 | (((L.pullback a).tensor (N.pullback b)).sheaf)).map |
| 43 | ((Opens.map b.base).map (homOfLE hU)).op := by |
| 44 | let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf |
| 45 | let F := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf) |
| 46 | let hW : b ⁻¹ᵁ U' ≤ b ⁻¹ᵁ U := leOfHom ((Opens.map b.base).map (homOfLE hU)) |
| 47 | let r := Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction F hW |
| 48 | let τ := (Functor.whiskerRight (HilbertConstruction.Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 49 | (((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).map (homOfLE hU).op).hom)) |
| 50 | (HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤))).app B |
| 51 | let e₀ := Intrinsic.ExternalFactorAllCohomology.nativeExternalFactorAllCohomologyIso H L N U haU eU V hV ha he 0 |
| 52 | let e₀' := Intrinsic.ExternalFactorAllCohomology.nativeExternalFactorAllCohomologyIso H L N U' haU' eU' V hV ha he 0 |
| 53 | let e₁ := Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyIso F (b ⁻¹ᵁ U) |
| 54 | let e₁' := Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyIso F (b ⁻¹ᵁ U') |
| 55 | let q := (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology P) 0).map r |
| 56 | have h₀ : τ ≫ e₀'.hom = e₀.hom ≫ q := |
| 57 | Intrinsic.ExternalAllCohomologyNaturality.nativeExternalFactorAllCohomologyIso_restrict H L N hU haU haU' eU eU' V hV ha he 0 |
| 58 | have h₁ : q ≫ e₁'.hom = e₁.hom ≫ F.obj.map (homOfLE hW).op := |
| 59 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyPresheafIso F).hom.naturality (homOfLE hW).op |
| 60 | apply (HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤)).map_injective |
| 61 | rw [Functor.map_comp, Functor.map_comp, |
| 62 | externalOpenSectionsModuleIso_hom, externalOpenSectionsModuleIso_hom, |
| 63 | Field.ExternalFactorCechTensor.moduleTensorRight_map_eq_scalarMap] |
| 64 | change τ ≫ (e₀'.hom ≫ e₁'.hom) = (e₀.hom ≫ e₁.hom) ≫ F.obj.map (homOfLE hW).op |
| 65 | rw [← Category.assoc, h₀, Category.assoc, h₁, ← Category.assoc] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.OpenSectionsRestriction |