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.FormalGeometry.Completion.RelativeStructureIntrinsic |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.BaseCechGlobalSections |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainScalarRestriction |
| 4 | |
| 5 | /-! # Relative Cech Zero Cycles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RelativeCechZeroCycles.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native ordered structure-sheaf Cech complex and its global zero-cycles over the literal base ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 22 | (f : X ⟶ Spec (CommRingCat.of R)) |
| 23 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 24 | |
| 25 | /-- The actual ordered Cech complex of the structure sheaf with scalars in R. -/ |
| 26 | def relativeStructureCechComplex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 27 | CochainScalarRestriction.Construction.scalarRestrictedComplex (Scheme.ΓSpecIso (.of R)).inv.hom |
| 28 | (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U) |
| 29 | |
| 30 | /-- Literal global functions are exactly the zero-cycles of this actual R-linear complex. -/ |
| 31 | def relativeStructureGlobalSectionsEquiv (hU : iSup U = ⊤) : |
| 32 | (RelativeStructureSections.Construction.relativeStructureSections f).obj (op ⊤) ≃ₗ[R] |
| 33 | ((relativeStructureCechComplex f U).d 0 1).hom.ker := |
| 34 | ((RelativeStructureIntrinsic.Construction.relativeStructureSectionsNativeIso f).app (op ⊤)).toLinearEquiv.trans |
| 35 | ((((ModuleCat.restrictScalars (Scheme.ΓSpecIso (.of R)).inv.hom).mapIso |
| 36 | (BaseCechGlobalSections.Construction.orderedBaseGlobalSectionsLinearEquiv f |
| 37 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U hU).toModuleIso).toLinearEquiv).trans |
| 38 | (CochainScalarRestriction.Construction.scalarRestrictedZeroCyclesEquiv (Scheme.ΓSpecIso (.of R)).inv.hom |
| 39 | (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U))) |
| 40 | |
| 41 | theorem relativeStructureGlobalSectionsEquiv_coordinate (hU : iSup U = ⊤) |
| 42 | (s : (RelativeStructureSections.Construction.relativeStructureSections f).obj (op ⊤)) (a : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) : |
| 43 | (Pi.π (fun b : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0 => |
| 44 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U 0 b.val) a) |
| 45 | (relativeStructureGlobalSectionsEquiv f U hU s).val = |
| 46 | X.presheaf.map (homOfLE (show (∏ᶜ fun k : Fin 1 => U (a.val k)) ≤ ⊤ from le_top)).op s := |
| 47 | BaseCechGlobalSections.Construction.orderedBaseGlobalSectionsLinearEquiv_coordinate f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U hU s a |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RelativeCechZeroCycles.Construction |