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.Abelian |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.PushforwardContinuous |
| 3 | import Mathlib.Algebra.Category.Grp.FilteredColimits |
| 4 | import Mathlib.CategoryTheory.Sites.CoverLifting |
| 5 | |
| 6 | /-! # Sheaf Restriction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.SheafRestriction.Projective |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Restriction to an open slice commutes with module sheafification. |
| 13 | This is the local comparison needed for the sheafified tensor powers in ProjectiveCohomology. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | variable {C : Type} [SmallCategory C] {J : GrothendieckTopology C} |
| 18 | (R : Sheaf J RingCat.{0}) (U : C) |
| 19 | |
| 20 | def overPresheaf : PresheafOfModules.{0} R.obj ⥤ |
| 21 | PresheafOfModules.{0} (R.over U).obj := |
| 22 | PresheafOfModules.pushforward (F := Over.forget U) (𝟙 (R.over U).obj) |
| 23 | |
| 24 | def overSheafificationMap (M : PresheafOfModules.{0} R.obj) : |
| 25 | (PresheafOfModules.sheafification (𝟙 (R.over U).obj)).obj |
| 26 | ((overPresheaf R U).obj M) ⟶ |
| 27 | ((PresheafOfModules.sheafification (𝟙 R.obj)).obj M).over U := |
| 28 | (PresheafOfModules.sheafificationHomEquiv (𝟙 (R.over U).obj)).symm |
| 29 | ((overPresheaf R U).map ((PresheafOfModules.sheafificationAdjunction |
| 30 | (𝟙 R.obj)).unit.app M)) |
| 31 | |
| 32 | theorem overSheafificationMap_underlying (M : PresheafOfModules.{0} R.obj) : |
| 33 | (SheafOfModules.toSheaf (R.over U)).map (overSheafificationMap R U M) = |
| 34 | ((Over.forget U).pushforwardContinuousSheafificationCompatibility |
| 35 | AddCommGrpCat (J.over U) J).hom.app M.presheaf := by |
| 36 | unfold overSheafificationMap |
| 37 | erw [PresheafOfModules.toSheaf_map_sheafificationHomEquiv_symm] |
| 38 | apply ((sheafificationAdjunction (J.over U) AddCommGrpCat).homEquiv _ _).injective |
| 39 | erw [Equiv.apply_symm_apply, Adjunction.homEquiv_unit] |
| 40 | exact ((Over.forget U).toSheafify_pullbackSheafificationCompatibility |
| 41 | AddCommGrpCat (J.over U) J M.presheaf).symm |
| 42 | |
| 43 | instance overSheafificationMap_isIso (M : PresheafOfModules.{0} R.obj) : |
| 44 | IsIso (overSheafificationMap R U M) := by |
| 45 | have : IsIso ((SheafOfModules.toSheaf (R.over U)).map |
| 46 | (overSheafificationMap R U M)) := by |
| 47 | rw [overSheafificationMap_underlying] |
| 48 | exact ((Over.forget U).pushforwardContinuousSheafificationCompatibility |
| 49 | AddCommGrpCat (J.over U) J).app M.presheaf |>.isIso_hom |
| 50 | exact isIso_of_reflects_iso (overSheafificationMap R U M) |
| 51 | (SheafOfModules.toSheaf (R.over U)) |
| 52 | |
| 53 | def overSheafificationIso (M : PresheafOfModules.{0} R.obj) : |
| 54 | (PresheafOfModules.sheafification (𝟙 (R.over U).obj)).obj |
| 55 | ((overPresheaf R U).obj M) ≅ |
| 56 | ((PresheafOfModules.sheafification (𝟙 R.obj)).obj M).over U := |
| 57 | asIso (overSheafificationMap R U M) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.SheafCohomology.SheafRestriction.Projective |