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.Algebra.Category.ModuleCat.Colimits |
| 2 | import Mathlib.CategoryTheory.Functor.KanExtension.Adjunction |
| 3 | |
| 4 | /-! # Open Kan -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenKan.OpenKanEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Pointwise left Kan evaluation for coefficient modules in the same universe as the site -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C D : Type u} [Category.{u} C] [Category.{u} D] |
| 17 | (R : Type u) [CommRing R] |
| 18 | |
| 19 | local instance moduleColimits : HasColimitsOfSize.{u, u} (ModuleCat.{u} R) := |
| 20 | ModuleCat.hasColimitsOfSize.{u, u, u, u} R |
| 21 | |
| 22 | def iso (F : C ⥤ D) (X : D) : |
| 23 | F.lan ⋙ (evaluation D (ModuleCat.{u} R)).obj X ≅ |
| 24 | (Functor.whiskeringLeft _ _ (ModuleCat.{u} R)).obj (CostructuredArrow.proj F X) ⋙ colim := |
| 25 | NatIso.ofComponents (fun G => F.leftKanExtensionObjIsoColimit G X) (fun {G₁ G₂} φ => by |
| 26 | apply (Functor.isPointwiseLeftKanExtensionLeftKanExtensionUnit F G₁ X).hom_ext |
| 27 | intro T |
| 28 | let η : F.leftKanExtension G₁ ⟶ F.leftKanExtension G₂ := F.lan.map φ |
| 29 | have h₁ := fun (G : C ⥤ ModuleCat.{u} R) => F.ι_leftKanExtensionObjIsoColimit_hom G X T |
| 30 | have h₂ : φ.app T.left ≫ (F.leftKanExtensionUnit G₂).app T.left = |
| 31 | (F.leftKanExtensionUnit G₁).app T.left ≫ η.app (F.obj T.left) := |
| 32 | congr_app (F.lanUnit.naturality φ) T.left |
| 33 | change ((F.leftKanExtensionUnit G₁).app T.left ≫ (F.leftKanExtension G₁).map T.hom) ≫ |
| 34 | (η.app X ≫ (F.leftKanExtensionObjIsoColimit G₂ X).hom) = |
| 35 | ((F.leftKanExtensionUnit G₁).app T.left ≫ (F.leftKanExtension G₁).map T.hom) ≫ |
| 36 | ((F.leftKanExtensionObjIsoColimit G₁ X).hom ≫ |
| 37 | colimMap (Functor.whiskerLeft (CostructuredArrow.proj F X) φ)) |
| 38 | simp only [Category.assoc] |
| 39 | rw [reassoc_of% h₁, NatTrans.naturality_assoc, ← reassoc_of% h₂, h₁] |
| 40 | exact (ι_colimMap (Functor.whiskerLeft (CostructuredArrow.proj F X) φ) T).symm) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenKan.OpenKanEvaluation |