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.Coherent.GenericFreeSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleBasisIsomorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionSectionFreeness |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.RestrictionFiniteType |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentFiniteTypeSections |
| 6 | import Mathlib.LinearAlgebra.Matrix.Nonsingular |
| 7 | |
| 8 | /-! # Generic Module Trivialization -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GenericModuleTrivialization |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A coherent module on an integral locally noetherian scheme is actually finite free on a nonempty affine open. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | universe u |
| 17 | |
| 18 | theorem exists_generic_module_trivialization |
| 19 | {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 20 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 21 | (U : X.affineOpens) [Nonempty U.1] : |
| 22 | ∃ V : X.Opens, V ≤ U.1 ∧ Nonempty V ∧ IsAffineOpen V ∧ |
| 23 | ∃ n : ℕ, Nonempty ((∐ fun _ : ULift.{u} (Fin n) => Line.Bundles.structureModule V.toScheme) ≅ |
| 24 | M.restrict V.ι) := by |
| 25 | obtain ⟨V, hVU, hV, hVa, hfree⟩ := Coherent.GenericFreeSections.exists_generic_free_sections M U |
| 26 | let := hV |
| 27 | have : Nonempty V.toScheme := hV |
| 28 | have : Nonempty (⊤ : V.toScheme.Opens) := ⟨⟨Classical.choice hV, trivial⟩⟩ |
| 29 | have : Nontrivial Γ(V.toScheme, ⊤) := Scheme.component_nontrivial V.toScheme ⊤ |
| 30 | have : StrongRankCondition Γ(V.toScheme, ⊤) := inferInstance |
| 31 | let : IsAffine V.toScheme := hVa |
| 32 | let := hfree |
| 33 | let : Module.Free Γ(V.toScheme, ⊤) Γ(M.restrict V.ι, ⊤) := |
| 34 | RestrictionSectionFreeness.restrict_globalSections_free M V |
| 35 | let : (M.restrict V.ι).IsFiniteType := Quasicoherent.RestrictionFiniteType.quasicoherent_openRestrict_finiteType V.ι M |
| 36 | let : Module.Finite Γ(V.toScheme, ⊤) Γ(M.restrict V.ι, ⊤) := |
| 37 | Affine.QuasicoherentFiniteTypeSections.affine_quasicoherent_finiteType_sections_finite (M.restrict V.ι) |
| 38 | exact ⟨V, hVU, hV, hVa, _, ⟨Affine.ModuleBasisIsomorphism.affineModuleIsoOfBasis (M.restrict V.ι) _ |
| 39 | ((Module.finBasis Γ(V.toScheme, ⊤) Γ(M.restrict V.ι, ⊤)).reindex Equiv.ulift.symm)⟩⟩ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GenericModuleTrivialization |