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.Pullbacks |
| 2 | |
| 3 | /-! # Pullback From Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.PullbackFromCharts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible Cartesian charts identify a global square as a pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | theorem scheme_isPullback_of_cartesian_charts |
| 16 | {W Y S T : Scheme.{u}} (q : W ⟶ Y) (p : W ⟶ S) (f : Y ⟶ T) (b : S ⟶ T) |
| 17 | (U : Y.OpenCover) (P : U.I₀ → Scheme.{u}) |
| 18 | (qi : ∀ i, P i ⟶ U.X i) (ai : ∀ i, P i ⟶ W) |
| 19 | (hchart : ∀ i, IsPullback (qi i) (ai i) (U.f i) q) |
| 20 | (hbase : ∀ i, IsPullback (qi i) (ai i ≫ p) (U.f i ≫ f) b) : |
| 21 | IsPullback q p f b := by |
| 22 | apply Scheme.isPullback_of_openCover q p f b U |
| 23 | intro i |
| 24 | change IsPullback (pullback.snd q (U.f i)) (pullback.fst q (U.f i) ≫ p) (U.f i ≫ f) b |
| 25 | apply (hbase i).of_iso (hchart i).flip.isoPullback (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 26 | · simpa only [Iso.refl_hom, Category.comp_id] using (hchart i).flip.isoPullback_hom_snd.symm |
| 27 | · simp only [Iso.refl_hom, Category.comp_id, ← Category.assoc, (hchart i).flip.isoPullback_hom_fst] |
| 28 | · simp |
| 29 | · simp |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.PullbackFromCharts |