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.ConstantSection.ComplexComposition |
| 2 | import Mathlib.Algebra.Homology.Homotopy |
| 3 | |
| 4 | /-! # Homotopy -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.Homotopy |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homotopic original sheaf maps induce the same constant-coefficient section comparison on homology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 17 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 18 | [HasExt.{max w z} (Sheaf J (ModuleCat.{w} R))] |
| 19 | (D : CochainComplex (ModuleCat.{w} R) ℕ) |
| 20 | {K L : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 21 | (a : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).obj D ⟶ K) |
| 22 | (b c : K ⟶ L) (h : Homotopy b c) |
| 23 | |
| 24 | include h in |
| 25 | theorem mapped (i : ℕ) : |
| 26 | HomologicalComplex.homologyMap |
| 27 | (((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 28 | (.up ℕ)).map b) i = |
| 29 | HomologicalComplex.homologyMap |
| 30 | (((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 31 | (.up ℕ)).map c) i := |
| 32 | ((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomotopy h).homologyMap_eq i |
| 33 | |
| 34 | include h in |
| 35 | theorem precomposed (i : ℕ) : |
| 36 | HomologicalComplex.homologyMap |
| 37 | (ComplexMap.map.{u, v, w, z} R J D K a ≫ |
| 38 | ((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 39 | (.up ℕ)).map b) i = |
| 40 | HomologicalComplex.homologyMap |
| 41 | (ComplexMap.map.{u, v, w, z} R J D K a ≫ |
| 42 | ((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 43 | (.up ℕ)).map c) i := by |
| 44 | let H := HomologicalComplex.homologyFunctor (ModuleCat.{max w z} R) (.up ℕ) i |
| 45 | let S : Sheaf J (ModuleCat.{w} R) ⥤ ModuleCat.{max w z} R := |
| 46 | Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0 |
| 47 | let T := S.mapHomologicalComplex (.up ℕ) |
| 48 | let d := ComplexMap.map.{u, v, w, z} R J D K a |
| 49 | exact (H.map_comp d (T.map b)).trans |
| 50 | ((congrArg (fun t => H.map d ≫ t) (mapped.{u, v, w, z} R J b c h i)).trans |
| 51 | (H.map_comp d (T.map c)).symm) |
| 52 | |
| 53 | include h in |
| 54 | theorem homology (i : ℕ) : |
| 55 | HomologicalComplex.homologyMap (ComplexMap.map.{u, v, w, z} R J D L (a ≫ b)) i = |
| 56 | HomologicalComplex.homologyMap (ComplexMap.map.{u, v, w, z} R J D L (a ≫ c)) i := |
| 57 | (congrArg (fun t => HomologicalComplex.homologyMap t i) |
| 58 | (ComplexComposition.map.{u, v, w, z} R J D a b)).trans |
| 59 | ((precomposed R J D a b c h i).trans |
| 60 | (congrArg (fun t => HomologicalComplex.homologyMap t i) |
| 61 | (ComplexComposition.map.{u, v, w, z} R J D a c).symm)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.Homotopy |