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.AlgebraicGeometry.ResidueField |
| 2 | |
| 3 | /-! # Residue Field Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueFieldSquare.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # LineBundleCycles: the actual residue-field square with identified points -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem residueFieldMap_point_square {A B X Y : Scheme.{u}} |
| 16 | (i : A ⟶ X) (j : B ⟶ Y) (f : X ⟶ Y) (r : A ⟶ B) |
| 17 | (hr : r ≫ j = i ≫ f) (a : A) (b : B) (x : X) |
| 18 | (ha : i a = x) (hb : j b = f x) (hab : r a = b) : |
| 19 | (Y.residueFieldCongr hb.symm).hom ≫ j.residueFieldMap b ≫ |
| 20 | (B.residueFieldCongr hab.symm).hom ≫ r.residueFieldMap a = |
| 21 | f.residueFieldMap x ≫ (X.residueFieldCongr ha.symm).hom ≫ i.residueFieldMap a := by |
| 22 | subst x |
| 23 | subst b |
| 24 | simp only [Scheme.residueFieldCongr_refl, Iso.refl_hom, Category.id_comp] |
| 25 | rw [← Scheme.residueFieldMap_comp, ← Scheme.residueFieldMap_comp] |
| 26 | rw [Scheme.Hom.residueFieldMap_congr hr a] |
| 27 | change (Y.residueFieldCongr hb).inv ≫ (Y.residueFieldCongr hb).hom ≫ |
| 28 | (i ≫ f).residueFieldMap a = (i ≫ f).residueFieldMap a |
| 29 | exact Iso.inv_hom_id_assoc (Y.residueFieldCongr hb) _ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueFieldSquare.BundleCycles |