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.FlatFromNonemptyLimits |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InitialConstantMaps |
| 3 | |
| 4 | /-! # Image -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.Image |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: factor a functor through objects mapping to its image |
| 12 | |
| 13 | On this full subcategory, the incoming categories are nonempty. Preserved |
| 14 | binary products and equalizers make the factor functor final. If the full |
| 15 | subcategory covers the target site, sheaf descent then gives the actual |
| 16 | constant-source presheaf Hom comparison. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | |
| 21 | universe u v u' v' u'' v'' |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 24 | variable (F : C ⥤ D) |
| 25 | |
| 26 | def property : ObjectProperty D := fun T => Nonempty (StructuredArrow T F) |
| 27 | |
| 28 | abbrev Objects := (Image.property F).FullSubcategory |
| 29 | abbrev inclusion : Objects F ⥤ D := (Image.property F).ι |
| 30 | |
| 31 | abbrev factor : C ⥤ Objects F := |
| 32 | (Image.property F).lift F (fun X => ⟨StructuredArrow.mk (𝟙 (F.obj X))⟩) |
| 33 | |
| 34 | lemma incoming_nonempty (T : Objects F) : Nonempty (StructuredArrow T (factor F)) := by |
| 35 | obtain ⟨a⟩ := T.property |
| 36 | exact ⟨StructuredArrow.mk (Y := a.right) (ObjectProperty.homMk a.hom)⟩ |
| 37 | |
| 38 | variable [HasBinaryProducts C] [HasEqualizers C] |
| 39 | variable [PreservesLimitsOfShape (Discrete WalkingPair) F] [PreservesLimitsOfShape WalkingParallelPair F] |
| 40 | |
| 41 | instance factor_preservesProducts : PreservesLimitsOfShape (Discrete WalkingPair) (factor F) := by |
| 42 | have : PreservesLimitsOfShape (Discrete WalkingPair) (factor F ⋙ inclusion F) := |
| 43 | inferInstanceAs (PreservesLimitsOfShape (Discrete WalkingPair) F) |
| 44 | exact preservesLimitsOfShape_of_reflects_of_preserves (factor F) (inclusion F) |
| 45 | |
| 46 | instance factor_preservesEqualizers : PreservesLimitsOfShape WalkingParallelPair (factor F) := by |
| 47 | have : PreservesLimitsOfShape WalkingParallelPair (factor F ⋙ inclusion F) := |
| 48 | inferInstanceAs (PreservesLimitsOfShape WalkingParallelPair F) |
| 49 | exact preservesLimitsOfShape_of_reflects_of_preserves (factor F) (inclusion F) |
| 50 | |
| 51 | instance factor_flat : RepresentablyFlat (factor F) := |
| 52 | FlatFromNonemptyLimits.flat (factor F) (incoming_nonempty F) |
| 53 | |
| 54 | instance factor_final : (factor F).Final := final_of_representablyFlat _ |
| 55 | |
| 56 | variable (K : GrothendieckTopology D) [(inclusion F).IsCoverDense K] |
| 57 | variable (E : Type u'') [Category.{v''} E] (M : E) (Y : Sheaf K E) |
| 58 | |
| 59 | lemma constant_restriction_bijective : Function.Bijective |
| 60 | (Functor.whiskerLeft F.op : ((Functor.const Dᵒᵖ).obj M ⟶ Y.obj) → |
| 61 | ((Functor.const Cᵒᵖ).obj M ⟶ F.op ⋙ Y.obj)) := by |
| 62 | have h₁ := (Functor.IsCoverDense.restrictHomEquivHom |
| 63 | (G := inclusion F) (ℱ := (Functor.const Dᵒᵖ).obj M) (ℱ' := Y)).symm.bijective |
| 64 | have h₂ := InitialConstantMaps.bijective (factor F).op M ((inclusion F).op ⋙ Y.obj) |
| 65 | exact h₂.comp h₁ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.Image |