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.Field.ExternalSectionCechLinearity |
| 2 | |
| 3 | /-! # Zero Cohomology Tensor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.ZeroCohomologyTensor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The global degree-zero cohomology of an external tensor bundle is the |
| 10 | tensor product of the two degree-zero cohomology modules, with the actual |
| 11 | coefficient action. No higher-degree acyclicity is needed. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 13 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | def coefficientPushforwardZeroCohomologyIso |
| 19 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] |
| 20 | (b : X ⟶ Y) (c : R →+* Γ(Y, ⊤)) (M : X.Modules) : |
| 21 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c 0).obj ((Scheme.Modules.pushforward b).obj M) ≅ |
| 22 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (b.appTop.hom.comp c) 0).obj M := by |
| 23 | have htop : b ⁻¹ᵁ (⊤ : Y.Opens) = ⊤ := by ext x; simp |
| 24 | exact (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv c |
| 25 | ((Scheme.Modules.pushforward b).obj M)).toModuleIso ≪≫ |
| 26 | (Coefficient.PushforwardModuleComparison.coefficientPushforwardModuleComponent b c M ⊤).toModuleIso ≪≫ |
| 27 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (b.appTop.hom.comp c) M).mapIso (eqToIso (congrArg op htop)) ≪≫ |
| 28 | (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv (b.appTop.hom.comp c) M).toModuleIso.symm |
| 29 | |
| 30 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 31 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 32 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 33 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 34 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 35 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 36 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 37 | variable {κ : Type u} [Finite κ] (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 38 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 39 | |
| 40 | def fieldExternalZeroCohomologyModuleIso (hU : iSup U = ⊤) : |
| 41 | (tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf)).obj |
| 42 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor g.appTop.hom 0).obj N.sheaf) ≅ |
| 43 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (b.appTop.hom.comp g.appTop.hom) 0).obj |
| 44 | (((L.pullback a).tensor (N.pullback b)).sheaf) := by |
| 45 | let : Field Γ(Spec (.of k), ⊤) := |
| 46 | ((Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 47 | (Field.toIsField k)).toField |
| 48 | let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf |
| 49 | let T := tensorRight B |
| 50 | let : Module.Flat Γ(Spec (.of k), ⊤) B := inferInstance |
| 51 | let : PreservesFiniteColimits T := |
| 52 | preservesFiniteColimits_of_natIso (BraidedCategory.tensorLeftIsoTensorRight B) |
| 53 | let C := Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U |
| 54 | let E := ((L.pullback a).tensor (N.pullback b)).sheaf |
| 55 | let eN := (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv |
| 56 | g.appTop.hom N.sheaf).toModuleIso ≪≫ |
| 57 | CoefficientCech.DegreeZeroLinearity.coefficientCechZeroSectionsModuleIso g.appTop.hom N.sheaf U hU |
| 58 | exact T.mapIso eN ≪≫ ((C.sc 0).mapHomologyIso T).symm ≪≫ |
| 59 | HomologicalComplex.homologyMapIso |
| 60 | (HilbertConstruction.Field.ExternalSectionCechLinearity.fieldExternalSectionsCechModuleIso H L N V hV haV heV U haU heU) 0 ≪≫ |
| 61 | (CoefficientCech.DegreeZeroLinearity.coefficientCechZeroSectionsModuleIso g.appTop.hom ((Scheme.Modules.pushforward b).obj E) U hU).symm ≪≫ |
| 62 | (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv |
| 63 | g.appTop.hom ((Scheme.Modules.pushforward b).obj E)).toModuleIso.symm ≪≫ |
| 64 | coefficientPushforwardZeroCohomologyIso b g.appTop.hom E |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.ZeroCohomologyTensor |