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.Finite.Presentations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 3 | import Mathlib.AlgebraicGeometry.Modules.Tilde |
| 4 | |
| 5 | /-! # Quasicoherence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The concrete locally trivial sheaves defining HilbertConstruction line bundles are finitely |
| 13 | presented and quasi-coherent. Their pullback frames are transported to the |
| 14 | slice-site presentations used by mathlib. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X : Scheme.{u}} (L : Line.Bundles.LineBundle X) |
| 22 | |
| 23 | /-- A frame on an open subscheme gives a frame on the equivalent slice site. -/ |
| 24 | def Line.Bundles.LineBundle.overFrameIso (U : X.Opens) |
| 25 | (e : (Scheme.Modules.pullback U.ι).obj L.sheaf ≅ Line.Bundles.structureModule U.toScheme) : |
| 26 | L.sheaf.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U) := |
| 27 | (Scheme.Modules.overEquiv U).fullyFaithfulFunctor.preimageIso <| |
| 28 | (Scheme.Modules.overFunctorEquiv U).app L.sheaf ≪≫ |
| 29 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).app L.sheaf ≪≫ e ≪≫ |
| 30 | (Scheme.Modules.restrictUnitIso U.ι).symm ≪≫ |
| 31 | ((Scheme.Modules.overFunctorEquiv U).app (Line.Bundles.structureModule X)).symm |
| 32 | |
| 33 | /-- Local frames supply actual presentations with one generator and no relations. -/ |
| 34 | def Line.Bundles.LineBundle.localPresentationData : L.sheaf.QuasicoherentData where |
| 35 | I := X |
| 36 | X x := (L.locallyTrivial x).choose |
| 37 | coversTop := by |
| 38 | rw [Opens.coversTop_iff, IsOpenCover] |
| 39 | apply top_unique |
| 40 | intro x _ |
| 41 | exact Opens.mem_iSup.mpr ⟨x, (L.locallyTrivial x).choose_spec.1⟩ |
| 42 | presentation x := |
| 43 | (Finite.Presentations.unitFinitePresentation _).ofIsIso |
| 44 | (L.overFrameIso _ (L.locallyTrivial x).choose_spec.2.some).inv |
| 45 | |
| 46 | instance Line.Bundles.LineBundle.localPresentationData_isFinite : L.localPresentationData.IsFinitePresentation where |
| 47 | isFinite_presentation x := by |
| 48 | change ((Finite.Presentations.unitFinitePresentation _).ofIsIso |
| 49 | (L.overFrameIso _ (L.locallyTrivial x).choose_spec.2.some).inv).IsFinite |
| 50 | infer_instance |
| 51 | |
| 52 | /-- Every line bundle in the concrete HilbertConstruction API is finitely presented. -/ |
| 53 | instance Line.Bundles.LineBundle.isFinitePresentation : L.sheaf.IsFinitePresentation where |
| 54 | exists_quasicoherentData := ⟨L.localPresentationData, inferInstance⟩ |
| 55 | |
| 56 | /-- In particular, line bundles satisfy the usual quasi-coherence condition. -/ |
| 57 | theorem Line.Bundles.LineBundle.isQuasicoherent : L.sheaf.IsQuasicoherent := |
| 58 | L.localPresentationData.isQuasicoherent |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |