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.Basic.Complex.Basic |
| 3 | import Mathlib.RingTheory.Flat.TorsionFree |
| 4 | |
| 5 | /-! # Coefficient Flatness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.CoefficientFlatness.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exactness input for extension from integral to complex coefficients. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | /-- Extension of scalars along the actual inclusion of integers in the complex field. -/ |
| 16 | abbrev extendComplexCoefficients : ModuleCat.{0} ℤ ⥤ ModuleCat.{0} ℂ := |
| 17 | ModuleCat.extendScalars (Int.castRingHom ℂ) |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false in |
| 20 | /-- Complex coefficients are flat over the integers, so extension preserves injections. -/ |
| 21 | instance extendComplexCoefficients_preservesMonos : |
| 22 | extendComplexCoefficients.PreservesMonomorphisms where |
| 23 | preserves {M N} f hf := by |
| 24 | apply (ModuleCat.mono_iff_injective _).mpr |
| 25 | change Function.Injective |
| 26 | (@LinearMap.baseChange ℤ ℂ M N _ _ |
| 27 | ((algebraMap ℂ ℂ).comp (Int.castRingHom ℂ)).toAlgebra _ _ _ _ f.hom) |
| 28 | rw [Subsingleton.elim |
| 29 | ((algebraMap ℂ ℂ).comp (Int.castRingHom ℂ)).toAlgebra (inferInstance : Algebra ℤ ℂ)] |
| 30 | exact Module.Flat.lTensor_preserves_injective_linearMap (M := ℂ) f.hom |
| 31 | ((ModuleCat.mono_iff_injective f).mp hf) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.SheafCohomology.CoefficientFlatness.Projective |