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.AffineModels |
| 2 | |
| 3 | /-! # Affine Models Above -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineModelsAbove |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth affine models can retain any previously chosen finite coefficient subalgebra. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] [Algebra.Smooth R A] |
| 14 | |
| 15 | theorem exists_smoothAffineModel_above (C : Subalgebra ℤ R) [Algebra.FiniteType ℤ C] : |
| 16 | ∃ M : AffineModels.SmoothAffineModel R A, C ≤ M.coefficients := by |
| 17 | obtain ⟨D, B, _, _, hD, hB, ⟨e⟩⟩ := Algebra.Smooth.exists_subalgebra_fg C R A |
| 18 | have : Algebra.FiniteType C D := (Subalgebra.fg_iff_finiteType D).mp hD |
| 19 | have : Algebra.FiniteType ℤ D := |
| 20 | Algebra.FiniteType.trans (S := C) (inferInstanceAs (Algebra.FiniteType ℤ C)) |
| 21 | (inferInstanceAs (Algebra.FiniteType C D)) |
| 22 | refine ⟨{ |
| 23 | coefficients := D.restrictScalars ℤ |
| 24 | finiteType := inferInstanceAs (Algebra.FiniteType ℤ D) |
| 25 | algebra := CommAlgCat.of D B |
| 26 | smooth := hB |
| 27 | recovery := e }, ?_⟩ |
| 28 | intro r hr |
| 29 | exact D.algebraMap_mem (⟨r, hr⟩ : C) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineModelsAbove |