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.SingleHomology |
| 2 | import Mathlib.Algebra.Homology.QuasiIso |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.Exact |
| 4 | |
| 5 | /-! # Cochain Augmentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.CochainAugmentation.CochainAugmentationCriterion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Degree-zero criterion for a cochain augmentation |
| 13 | |
| 14 | When the source has zero first differential, a map induces an |
| 15 | isomorphism on degree-zero cohomology precisely when its first component |
| 16 | is injective and identifies its source with the zero-cocycles. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Limits |
| 20 | |
| 21 | universe u v |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 24 | {K L : CochainComplex C ℕ} (f : K ⟶ L) (hK : K.d 0 1 = 0) |
| 25 | |
| 26 | def initialShort : ShortComplex C := |
| 27 | ShortComplex.mk (f.f 0) (L.d 0 1) (by rw [f.comm, hK, zero_comp]) |
| 28 | |
| 29 | theorem quasiIsoAt_zero_iff : |
| 30 | QuasiIsoAt f 0 ↔ (initialShort f hK).Exact ∧ Mono (f.f 0) := by |
| 31 | rw [CochainComplex.quasiIsoAt₀_iff] |
| 32 | exact ShortComplex.quasiIso_iff_of_zeros |
| 33 | ((HomologicalComplex.shortComplexFunctor' C (ComplexShape.up ℕ) 0 0 1).map f) |
| 34 | (by change K.d 0 0 = 0; simp) hK (by change L.d 0 0 = 0; simp) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.CochainAugmentation.CochainAugmentationCriterion |