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.NeighborhoodColimit |
| 2 | |
| 3 | /-! # Neighborhood Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NeighborhoodRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: neighborhood-colimit inverse-image values restrict functorially along actual site maps |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.Neighborhoods OAI.NumberTheory.PadicHodge.IntegralComparison.NeighborhoodColimit |
| 16 | |
| 17 | universe u v w u' v' |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] {A : Type w} [SemilatticeInf A] |
| 20 | {D : Type u'} [Category.{v'} D] (P : A → ObjectProperty C) |
| 21 | (hIncoming : ∀ V {T U : C}, (T ⟶ U) → P V U → P V T) |
| 22 | [∀ T, HasColimitsOfShape (Incoming.Neighborhoods.Objects P T)ᵒᵖ D] |
| 23 | {T U : C} (α : T ⟶ U) (F : Aᵒᵖ ⥤ D) |
| 24 | |
| 25 | def restriction : colimit (NeighborhoodColimit.diagram P U F) ⟶ colimit (NeighborhoodColimit.diagram P T F) := |
| 26 | colimit.pre (NeighborhoodColimit.diagram P T F) (Incoming.Neighborhoods.change P hIncoming α).op |
| 27 | |
| 28 | theorem ι_restriction (V : (Incoming.Neighborhoods.Objects P U)ᵒᵖ) : colimit.ι (NeighborhoodColimit.diagram P U F) V ≫ restriction P hIncoming α F = |
| 29 | colimit.ι (NeighborhoodColimit.diagram P T F) ((Incoming.Neighborhoods.change P hIncoming α).op.obj V) := |
| 30 | colimit.ι_pre (NeighborhoodColimit.diagram P T F) (Incoming.Neighborhoods.change P hIncoming α).op V |
| 31 | |
| 32 | omit α in |
| 33 | theorem restriction_id (T : C) : restriction P hIncoming (𝟙 T) F = 𝟙 (colimit (NeighborhoodColimit.diagram P T F)) := by |
| 34 | apply colimit.hom_ext |
| 35 | intro V |
| 36 | exact (ι_restriction P hIncoming (𝟙 T) F V).trans (Category.comp_id _).symm |
| 37 | |
| 38 | theorem restriction_comp {S : C} (β : U ⟶ S) : restriction P hIncoming (α ≫ β) F = |
| 39 | restriction P hIncoming β F ≫ restriction P hIncoming α F := by |
| 40 | apply colimit.hom_ext |
| 41 | intro V |
| 42 | exact (ι_restriction P hIncoming (α ≫ β) F V).trans |
| 43 | ((Category.assoc _ _ _).symm.trans |
| 44 | ((congrArg (fun a => a ≫ restriction P hIncoming α F) (ι_restriction P hIncoming β F V)).trans |
| 45 | (ι_restriction P hIncoming α F ((Incoming.Neighborhoods.change P hIncoming β).op.obj V)))).symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NeighborhoodRestriction |