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.PELModuli.IntegralModel.GenericFreeSections |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.ModuleBasisIso |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.RestrictFreeSections |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.RestrictFiniteType |
| 5 | |
| 6 | /-! # Generic Module Trivialization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericModuleTrivialization |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A coherent module on an integral locally noetherian scheme is |
| 13 | actually isomorphic to a finite free structure module on a nonempty |
| 14 | affine open inside any prescribed nonempty affine open. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem exists_generic_module_trivialization |
| 22 | {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 23 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 24 | (U : X.affineOpens) [Nonempty U.1] : |
| 25 | ∃ V : X.Opens, V ≤ U.1 ∧ Nonempty V ∧ IsAffineOpen V ∧ |
| 26 | ∃ n : ℕ, Nonempty ((∐ fun _ : Fin n => SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj V.toScheme) ≅ M.restrict V.ι) := by |
| 27 | obtain ⟨V, hVU, hV, hVa, hfree⟩ := GenericFreeSections.exists_generic_free_sections M U |
| 28 | let := hV |
| 29 | let : IsAffine V.toScheme := hVa |
| 30 | let := hfree |
| 31 | let : Module.Free Γ(V.toScheme, ⊤) Γ(M.restrict V.ι, ⊤) := |
| 32 | RestrictFreeSections.restrict_globalSections_free M V |
| 33 | let : (M.restrict V.ι).IsFiniteType := RestrictFiniteType.module_restrict_finiteType M V |
| 34 | let : Module.Finite Γ(V.toScheme, ⊤) Γ(M.restrict V.ι, ⊤) := |
| 35 | SheafCohomology.Projective.Quasicoherent.Scheme.Modules.globalSections_module_finite_of_isFiniteType_of_isAffine (M.restrict V.ι) |
| 36 | exact ⟨V, hVU, hV, hVa, _, ⟨Affine.ModuleBasisIso.affineModuleIsoOfBasis (M.restrict V.ι) _ |
| 37 | (Module.finBasis Γ(V.toScheme, ⊤) Γ(M.restrict V.ι, ⊤))⟩⟩ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericModuleTrivialization |