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.Affine.Frames |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 3 | |
| 4 | /-! # Frame Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Finite affine spectrum covers carrying actual line-bundle frames. On a |
| 12 | separated scheme their pairwise fiber-product overlaps are affine as well. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} |
| 20 | |
| 21 | /-- Morphisms from affine schemes to separated schemes are affine. -/ |
| 22 | theorem Affine.FrameCover.affine_source_morphism_affine (f : Y ⟶ X) [IsAffine Y] [X.IsSeparated] : |
| 23 | IsAffineHom f := by |
| 24 | have : IsAffineHom (f ≫ terminal.from X) := inferInstance |
| 25 | exact IsAffineHom.of_comp f (terminal.from X) |
| 26 | |
| 27 | /-- Pairwise overlaps in an affine spectrum cover of a separated scheme are affine. -/ |
| 28 | theorem Affine.FrameCover.affineCover_overlap_affine [X.IsSeparated] (C : X.AffineOpenCover) |
| 29 | (i j : C.I₀) : IsAffine (pullback (C.f i) (C.f j)) := by |
| 30 | have : IsAffineHom (C.f i) := Affine.FrameCover.affine_source_morphism_affine (C.f i) |
| 31 | infer_instance |
| 32 | |
| 33 | /-- A line bundle on a quasi-compact scheme has a finite affine spectrum cover |
| 34 | with an actual frame on every covering scheme. -/ |
| 35 | theorem Line.Bundles.LineBundle.exists_finite_affine_frame_cover (L : Line.Bundles.LineBundle X) [CompactSpace X] : |
| 36 | ∃ C : Scheme.AffineOpenCover.{0} X, |
| 37 | Finite C.I₀ ∧ ∀ i, Nonempty ((Scheme.Modules.pullback (C.f i)).obj L.sheaf ≅ |
| 38 | Line.Bundles.structureModule (Spec (C.X i))) := by |
| 39 | obtain ⟨k, U, ha, he, hcover⟩ := L.exists_finite_affine_frames |
| 40 | have hU : IsOpenCover U := by |
| 41 | rw [IsOpenCover] |
| 42 | apply top_unique |
| 43 | intro x _ |
| 44 | exact Opens.mem_iSup.mpr (hcover x) |
| 45 | let C := Scheme.AffineOpenCover.ofIsOpenCover U hU ha |
| 46 | refine ⟨C, inferInstanceAs (Finite (Fin k)), fun i => ⟨?_⟩⟩ |
| 47 | exact (Scheme.Modules.pullbackComp (ha i).isoSpec.inv (U i).ι).symm.app L.sheaf ≪≫ |
| 48 | (Scheme.Modules.pullback (ha i).isoSpec.inv).mapIso (he i).some ≪≫ |
| 49 | Line.Bundles.structureModulePullbackIso (ha i).isoSpec.inv |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |