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 | /-! # Point Residue -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.PointResidue |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A rational point identifies its residue field with the ground field, without an algebraic-closure hypothesis. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | def rationalPointResidueIso {K : Type u} [Field K] {S : Scheme.{u}} |
| 14 | (p : S ⟶ Spec (.of K)) (s : Spec (.of K) ⟶ S) (hs : s ≫ p = 𝟙 _) : |
| 15 | S.residueField (s (IsLocalRing.closedPoint K)) ≅ .of K := by |
| 16 | let a := S.descResidueField (Scheme.stalkClosedPointTo s) |
| 17 | let b := Spec.preimage (S.fromSpecResidueField (s (IsLocalRing.closedPoint K)) ≫ p) |
| 18 | have hab : b ≫ a = 𝟙 _ := by |
| 19 | apply Spec.map_injective |
| 20 | rw [Spec.map_comp, Spec.map_id, Spec.map_preimage, ← Category.assoc, |
| 21 | Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField, hs] |
| 22 | have ha : Function.Bijective a := ⟨a.hom.injective, fun k => |
| 23 | ⟨b k, ConcreteCategory.congr_hom hab k⟩⟩ |
| 24 | have : IsIso a := (ConcreteCategory.isIso_iff_bijective a).mpr ha |
| 25 | exact asIso a |
| 26 | |
| 27 | @[reassoc] |
| 28 | theorem rationalPointResidueIso_factor {K : Type u} [Field K] {S : Scheme.{u}} |
| 29 | (p : S ⟶ Spec (.of K)) (s : Spec (.of K) ⟶ S) (hs : s ≫ p = 𝟙 _) : |
| 30 | Spec.map (rationalPointResidueIso p s hs).hom ≫ |
| 31 | S.fromSpecResidueField (s (IsLocalRing.closedPoint K)) = s := |
| 32 | Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField K S s |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.PointResidue |