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.Functor.Basic |
| 2 | import Mathlib.CategoryTheory.Iso |
| 3 | |
| 4 | /-! # Chart Restriction Squares -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartRestrictionSquares |
| 7 | |
| 8 | /-! Product charts commuting with inclusions into one ambient chart |
| 9 | also commute with intermediate restrictions. Their differences do too. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C : Type*} [Category* C] (P : C ⥤ C) |
| 14 | {U V X : C} (a : U ⟶ V) (b : V ⟶ X) (c : U ⟶ X) |
| 15 | |
| 16 | theorem productChart_restriction_square [Mono (P.map b)] (hab : a ≫ b = c) |
| 17 | (e : X ≅ P.obj X) (u : U ≅ P.obj U) (v : V ≅ P.obj V) |
| 18 | (hu : u.hom ≫ P.map c = c ≫ e.hom) (hv : v.hom ≫ P.map b = b ≫ e.hom) : |
| 19 | u.hom ≫ P.map a = a ≫ v.hom := by |
| 20 | apply (cancel_mono (P.map b)).mp |
| 21 | calc |
| 22 | (u.hom ≫ P.map a) ≫ P.map b = u.hom ≫ P.map c := by |
| 23 | rw [Category.assoc, ← P.map_comp, hab] |
| 24 | _ = c ≫ e.hom := hu |
| 25 | _ = (a ≫ b) ≫ e.hom := by rw [hab] |
| 26 | _ = (a ≫ v.hom) ≫ P.map b := by simp only [Category.assoc, hv] |
| 27 | |
| 28 | theorem productTransition_restriction_square |
| 29 | {A B : C} (a : U ⟶ V) (b : A ⟶ B) |
| 30 | (u u' : U ≅ A) (v v' : V ≅ B) |
| 31 | (hu : u.hom ≫ b = a ≫ v.hom) (hv : u'.hom ≫ b = a ≫ v'.hom) : |
| 32 | (u.symm ≪≫ u').hom ≫ b = b ≫ (v.symm ≪≫ v').hom := by |
| 33 | change (u.inv ≫ u'.hom) ≫ b = b ≫ (v.inv ≫ v'.hom) |
| 34 | apply (cancel_epi u.hom).mp |
| 35 | calc |
| 36 | u.hom ≫ ((u.inv ≫ u'.hom) ≫ b) = u'.hom ≫ b := by |
| 37 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 38 | _ = a ≫ v'.hom := hv |
| 39 | _ = (a ≫ v.hom) ≫ (v.inv ≫ v'.hom) := by |
| 40 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 41 | _ = (u.hom ≫ b) ≫ (v.inv ≫ v'.hom) := by rw [hu] |
| 42 | _ = u.hom ≫ (b ≫ (v.inv ≫ v'.hom)) := Category.assoc _ _ _ |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Product.ChartRestrictionSquares |