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.NaturalSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.LocalLinearFrames |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.FrameRecognition |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenFrames |
| 5 | |
| 6 | /-! # Frame Cocycles -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FrameCocycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Global sections whose nonvanishing opens cover recover their actual module sheaf from the regular-function ratios of their local frames. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {X : Scheme.{u}} {ι : Type v} {M : X.Modules} |
| 19 | |
| 20 | def sectionNaturalFrames (s : ι → (Line.Bundles.structureModule X ⟶ M)) : |
| 21 | NaturalSheaf.NaturalSheafFrames (fun i => Ample.LineBundles.sectionNonvanishing (s i)) M where |
| 22 | frame V i hi := LocalLinearFrames.sectionLocalFrameEquiv (s i) V hi |
| 23 | restrict V W h i hi r := by |
| 24 | have hv := LocalLinearFrames.sectionLocalFrameEquiv_apply (s i) V hi r |
| 25 | have hw := LocalLinearFrames.sectionLocalFrameEquiv_apply (s i) W (h.trans hi) (X.presheaf.map (homOfLE h).op r) |
| 26 | have hn := ConcreteCategory.congr_hom ((s i).mapPresheaf.naturality (homOfLE h).op) r |
| 27 | exact (congrArg (M.presheaf.map (homOfLE h).op) hv).trans (hn.symm.trans hw.symm) |
| 28 | |
| 29 | def sectionFrameTransitions (s : ι → (Line.Bundles.structureModule X ⟶ M)) : |
| 30 | OpenFrame.Transitions.OpenFrameTransitions (fun i => Ample.LineBundles.sectionNonvanishing (s i)) := |
| 31 | (sectionNaturalFrames s).transitions |
| 32 | |
| 33 | theorem sectionFrameTransitions_value (s : ι → (Line.Bundles.structureModule X ⟶ M)) |
| 34 | (V : X.Opens) (i j : ι) (hi : V ≤ Ample.LineBundles.sectionNonvanishing (s i)) (hj : V ≤ Ample.LineBundles.sectionNonvanishing (s j)) : |
| 35 | ((sectionFrameTransitions s).value V i j hi hj).val = |
| 36 | (LocalLinearFrames.sectionLocalFrameEquiv (s i) V hi).symm ((s j).app V (1 : Γ(X, V))) := |
| 37 | congrArg (LocalLinearFrames.sectionLocalFrameEquiv (s i) V hi).symm (LocalLinearFrames.sectionLocalFrameEquiv_apply (s j) V hj 1) |
| 38 | |
| 39 | def sectionFrameBundleIso {κ : Type u} (s : κ → (Line.Bundles.structureModule X ⟶ M)) |
| 40 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 41 | (LineBundle.FromOpenFrames.lineBundleFromOpenFrames (sectionFrameTransitions s) hs).sheaf ≅ M := |
| 42 | Sheaf.FrameRecognition.openFrameSheafRecognitionIso (sectionFrameTransitions s) (sectionNaturalFrames s).compatible hs |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FrameCocycles |