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.QuasiIso |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | |
| 4 | /-! # Zero Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ZeroKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree-zero cohomology of a nonnegative complex is its first differential kernel; quasi-isomorphisms give the corresponding actual linear equivalence. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | |
| 18 | def cochainZeroCyclesIso (C : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 19 | C.cycles 0 ≅ ModuleCat.of R (C.d 0 1).hom.ker := |
| 20 | C.cyclesIsoSc' 0 0 1 (by simp) (by simp) ≪≫ (C.sc' 0 0 1).moduleCatCyclesIso |
| 21 | |
| 22 | def cochainZeroHomologyKernelEquiv (C : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 23 | C.homology 0 ≃ₗ[R] (C.d 0 1).hom.ker := |
| 24 | (C.isoHomologyπ₀.symm ≪≫ cochainZeroCyclesIso C).toLinearEquiv |
| 25 | |
| 26 | def cochainZeroKernelEquivOfQuasiIso {C D : CochainComplex (ModuleCat.{v} R) ℕ} |
| 27 | (φ : C ⟶ D) [QuasiIsoAt φ 0] : (C.d 0 1).hom.ker ≃ₗ[R] (D.d 0 1).hom.ker := |
| 28 | (cochainZeroHomologyKernelEquiv C).symm.trans |
| 29 | ((isoOfQuasiIsoAt φ 0).toLinearEquiv.trans (cochainZeroHomologyKernelEquiv D)) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ZeroKernel |