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 OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Retraction |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | |
| 4 | /-! # Exact -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Exact |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exactness passes through the proved native ordered Čech retraction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | universe u v |
| 15 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 16 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → C) (P : Cᵒᵖ ⥤ D) |
| 18 | |
| 19 | theorem ordered (n : ℕ) (h : (Cech.TupleRestrictionFunctor.complex U P).ExactAt n) : |
| 20 | (Projection.complex U P).ExactAt n := by |
| 21 | rw [HomologicalComplex.exactAt_iff_isZero_homology] at h ⊢ |
| 22 | apply (IsZero.iff_id_eq_zero _).mpr |
| 23 | let H := HomologicalComplex.homologyFunctor D (.up ℕ) n |
| 24 | have he := congrArg H.map (Retraction.inclusion_map U P) |
| 25 | rw [H.map_comp, H.map_id] at he |
| 26 | apply he.symm.trans |
| 27 | erw [h.eq_zero_of_tgt (H.map (Retraction.inclusion U P)), zero_comp] |
| 28 | rfl |
| 29 | |
| 30 | theorem augmented (n : ℕ) |
| 31 | (h : (Cech.TupleRestrictionFunctor.complex U P).ExactAt (n + 1)) : |
| 32 | (AugmentedOrdered.Cech.complex U P).ExactAt (n + 2) := by |
| 33 | have h' := ordered U P (n + 1) h |
| 34 | rw [HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) (by simp) (by simp)] at h' |
| 35 | rw [HomologicalComplex.exactAt_iff' _ (n + 1) (n + 2) (n + 3) (by simp) (by simp)] |
| 36 | simpa [HomologicalComplex.sc', HomologicalComplex.shortComplexFunctor', |
| 37 | Projection.complex, AugmentedOrdered.Cech.complex, |
| 38 | CochainComplex.of.d, Projection.object, |
| 39 | Projection.differential] using h' |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Exact |