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