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.Global.PureSectionClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleMapCoordinates |
| 4 | |
| 5 | /-! # Single Presheaf Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Reference.SinglePresheafCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original module-single and sheaf-single coordinate maps |
| 12 | factor the literal presheaf single comparison on every principal chart. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v w |
| 17 | variable {X : Scheme.{u}} (N : X.Modules) (c : ℕ) |
| 18 | |
| 19 | abbrev presheaf := (Relative.AdditiveCechConcentration.presheaves (X := X)).obj N |
| 20 | abbrev moduleSingle := (single X.Modules (.up ℕ) c).obj N |
| 21 | |
| 22 | def lastIso : Global.PureSectionClass.sheafCoefficients N c ≅ |
| 23 | (single (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) (.up ℕ) c).obj (presheaf N) := |
| 24 | (singleMapHomologicalComplex |
| 25 | (sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (.up ℕ) c).app |
| 26 | ((SheafOfModules.toSheaf X.ringCatSheaf).obj N) |
| 27 | |
| 28 | def iso : Relative.AdditiveCechConcentration.coefficients (moduleSingle N c) ≅ |
| 29 | (single (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) (.up ℕ) c).obj (presheaf N) := |
| 30 | Principal.RelativeSupportedClass.singleCoefficientIso N c ≪≫ lastIso N c |
| 31 | |
| 32 | theorem self : (iso N c).hom.f c ≫ (singleObjXSelf (.up ℕ) c (presheaf N)).hom = |
| 33 | (Relative.AdditiveCechConcentration.presheaves (X := X)).map |
| 34 | (singleObjXSelf (.up ℕ) c N).hom := by |
| 35 | let H := sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} |
| 36 | let G := SheafOfModules.toSheaf X.ringCatSheaf |
| 37 | change (H.map (((singleMapHomologicalComplex G (.up ℕ) c).hom.app N).f c) ≫ |
| 38 | ((singleMapHomologicalComplex H (.up ℕ) c).hom.app (G.obj N)).f c) ≫ |
| 39 | (singleObjXSelf (.up ℕ) c (H.obj (G.obj N))).hom = |
| 40 | H.map (G.map (singleObjXSelf (.up ℕ) c N).hom) |
| 41 | rw [singleMapHomologicalComplex_hom_app_self, singleMapHomologicalComplex_hom_app_self] |
| 42 | simp only [Functor.map_comp, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 43 | simp only [← Functor.map_comp, Iso.inv_hom_id, Category.comp_id] |
| 44 | |
| 45 | variable {D : Type v} [Category.{w} D] [Abelian D] [HasCoproducts.{0} D] |
| 46 | (F : (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) ⥤ CochainComplex D ℕ) [F.Additive] |
| 47 | |
| 48 | def bicomplexIso := (F.mapHomologicalComplex (.up ℕ)).mapIso (iso N c) |
| 49 | |
| 50 | theorem coordinates (g : ℕ) : |
| 51 | homologyMap (HomologicalComplex₂.total.mapIso (bicomplexIso N c F) (.up ℕ)).hom (g+c) ≫ |
| 52 | (IntegralComparison.Functor.SingleTotal.homologyIso F (presheaf N) c g).hom = |
| 53 | (IntegralComparison.Functor.SingleTotal.homologyIso |
| 54 | (Relative.AdditiveCechConcentration.presheaves (X := X) ⋙ F) N c g).hom := by |
| 55 | apply (IntegralComparison.Functor.SingleMapCoordinates.comparison |
| 56 | (Relative.AdditiveCechConcentration.presheaves (X := X) ⋙ F) F N (presheaf N) c |
| 57 | (bicomplexIso N c F).hom (𝟙 _) ?_ g).trans |
| 58 | · simp only [homologyMap_id, Category.comp_id] |
| 59 | · change F.map ((iso N c).hom.f c) ≫ F.map (singleObjXSelf (.up ℕ) c (presheaf N)).hom = |
| 60 | F.map ((Relative.AdditiveCechConcentration.presheaves (X := X)).map |
| 61 | (singleObjXSelf (.up ℕ) c N).hom) ≫ 𝟙 _ |
| 62 | rw [← F.map_comp, self, Category.comp_id] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Reference.SinglePresheafCoordinates |