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.LocalizationSaturationMembership |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedSaturationNeighborhood |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FiniteEquationCoordinates |
| 4 | |
| 5 | /-! # Localization Family Equality Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.LocalizationFamilyEqualityNeighborhood.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equality of native projective families after any coefficient localization |
| 12 | already holds after inverting one element of its multiplicative set. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | universe u v w |
| 17 | variable {A : Type u} [CommRing A] {n : ℕ} |
| 18 | |
| 19 | theorem generated_projectiveSaturation_equality_localization_neighborhood |
| 20 | (U : Submonoid A) (T : Type u) [CommRing T] [Algebra A T] [IsLocalization U T] |
| 21 | {ι : Type v} [Fintype ι] {κ : Type w} [Fintype κ] |
| 22 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing A n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 23 | (h : κ → Hilbert.Polynomial.GradedHilbert.CoordinateRing A n) (M : ℕ) (hh : ∀ i, (h i).IsHomogeneous M) |
| 24 | (he : Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := T) (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg)) = |
| 25 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := T) (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal h M hh))) : |
| 26 | ∃ s : U, |
| 27 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.Away s.val) |
| 28 | (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg)) = |
| 29 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.Away s.val) |
| 30 | (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal h M hh)) := by |
| 31 | let I := Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg |
| 32 | let J := Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal h M hh |
| 33 | let target : ι ⊕ κ → HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n) := Sum.elim (fun _ => J) (fun _ => I) |
| 34 | let polys : ι ⊕ κ → Hilbert.Polynomial.GradedHilbert.CoordinateRing A n := Sum.elim g h |
| 35 | let degree : ι ⊕ κ → ℕ := Sum.elim (fun _ => N) (fun _ => M) |
| 36 | have hdegree : ∀ i, (polys i).IsHomogeneous (degree i) := by |
| 37 | intro i |
| 38 | cases i with |
| 39 | | inl i => exact hg i |
| 40 | | inr i => exact hh i |
| 41 | have hmem (i : ι ⊕ κ) : MvPolynomial.map (algebraMap A T) (polys i) ∈ |
| 42 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := T) (target i))).toIdeal := by |
| 43 | cases i with |
| 44 | | inl i => exact he ▸ GeneratedSaturationNeighborhood.GradedHilbert.mapped_generator_mem_projectiveSaturation T g N hg i |
| 45 | | inr i => exact he.symm ▸ GeneratedSaturationNeighborhood.GradedHilbert.mapped_generator_mem_projectiveSaturation T h M hh i |
| 46 | obtain ⟨s, hsm⟩ := LocalizationSaturationMembership.GradedHilbert.finite_saturation_membership_localization_descent U T target polys degree hdegree hmem |
| 47 | refine ⟨s, le_antisymm ?_ ?_⟩ |
| 48 | · exact Saturation.PrimeDescent.GradedHilbert.generatedIdeal_le_saturation_of_mapped_generators (Localization.Away s.val) g N hg J |
| 49 | (fun i => hsm (.inl i)) |
| 50 | · exact Saturation.PrimeDescent.GradedHilbert.generatedIdeal_le_saturation_of_mapped_generators (Localization.Away s.val) h M hh I |
| 51 | (fun i => hsm (.inr i)) |
| 52 | |
| 53 | theorem nativeFamily_equality_localization_neighborhood |
| 54 | {S : Scheme.{u}} (a : Spec (.of A) ⟶ S) |
| 55 | (F G : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 56 | (U : Submonoid A) (T : Type u) [CommRing T] [Algebra A T] [IsLocalization U T] |
| 57 | (h : Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap A T)) F = |
| 58 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap A T)) G) : |
| 59 | ∃ s : U, Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 60 | (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap A (Localization.Away s.val))) F = |
| 61 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 62 | (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap A (Localization.Away s.val))) G := by |
| 63 | let E := Intrinsic.AffineEquationModel.GradedHilbert.nativeAffineEquations a F |
| 64 | let D := Intrinsic.AffineEquationModel.GradedHilbert.nativeAffineEquations a G |
| 65 | have he := congrArg (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (Spec.map (CommRingCat.ofHom (algebraMap A T)) ≫ a)) h |
| 66 | rw [Intrinsic.FiniteEquationCoordinates.GradedHilbert.nativeFiniteEquations_baseChange_coordinates E, Intrinsic.FiniteEquationCoordinates.GradedHilbert.nativeFiniteEquations_baseChange_coordinates D] at he |
| 67 | obtain ⟨s, hsat⟩ := generated_projectiveSaturation_equality_localization_neighborhood U T |
| 68 | E.generators E.degree E.homogeneous D.generators D.degree D.homogeneous he |
| 69 | refine ⟨s, ?_⟩ |
| 70 | apply Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n |
| 71 | (Spec.map (CommRingCat.ofHom (algebraMap A (Localization.Away s.val))) ≫ a) |
| 72 | rw [Intrinsic.FiniteEquationCoordinates.GradedHilbert.nativeFiniteEquations_baseChange_coordinates E, Intrinsic.FiniteEquationCoordinates.GradedHilbert.nativeFiniteEquations_baseChange_coordinates D] |
| 73 | exact hsat |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.LocalizationFamilyEqualityNeighborhood.GradedHilbert |