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.GeometricComparison.NonemptyCech.Refinement |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalFunctor |
| 3 | |
| 4 | /-! # Total Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalRefinement.CechConeTotalRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement of a covering family acts on the original total complex |
| 11 | and preserves the canonical augmentation of any coefficient cone. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 14 | |
| 15 | universe u v w z |
| 16 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {A : Type w} [Category.{z} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 18 | {ι κ : Type} (U : ι → C) (V : κ → C) |
| 19 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 20 | |
| 21 | local instance hasTotal (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 22 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 23 | |
| 24 | def bicomplexMap (P : Cᵒᵖ ⥤ CochainComplex A ℕ) : |
| 25 | Total.CechConeTotal.bicomplex U P ⟶ Total.CechConeTotal.bicomplex V P := |
| 26 | (HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).map |
| 27 | (NonemptyCech.Refinement.NonemptyCechRefinement.map U V r P) |
| 28 | |
| 29 | def map (P : Cᵒᵖ ⥤ CochainComplex A ℕ) : Total.CechConeTotal.total U P ⟶ Total.CechConeTotal.total V P := |
| 30 | HomologicalComplex₂.total.map (bicomplexMap U V r P) (.up ℕ) |
| 31 | |
| 32 | omit [HasCoproducts.{0} A] in |
| 33 | theorem naturality {P Q : Cᵒᵖ ⥤ CochainComplex A ℕ} (a : P ⟶ Q) : |
| 34 | (TotalFunctor.CechConeTotalFunctor.functor U).map a ≫ CechConeTotalRefinement.map U V r Q = |
| 35 | CechConeTotalRefinement.map U V r P ≫ (TotalFunctor.CechConeTotalFunctor.functor V).map a := by |
| 36 | let F := HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ) ⋙ |
| 37 | HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 38 | exact (F.map_comp _ _).symm.trans |
| 39 | ((congrArg F.map (NonemptyCech.Refinement.NonemptyCechRefinement.naturality U V r a)).trans (F.map_comp _ _)) |
| 40 | |
| 41 | variable (P : Cᵒᵖ ⥤ CochainComplex A ℕ) (M : CochainComplex A ℕ) |
| 42 | (η : (Functor.const Cᵒᵖ).obj M ⟶ P) |
| 43 | |
| 44 | omit [HasCoproducts.{0} A] in |
| 45 | theorem augmentation : Total.CechConeTotal.augmentation U P M η ≫ CechConeTotalRefinement.map U V r P = |
| 46 | Total.CechConeTotal.augmentation V P M η := by |
| 47 | ext q : 1 |
| 48 | let K := Total.CechConeTotal.bicomplex U P |
| 49 | let L := Total.CechConeTotal.bicomplex V P |
| 50 | let a := bicomplexMap U V r P |
| 51 | have hq := congrArg (fun f => f.f q) (NonemptyCech.Refinement.NonemptyCechRefinement.restriction U V r P M η ⦋0⦌) |
| 52 | change Total.CechConeTotal.component U P M η q ≫ (a.f q).f 0 = |
| 53 | Total.CechConeTotal.component V P M η q at hq |
| 54 | change (Total.CechConeTotal.component U P M η q ≫ K.ιTotal (.up ℕ) q 0 q rfl) ≫ |
| 55 | (HomologicalComplex₂.total.map a (.up ℕ)).f q = |
| 56 | Total.CechConeTotal.component V P M η q ≫ L.ιTotal (.up ℕ) q 0 q rfl |
| 57 | exact (Category.assoc _ _ _).trans |
| 58 | ((congrArg (fun k => Total.CechConeTotal.component U P M η q ≫ k) |
| 59 | (HomologicalComplex₂.ιTotal_map K L a (.up ℕ) q 0 q rfl)).trans |
| 60 | ((Category.assoc _ _ _).symm.trans |
| 61 | (congrArg (fun k => k ≫ L.ιTotal (.up ℕ) q 0 q rfl) hq))) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalRefinement.CechConeTotalRefinement |