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 | |
| 3 | /-! # Iso Frame Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsoFrameComparison.Construction |
| 6 | |
| 7 | /-! Two normalized frames give the identity after identifying their |
| 8 | targets with their common fiber. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | theorem iso_frame_comparison_identity {C : Type*} [Category* C] {U X Y Z : C} |
| 13 | (s : U ≅ X) (t : U ≅ Y) (a : X ≅ Z) (b : Y ≅ Z) |
| 14 | (h : s ≪≫ a = t ≪≫ b) : a.symm ≪≫ (s.symm ≪≫ t) ≪≫ b = Iso.refl Z := by |
| 15 | have he : a.symm ≪≫ (s.symm ≪≫ t) ≪≫ b = (s ≪≫ a).symm ≪≫ (t ≪≫ b) := by |
| 16 | apply Iso.ext |
| 17 | simp only [Iso.trans_hom, Iso.trans_inv, Iso.symm_hom, Category.assoc] |
| 18 | rw [he, h, Iso.symm_self_id] |
| 19 | |
| 20 | theorem iso_of_frame_square {C : Type*} [Category* C] {U X Y Z : C} |
| 21 | (s : U ≅ X) (t : U ≅ Y) (a : X ≅ Z) (b : Y ≅ Z) (m : X ≅ Y) |
| 22 | (hm : m ≪≫ b = a) (h : s ≪≫ a = t ≪≫ b) : m = s.symm ≪≫ t := by |
| 23 | apply Iso.ext |
| 24 | apply (cancel_epi s.hom).mp |
| 25 | apply (cancel_mono b.hom).mp |
| 26 | have he := congrArg Iso.hom ((congrArg (fun c => s ≪≫ c) hm).trans h) |
| 27 | simpa only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.hom_inv_id_assoc] using he |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsoFrameComparison.Construction |