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.QuotientCoefficientMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointRationalZero |
| 3 | |
| 4 | /-! # Quotient Residue Point Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuotientResiduePointZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed one-point quotient of the spectrum of a local ring lies over its closed point. For an actual stalk at a rational section, every residue point of this quotient is therefore the rational zero section over its actual base map. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem closedImmersion_singlePoint_localSpec_image |
| 15 | {R : Type u} [CommRing R] [IsLocalRing R] {T : Scheme.{u}} [Subsingleton T] |
| 16 | (j : T ⟶ Spec (.of R)) [IsClosedImmersion j] (x : T) : |
| 17 | j x = IsLocalRing.closedPoint R := by |
| 18 | have hc : IsClosed (Set.range j) := j.isClosedEmbedding.isClosed_range |
| 19 | obtain ⟨y, hy⟩ := (IsLocalRing.specializes_closedPoint (j x)).mem_closed hc ⟨x, rfl⟩ |
| 20 | exact (congrArg j (Subsingleton.elim x y)).trans hy |
| 21 | |
| 22 | theorem affine_stalk_quotient_residue_point_zero |
| 23 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 24 | (p : X ⟶ Spec (.of K)) (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 25 | (I : Ideal Γ(Spec (X.presheaf.stalk (z (IsLocalRing.closedPoint K))), ⊤)) |
| 26 | [Subsingleton (Spec (.of (Γ(Spec (X.presheaf.stalk (z (IsLocalRing.closedPoint K))), ⊤) ⧸ I)))] : |
| 27 | let T := Spec (.of (Γ(Spec (X.presheaf.stalk (z (IsLocalRing.closedPoint K))), ⊤) ⧸ I)); |
| 28 | let j : T ⟶ X := |
| 29 | (Affine.QuotientCoefficientMap.affineCoordinateMap (S := Spec (X.presheaf.stalk (z (IsLocalRing.closedPoint K)))) |
| 30 | (Ideal.Quotient.mk I)) ≫ X.fromSpecStalk (z (IsLocalRing.closedPoint K)); |
| 31 | ∀ x : T, T.fromSpecResidueField x ≫ j = ((T.fromSpecResidueField x ≫ j) ≫ p) ≫ z := by |
| 32 | let x₀ := z (IsLocalRing.closedPoint K) |
| 33 | let O := X.presheaf.stalk x₀ |
| 34 | have hO : IsLocalRing (↑O) := X.toLocallyRingedSpace.isLocalRing x₀ |
| 35 | let T := Spec (.of (Γ(Spec O, ⊤) ⧸ I)) |
| 36 | let j : T ⟶ Spec O := Affine.QuotientCoefficientMap.affineCoordinateMap (Ideal.Quotient.mk I) |
| 37 | have : IsClosedImmersion j := Affine.QuotientCoefficientMap.affineCoordinateMap_isClosedImmersion |
| 38 | (Ideal.Quotient.mk I) Ideal.Quotient.mk_surjective |
| 39 | change ∀ x : T, T.fromSpecResidueField x ≫ (j ≫ X.fromSpecStalk x₀) = |
| 40 | ((T.fromSpecResidueField x ≫ (j ≫ X.fromSpecStalk x₀)) ≫ p) ≫ z |
| 41 | intro x |
| 42 | let t : Spec (T.residueField x) ⟶ X := T.fromSpecResidueField x ≫ (j ≫ X.fromSpecStalk x₀) |
| 43 | have hj : j x = @IsLocalRing.closedPoint O inferInstance hO := |
| 44 | @closedImmersion_singlePoint_localSpec_image O inferInstance hO T inferInstance j inferInstance x |
| 45 | have hpoint : t (IsLocalRing.closedPoint (T.residueField x)) = x₀ := by |
| 46 | change X.fromSpecStalk x₀ (j (T.fromSpecResidueField x _)) = x₀ |
| 47 | exact (congrArg (fun y : T => X.fromSpecStalk x₀ (j y)) |
| 48 | (Scheme.fromSpecResidueField_apply x _)).trans |
| 49 | ((congrArg (X.fromSpecStalk x₀) hj).trans Scheme.fromSpecStalk_closedPoint) |
| 50 | exact HilbertConstruction.Field.PointRationalZero.fieldPoint_eq_rational_section_of_point p z hz t hpoint |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuotientResiduePointZero |