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.Section.ProjectivePresentation |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.FiniteType |
| 3 | |
| 4 | /-! # Chart Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ChartGenerators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Finite generating families in the affine chart rings of finite-type schemes. |
| 12 | This establishes the finite list of local functions that the section |
| 13 | extension argument must realize as ratios. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S X : Scheme.{u}} |
| 21 | |
| 22 | /-- The actual map of affine global-function rings is of finite type. -/ |
| 23 | theorem affine_globalSections_finiteType (f : X ⟶ S) |
| 24 | [IsAffine X] [IsAffine S] [LocallyOfFiniteType f] : f.appTop.hom.FiniteType := |
| 25 | HasRingHomProperty.appTop (P := @LocallyOfFiniteType) _ inferInstance |
| 26 | |
| 27 | /-- An affine chart in a finite-type scheme over an affine base has a finite |
| 28 | ordered family of generators over the base ring. -/ |
| 29 | theorem affine_chart_generators (f : X ⟶ S) [IsAffine S] [LocallyOfFiniteType f] |
| 30 | (U : X.Opens) (hU : IsAffineOpen U) : |
| 31 | letI := (U.ι ≫ f).appTop.hom.toAlgebra |
| 32 | ∃ (k : ℕ) (v : Fin k → Γ(U.toScheme, ⊤)), |
| 33 | Algebra.adjoin Γ(S, ⊤) (Set.range v) = ⊤ := by |
| 34 | let := (U.ι ≫ f).appTop.hom.toAlgebra |
| 35 | have : IsAffine U.toScheme := hU |
| 36 | have : Algebra.FiniteType Γ(S, ⊤) Γ(U.toScheme, ⊤) := |
| 37 | affine_globalSections_finiteType (U.ι ≫ f) |
| 38 | obtain ⟨k, φ, hφ⟩ := Algebra.FiniteType.iff_quotient_mvPolynomial''.mp this |
| 39 | refine ⟨k, fun i => φ (MvPolynomial.X i), ?_⟩ |
| 40 | rw [Algebra.adjoin_range_eq_range_aeval] |
| 41 | have he : MvPolynomial.aeval (fun i => φ (MvPolynomial.X i)) = φ := |
| 42 | (MvPolynomial.aeval_unique φ).symm |
| 43 | apply (congrArg AlgHom.range he).trans |
| 44 | apply top_unique |
| 45 | intro b _ |
| 46 | exact hφ b |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ChartGenerators |