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.ComplexMap |
| 2 | |
| 3 | /-! # Complex Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: the canonical complex section map is natural in its source and target |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w z |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 18 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 19 | [HasExt.{max w z} (Sheaf J (ModuleCat.{w} R))] |
| 20 | {D D' : CochainComplex (ModuleCat.{w} R) ℕ} |
| 21 | {K K' : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 22 | (g : D ⟶ D') (h : K ⟶ K') |
| 23 | (a : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (ComplexShape.up ℕ)).obj D ⟶ K) |
| 24 | (a' : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (ComplexShape.up ℕ)).obj D' ⟶ K') |
| 25 | (hc : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (ComplexShape.up ℕ)).map g ≫ a' = a ≫ h) |
| 26 | |
| 27 | include hc in |
| 28 | theorem naturality : ComplexMap.map R J D K a ≫ |
| 29 | ((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 30 | (ComplexShape.up ℕ)).map h = |
| 31 | ((ModuleCat.uliftFunctor.{z, w} R).mapHomologicalComplex (ComplexShape.up ℕ)).map g ≫ |
| 32 | ComplexMap.map R J D' K' a' := by |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext n |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro x |
| 38 | have hn : (constantSheaf J (ModuleCat.{w} R)).map (g.f n) ≫ a'.f n = a.f n ≫ h.f n := |
| 39 | congrArg (fun q => q.f n) hc |
| 40 | exact Module.ConstantSections.section_natural R J (g.f n) (h.f n) (a.f n) (a'.f n) hn x.down |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexNaturality |