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.Quotients.FiniteDescent.ProperFunctionsEq |
| 2 | |
| 3 | /-! # Proper Affine -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperAffine.Construction.ProperAffineRigidity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual factorization through a rational point for maps from proper connected reduced schemes to affine schemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem hom_eq_of_appTop {X Y : Scheme.{u}} [IsAffine Y] (f g : X ⟶ Y) |
| 16 | (h : f.appTop = g.appTop) : f = g := by |
| 17 | apply (cancel_mono Y.toSpecΓ).mp |
| 18 | rw [Scheme.toSpecΓ_naturality, Scheme.toSpecΓ_naturality, h] |
| 19 | |
| 20 | theorem factor {K : Type u} [Field K] |
| 21 | (X : Over (Spec (.of K))) [IsProper X.hom] [ConnectedSpace X.left] [IsReduced X.left] |
| 22 | (e : Spec (.of K) ⟶ X.left) (he : e ≫ X.hom = 𝟙 _) |
| 23 | {Y : Scheme.{u}} [IsAffine Y] (f : X.left ⟶ Y) : f = X.hom ≫ e ≫ f := by |
| 24 | have := ProperFunctionsEq.Construction.ProperFunctions.isIso_appTop_of_section X e he |
| 25 | have hc : X.hom.appTop ≫ e.appTop = 𝟙 _ := by |
| 26 | rw [← Scheme.Hom.comp_appTop, he, Scheme.Hom.id_appTop] |
| 27 | have hc' : e.appTop ≫ X.hom.appTop = 𝟙 _ := by |
| 28 | apply (cancel_epi X.hom.appTop).mp |
| 29 | rw [← Category.assoc, hc, Category.comp_id, Category.id_comp] |
| 30 | apply hom_eq_of_appTop |
| 31 | rw [Scheme.Hom.comp_appTop, Scheme.Hom.comp_appTop, Category.assoc, hc', Category.comp_id] |
| 32 | |
| 33 | theorem points_eq {K : Type u} [Field K] |
| 34 | (X : Over (Spec (.of K))) [IsProper X.hom] [ConnectedSpace X.left] [IsReduced X.left] |
| 35 | {Y : Scheme.{u}} [IsAffine Y] (f : X.left ⟶ Y) |
| 36 | (a b : Spec (.of K) ⟶ X.left) (ha : a ≫ X.hom = 𝟙 _) (hb : b ≫ X.hom = 𝟙 _) : |
| 37 | a ≫ f = b ≫ f := by |
| 38 | conv_lhs => rw [factor X b hb f] |
| 39 | rw [← Category.assoc, ha, Category.id_comp] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperAffine.Construction.ProperAffineRigidity |