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.OpenFrame.ModulePresheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.TupleSheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.SectionLocality |
| 4 | |
| 5 | /-! # Module Sheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.ModuleSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compatible frame coordinates form an actual sheaf of modules, proved by unique gluing in the regular-function coordinate sheaf and locality of the transition equations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} (D : Transitions.OpenFrameTransitions U) |
| 18 | |
| 19 | def openFrameSectionTypePresheaf : TopCat.Presheaf (Type u) X := |
| 20 | (PresheafOfModules.toPresheaf X.ringCatSheaf.obj).obj (ModulePresheaf.openFrameModulePresheaf D) ⋙ forget AddCommGrpCat |
| 21 | |
| 22 | theorem openFrameSectionTypePresheaf_isSheaf : (openFrameSectionTypePresheaf D).IsSheaf := by |
| 23 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing_types _).mpr |
| 24 | intro α V s hs |
| 25 | change ∀ a b, RestrictionCompatibility.openFrameSectionRestriction D (show V a ⊓ V b ≤ V a from inf_le_left) (s a) = |
| 26 | RestrictionCompatibility.openFrameSectionRestriction D (show V a ⊓ V b ≤ V b from inf_le_right) (s b) at hs |
| 27 | have hvals : (TupleSheaf.openFrameTuplePresheaf U).IsCompatible V (fun a => (s a).val) := by |
| 28 | intro a b |
| 29 | exact congrArg Subtype.val (hs a b) |
| 30 | obtain ⟨t, ht, hu⟩ := (TupleSheaf.openFrameTuplePresheaf_isSheaf U).isSheafUniqueGluing_types (fun a => (s a).val) hvals |
| 31 | have htmem : t ∈ SectionModules.openFrameSectionModule U D (iSup V) := |
| 32 | SectionLocality.openFrameSectionModule_mem_of_locally D V (fun a => le_iSup V a) le_rfl t |
| 33 | (fun a => (ht a).symm ▸ (s a).property) |
| 34 | refine ⟨⟨t, htmem⟩, ?_, ?_⟩ |
| 35 | · intro a |
| 36 | exact Subtype.ext (ht a) |
| 37 | · intro q hq |
| 38 | apply Subtype.ext |
| 39 | exact hu q.val (fun a => congrArg Subtype.val (hq a)) |
| 40 | |
| 41 | def openFrameModuleSheaf : X.Modules where |
| 42 | val := ModulePresheaf.openFrameModulePresheaf D |
| 43 | isSheaf := (TopCat.Presheaf.isSheaf_iff_isSheaf_comp' (forget AddCommGrpCat) _).mpr |
| 44 | (openFrameSectionTypePresheaf_isSheaf D) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.ModuleSheaf |