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.Iso |
| 2 | import Mathlib.CategoryTheory.Opposites |
| 3 | |
| 4 | /-! # Intertwining -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Intertwining.Construction |
| 7 | |
| 8 | /-! Composition and change of representation for endomorphism squares. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | theorem intertwining_comp {C : Type*} [Category C] {X Y Z : C} |
| 13 | (a : X ⟶ X) (b : Y ⟶ Y) (c : Z ⟶ Z) (f : X ⟶ Y) (g : Y ⟶ Z) |
| 14 | (hf : a ≫ f = f ≫ b) (hg : b ≫ g = g ≫ c) : |
| 15 | a ≫ (f ≫ g) = (f ≫ g) ≫ c := by |
| 16 | rw [← Category.assoc, hf, Category.assoc, hg, ← Category.assoc] |
| 17 | |
| 18 | theorem intertwining_inverse {C : Type*} [Category C] {X Y : C} |
| 19 | (e : X ≅ Y) (a : X ⟶ X) (b : Y ⟶ Y) (h : a ≫ e.hom = e.hom ≫ b) : |
| 20 | b ≫ e.inv = e.inv ≫ a := by |
| 21 | apply (cancel_epi e.hom).mp |
| 22 | rw [← Category.assoc, ← h, Category.assoc, e.hom_inv_id, Category.comp_id, |
| 23 | e.hom_inv_id_assoc] |
| 24 | |
| 25 | theorem intertwining_sourceIso {C : Type*} [Category C] {X Y Z : C} |
| 26 | (e : X ≅ Y) (a : X ⟶ X) (b : Y ⟶ Y) (c : Z ⟶ Z) (f : X ⟶ Z) |
| 27 | (he : a ≫ e.hom = e.hom ≫ b) (hf : a ≫ f = f ≫ c) : |
| 28 | b ≫ (e.inv ≫ f) = (e.inv ≫ f) ≫ c := |
| 29 | intertwining_comp b a c e.inv f (intertwining_inverse e a b he) hf |
| 30 | |
| 31 | theorem intertwining_op_map {C E : Type*} [Category C] [Category E] |
| 32 | (F : Cᵒᵖ ⥤ E) {X Y : C} (a : X ⟶ X) (b : Y ⟶ Y) (f : X ⟶ Y) |
| 33 | (h : a ≫ f = f ≫ b) : |
| 34 | F.map b.op ≫ F.map f.op = F.map f.op ≫ F.map a.op := by |
| 35 | simpa only [op_comp, Functor.map_comp] using congrArg (fun g => F.map g.op) h.symm |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Intertwining.Construction |