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.ComplexNaturality |
| 2 | |
| 3 | /-! # Complex Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical constant-module section maps respect postcomposition on actual complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v w z |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 16 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 17 | [HasExt.{max w z} (Sheaf J (ModuleCat.{w} R))] |
| 18 | (D : CochainComplex (ModuleCat.{w} R) ℕ) |
| 19 | {K L : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 20 | (a : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).obj D ⟶ K) |
| 21 | (b : K ⟶ L) |
| 22 | |
| 23 | theorem component (n : ℕ) : (ComplexMap.map R J D L (a ≫ b)).f n = |
| 24 | (ComplexMap.map R J D K a).f n ≫ |
| 25 | (Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).map (b.f n) := by |
| 26 | apply ModuleCat.hom_ext |
| 27 | apply LinearMap.ext |
| 28 | intro x |
| 29 | have hc : (constantSheaf J (ModuleCat.{w} R)).map (𝟙 (D.X n)) ≫ (a.f n ≫ b.f n) = a.f n ≫ b.f n := by |
| 30 | rw [(constantSheaf J (ModuleCat.{w} R)).map_id, Category.id_comp] |
| 31 | exact (Module.ConstantSections.section_natural R J (𝟙 (D.X n)) (b.f n) |
| 32 | (a.f n) (a.f n ≫ b.f n) hc x.down).symm |
| 33 | |
| 34 | theorem map : ComplexMap.map R J D L (a ≫ b) = |
| 35 | ComplexMap.map R J D K a ≫ |
| 36 | ((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 37 | (.up ℕ)).map b := by |
| 38 | apply HomologicalComplex.Hom.ext |
| 39 | funext n |
| 40 | exact component R J D a b n |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexComposition |