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.SliceKanComponents |
| 2 | import Mathlib.CategoryTheory.Sites.Over |
| 3 | import Mathlib.CategoryTheory.Preadditive.Injective.Preserves |
| 4 | |
| 5 | /-! # Slice Exact Extension -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SliceExactExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: exact extension from a slice and preservation of injectives |
| 13 | |
| 14 | Pointwise left extension from the slice is a coproduct. Exactness of |
| 15 | module coproducts and sheafification proves exactness of the native |
| 16 | left adjoint to restriction. Hence restriction to the slice preserves |
| 17 | injective module sheaves. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 21 | |
| 22 | universe u v |
| 23 | |
| 24 | variable {C : Type (max u v)} [Category.{v} C] |
| 25 | (R : Type (max u v)) [Ring R] (U : C) |
| 26 | |
| 27 | theorem preservesFiniteLimits : PreservesFiniteLimits |
| 28 | ((Over.forget U).op.lan : ((Over U)ᵒᵖ ⥤ ModuleCat.{max u v} R) ⥤ Cᵒᵖ ⥤ ModuleCat.{max u v} R) := by |
| 29 | apply preservesFiniteLimits_of_preservesFiniteLimitsOfSize.{max u v} |
| 30 | intro K _ _ |
| 31 | apply preservesLimitsOfShape_of_evaluation |
| 32 | ((Over.forget U).op.lan : ((Over U)ᵒᵖ ⥤ ModuleCat.{max u v} R) ⥤ Cᵒᵖ ⥤ ModuleCat.{max u v} R) K |
| 33 | intro X |
| 34 | have := SliceKanComponents.exact_colimits U X R |
| 35 | exact preservesLimitsOfShape_of_natIso |
| 36 | (FlatModuleKanExtension.evaluationIso R (Over.forget U).op X).symm |
| 37 | |
| 38 | variable (J : GrothendieckTopology C) |
| 39 | |
| 40 | theorem sheafPullback_preservesFiniteLimits : |
| 41 | PreservesFiniteLimits ((Over.forget U).sheafPullback (ModuleCat.{max u v} R) (J.over U) J) := by |
| 42 | have := preservesFiniteLimits R U |
| 43 | have : PreservesFiniteLimits |
| 44 | (Functor.sheafPullbackConstruction.sheafPullback (Over.forget U) |
| 45 | (ModuleCat.{max u v} R) (J.over U) J) := by |
| 46 | change PreservesFiniteLimits (sheafToPresheaf (J.over U) (ModuleCat.{max u v} R) ⋙ |
| 47 | (Over.forget U).op.lan ⋙ presheafToSheaf J (ModuleCat.{max u v} R)) |
| 48 | have : PreservesFiniteLimits |
| 49 | ((Over.forget U).op.lan ⋙ presheafToSheaf J (ModuleCat.{max u v} R)) := |
| 50 | comp_preservesFiniteLimits _ _ |
| 51 | exact comp_preservesFiniteLimits _ _ |
| 52 | exact preservesFiniteLimits_of_natIso |
| 53 | (Functor.sheafPullbackConstruction.sheafPullbackIso (Over.forget U) |
| 54 | (ModuleCat.{max u v} R) (J.over U) J).symm |
| 55 | |
| 56 | theorem restriction_preservesInjectives : |
| 57 | (J.overPullback (ModuleCat.{max u v} R) U).PreservesInjectiveObjects := by |
| 58 | have := sheafPullback_preservesFiniteLimits R U J |
| 59 | exact Functor.preservesInjectiveObjects_of_adjunction_of_preservesMonomorphisms |
| 60 | ((Over.forget U).sheafAdjunctionContinuous (ModuleCat.{max u v} R) (J.over U) J) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SliceExactExtension |