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.OpenModule.IsoValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalSheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.FrameRecognition |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenFrames |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InverseFrameTransitions |
| 6 | |
| 7 | /-! # Frame Presentation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Every actual line bundle is recovered from the transition cocycle of its chosen local trivializations. The reciprocal cocycle also constructs an actual line bundle. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) |
| 20 | |
| 21 | def Line.Bundles.LineBundle.frameOpen (x : X) : X.Opens := (L.locallyTrivial x).choose |
| 22 | |
| 23 | theorem Line.Bundles.LineBundle.mem_frameOpen (x : X) : x ∈ L.frameOpen x := (L.locallyTrivial x).choose_spec.1 |
| 24 | |
| 25 | def Line.Bundles.LineBundle.chosenFrame (x : X) : |
| 26 | (Scheme.Modules.pullback (L.frameOpen x).ι).obj L.sheaf ≅ Line.Bundles.structureModule (L.frameOpen x).toScheme := |
| 27 | Classical.choice (L.locallyTrivial x).choose_spec.2 |
| 28 | |
| 29 | def Line.Bundles.LineBundle.chosenRestrictionFrame (x : X) : |
| 30 | (Line.Bundles.structureModule X).restrict (L.frameOpen x).ι ≅ L.sheaf.restrict (L.frameOpen x).ι := |
| 31 | (Scheme.Modules.restrictFunctorIsoPullback (L.frameOpen x).ι).app (Line.Bundles.structureModule X) ≪≫ |
| 32 | Line.Bundles.structureModulePullbackIso (L.frameOpen x).ι ≪≫ (L.chosenFrame x).symm ≪≫ |
| 33 | (Scheme.Modules.restrictFunctorIsoPullback (L.frameOpen x).ι).symm.app L.sheaf |
| 34 | |
| 35 | def Line.Bundles.LineBundle.naturalFrames : NaturalSheaf.NaturalSheafFrames L.frameOpen L.sheaf where |
| 36 | frame V x h := OpenModule.IsoValues.openModuleIsoValue (L.frameOpen x).ι (L.chosenRestrictionFrame x) V |
| 37 | (by simpa only [Scheme.Opens.opensRange_ι] using h) |
| 38 | restrict V W h x hx r := |
| 39 | (OpenModule.MapValues.openModuleMapValue_natural (L.frameOpen x).ι (L.chosenRestrictionFrame x).hom h |
| 40 | (by simpa only [Scheme.Opens.opensRange_ι] using hx) |
| 41 | (by simpa only [Scheme.Opens.opensRange_ι] using h.trans hx) r).symm |
| 42 | |
| 43 | theorem Line.Bundles.LineBundle.frameOpen_covers (x : X) : ∃ i, x ∈ L.frameOpen i := ⟨x, L.mem_frameOpen x⟩ |
| 44 | |
| 45 | def Line.Bundles.LineBundle.framePresentationIso : |
| 46 | (LineBundle.FromOpenFrames.lineBundleFromOpenFrames L.naturalFrames.transitions L.frameOpen_covers).sheaf ≅ L.sheaf := |
| 47 | Sheaf.FrameRecognition.openFrameSheafRecognitionIso L.naturalFrames.transitions L.naturalFrames.compatible L.frameOpen_covers |
| 48 | |
| 49 | def Line.Bundles.LineBundle.reciprocalFrameBundle : Line.Bundles.LineBundle X := |
| 50 | LineBundle.FromOpenFrames.lineBundleFromOpenFrames L.naturalFrames.transitions.reciprocal L.frameOpen_covers |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |