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.Principal.CechPushforwardCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexTotal |
| 3 | |
| 4 | /-! # Cech Pushforward Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CechPushforwardTotal.Coordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The principal-to-relative coordinate square for the actual total |
| 11 | complexes and their homology under inverse image of opens. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexTotal |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 18 | {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 19 | {ι : Type u} [LinearOrder ι] (W : ι → C) |
| 20 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 21 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 22 | (K : CochainComplex ((Opens Y)ᵒᵖ ⥤ A) ℕ) |
| 23 | attribute [local instance] RelativeCech.ReindexData.preimage_limits CechPushforwardCoordinates.pulled_products |
| 24 | |
| 25 | omit [HasCoproducts A] in |
| 26 | theorem bicomplex : |
| 27 | (AugmentedCech.AmbientTotal.bicomplexIso F W (RelativeCech.ReindexTotal.pushed f K)).hom ≫ |
| 28 | (RelativeCech.ReindexTotal.sourceBicomplexIso f (F.obj (⊤_ C)) (F.obj ∘ W) K).hom = |
| 29 | (AugmentedCech.AmbientTotal.bicomplexIso (CechPushforwardCoordinates.pulled f F) W K).hom := by |
| 30 | apply HomologicalComplex.Hom.ext |
| 31 | funext q |
| 32 | exact CechPushforwardCoordinates.ambient f F W (K.X q) |
| 33 | |
| 34 | theorem total : |
| 35 | (AugmentedCech.AmbientTotal.totalIso F W (RelativeCech.ReindexTotal.pushed f K)).hom ≫ |
| 36 | (RelativeCech.ReindexTotal.sourceTotalIso f (F.obj (⊤_ C)) (F.obj ∘ W) K).hom = |
| 37 | (AugmentedCech.AmbientTotal.totalIso (CechPushforwardCoordinates.pulled f F) W K).hom := by |
| 38 | let T := HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 39 | exact (T.map_comp _ _).symm.trans (congrArg T.map (bicomplex f F W K)) |
| 40 | |
| 41 | theorem homology (q : ℕ) : |
| 42 | homologyMap (AugmentedCech.AmbientTotal.totalIso F W (RelativeCech.ReindexTotal.pushed f K)).hom q ≫ |
| 43 | homologyMap (RelativeCech.ReindexTotal.sourceTotalIso f (F.obj (⊤_ C)) (F.obj ∘ W) K).hom q = |
| 44 | homologyMap (AugmentedCech.AmbientTotal.totalIso (CechPushforwardCoordinates.pulled f F) W K).hom q := by |
| 45 | simpa only [homologyMap_comp] using congrArg (fun a => homologyMap a q) (total f F W K) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CechPushforwardTotal.Coordinates |