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.Cech.PresentationRestriction |
| 2 | import Mathlib.CategoryTheory.Sites.CoverLifting |
| 3 | |
| 4 | /-! # Presentation Sheaf Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresentationSheafRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical sheafification compatibility transports maps of the original presentation resolutions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w v' w' |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] {C : Type v} [Category.{w} C] |
| 17 | {D : Type v'} [Category.{w'} D] (G : C ⥤ D) |
| 18 | (J : GrothendieckTopology C) (K : GrothendieckTopology D) |
| 19 | [HasSheafify J (ModuleCat.{u} R)] [HasSheafify K (ModuleCat.{u} R)] |
| 20 | [G.IsContinuous J K] [G.IsCocontinuous J K] |
| 21 | [∀ (F : Cᵒᵖ ⥤ ModuleCat.{u} R), G.op.HasPointwiseRightKanExtension F] |
| 22 | |
| 23 | def restriction : Sheaf K (ModuleCat.{u} R) ⥤ Sheaf J (ModuleCat.{u} R) := |
| 24 | G.sheafPushforwardContinuous (ModuleCat.{u} R) J K |
| 25 | |
| 26 | instance restriction_additive : (restriction R G J K).Additive where |
| 27 | map_add := by intros; rfl |
| 28 | |
| 29 | def compatibility : PresentationRestriction.restriction R G ⋙ presheafToSheaf J (ModuleCat.{u} R) ≅ |
| 30 | presheafToSheaf K (ModuleCat.{u} R) ⋙ restriction R G J K := |
| 31 | G.pushforwardContinuousSheafificationCompatibility (ModuleCat.{u} R) J K |
| 32 | |
| 33 | def constantIso : (restriction R G J K).obj ((constantSheaf K (ModuleCat.{u} R)).obj (ModuleCat.of R R)) ≅ |
| 34 | (constantSheaf J (ModuleCat.{u} R)).obj (ModuleCat.of R R) := |
| 35 | (compatibility R G J K).symm.app (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.coefficientPresheaf (C := D) R) |
| 36 | |
| 37 | variable {F : Cᵒᵖ ⥤ Type u} {H : Dᵒᵖ ⥤ Type u} (a : F ⟶ G.op ⋙ H) |
| 38 | |
| 39 | def map : AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.sheafComplex R F J ⟶ |
| 40 | ((restriction R G J K).mapHomologicalComplex (.down ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.sheafComplex R H K) := |
| 41 | ((presheafToSheaf J (ModuleCat.{u} R)).mapHomologicalComplex (.down ℕ)).map |
| 42 | (PresentationRestriction.map R G a) ≫ |
| 43 | (NatIso.mapHomologicalComplex (compatibility R G J K) (.down ℕ)).hom.app |
| 44 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R H) |
| 45 | |
| 46 | theorem component (n : ℕ) : (PresentationSheafRestriction.map R G J K a).f n = |
| 47 | (presheafToSheaf J (ModuleCat.{u} R)).map ((PresentationRestriction.map R G a).f n) ≫ |
| 48 | (compatibility R G J K).hom.app ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R H).X n) := rfl |
| 49 | |
| 50 | instance map_isIso [IsIso a] : IsIso (PresentationSheafRestriction.map R G J K a) := by |
| 51 | let h : IsIso (PresentationRestriction.map R G a) := PresentationRestriction.map_isIso R G a |
| 52 | let S := (presheafToSheaf J (ModuleCat.{u} R)).mapHomologicalComplex (.down ℕ) |
| 53 | let hs : IsIso (S.map (PresentationRestriction.map R G a)) := by infer_instance |
| 54 | let e := NatIso.mapHomologicalComplex (compatibility R G J K) (.down ℕ) |
| 55 | exact ((asIso (S.map (PresentationRestriction.map R G a))) ≪≫ |
| 56 | e.app (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R H)).isIso_hom |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresentationSheafRestriction |