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 Mathlib |
| 2 | |
| 3 | /-! # Initial Constant Maps -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.InitialConstantMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: constant-source maps are unchanged along an initial functor |
| 11 | |
| 12 | Initiality gives an explicit extension of cones with their cone point |
| 13 | unchanged. This yields the needed degree-zero comparison for constant |
| 14 | coefficients before sheafification. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u v u' v' u'' v'' |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 22 | variable {E : Type u''} [Category.{v''} E] |
| 23 | variable (F : C ⥤ D) [F.Initial] (A : E) (P : D ⥤ E) |
| 24 | |
| 25 | def restrict (φ : (Functor.const D).obj A ⟶ P) : (Functor.const C).obj A ⟶ F ⋙ P := |
| 26 | Functor.whiskerLeft F φ |
| 27 | |
| 28 | def extend (φ : (Functor.const C).obj A ⟶ F ⋙ P) : (Functor.const D).obj A ⟶ P := |
| 29 | (Functor.Initial.extendCone.obj ({ pt := A, π := φ } : Cone (F ⋙ P))).π |
| 30 | |
| 31 | lemma extend_restrict (φ : (Functor.const D).obj A ⟶ P) : extend F A P (restrict F A P φ) = φ := by |
| 32 | apply NatTrans.ext |
| 33 | funext X |
| 34 | change φ.app (F.obj (Functor.Initial.lift F X)) ≫ P.map (Functor.Initial.homToLift F X) = φ.app X |
| 35 | simpa using (φ.naturality (Functor.Initial.homToLift F X)).symm |
| 36 | |
| 37 | lemma restrict_extend (φ : (Functor.const C).obj A ⟶ F ⋙ P) : restrict F A P (extend F A P φ) = φ := by |
| 38 | apply NatTrans.ext |
| 39 | funext X |
| 40 | change (Functor.Initial.extendCone.obj ({ pt := A, π := φ } : Cone (F ⋙ P))).π.app (F.obj X) = φ.app X |
| 41 | rw [Functor.Initial.extendCone_obj_π_app' _ (𝟙 (F.obj X)), P.map_id] |
| 42 | change φ.app X ≫ 𝟙 _ = φ.app X |
| 43 | exact Category.comp_id _ |
| 44 | |
| 45 | def equivalence : ((Functor.const D).obj A ⟶ P) ≃ ((Functor.const C).obj A ⟶ F ⋙ P) where |
| 46 | toFun := restrict F A P |
| 47 | invFun := extend F A P |
| 48 | left_inv := extend_restrict F A P |
| 49 | right_inv := restrict_extend F A P |
| 50 | |
| 51 | lemma bijective : Function.Bijective (restrict F A P) := (equivalence F A P).bijective |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.InitialConstantMaps |