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.SectionCechTensorComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.AcyclicFactorComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalCechFactorVanishing |
| 4 | |
| 5 | /-! # Acyclic Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.AcyclicTensor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! External tensor products of two line bundles without positive |
| 12 | cohomology also have no positive cohomology. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 14 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 15 | universe u |
| 16 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 17 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 18 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 19 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 20 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 21 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 22 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 23 | variable {κ : Type u} [Finite κ] (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 24 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 25 | |
| 26 | include H hV haV heV haU heU in |
| 27 | theorem fieldExternal_positiveCohomology_vanish (hU : iSup U = ⊤) |
| 28 | (hL : ∀ q, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf (q + 1))) |
| 29 | (hN : ∀ q, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H N.sheaf (q + 1))) (q : ℕ) : |
| 30 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (((L.pullback a).tensor (N.pullback b)).sheaf) (q + 1)) := by |
| 31 | let : Field Γ(Spec (.of k), ⊤) := |
| 32 | ((Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 33 | (Field.toIsField k)).toField |
| 34 | have : N.sheaf.IsQuasicoherent := N.isQuasicoherent |
| 35 | let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf |
| 36 | let T := tensorRight B ⋙ HilbertConstruction.Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤) |
| 37 | let : Module.Flat Γ(Spec (.of k), ⊤) B := inferInstance |
| 38 | let : PreservesFiniteColimits (tensorRight B) := |
| 39 | preservesFiniteColimits_of_natIso (BraidedCategory.tensorLeftIsoTensorRight B) |
| 40 | let : PreservesFiniteColimits T := comp_preservesFiniteColimits _ _ |
| 41 | let C := Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U |
| 42 | let E := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf) |
| 43 | have hzN : IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor g.appTop.hom (q + 1)).obj N.sheaf) := by |
| 44 | let : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor g.appTop.hom (q + 1)).obj N.sheaf) := hN q |
| 45 | exact ModuleCat.isZero_of_subsingleton _ |
| 46 | have hzC : IsZero (C.homology (q + 1)) := |
| 47 | (CoefficientCech.ZariskiLinearity.coefficientCechZariskiModuleIso g.appTop.hom N.sheaf U hU haU q).isZero_iff.mpr hzN |
| 48 | have hzT : IsZero (((T.mapHomologicalComplex (.up ℕ)).obj C).homology (q + 1)) := |
| 49 | ((C.sc (q + 1)).mapHomologyIso T).symm.isZero_iff.mp (T.map_isZero hzC) |
| 50 | have hFactors : ∀ p r (i : Fin (p + 1) → κ), |
| 51 | Subsingleton (CategoryTheory.Sheaf.H (IntrinsicCech.SheafTerms.cechTermFactor E (fun i => b ⁻¹ᵁ U i) p i) (r + 1)) := by |
| 52 | intro p r i |
| 53 | exact HilbertConstruction.Field.ExternalCechFactorVanishing.fieldExternal_cechTermFactor_cohomology_vanish H L N V hV haV heV U haU heU p i (r + 1) (hL r) |
| 54 | let eC := SectionCechTensorComparison.fieldExternalSectionsCechTensorIso H L N V hV haV heV U haU heU |
| 55 | let eH := Cech.AcyclicFactorComparison.IntrinsicCech.cechCohomologyIsoOfAcyclicFactors E (fun i => b ⁻¹ᵁ U i) |
| 56 | (Affine.PushforwardZariskiComparison.inverseImageOpens_iSup_eq_top b U hU) hFactors (q + 1) |
| 57 | exact AddCommGrpCat.subsingleton_of_isZero |
| 58 | ((HomologicalComplex.homologyMapIso eC (q + 1) ≪≫ eH).isZero_iff.mp hzT) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.AcyclicTensor |