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.Rational.PointResidue |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Basic |
| 3 | |
| 4 | /-! # Stalk Quotient Zero Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StalkQuotientZeroSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A quotient of the actual local ring that factors through a rational point contains the maximal ideal. Thus a quotient contained in that maximal ideal and sent scheme-theoretically to the point is precisely its residue field quotient. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem stalk_quotient_contains_maximal_of_residue_factor |
| 15 | (X : Scheme.{u}) (x : X) (I : Ideal (X.presheaf.stalk x)) |
| 16 | (t : Spec (.of ((X.presheaf.stalk x) ⧸ I)) ⟶ Spec (X.residueField x)) |
| 17 | (h : Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)) ≫ X.fromSpecStalk x = |
| 18 | t ≫ X.fromSpecResidueField x) : |
| 19 | IsLocalRing.maximalIdeal (X.presheaf.stalk x) ≤ I := by |
| 20 | let q : X.presheaf.stalk x ⟶ .of ((X.presheaf.stalk x) ⧸ I) := |
| 21 | CommRingCat.ofHom (Ideal.Quotient.mk I) |
| 22 | let φ : X.residueField x ⟶ .of ((X.presheaf.stalk x) ⧸ I) := Spec.preimage t |
| 23 | have hφ : X.residue x ≫ φ = q := by |
| 24 | apply Spec.map_injective |
| 25 | rw [Spec.map_comp, Spec.map_preimage] |
| 26 | apply (cancel_mono (X.fromSpecStalk x)).mp |
| 27 | exact (Category.assoc t (Spec.map (X.residue x)) (X.fromSpecStalk x)).trans h.symm |
| 28 | intro r hr |
| 29 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 30 | have hz : X.residue x r = 0 := (IsLocalRing.residue_eq_zero_iff r).mpr hr |
| 31 | exact (ConcreteCategory.congr_hom hφ r).symm.trans |
| 32 | ((congrArg φ.hom hz).trans (map_zero φ.hom)) |
| 33 | |
| 34 | theorem stalk_quotient_eq_maximal_of_rational_zero |
| 35 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 36 | (p : X ⟶ Spec (.of K)) (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 37 | (I : Ideal (X.presheaf.stalk (z (IsLocalRing.closedPoint K)))) |
| 38 | (hI : I ≤ IsLocalRing.maximalIdeal (X.presheaf.stalk (z (IsLocalRing.closedPoint K)))) |
| 39 | (hzero : let j := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)) ≫ |
| 40 | X.fromSpecStalk (z (IsLocalRing.closedPoint K)) |
| 41 | j = (j ≫ p) ≫ z) : |
| 42 | I = IsLocalRing.maximalIdeal (X.presheaf.stalk (z (IsLocalRing.closedPoint K))) := by |
| 43 | let x := z (IsLocalRing.closedPoint K) |
| 44 | let j := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)) ≫ X.fromSpecStalk x |
| 45 | let e := Rational.PointResidue.rationalPointResidueIso p z hz |
| 46 | let t : Spec (.of ((X.presheaf.stalk x) ⧸ I)) ⟶ Spec (X.residueField x) := |
| 47 | (j ≫ p) ≫ Spec.map e.hom |
| 48 | apply le_antisymm hI |
| 49 | apply stalk_quotient_contains_maximal_of_residue_factor X x I t |
| 50 | calc |
| 51 | j = (j ≫ p) ≫ z := hzero |
| 52 | _ = (j ≫ p) ≫ (Spec.map e.hom ≫ X.fromSpecResidueField x) := |
| 53 | congrArg (fun a : Spec (.of K) ⟶ X => (j ≫ p) ≫ a) |
| 54 | (Rational.PointResidue.rationalPointResidueIso_factor p z hz).symm |
| 55 | _ = t ≫ X.fromSpecResidueField x := (Category.assoc _ _ _).symm |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StalkQuotientZeroSection |