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.FrameCech.ExtCoefficientEdge |
| 2 | |
| 3 | /-! # Augmentation Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.AugmentationNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual frame coefficient augmentation commutes with maps of |
| 10 | augmented sheaf complexes. No acyclicity of the intermediate complex is |
| 11 | needed for this square. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v z w |
| 16 | |
| 17 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {κ : Type v} (F : κ → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 19 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 20 | (K L : CochainComplex (Sheaf J (ModuleCat.{max u v} R)) ℕ) |
| 21 | {Y : Sheaf J (ModuleCat.{max u v} R)} |
| 22 | (a : (CochainComplex.single₀ _).obj Y ⟶ K) |
| 23 | (b : (CochainComplex.single₀ _).obj Y ⟶ L) |
| 24 | (g : K ⟶ L) (h : a ≫ g = b) |
| 25 | |
| 26 | private instance moduleCoproducts (S : Type*) [CommRing S] : HasCoproducts.{0} (ModuleCat.{w} S) := |
| 27 | fun T => (ModuleCat.hasColimitsOfSize.{w, _, 0, 0} S).has_colimits_of_shape (Discrete T) |
| 28 | |
| 29 | def bicomplexMap : ExtCoefficientEdge.bicomplex.{u, v, z} F R J K ⟶ |
| 30 | ExtCoefficientEdge.bicomplex.{u, v, z} F R J L := |
| 31 | ((ExtBicomplex.liftedFunctor.{u, v, z} F R J).mapHomologicalComplex (.up ℕ)).map g |
| 32 | |
| 33 | def totalMap : (ExtCoefficientEdge.bicomplex.{u, v, z} F R J K).total (.up ℕ) ⟶ |
| 34 | (ExtCoefficientEdge.bicomplex.{u, v, z} F R J L).total (.up ℕ) := |
| 35 | HomologicalComplex₂.total.map (bicomplexMap.{u, v, z} F R J K L g) (.up ℕ) |
| 36 | |
| 37 | include h in |
| 38 | theorem row_square : |
| 39 | ExtCoefficientEdge.rowMap.{u, v, z} F R J K a ≫ |
| 40 | (bicomplexMap.{u, v, z} F R J K L g).f 0 = |
| 41 | 𝟙 _ ≫ ExtCoefficientEdge.rowMap.{u, v, z} F R J L b := by |
| 42 | change (ExtBicomplex.liftedFunctor.{u, v, z} F R J).map (a.f 0) ≫ |
| 43 | (ExtBicomplex.liftedFunctor.{u, v, z} F R J).map (g.f 0) = _ |
| 44 | rw [← Functor.map_comp, Category.id_comp] |
| 45 | exact congrArg (ExtBicomplex.liftedFunctor.{u, v, z} F R J).map |
| 46 | (congrArg (fun t => t.f 0) h) |
| 47 | |
| 48 | include h in |
| 49 | theorem square : ExtCoefficientEdge.edge.{u, v, z} F R J K a ≫ |
| 50 | totalMap.{u, v, z} F R J K L g = |
| 51 | ExtCoefficientEdge.edge.{u, v, z} F R J L b := by |
| 52 | exact (BicomplexCoefficientEdge.naturality _ _ |
| 53 | (ExtCoefficientEdge.rowMap.{u, v, z} F R J K a) |
| 54 | (ExtCoefficientEdge.closed.{u, v, z} F R J K a) _ |
| 55 | (ExtCoefficientEdge.rowMap.{u, v, z} F R J L b) |
| 56 | (ExtCoefficientEdge.closed.{u, v, z} F R J L b) |
| 57 | (bicomplexMap.{u, v, z} F R J K L g) (𝟙 _) |
| 58 | (row_square.{u, v, z} F R J K L a b g h)).trans (Category.id_comp _) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.AugmentationNaturality |