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 Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | import Mathlib.RingTheory.RingHom.FaithfullyFlat |
| 4 | |
| 5 | /-! # Faithful Scalar Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfulScalarExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exactness is reflected by native extension along a faithfully flat |
| 12 | ring map, including the canonical isomorphism from affine-scheme sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem native_scalar_exact_iff_of_faithfullyFlat |
| 19 | {R A : Type u} [CommRing R] [CommRing A] |
| 20 | (f : R →+* A) (hf : f.FaithfullyFlat) (S : ShortComplex (ModuleCat.{u} R)) : |
| 21 | (S.map (ModuleCat.extendScalars f)).Exact ↔ S.Exact := by |
| 22 | let : Algebra R A := f.toAlgebra |
| 23 | have : Module.FaithfullyFlat R A := hf |
| 24 | rw [ShortComplex.ShortExact.moduleCat_exact_iff_function_exact, |
| 25 | ShortComplex.ShortExact.moduleCat_exact_iff_function_exact] |
| 26 | exact Module.FaithfullyFlat.lTensor_exact_iff_exact R A S.f.hom S.g.hom |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfulScalarExactness |