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.HomogeneousFamilyConstruction |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.OverCoordinateBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.SaturationBaseChangeEquality |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.FlatPolynomialConstancy |
| 5 | |
| 6 | /-! # Intrinsic Family Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.IntrinsicFamilyBaseChange.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Native families made from homogeneous flat models recover their |
| 13 | exact coordinates after arbitrary base change and retain the model polynomial. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] {n : ℕ} |
| 19 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 21 | variable [LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 22 | |
| 23 | theorem nativeFamilyOfHomogeneousIdeal_over_pullback_coordinates |
| 24 | (f : Spec (.of R) ⟶ S) (a : Spec (.of A) ⟶ S) |
| 25 | (b : Over.mk a ⟶ Over.mk f) |
| 26 | (hb : Spec.map (CommRingCat.ofHom (algebraMap R A)) = b.left) : |
| 27 | Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b |
| 28 | (Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal n f I)) = |
| 29 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I) := by |
| 30 | rw [Affine.OverCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_over_baseChange f a b (algebraMap R A) hb, |
| 31 | Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal_coordinates] |
| 32 | exact Projective.SaturationBaseChangeEquality.GradedHilbert.projectiveSaturation_extended_eq_of_eq (A := A) (Projective.Saturation.GradedHilbert.projectiveSaturation I) I |
| 33 | (Projective.Saturation.GradedHilbert.projectiveSaturation_idempotent I) |
| 34 | |
| 35 | theorem nativeFamilyOfHomogeneousIdeal_pullback_eq |
| 36 | (f : Spec (.of R) ⟶ S) (a : Spec (.of A) ⟶ S) |
| 37 | (b : Over.mk a ⟶ Over.mk f) |
| 38 | (hb : Spec.map (CommRingCat.ofHom (algebraMap R A)) = b.left) |
| 39 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 40 | (hF : Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F = |
| 41 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I)) : |
| 42 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b (Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal n f I) = F := by |
| 43 | apply Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n a |
| 44 | exact (nativeFamilyOfHomogeneousIdeal_over_pullback_coordinates I f a b hb).trans hF.symm |
| 45 | |
| 46 | omit [Algebra R A] in |
| 47 | theorem localFlat_nativeFamily_residue_polynomial [IsNoetherianRing R] [IsLocalRing R] |
| 48 | (f : Spec (.of R) ⟶ S) (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 49 | (p : PrimeSpectrum R) : |
| 50 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) |
| 51 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f (Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal n f I)))).toIdeal P := by |
| 52 | rw [Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal_coordinates, |
| 53 | Projective.SaturationBaseChangeEquality.GradedHilbert.projectiveSaturation_extended_eq_of_eq (A := p.asIdeal.ResidueField) (Projective.Saturation.GradedHilbert.projectiveSaturation I) I |
| 54 | (Projective.Saturation.GradedHilbert.projectiveSaturation_idempotent I)] |
| 55 | exact (Local.FlatPolynomialConstancy.GradedHilbert.localFlat_saturated_fiber_polynomial_iff I p.asIdeal.ResidueField P).mpr hP |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.IntrinsicFamilyBaseChange.GradedHilbert |