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.ValuationClosureFinitePresentation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.GenericUniqueness |
| 3 | |
| 4 | /-! # Valuation Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ValuationExtension.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native projective Hilbert-family functor satisfies the full |
| 11 | valuation extension property: restriction to the fraction field is bijective. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped nonZeroDivisors |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 18 | variable [Field K] [Algebra R K] [IsFractionRing R K] {n : ℕ} |
| 19 | |
| 20 | theorem nativeFamily_valuation_pullback_surjective (a : Spec (CommRingCat.of R) ⟶ S) : |
| 21 | Function.Surjective (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 22 | (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap R K))) := by |
| 23 | intro F |
| 24 | let aK := Spec.map (CommRingCat.ofHom (algebraMap R K)) ≫ a |
| 25 | let I := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n aK F |
| 26 | have hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n aK F |
| 27 | let J := ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I |
| 28 | have hJ : Hilbert.Polynomial.GradedHilbert.IsSaturated J.toIdeal := ContractedIdealSaturation.GradedHilbert.contractedHomogeneousIdeal_saturated I hI |
| 29 | let : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) := ValuationClosureFlatness.GradedHilbert.valuationClosure_projective_flat I |
| 30 | let : LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) := |
| 31 | ValuationClosureFinitePresentation.GradedHilbert.valuationClosure_locallyOfFinitePresentation I hI |
| 32 | let G := HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal n a J |
| 33 | refine ⟨G, ?_⟩ |
| 34 | apply HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n aK |
| 35 | rw [Affine.HomogeneousCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_baseChange] |
| 36 | change Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) |
| 37 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a G)) = I |
| 38 | rw [HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal_coordinates, Projective.Saturation.GradedHilbert.projectiveSaturation_eq_of_saturated J hJ] |
| 39 | rw [ContractedIdealLocalization.GradedHilbert.contractedHomogeneousIdeal_localization R⁰ I, Projective.Saturation.GradedHilbert.projectiveSaturation_eq_of_saturated I hI] |
| 40 | |
| 41 | theorem nativeFamily_valuation_pullback_bijective (a : Spec (CommRingCat.of R) ⟶ S) : |
| 42 | Function.Bijective (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 43 | (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap R K))) := |
| 44 | ⟨GenericUniqueness.GradedHilbert.nativeFamily_generic_pullback_injective a, nativeFamily_valuation_pullback_surjective a⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ValuationExtension.GradedHilbert |