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.Homology.ShortComplex.ModuleCat |
| 2 | import Mathlib.Algebra.Module.Submodule.Pointwise |
| 3 | |
| 4 | /-! # Regular Category -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.RegularCategory |
| 7 | |
| 8 | open _root_.ModuleCat |
| 9 | |
| 10 | /- Adapted to HilbertConstruction-local declarations; omit the deprecated alias. -/ |
| 11 | |
| 12 | universe u v w |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] (M : ModuleCat.{v} R) |
| 15 | |
| 16 | open _root_.CategoryTheory Abelian Pointwise |
| 17 | |
| 18 | lemma LinearMap.exact_lsmul_mkQ_smul_top (M : Type v) [AddCommGroup M] [Module R M] (r : R) : |
| 19 | Function.Exact (LinearMap.lsmul _ M r) (r • (⊤ : Submodule R M)).mkQ := by |
| 20 | intro x |
| 21 | simp [Submodule.mem_smul_pointwise_iff_exists, Submodule.mem_smul_pointwise_iff_exists] |
| 22 | |
| 23 | namespace ModuleCat |
| 24 | |
| 25 | /-- The short (exact) complex `M → M → M⧸xM` obtain from the scalar multiple of `x: R` on `M`. -/ |
| 26 | @[simps!] |
| 27 | def smulShortComplex (r : R) : ShortComplex (ModuleCat R) := |
| 28 | ModuleCat.shortComplexOfCompEqZero (LinearMap.lsmul _ M r) (r • (⊤ : Submodule R M)).mkQ |
| 29 | (RegularCategory.LinearMap.exact_lsmul_mkQ_smul_top M r).linearMap_comp_eq_zero |
| 30 | |
| 31 | @[simp] |
| 32 | lemma smulShortComplex_f_eq_smul_id (r : R) : (smulShortComplex M r).f = r • 𝟙 M := rfl |
| 33 | |
| 34 | lemma smulShortComplex_exact (r : R) : (smulShortComplex M r).Exact := |
| 35 | ModuleCat.shortComplex_exact _ (RegularCategory.LinearMap.exact_lsmul_mkQ_smul_top M r) |
| 36 | |
| 37 | instance smulShortComplex_g_epi (r : R) : Epi (smulShortComplex M r).g := by |
| 38 | simpa [smulShortComplex, ModuleCat.epi_iff_surjective] using Submodule.mkQ_surjective _ |
| 39 | |
| 40 | end ModuleCat |
| 41 | |
| 42 | variable {M} in |
| 43 | lemma IsSMulRegular.smulShortComplex_shortExact {r : R} (reg : IsSMulRegular M r) : |
| 44 | (RegularCategory.ModuleCat.smulShortComplex M r).ShortExact where |
| 45 | exact := RegularCategory.ModuleCat.smulShortComplex_exact M r |
| 46 | mono_f := by simpa [RegularCategory.ModuleCat.smulShortComplex, ModuleCat.mono_iff_injective] using! reg |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.RegularCategory |