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.Noetherian.LocalFunction |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.DegreeIdealPresentation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyReconstruction |
| 4 | |
| 5 | /-! # Local Normalized Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalNormalizedCoordinates.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Uniform normalized Hilbert coordinates for saturated flat projective |
| 12 | families over local noetherian rings, including nonreduced rings. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] {n : ℕ} |
| 18 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 19 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 20 | variable (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 21 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 22 | include hI hP |
| 23 | |
| 24 | theorem exists_noetherian_local_normalized_hilbert_coordinates (N : ℕ) |
| 25 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 26 | (ι : Type u) [Fintype ι] [DecidableEq ι] |
| 27 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 28 | ∃ (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R), |
| 29 | Normalized.Matrices.Grassmannian.IsNormalized a Q ∧ Function.Injective a ∧ |
| 30 | Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N ∧ |
| 31 | Projective.Saturation.GradedHilbert.projectiveSaturation (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q) = I ∧ |
| 32 | ∀ d ≥ N, Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d) ∧ |
| 33 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d : ℚ) = P.eval (d : ℚ) := by |
| 34 | let H : Module.Grassmannian R (Hilbert.Polynomial.GradedHilbert.grading R n N) (Fintype.card ι) := { |
| 35 | toSubmodule := Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal N |
| 36 | finite_quotient := inferInstance |
| 37 | projective_quotient := Uniform.SaturatedCoordinates.GradedHilbert.uniform_saturated_coordinate_projective I hI P hP N ((le_max_left _ _).trans hN) |
| 38 | rankAtStalk_eq := fun p => (Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree_rankAtStalk I hI P hP N hN p).trans hr.symm } |
| 39 | obtain ⟨a, Q, hQ, ha, he⟩ := Normalized.DegreeIdealPresentation.GradedHilbert.exists_normalized_degreeIdeal_presentation I H rfl |
| 40 | refine ⟨a, Q, hQ, ha, he, ?_, ?_⟩ |
| 41 | · rw [he] |
| 42 | exact Uniform.FamilyReconstruction.GradedHilbert.uniformFamily_reconstruction I hI P hP N hN |
| 43 | · intro d hd |
| 44 | have hrel : Hilbert.Polynomial.GradedHilbert.degreeRelations (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d = Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d := by |
| 45 | rw [he] |
| 46 | exact Uniform.FamilyGeneration.GradedHilbert.uniformFamily_degreeGenerated_relations I hI P hP N hN d hd |
| 47 | let : Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := LocalFunction.GradedHilbert.uniformLocal_degreeQuotient_free I hI P hP d (hN.trans hd) |
| 48 | refine ⟨Module.Free.of_equiv (Submodule.quotEquivOfEq _ _ hrel.symm), ?_⟩ |
| 49 | have hdim : Hilbert.Polynomial.GradedHilbert.hilbertFunction (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal d := |
| 50 | (Submodule.quotEquivOfEq _ _ hrel).finrank_eq |
| 51 | rw [hdim] |
| 52 | exact LocalFunction.GradedHilbert.uniformLocal_hilbertFunction I hI P hP d (hN.trans hd) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalNormalizedCoordinates.GradedHilbert |