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 Naturality Squares -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsoNaturalitySquares |
| 6 | |
| 7 | /-! Naturality squares survive inverse coordinates and conjugation. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | variable {C : Type*} [Category* C] {X Y A B : C} |
| 12 | |
| 13 | theorem iso_inverse_square (e : X ≅ A) (f : Y ≅ B) (a : X ⟶ Y) (b : A ⟶ B) |
| 14 | (h : e.hom ≫ b = a ≫ f.hom) : e.inv ≫ a = b ≫ f.inv := by |
| 15 | apply (cancel_epi e.hom).mp |
| 16 | calc |
| 17 | e.hom ≫ (e.inv ≫ a) = a := by simp only [Iso.hom_inv_id_assoc] |
| 18 | _ = (a ≫ f.hom) ≫ f.inv := by simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 19 | _ = (e.hom ≫ b) ≫ f.inv := by rw [h] |
| 20 | _ = e.hom ≫ (b ≫ f.inv) := Category.assoc _ _ _ |
| 21 | |
| 22 | theorem conjugateIso_natural (e : X ≅ A) (f : Y ≅ B) (a : X ⟶ Y) (b : A ⟶ B) |
| 23 | (h : e.hom ≫ b = a ≫ f.hom) (u : X ≅ X) (v : Y ≅ Y) |
| 24 | (huv : u.hom ≫ a = a ≫ v.hom) : |
| 25 | (e.symm ≪≫ u ≪≫ e).hom ≫ b = b ≫ (f.symm ≪≫ v ≪≫ f).hom := by |
| 26 | have hi := iso_inverse_square e f a b h |
| 27 | change (e.inv ≫ (u.hom ≫ e.hom)) ≫ b = b ≫ (f.inv ≫ (v.hom ≫ f.hom)) |
| 28 | calc |
| 29 | (e.inv ≫ (u.hom ≫ e.hom)) ≫ b = e.inv ≫ (u.hom ≫ (e.hom ≫ b)) := by rw [Category.assoc, Category.assoc] |
| 30 | _ = e.inv ≫ (u.hom ≫ (a ≫ f.hom)) := by rw [h] |
| 31 | _ = e.inv ≫ ((a ≫ v.hom) ≫ f.hom) := by rw [← Category.assoc u.hom, huv] |
| 32 | _ = (e.inv ≫ a) ≫ (v.hom ≫ f.hom) := by simp only [Category.assoc] |
| 33 | _ = (b ≫ f.inv) ≫ (v.hom ≫ f.hom) := by rw [hi] |
| 34 | _ = b ≫ (f.inv ≫ (v.hom ≫ f.hom)) := Category.assoc _ _ _ |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsoNaturalitySquares |