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.Reindex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexBaseChange |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.TotalProjection |
| 4 | |
| 5 | /-! # Reindex Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reindexing ordered Cech totals preserves coefficient maps and |
| 12 | the original projection from the full Cech total. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 18 | (r : C ⥤ D) [PreservesFiniteLimits r] |
| 19 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 21 | |
| 22 | abbrev restriction : (Dᵒᵖ ⥤ A) ⥤ Cᵒᵖ ⥤ A := (Functor.whiskeringLeft _ _ _).obj r.op |
| 23 | |
| 24 | variable (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) |
| 25 | |
| 26 | def bicomplexIso : |
| 27 | ((OrderedCech.Functor.Projection.functor U).mapHomologicalComplex (.up ℕ)).obj |
| 28 | (((restriction r).mapHomologicalComplex (.up ℕ)).obj K) ≅ |
| 29 | ((OrderedCech.Functor.Projection.functor (r.obj ∘ U)).mapHomologicalComplex (.up ℕ)).obj K := |
| 30 | (NatIso.mapHomologicalComplex (Reindex.functorIso r U) (.up ℕ)).app K |
| 31 | |
| 32 | def totalIso : |
| 33 | (TotalProjection.ordered U).obj |
| 34 | (((restriction r).mapHomologicalComplex (.up ℕ)).obj K) ≅ |
| 35 | (TotalProjection.ordered (r.obj ∘ U)).obj K := |
| 36 | HomologicalComplex₂.total.mapIso (bicomplexIso r U K) (.up ℕ) |
| 37 | |
| 38 | theorem naturality {L : CochainComplex (Dᵒᵖ ⥤ A) ℕ} (a : K ⟶ L) : |
| 39 | (TotalProjection.ordered U).map |
| 40 | (((restriction r).mapHomologicalComplex (.up ℕ)).map a) ≫ (totalIso r U L).hom = |
| 41 | (totalIso r U K).hom ≫ (TotalProjection.ordered (r.obj ∘ U)).map a := by |
| 42 | let T := HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 43 | exact (T.map_comp _ _).symm.trans |
| 44 | ((congrArg T.map ((NatIso.mapHomologicalComplex |
| 45 | (Reindex.functorIso r U) (.up ℕ)).hom.naturality a)).trans (T.map_comp _ _)) |
| 46 | |
| 47 | theorem projection : |
| 48 | (Cech.ComplexBaseChange.totalIso r U K).hom ≫ |
| 49 | TotalProjection.map (r.obj ∘ U) K = |
| 50 | TotalProjection.map U (((restriction r).mapHomologicalComplex (.up ℕ)).obj K) ≫ |
| 51 | (totalIso r U K).hom := by |
| 52 | have h : (Cech.ComplexBaseChange.bicomplexIso r U K).hom ≫ |
| 53 | TotalProjection.bicomplexMap (r.obj ∘ U) K = |
| 54 | TotalProjection.bicomplexMap U |
| 55 | (((restriction r).mapHomologicalComplex (.up ℕ)).obj K) ≫ (bicomplexIso r U K).hom := by |
| 56 | apply HomologicalComplex.Hom.ext |
| 57 | funext q |
| 58 | exact Reindex.projection r U (K.X q) |
| 59 | let T := HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 60 | exact (T.map_comp _ _).symm.trans ((congrArg T.map h).trans (T.map_comp _ _)) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexTotal |