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.ReferenceFamily.Finite.CoefficientLimit |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.FrameCover |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 5 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 6 | |
| 7 | /-! # Coefficient Frames -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.CoefficientFrames |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An actual line bundle on a constant proper family admits a |
| 14 | finite affine frame cover descended to a finite coefficient algebra. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | |
| 19 | universe u |
| 20 | variable (k R : Type u) [CommRing k] [CommRing R] [Algebra k R] |
| 21 | |
| 22 | abbrev finiteCoefficientFamilyDiagram (X : Over (Spec (.of k))) := |
| 23 | CoefficientLimit.finiteCoefficientOverDiagram k R ⋙ Over.pullback X.hom ⋙ Over.forget X.left |
| 24 | |
| 25 | instance finiteCoefficientOverDiagram_affine (s : (Finset R)ᵒᵖ) : |
| 26 | IsAffine ((CoefficientLimit.finiteCoefficientOverDiagram k R).obj s).left := |
| 27 | inferInstanceAs (IsAffine (Spec (.of (CoefficientDiagram.finiteCoefficientRing k R s.unop)))) |
| 28 | |
| 29 | instance finiteCoefficientFamily_transitionAffine (X : Over (Spec (.of k))) |
| 30 | {s t : (Finset R)ᵒᵖ} (f : s ⟶ t) : |
| 31 | IsAffineHom ((finiteCoefficientFamilyDiagram k R X).map f) := by |
| 32 | exact MorphismProperty.overPullbackMap (P := @IsAffineHom) X.hom |
| 33 | ((CoefficientLimit.finiteCoefficientOverDiagram k R).map f) (isAffineHom_of_isAffine _) |
| 34 | |
| 35 | instance finiteCoefficientFamily_noetherian [IsNoetherianRing k] |
| 36 | (X : Over (Spec (.of k))) [LocallyOfFiniteType X.hom] (s : (Finset R)ᵒᵖ) : |
| 37 | IsLocallyNoetherian ((finiteCoefficientFamilyDiagram k R X).obj s) := by |
| 38 | change IsLocallyNoetherian (pullback |
| 39 | (Spec.map (CommRingCat.ofHom (algebraMap k (CoefficientDiagram.finiteCoefficientRing k R s.unop)))) X.hom) |
| 40 | exact LocallyOfFiniteType.isLocallyNoetherian (pullback.fst |
| 41 | (Spec.map (CommRingCat.ofHom (algebraMap k (CoefficientDiagram.finiteCoefficientRing k R s.unop)))) X.hom) |
| 42 | |
| 43 | instance finiteCoefficientFamily_compact (X : Over (Spec (.of k))) [QuasiCompact X.hom] |
| 44 | (s : (Finset R)ᵒᵖ) : CompactSpace ((finiteCoefficientFamilyDiagram k R X).obj s) := by |
| 45 | change CompactSpace (pullback |
| 46 | (Spec.map (CommRingCat.ofHom (algebraMap k (CoefficientDiagram.finiteCoefficientRing k R s.unop)))) X.hom : Scheme.{u}) |
| 47 | exact QuasiCompact.compactSpace_of_compactSpace (pullback.fst |
| 48 | (Spec.map (CommRingCat.ofHom (algebraMap k (CoefficientDiagram.finiteCoefficientRing k R s.unop)))) X.hom) |
| 49 | |
| 50 | theorem exists_finite_coefficient_family_frame_cover [IsNoetherianRing k] |
| 51 | (X : Over (Spec (.of k))) [IsProper X.hom] |
| 52 | (L : HilbertConstruction.Line.Bundles.LineBundle (CoefficientLimit.algebraSpecOver k R ⊗ X).left) : |
| 53 | ∃ (s : Finset R) (n : ℕ) |
| 54 | (V : Fin n → ((finiteCoefficientFamilyDiagram k R X).obj (.op s)).Opens), |
| 55 | IsOpenCover V ∧ (∀ j, IsAffineOpen (V j)) ∧ |
| 56 | (∀ j, Nonempty ((Scheme.Modules.pullback |
| 57 | ((CoefficientLimit.finiteCoefficientFamilyCone k R X).π.app (.op s) ⁻¹ᵁ V j).ι).obj L.sheaf ≅ |
| 58 | HilbertConstruction.Line.Bundles.structureModule ((CoefficientLimit.finiteCoefficientFamilyCone k R X).π.app (.op s) ⁻¹ᵁ V j).toScheme)) := by |
| 59 | classical |
| 60 | obtain ⟨i, n, V, hV, ha, he⟩ := InverseLimit.FrameCover.exists_limit_line_frame_cover_stage |
| 61 | (finiteCoefficientFamilyDiagram k R X) (CoefficientLimit.finiteCoefficientFamilyCone k R X) |
| 62 | (CoefficientLimit.finiteCoefficientFamilyCone_isLimit k R X) L |
| 63 | exact ⟨i.unop, n, V, hV, ha, he⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.CoefficientFrames |