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.Smooth.AffineModelExtension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoefficientUpperBounds |
| 3 | |
| 4 | /-! # Smooth Affine Models -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.SmoothAffineModels |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely many smooth affine algebras have smooth models over a common noetherian base. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable (R : Type u) [CommRing R] {ι : Type v} [Finite ι] |
| 15 | variable (A : ι → Type u) [∀ i, CommRing (A i)] [∀ i, Algebra R (A i)] |
| 16 | variable [∀ i, Algebra.Smooth R (A i)] |
| 17 | |
| 18 | theorem exists_common_smoothAffineModels (C : Subalgebra ℤ R) [Algebra.FiniteType ℤ C] : |
| 19 | ∃ D : Subalgebra ℤ R, C ≤ D ∧ Algebra.FiniteType ℤ D ∧ IsNoetherianRing D ∧ |
| 20 | ∃ M : ∀ i, HilbertConstruction.Smooth.AffineModels.SmoothAffineModel R (A i), ∀ i, (M i).coefficients = D := by |
| 21 | let M₀ (i : ι) : HilbertConstruction.Smooth.AffineModels.SmoothAffineModel R (A i) := (HilbertConstruction.Smooth.AffineModels.smoothAffineModel_nonempty R (A i)).some |
| 22 | obtain ⟨D₀, hD₀, hbound⟩ := HilbertConstruction.Finite.CoefficientUpperBounds.exists_finiteType_coefficient_upperBound |
| 23 | (fun i => (M₀ i).coefficients) |
| 24 | (fun i => (Subalgebra.fg_iff_finiteType (M₀ i).coefficients).mpr inferInstance) |
| 25 | let D := C ⊔ D₀ |
| 26 | have hfg : D.FG := ((Subalgebra.fg_iff_finiteType C).mpr inferInstance).sup hD₀ |
| 27 | have : Algebra.FiniteType ℤ D := (Subalgebra.fg_iff_finiteType D).mp hfg |
| 28 | have : IsNoetherianRing D := Algebra.FiniteType.isNoetherianRing ℤ D |
| 29 | refine ⟨D, le_sup_left, inferInstance, inferInstance, ?_⟩ |
| 30 | exact ⟨fun i => (M₀ i).extend D ((hbound i).trans le_sup_right), fun _ => rfl⟩ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.SmoothAffineModels |