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.Pullback.Comparisons |
| 2 | |
| 3 | /-! # Composite Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CompositePullback.CompositePullbackPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual points in an iterated base change, transported to the |
| 10 | composite base change, with both geometric projection equations. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {S Y W : Scheme.{0}} (X : Over S) (u : Y ⟶ S) (a : W ⟶ Y) |
| 15 | |
| 16 | def comparison : pullback X.hom (a ≫ u) ≅ pullback (pullback.snd X.hom u) a := |
| 17 | (Over.forget W).mapIso ((Over.pullbackComp a u).app X) |
| 18 | |
| 19 | theorem comparison_inv_fst : |
| 20 | (comparison X u a).inv ≫ pullback.fst X.hom (a ≫ u) = |
| 21 | pullback.fst (pullback.snd X.hom u) a ≫ pullback.fst X.hom u := |
| 22 | ((comparison X u a).inv_comp_eq).mpr (HilbertConstruction.Pullback.Comparisons.pullbackComp_hom_fst_fst X u a).symm |
| 23 | |
| 24 | def point (x : W ⟶ pullback X.hom u) (hx : x ≫ pullback.snd X.hom u = a) : |
| 25 | W ⟶ pullback X.hom (a ≫ u) := |
| 26 | pullback.lift x (𝟙 W) (hx.trans (Category.id_comp a).symm) ≫ (comparison X u a).inv |
| 27 | |
| 28 | theorem point_fst (x : W ⟶ pullback X.hom u) (hx : x ≫ pullback.snd X.hom u = a) : |
| 29 | point X u a x hx ≫ pullback.fst X.hom (a ≫ u) = x ≫ pullback.fst X.hom u := by |
| 30 | exact (Category.assoc _ _ _).trans |
| 31 | ((congrArg (fun z => pullback.lift x (𝟙 W) (hx.trans (Category.id_comp a).symm) ≫ z) |
| 32 | (comparison_inv_fst X u a)).trans (pullback.lift_fst_assoc _ _ _ _)) |
| 33 | |
| 34 | theorem point_snd (x : W ⟶ pullback X.hom u) (hx : x ≫ pullback.snd X.hom u = a) : |
| 35 | point X u a x hx ≫ pullback.snd X.hom (a ≫ u) = 𝟙 W := by |
| 36 | exact (Category.assoc _ _ _).trans |
| 37 | ((congrArg (fun z => pullback.lift x (𝟙 W) (hx.trans (Category.id_comp a).symm) ≫ z) |
| 38 | (((Over.pullbackComp a u).inv.app X).w)).trans (pullback.lift_snd _ _ _)) |
| 39 | |
| 40 | def homAlong {Z : Over S} (h : (Over.pullback u).obj X ⟶ (Over.pullback u).obj Z) : |
| 41 | (Over.pullback (a ≫ u)).obj X ⟶ (Over.pullback (a ≫ u)).obj Z := |
| 42 | (Over.pullbackComp a u).hom.app X ≫ (Over.pullback a).map h ≫ (Over.pullbackComp a u).inv.app Z |
| 43 | |
| 44 | theorem point_homAlong {Z : Over S} (h : (Over.pullback u).obj X ⟶ (Over.pullback u).obj Z) |
| 45 | (x : W ⟶ pullback X.hom u) (hx : x ≫ pullback.snd X.hom u = a) : |
| 46 | point X u a x hx ≫ (homAlong X u a h).left ≫ pullback.fst Z.hom (a ≫ u) = |
| 47 | x ≫ h.left ≫ pullback.fst Z.hom u := by |
| 48 | let l := pullback.lift x (𝟙 W) (hx.trans (Category.id_comp a).symm) |
| 49 | let m := ((Over.pullback a).map h).left |
| 50 | have hm : m ≫ pullback.fst (pullback.snd Z.hom u) a = |
| 51 | pullback.fst (pullback.snd X.hom u) a ≫ h.left := HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst h a |
| 52 | change (l ≫ (comparison X u a).inv) ≫ |
| 53 | ((comparison X u a).hom ≫ m ≫ (comparison Z u a).inv) ≫ _ = _ |
| 54 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 55 | rw [comparison_inv_fst] |
| 56 | rw [← Category.assoc m, hm] |
| 57 | simp only [l, Category.assoc, pullback.lift_fst_assoc] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CompositePullback.CompositePullbackPoints |