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.Functor.Basic |
| 3 | |
| 4 | /-! # Iso Conjugate Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsoConjugateSquare.Construction |
| 7 | |
| 8 | /-! Canonical comparisons preserve commuting isomorphism squares. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | theorem iso_conjugate_square {C : Type*} [Category* C] |
| 13 | {U V X Y U' V' X' Y' : C} |
| 14 | (a : U ≅ X) (b : V ≅ Y) (e : U ≅ V) |
| 15 | (a' : U' ≅ X') (b' : V' ≅ Y') (e' : U' ≅ V') |
| 16 | (u : U ≅ U') (v : V ≅ V') (x : X ≅ X') (y : Y ≅ Y') |
| 17 | (ha : a ≪≫ x = u ≪≫ a') (hb : b ≪≫ y = v ≪≫ b') (he : e ≪≫ v = u ≪≫ e') : |
| 18 | (a.symm ≪≫ e ≪≫ b) ≪≫ y = x ≪≫ (a'.symm ≪≫ e' ≪≫ b') := by |
| 19 | have hia : a.symm ≪≫ u = x ≪≫ a'.symm := by |
| 20 | have h := congrArg (fun t => a.symm ≪≫ t ≪≫ a'.symm) ha |
| 21 | simpa only [Iso.trans_assoc, Iso.symm_self_id_assoc, Iso.self_symm_id, Iso.trans_refl] using h.symm |
| 22 | simp only [Iso.trans_assoc] |
| 23 | rw [hb, ← Iso.trans_assoc e v b', he] |
| 24 | simp only [Iso.trans_assoc] |
| 25 | rw [← Iso.trans_assoc a.symm u, hia] |
| 26 | simp only [Iso.trans_assoc] |
| 27 | |
| 28 | theorem iso_map_conjugate_square {C D : Type*} [Category* C] [Category* D] |
| 29 | (F : C ⥤ D) {U V X Y : C} {U' V' X' Y' : D} |
| 30 | (a : U ≅ X) (b : V ≅ Y) (e : U ≅ V) |
| 31 | (a' : U' ≅ X') (b' : V' ≅ Y') (e' : U' ≅ V') |
| 32 | (u : F.obj U ≅ U') (v : F.obj V ≅ V') (x : F.obj X ≅ X') (y : F.obj Y ≅ Y') |
| 33 | (ha : F.mapIso a ≪≫ x = u ≪≫ a') (hb : F.mapIso b ≪≫ y = v ≪≫ b') |
| 34 | (he : F.mapIso e ≪≫ v = u ≪≫ e') : |
| 35 | F.mapIso (a.symm ≪≫ e ≪≫ b) ≪≫ y = x ≪≫ (a'.symm ≪≫ e' ≪≫ b') := by |
| 36 | rw [Functor.mapIso_trans, Functor.mapIso_trans, Functor.mapIso_symm] |
| 37 | exact iso_conjugate_square (F.mapIso a) (F.mapIso b) (F.mapIso e) a' b' e' u v x y ha hb he |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsoConjugateSquare.Construction |