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.CategoryTheory.Comma.Over.Pullback |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.BinaryProducts.ProdComparison |
| 3 | |
| 4 | /-! # Over Product -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.OverProduct.RingedModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A functor preserving binary products commutes with the right adjoints to open-slice restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | variable {C D : Type} [SmallCategory C] [SmallCategory D] |
| 15 | [HasBinaryProducts C] [HasBinaryProducts D] (F : C ⥤ D) (U : C) |
| 16 | [∀ V, IsIso (prodComparison F U V)] |
| 17 | |
| 18 | def overStarPostIso : Over.star U ⋙ Over.post F ≅ F ⋙ Over.star (F.obj U) := |
| 19 | NatIso.ofComponents (fun V => by |
| 20 | let e := asIso (prodComparison F U V) |
| 21 | refine Over.isoMk e ?_ |
| 22 | change prodComparison F U V ≫ (prod.lift prod.fst (𝟙 (F.obj U ⨯ F.obj V)) ≫ prod.fst) = |
| 23 | F.map (prod.lift prod.fst (𝟙 (U ⨯ V)) ≫ prod.fst) |
| 24 | simpa only [prod.lift_fst] using prodComparison_fst F U V) (by |
| 25 | intro V W f |
| 26 | apply Over.OverMorphism.ext |
| 27 | change F.map (prod.map (𝟙 U) f) ≫ prodComparison F U W = |
| 28 | prodComparison F U V ≫ prod.map (𝟙 (F.obj U)) (F.map f) |
| 29 | simpa only [Functor.map_id] using prodComparison_natural F (𝟙 U) f) |
| 30 | |
| 31 | theorem overStarPostIso_hom_left (V : C) : |
| 32 | ((overStarPostIso F U).hom.app V).left = prodComparison F U V := rfl |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Comparison.Betti.OverProduct.RingedModules |