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.SaturatedFlatGenericUniqueness |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.HomogeneousFamilyConstruction |
| 3 | |
| 4 | /-! # Generic Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.GenericUniqueness.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A native flat projective closed family over an integral affine test |
| 11 | is uniquely determined by its actual generic fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {R K : Type u} [CommRing R] [IsDomain R] |
| 17 | variable [Field K] [Algebra R K] [IsFractionRing R K] {n : ℕ} |
| 18 | |
| 19 | theorem nativeFamily_generic_pullback_injective (a : Spec (CommRingCat.of R) ⟶ S) : |
| 20 | Function.Injective (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 21 | (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap R K))) := by |
| 22 | intro F G h |
| 23 | apply HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n a |
| 24 | let I := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F |
| 25 | let J := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a G |
| 26 | let : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat n a F |
| 27 | let : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat n a G |
| 28 | apply SaturatedFlatGenericUniqueness.GradedHilbert.saturatedFlat_eq_of_generic_saturation (K := K) I J |
| 29 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n a F) (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n a G) |
| 30 | have he := congrArg (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (Spec.map (CommRingCat.ofHom (algebraMap R K)) ≫ a)) h |
| 31 | rw [Affine.HomogeneousCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_baseChange, Affine.HomogeneousCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_baseChange] at he |
| 32 | exact he |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.GenericUniqueness.GradedHilbert |