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.AlgebraicGeometry.Comparison.Betti.Module.PullbackOver |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.OverPost |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.PullbackFree |
| 4 | |
| 5 | /-! # Pullback Local Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Module.PullbackLocalFrames.RingedModules |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual local free module frames pull back to free frames on the corresponding open slice. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {C D : Type} [SmallCategory C] [SmallCategory D] |
| 16 | [HasBinaryProducts C] [HasBinaryProducts D] |
| 17 | {J : GrothendieckTopology C} {K : GrothendieckTopology D} |
| 18 | {F : C ⥤ D} [F.IsContinuous J K] |
| 19 | {S : Sheaf J RingCat.{0}} {R : Sheaf K RingCat.{0}} |
| 20 | (φ : S ⟶ (F.sheafPushforwardContinuous RingCat J K).obj R) (U : C) |
| 21 | [(Over.post (X := U) F).IsContinuous (J.over U) (K.over (F.obj U))] |
| 22 | [∀ V, IsIso (prodComparison F U V)] |
| 23 | [(SheafOfModules.pushforward.{0} φ).IsRightAdjoint] |
| 24 | [(SheafOfModules.pushforward.{0} (OverRingedMorphism.Modules.overStructureMap φ U)).IsRightAdjoint] |
| 25 | [HasWeakSheafify (J.over U) AddCommGrpCat.{0}] |
| 26 | [HasWeakSheafify (K.over (F.obj U)) AddCommGrpCat.{0}] |
| 27 | [(J.over U).WEqualsLocallyBijective AddCommGrpCat.{0}] |
| 28 | [(K.over (F.obj U)).WEqualsLocallyBijective AddCommGrpCat.{0}] |
| 29 | |
| 30 | def modulePullbackOverFreeIso (M : SheafOfModules.{0} S) (I : Type) |
| 31 | (e : SheafOfModules.free (R := S.over U) I ≅ M.over U) : |
| 32 | SheafOfModules.free (R := R.over (F.obj U)) I ≅ |
| 33 | ((SheafOfModules.pullback φ).obj M).over (F.obj U) := by |
| 34 | let : (Over.post (X := U) F).Final := OverPost.RingedModules.overPost_final F U |
| 35 | exact (SheafOfModules.pullbackObjFreeIso (OverRingedMorphism.Modules.overStructureMap φ U) I).symm ≪≫ |
| 36 | (SheafOfModules.pullback (OverRingedMorphism.Modules.overStructureMap φ U)).mapIso e ≪≫ |
| 37 | ((PullbackOver.RingedModules.modulePullbackOverIso φ U).app M).symm |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Comparison.Betti.Module.PullbackLocalFrames.RingedModules |