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.CechCone.TotalFunctorSquare |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexNaturality |
| 3 | |
| 4 | /-! # Constant Ext -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantExt.ConstantExtSectionTransformation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A natural family of constant-sheaf complex maps induces a natural |
| 11 | family of the original coefficient-linear Ext-section maps. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v w z r s |
| 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 | {T : Type r} [Category.{s} T] |
| 20 | (D : T ⥤ CochainComplex (ModuleCat.{w} R) ℕ) |
| 21 | (K : T ⥤ CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ) |
| 22 | (a : D ⋙ (constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ) ⟶ K) |
| 23 | |
| 24 | def unit : (ModuleCat.uliftFunctor.{z,w} R) ⟶ (constantSheaf J (ModuleCat.{w} R)) ⋙ |
| 25 | IntegralComparison.Ext.ModuleFunctor.functor R (IntegralComparison.Module.ConstantSections.constantUnit R J) 0 where |
| 26 | app M := ModuleCat.ofHom ((IntegralComparison.Module.ConstantSections.globalElement R J M).comp |
| 27 | ULift.moduleEquiv.toLinearMap) |
| 28 | naturality M N f := by |
| 29 | apply ModuleCat.hom_ext |
| 30 | apply LinearMap.ext |
| 31 | intro x |
| 32 | exact (IntegralComparison.Module.ConstantSections.globalElement_natural R J f x.down).symm |
| 33 | |
| 34 | def source : T ⥤ CochainComplex (ModuleCat.{max w z} R) ℕ := |
| 35 | D ⋙ (ModuleCat.uliftFunctor.{z, w} R).mapHomologicalComplex (.up ℕ) |
| 36 | |
| 37 | def target : T ⥤ CochainComplex (ModuleCat.{max w z} R) ℕ := |
| 38 | K ⋙ (IntegralComparison.Ext.ModuleFunctor.functor R (IntegralComparison.Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex (.up ℕ) |
| 39 | |
| 40 | def component (X : T) : (source R D).obj X ⟶ (target R J K).obj X := |
| 41 | IntegralComparison.ConstantSection.ComplexMap.map R J (D.obj X) (K.obj X) (a.app X) |
| 42 | |
| 43 | theorem component_naturality (X Y : T) (f : X ⟶ Y) (i : ℕ) : |
| 44 | ((source R D).map f).f i ≫ (component R J D K a Y).f i = |
| 45 | (component R J D K a X).f i ≫ ((target R J K).map f).f i := by |
| 46 | apply ModuleCat.hom_ext |
| 47 | apply LinearMap.ext |
| 48 | intro x |
| 49 | have hc : (constantSheaf J (ModuleCat.{w} R)).map ((D.map f).f i) ≫ (a.app Y).f i = |
| 50 | (a.app X).f i ≫ (K.map f).f i := congrArg (fun q => q.f i) (a.naturality f) |
| 51 | exact (IntegralComparison.Module.ConstantSections.section_natural R J ((D.map f).f i) ((K.map f).f i) |
| 52 | ((a.app X).f i) ((a.app Y).f i) hc x.down).symm |
| 53 | |
| 54 | theorem naturality (X Y : T) (f : X ⟶ Y) : |
| 55 | (source R D).map f ≫ component R J D K a Y = |
| 56 | component R J D K a X ≫ (target R J K).map f := by |
| 57 | apply HomologicalComplex.Hom.ext |
| 58 | funext i |
| 59 | exact component_naturality R J D K a X Y f i |
| 60 | |
| 61 | def transformation : source R D ⟶ target R J K := |
| 62 | CechCone.TotalFunctorSquare.CechConeTotalFunctorSquare.diagramMapDirect (I := T) |
| 63 | (constantSheaf J (ModuleCat.{w} R)) (ModuleCat.uliftFunctor.{z,w} R) |
| 64 | (IntegralComparison.Ext.ModuleFunctor.functor R (IntegralComparison.Module.ConstantSections.constantUnit R J) 0) |
| 65 | D K a (unit R J) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantExt.ConstantExtSectionTransformation |