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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TestGluing |
| 2 | |
| 3 | /-! # Test Gluing Recognition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The glued morphism recovers the prescribed map on every affine test, including maps that are not open immersions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} (D : TestGluing.AffineTestMapData X Y) |
| 16 | |
| 17 | theorem TestGluing.AffineTestMapData.glue_affine {R : CommRingCat.{u}} (x : Spec R ⟶ X) : |
| 18 | x ≫ D.glue = D.map x := by |
| 19 | let C := X.affineOpenCover |
| 20 | let E : (Spec R).OpenCover := C.openCover.pullback₁ x |
| 21 | apply E.hom_ext |
| 22 | intro i |
| 23 | change C.I₀ at i |
| 24 | let W := pullback x (C.f i) |
| 25 | apply W.affineOpenCover.openCover.hom_ext |
| 26 | intro k |
| 27 | let a := W.affineOpenCover.f k ≫ pullback.fst x (C.f i) |
| 28 | let b := W.affineOpenCover.f k ≫ pullback.snd x (C.f i) |
| 29 | have he : a ≫ x = b ≫ C.f i := by |
| 30 | change (W.affineOpenCover.f k ≫ pullback.fst x (C.f i)) ≫ x = |
| 31 | (W.affineOpenCover.f k ≫ pullback.snd x (C.f i)) ≫ C.f i |
| 32 | rw [Category.assoc, Category.assoc, pullback.condition] |
| 33 | have hc : C.f i ≫ D.glue = D.map (C.f i) := D.glue_chart i |
| 34 | have h : (a ≫ x) ≫ D.glue = a ≫ D.map x := by |
| 35 | rw [he, Category.assoc, hc, D.naturality, ← he, ← D.naturality] |
| 36 | change W.affineOpenCover.f k ≫ (pullback.fst x (C.f i) ≫ (x ≫ D.glue)) = |
| 37 | W.affineOpenCover.f k ≫ (pullback.fst x (C.f i) ≫ D.map x) |
| 38 | exact (Category.assoc _ _ _).symm.trans |
| 39 | ((Category.assoc _ _ _).symm.trans (h.trans (Category.assoc _ _ _))) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine |