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 Mathlib.Algebra.Category.ModuleCat.Sheaf.PullbackContinuous |
| 2 | import Mathlib.CategoryTheory.Sites.PreservesLocallyBijective |
| 3 | |
| 4 | /-! # Sheafification Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafificationRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: module sheafification commutes with continuous and cocontinuous geometric restriction |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {C D : Type u} [SmallCategory C] [SmallCategory D] |
| 19 | {J : GrothendieckTopology C} {K : GrothendieckTopology D} |
| 20 | [HasSheafify J AddCommGrpCat.{u}] [HasSheafify K AddCommGrpCat.{u}] |
| 21 | [J.WEqualsLocallyBijective AddCommGrpCat.{u}] [K.WEqualsLocallyBijective AddCommGrpCat.{u}] |
| 22 | {F : C ⥤ D} [F.IsContinuous J K] [F.IsCocontinuous J K] |
| 23 | {S : Sheaf J RingCat.{u}} {R : Sheaf K RingCat.{u}} |
| 24 | (φ : S ⟶ (F.sheafPushforwardContinuous RingCat.{u} J K).obj R) |
| 25 | (P : PresheafOfModules.{u} R.obj) |
| 26 | |
| 27 | def map : |
| 28 | (PresheafOfModules.sheafification (R := S) (𝟙 S.obj)).obj |
| 29 | ((PresheafOfModules.pushforward φ.hom).obj P) ⟶ |
| 30 | (SheafOfModules.pushforward φ).obj ((PresheafOfModules.sheafification (R := R) (𝟙 R.obj)).obj P) := |
| 31 | (PresheafOfModules.sheafificationHomEquiv (𝟙 S.obj)).symm |
| 32 | ((PresheafOfModules.pushforward φ.hom).map |
| 33 | ((PresheafOfModules.sheafificationAdjunction (R := R) (𝟙 R.obj)).unit.app P)) |
| 34 | |
| 35 | theorem map_isIso : IsIso (SheafificationRestriction.map φ P) := by |
| 36 | suffices h : IsIso ((SheafOfModules.toSheaf.{u} S).map (SheafificationRestriction.map φ P)) by |
| 37 | exact isIso_of_reflects_iso _ (SheafOfModules.toSheaf.{u} S) |
| 38 | unfold SheafificationRestriction.map |
| 39 | erw [PresheafOfModules.toSheaf_map_sheafificationHomEquiv_symm] |
| 40 | let Q : Sheaf J AddCommGrpCat.{u} := |
| 41 | (F.sheafPushforwardContinuous AddCommGrpCat.{u} J K).obj |
| 42 | ((presheafToSheaf K AddCommGrpCat.{u}).obj P.presheaf) |
| 43 | let g : F.op ⋙ P.presheaf ⟶ (sheafToPresheaf J AddCommGrpCat.{u}).obj Q := |
| 44 | Functor.whiskerLeft F.op (toSheafify K P.presheaf) |
| 45 | let : Presheaf.IsLocallyInjective J g := |
| 46 | Presheaf.isLocallyInjective_whisker J K F (toSheafify K P.presheaf) |
| 47 | let : Presheaf.IsLocallySurjective J g := |
| 48 | Presheaf.isLocallySurjective_whisker J K F (toSheafify K P.presheaf) |
| 49 | let : IsIso ((presheafToSheaf J AddCommGrpCat.{u}).map g) := |
| 50 | (J.W_iff g).mp (J.W_of_isLocallyBijective g) |
| 51 | change IsIso (((CategoryTheory.sheafificationAdjunction J AddCommGrpCat.{u}).homEquiv |
| 52 | (F.op ⋙ P.presheaf) Q).symm g) |
| 53 | rw [Adjunction.homEquiv_counit] |
| 54 | infer_instance |
| 55 | |
| 56 | def iso : |
| 57 | (PresheafOfModules.sheafification (R := S) (𝟙 S.obj)).obj |
| 58 | ((PresheafOfModules.pushforward φ.hom).obj P) ≅ |
| 59 | (SheafOfModules.pushforward φ).obj ((PresheafOfModules.sheafification (R := R) (𝟙 R.obj)).obj P) := by |
| 60 | let : IsIso (SheafificationRestriction.map φ P) := map_isIso φ P |
| 61 | exact asIso (SheafificationRestriction.map φ P) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafificationRestriction |