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 Mathlib.Algebra.Category.ModuleCat.Colimits |
| 2 | import Mathlib.RingTheory.Flat.CategoryTheory |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalAllCechTensor |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.FactorDegreeZero |
| 5 | |
| 6 | /-! # Section Cech Tensor Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionCechTensorComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A finite affine frame cover compares the sections of an external tensor |
| 13 | bundle with the tensor product of the sections of its factors. This file |
| 14 | constructs the additive comparison; coefficient linearity is separate. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 16 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 17 | universe u |
| 18 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 19 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 20 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 21 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 22 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 23 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 24 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 25 | variable {κ : Type u} [Finite κ] (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 26 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 27 | |
| 28 | def fieldExternalSectionsCechTensorIso : |
| 29 | ((tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf) ⋙ |
| 30 | HilbertConstruction.Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)).mapHomologicalComplex (.up ℕ)).obj |
| 31 | (Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U) ≅ |
| 32 | (cechComplexFunctor (fun i => b ⁻¹ᵁ U i)).obj |
| 33 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf)).obj := |
| 34 | HilbertConstruction.Field.ExternalAllCechTensor.fieldExternalFactorAllCechTensorIso H L N V hV haV heV U haU heU 0 ≪≫ |
| 35 | (cechComplexFunctor (fun i => b ⁻¹ᵁ U i)).mapIso |
| 36 | (Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyPresheafIso |
| 37 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf))) |
| 38 | |
| 39 | def fieldExternalZeroCohomologyAddIso (hU : iSup U = ⊤) : |
| 40 | (HilbertConstruction.Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)).obj |
| 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 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology P) 0).obj |
| 44 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((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 ⋙ HilbertConstruction.Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤) |
| 50 | letI : Module.Flat Γ(Spec (.of k), ⊤) B := inferInstance |
| 51 | letI : PreservesFiniteLimits T := inferInstance |
| 52 | letI : PreservesFiniteColimits (tensorRight B) := |
| 53 | preservesFiniteColimits_of_natIso (BraidedCategory.tensorLeftIsoTensorRight B) |
| 54 | letI : PreservesFiniteColimits (HilbertConstruction.Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)) := inferInstance |
| 55 | letI : PreservesFiniteColimits T := comp_preservesFiniteColimits _ _ |
| 56 | let C := Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U |
| 57 | let E := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf) |
| 58 | let eN := (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv |
| 59 | g.appTop.hom N.sheaf).toModuleIso ≪≫ |
| 60 | CoefficientCech.DegreeZeroLinearity.coefficientCechZeroSectionsModuleIso g.appTop.hom N.sheaf U hU |
| 61 | exact T.mapIso eN ≪≫ ((C.sc 0).mapHomologyIso T).symm ≪≫ |
| 62 | HomologicalComplex.homologyMapIso |
| 63 | (fieldExternalSectionsCechTensorIso H L N V hV haV heV U haU heU) 0 ≪≫ |
| 64 | (IntrinsicCech.DegreeZeroIsomorphism.cechTopSectionsHZeroIso (fun i => b ⁻¹ᵁ U i) E |
| 65 | (Affine.PushforwardZariskiComparison.inverseImageOpens_iSup_eq_top b U hU)).symm ≪≫ |
| 66 | (CategoryTheory.Sheaf.H.equiv₀ E |
| 67 | (isTerminalTop : IsTerminal (⊤ : Opens P.carrier))).symm.toAddCommGrpIso |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionCechTensorComparison |