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.Incoming.Subsite |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FilteredOrEmptyKan |
| 3 | |
| 4 | /-! # Subsite Extension -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SubsiteExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: exact module extension from a full subsite closed under incoming maps |
| 12 | |
| 13 | The pointwise Kan category is empty outside the subsite and has a |
| 14 | terminal object inside it. Its module colimits are exact, hence the |
| 15 | native left adjoint to sheaf restriction preserves finite limits. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {C : Type (max u v)} [Category.{v} C] (P : ObjectProperty C) |
| 23 | (hP : ∀ {X Y : C}, (X ⟶ Y) → P Y → P X) |
| 24 | |
| 25 | include hP in |
| 26 | theorem index_filteredOrEmpty (X : Cᵒᵖ) : IsFilteredOrEmpty (CostructuredArrow P.ι.op X) := by |
| 27 | classical |
| 28 | by_cases h : Nonempty (CostructuredArrow P.ι.op X) |
| 29 | · obtain ⟨Y⟩ := h |
| 30 | have hX : P X.unop := hP Y.hom.unop Y.left.unop.property |
| 31 | let Z : P.FullSubcategory := ⟨X.unop, hX⟩ |
| 32 | have : IsFiltered (CostructuredArrow P.ι.op X) := |
| 33 | IsFiltered.of_isTerminal _ (CostructuredArrow.mkIdTerminal (S := P.ι.op) (Y := op Z)) |
| 34 | infer_instance |
| 35 | · have : IsEmpty (CostructuredArrow P.ι.op X) := not_nonempty_iff.mp h |
| 36 | exact { cocone_objs := fun Y => isEmptyElim Y, cocone_maps := fun {Y} => isEmptyElim Y } |
| 37 | |
| 38 | variable (R : Type (max u v)) [Ring R] |
| 39 | |
| 40 | include hP in |
| 41 | theorem preservesFiniteLimits : PreservesFiniteLimits |
| 42 | (P.ι.op.lan : (P.FullSubcategoryᵒᵖ ⥤ ModuleCat.{max u v} R) ⥤ Cᵒᵖ ⥤ ModuleCat.{max u v} R) := by |
| 43 | apply preservesFiniteLimits_of_preservesFiniteLimitsOfSize.{max u v} |
| 44 | intro K _ _ |
| 45 | apply preservesLimitsOfShape_of_evaluation |
| 46 | (P.ι.op.lan : (P.FullSubcategoryᵒᵖ ⥤ ModuleCat.{max u v} R) ⥤ Cᵒᵖ ⥤ ModuleCat.{max u v} R) K |
| 47 | intro X |
| 48 | have := index_filteredOrEmpty P hP X |
| 49 | have := FilteredOrEmptyKan.exact_colimits R (CostructuredArrow P.ι.op X) |
| 50 | exact preservesLimitsOfShape_of_natIso (FlatModuleKanExtension.evaluationIso R P.ι.op X).symm |
| 51 | |
| 52 | variable (J : GrothendieckTopology C) [P.ι.IsContinuous (P.ι.restrictedTopology J) J] |
| 53 | |
| 54 | include hP in |
| 55 | theorem sheafPullback_preservesFiniteLimits : PreservesFiniteLimits |
| 56 | (P.ι.sheafPullback (ModuleCat.{max u v} R) (P.ι.restrictedTopology J) J) := by |
| 57 | have := preservesFiniteLimits P hP R |
| 58 | have : PreservesFiniteLimits (Functor.sheafPullbackConstruction.sheafPullback P.ι |
| 59 | (ModuleCat.{max u v} R) (P.ι.restrictedTopology J) J) := by |
| 60 | change PreservesFiniteLimits |
| 61 | (sheafToPresheaf (P.ι.restrictedTopology J) (ModuleCat.{max u v} R) ⋙ |
| 62 | P.ι.op.lan ⋙ presheafToSheaf J (ModuleCat.{max u v} R)) |
| 63 | have : PreservesFiniteLimits (P.ι.op.lan ⋙ presheafToSheaf J (ModuleCat.{max u v} R)) := |
| 64 | comp_preservesFiniteLimits _ _ |
| 65 | exact comp_preservesFiniteLimits _ _ |
| 66 | exact preservesFiniteLimits_of_natIso (Functor.sheafPullbackConstruction.sheafPullbackIso |
| 67 | P.ι (ModuleCat.{max u v} R) (P.ι.restrictedTopology J) J).symm |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SubsiteExtension |