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.NatIso |
| 2 | |
| 3 | /-! # Fiber Normalization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.FiberNormalization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Product identifications can be normalized along a retraction of |
| 10 | base-change functors using their induced automorphism of the fiber. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | theorem exists_product_iso_identity_on_fiber |
| 17 | {C : Type u} {D : Type v} [Category.{w} C] [Category.{z} D] |
| 18 | (F : C ⥤ D) (G : D ⥤ C) (n : F ⋙ G ≅ 𝟭 C) (X : D) |
| 19 | (h : Nonempty (X ≅ F.obj (G.obj X))) : |
| 20 | ∃ e : X ≅ F.obj (G.obj X), G.map e.hom ≫ n.hom.app (G.obj X) = 𝟙 (G.obj X) := by |
| 21 | obtain ⟨e⟩ := h |
| 22 | let a : G.obj X ≅ G.obj X := G.mapIso e ≪≫ n.app (G.obj X) |
| 23 | let f := e ≪≫ F.mapIso a.symm |
| 24 | refine ⟨f, ?_⟩ |
| 25 | change G.map (e.hom ≫ F.map a.inv) ≫ n.hom.app (G.obj X) = _ |
| 26 | rw [G.map_comp, Category.assoc] |
| 27 | have hn : G.map (F.map a.inv) ≫ n.hom.app (G.obj X) = |
| 28 | n.hom.app (G.obj X) ≫ a.inv := n.hom.naturality a.inv |
| 29 | rw [hn, ← Category.assoc] |
| 30 | change a.hom ≫ a.inv = _ |
| 31 | exact a.hom_inv_id |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.FiberNormalization |