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.PresentationGenericFreeness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.ModuleFreenessTransfer |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentFiniteTypeSections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentLocalization |
| 5 | import Mathlib.AlgebraicGeometry.Noetherian |
| 6 | |
| 7 | /-! # Generic Free Sections -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.GenericFreeSections |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An actual coherent module has finite free sections on a nonempty affine open inside any prescribed nonempty affine open of an integral locally Noetherian scheme. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | universe u |
| 16 | |
| 17 | theorem exists_generic_free_sections |
| 18 | {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 19 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 20 | (U : X.affineOpens) [Nonempty U.1] : |
| 21 | ∃ V : X.Opens, V ≤ U.1 ∧ Nonempty V ∧ IsAffineOpen V ∧ |
| 22 | Module.Free Γ(X, V) Γ(M, V) := by |
| 23 | let : IsNoetherianRing Γ(X, U.1) := IsLocallyNoetherian.component_noetherian U |
| 24 | let : Module.Finite Γ(X, U.1) Γ(M, U.1) := |
| 25 | Affine.QuasicoherentFiniteTypeSections.affineOpen_quasicoherent_finiteType_sections_finite M U |
| 26 | let : Module.FinitePresentation Γ(X, U.1) Γ(M, U.1) := |
| 27 | Module.finitePresentation_of_finite Γ(X, U.1) Γ(M, U.1) |
| 28 | obtain ⟨r, hr, hfree⟩ := HilbertConstruction.Finite.PresentationGenericFreeness.exists_nonzero_free_localization |
| 29 | Γ(X, U.1) Γ(M, U.1) |
| 30 | have hV : Nonempty (X.basicOpen r) := by |
| 31 | apply Set.nonempty_coe_sort.mpr |
| 32 | exact (Opens.ne_bot_iff_nonempty _).mp (fun h => hr ((basicOpen_eq_bot_iff r).mp h)) |
| 33 | refine ⟨X.basicOpen r, X.basicOpen_le r, hV, U.2.basicOpen r, ?_⟩ |
| 34 | let : Module Γ(X, U.1) Γ(M, X.basicOpen r) := |
| 35 | Module.compHom _ (algebraMap Γ(X, U.1) Γ(X, X.basicOpen r)) |
| 36 | let : IsScalarTower Γ(X, U.1) Γ(X, X.basicOpen r) Γ(M, X.basicOpen r) := |
| 37 | .of_algebraMap_smul fun _ _ => rfl |
| 38 | let : IsLocalization.Away r Γ(X, X.basicOpen r) := U.2.isLocalization_basicOpen r |
| 39 | let g : Γ(M, U.1) →ₗ[Γ(X, U.1)] Γ(M, X.basicOpen r) := |
| 40 | { toFun := M.presheaf.map (homOfLE (X.basicOpen_le r)).op |
| 41 | map_add' := (M.presheaf.map (homOfLE (X.basicOpen_le r)).op).hom.map_add |
| 42 | map_smul' := fun a x => M.map_smul (homOfLE (X.basicOpen_le r)) a x } |
| 43 | let : IsLocalizedModule.Away r g := |
| 44 | AffineOpen.QuasicoherentLocalization.affineOpen_quasicoherent_sections_localize M U r |
| 45 | let := hfree |
| 46 | exact Localized.ModuleFreenessTransfer.free_of_isLocalizedModule_of_free_canonical (Submonoid.powers r) |
| 47 | Γ(X, X.basicOpen r) g |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.GenericFreeSections |