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.Comparison.Betti.MultivariableGermFlatness |
| 2 | import Mathlib.RingTheory.Unramified.Finite |
| 3 | |
| 4 | /-! # Unramified Germ Flatness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.UnramifiedGermFlatness.AnalyticLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The proved polynomial germ flatness passes to an unramified |
| 11 | coordinate algebra whenever the actual evaluation maps commute. -/ |
| 12 | |
| 13 | theorem flat_of_unramified_composite {R A B : Type*} [CommRing R] [CommRing A] [CommRing B] |
| 14 | [Algebra R A] [Algebra.FormallyUnramified R A] [Algebra.EssFiniteType R A] |
| 15 | (g : A →+* B) (hg : (g.comp (algebraMap R A)).Flat) : g.Flat := by |
| 16 | let : Algebra A B := g.toAlgebra |
| 17 | let : Algebra R B := (g.comp (algebraMap R A)).toAlgebra |
| 18 | let : IsScalarTower R A B := IsScalarTower.of_algebraMap_eq' rfl |
| 19 | let : Module.Flat R B := hg |
| 20 | exact Algebra.FormallyUnramified.flat_of_restrictScalars R A B |
| 21 | |
| 22 | theorem unramified_germ_map_flat {n : ℕ} (x : Fin n → ℂ) |
| 23 | {A : Type} [CommRing A] [Algebra (MvPolynomial (Fin n) ℂ) A] |
| 24 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) ℂ) A] |
| 25 | [Algebra.EssFiniteType (MvPolynomial (Fin n) ℂ) A] |
| 26 | (g : A →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) |
| 27 | (hg : g.comp (algebraMap (MvPolynomial (Fin n) ℂ) A) = MultivariablePolynomialGerms.AnalyticLocal.mvPolynomialGermMap x) : g.Flat := |
| 28 | flat_of_unramified_composite g (hg.symm ▸ MultivariableGermFlatness.AnalyticLocal.mvPolynomialGermMap_flat n x) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.Comparison.Betti.UnramifiedGermFlatness.AnalyticLocal |