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.HilbertScheme.Presentations.Intrinsic.FlatCoefficientCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.IdealLocalizationDetection |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.HomogeneousFamilyConstruction |
| 4 | import Mathlib.RingTheory.Flat.Localization |
| 5 | |
| 6 | /-! # Family Localization Detection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FamilyLocalizationDetection.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Native projective families over arbitrary affine rings are detected |
| 13 | by their actual pullbacks to all maximal local coefficient rings. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] {S : Scheme.{u}} {n : ℕ} |
| 19 | |
| 20 | theorem nativeFamily_eq_of_coefficient_localizations (f : Spec (.of R) ⟶ S) |
| 21 | (F G : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk f)) |
| 22 | (h : ∀ p : Ideal R, ∀ _ : p.IsMaximal, |
| 23 | Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f (algebraMap R (Localization.AtPrime p))) F = |
| 24 | Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f (algebraMap R (Localization.AtPrime p))) G) : |
| 25 | F = G := by |
| 26 | apply HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n f |
| 27 | apply Homogeneous.IdealLocalizationDetection.GradedHilbert.homogeneousIdeal_eq_of_coefficient_localizations |
| 28 | intro p hp |
| 29 | let : p.IsMaximal := hp |
| 30 | let : Module.Flat R (Localization.AtPrime p) := IsLocalization.flat _ p.primeCompl |
| 31 | have he := congrArg (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n |
| 32 | (Spec.map (CommRingCat.ofHom (algebraMap R (Localization.AtPrime p))) ≫ f)) (h p hp) |
| 33 | rw [FlatCoefficientCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat_baseChange, FlatCoefficientCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat_baseChange] at he |
| 34 | exact he |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FamilyLocalizationDetection.GradedHilbert |