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.Divisors.LineBundles.EqualRingImages |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ValuativeCenterPoint |
| 3 | |
| 4 | /-! # Separated Stalk Images -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SeparatedStalkImages.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On a separated integral scheme, a point is determined by its actual |
| 11 | local ring embedded in the function field. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {X : Scheme} [IsIntegral X] |
| 16 | |
| 17 | def genericStalkApproach (x : X) : Spec X.functionField ⟶ Spec (X.presheaf.stalk x) := |
| 18 | Spec.map (CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) X.functionField)) |
| 19 | |
| 20 | instance genericStalkApproach_isDominant (x : X) : IsDominant (genericStalkApproach x) := by |
| 21 | refine ⟨?_⟩ |
| 22 | change DenseRange (PrimeSpectrum.comap (algebraMap (X.presheaf.stalk x) X.functionField)) |
| 23 | rw [PrimeSpectrum.denseRange_comap_iff_ker_le_nilRadical, |
| 24 | (RingHom.injective_iff_ker_eq_bot _).mp (IsFractionRing.injective (X.presheaf.stalk x) X.functionField)] |
| 25 | exact bot_le |
| 26 | |
| 27 | theorem genericStalkApproach_fromSpecStalk (x : X) : |
| 28 | genericStalkApproach x ≫ X.fromSpecStalk x = IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap X := by |
| 29 | change Spec.map (X.presheaf.stalkSpecializes ((genericPoint_spec X).specializes trivial)) ≫ |
| 30 | X.fromSpecStalk x = _ |
| 31 | exact Scheme.SpecMap_stalkSpecializes_fromSpecStalk ((genericPoint_spec X).specializes trivial) |
| 32 | |
| 33 | theorem point_eq_of_stalkImages_eq [X.IsSeparated] (x y : X) |
| 34 | (h : (algebraMap (X.presheaf.stalk x) X.functionField).range = |
| 35 | (algebraMap (X.presheaf.stalk y) X.functionField).range) : x = y := by |
| 36 | let e := EqualRingImages.BundleCycles.equalRingImagesEquiv (algebraMap (X.presheaf.stalk x) X.functionField) |
| 37 | (algebraMap (X.presheaf.stalk y) X.functionField) |
| 38 | (IsFractionRing.injective _ _) (IsFractionRing.injective _ _) h |
| 39 | have he : e.toCommRingCatIso.hom ≫ |
| 40 | CommRingCat.ofHom (algebraMap (X.presheaf.stalk y) X.functionField) = |
| 41 | CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) X.functionField) := by |
| 42 | ext r |
| 43 | exact EqualRingImages.BundleCycles.equalRingImagesEquiv_apply _ _ _ _ h r |
| 44 | have hg : genericStalkApproach y ≫ |
| 45 | (Spec.map e.toCommRingCatIso.hom ≫ X.fromSpecStalk x) = |
| 46 | genericStalkApproach y ≫ X.fromSpecStalk y := by |
| 47 | change Spec.map (CommRingCat.ofHom (algebraMap (X.presheaf.stalk y) X.functionField)) ≫ |
| 48 | (Spec.map e.toCommRingCatIso.hom ≫ X.fromSpecStalk x) = _ |
| 49 | rw [← Spec.map_comp_assoc, he] |
| 50 | exact (genericStalkApproach_fromSpecStalk x).trans (genericStalkApproach_fromSpecStalk y).symm |
| 51 | have hs := ext_of_isDominant (genericStalkApproach y) hg |
| 52 | have hx := congrArg (fun s : Spec (X.presheaf.stalk y) ⟶ X => |
| 53 | s (IsLocalRing.closedPoint (X.presheaf.stalk y))) hs |
| 54 | change X.fromSpecStalk x (Spec.map e.toCommRingCatIso.hom |
| 55 | (IsLocalRing.closedPoint (X.presheaf.stalk y))) = |
| 56 | X.fromSpecStalk y (IsLocalRing.closedPoint (X.presheaf.stalk y)) at hx |
| 57 | simpa only [Spec_closedPoint, Scheme.fromSpecStalk_closedPoint] using hx |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SeparatedStalkImages.BundleCycles |