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.Flat |
| 4 | |
| 5 | /-! # Flat Scalar Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatScalarExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native extension along a flat ring map preserves exactness. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem native_scalar_exact_of_flat |
| 18 | {R A : Type u} [CommRing R] [CommRing A] |
| 19 | (f : R →+* A) (hf : f.Flat) (S : ShortComplex (ModuleCat.{u} R)) |
| 20 | (hS : S.Exact) : (S.map (ModuleCat.extendScalars f)).Exact := by |
| 21 | let : Algebra R A := f.toAlgebra |
| 22 | have : Module.Flat R A := hf |
| 23 | rw [ShortComplex.ShortExact.moduleCat_exact_iff_function_exact] at hS ⊢ |
| 24 | exact Module.Flat.lTensor_exact A hS |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatScalarExactness |