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.ValuationGrassmannian |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.DegreeIdealPresentation |
| 3 | |
| 4 | /-! # Valuation Normalized Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationNormalizedCoordinates.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Normalized finite equations for a valuation closure, with every high |
| 11 | degree quotient free and of the exact polynomial rank. -/ |
| 12 | |
| 13 | universe u |
| 14 | variable {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 15 | variable [Field K] [Algebra R K] [IsFractionRing R K] {n : ℕ} |
| 16 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 17 | variable (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 18 | |
| 19 | theorem valuationClosure_hilbertFunction (d : ℕ) : |
| 20 | Hilbert.Polynomial.GradedHilbert.hilbertFunction (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I).toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal d := by |
| 21 | let := ValuationClosureFlatness.GradedHilbert.valuationClosure_degree_free (R := R) I d |
| 22 | have h := ValuationClosureFunction.GradedHilbert.degreeQuotient_finrank_baseChange_of_free (L := K) (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I) d |
| 23 | rw [ContractedIdealLocalization.GradedHilbert.contractedHomogeneousIdeal_localization (nonZeroDivisors R) I] at h |
| 24 | exact h.symm |
| 25 | |
| 26 | include hI hP in |
| 27 | theorem exists_valuation_normalized_hilbert_coordinates (N : ℕ) |
| 28 | (hN : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n P ≤ N) |
| 29 | (ι : Type u) [Fintype ι] [DecidableEq ι] |
| 30 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 31 | ∃ (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R), |
| 32 | Normalized.Matrices.Grassmannian.IsNormalized a Q ∧ Function.Injective a ∧ |
| 33 | Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I) N ∧ |
| 34 | Projective.Saturation.GradedHilbert.projectiveSaturation (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q) = ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I ∧ |
| 35 | ∀ d ≥ N, Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d) ∧ |
| 36 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d : ℚ) = P.eval (d : ℚ) := by |
| 37 | let J := ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I |
| 38 | let H : Module.Grassmannian R (Hilbert.Polynomial.GradedHilbert.grading R n N) (Fintype.card ι) := { |
| 39 | toSubmodule := Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal N |
| 40 | finite_quotient := inferInstance |
| 41 | projective_quotient := by |
| 42 | let := ValuationClosureFlatness.GradedHilbert.valuationClosure_degree_free (R := R) I N |
| 43 | infer_instance |
| 44 | rankAtStalk_eq := fun p => (ValuationGrassmannian.GradedHilbert.valuationClosure_rankAtStalk I hI P hP N hN p).trans hr.symm } |
| 45 | obtain ⟨a, Q, hQ, ha, he⟩ := Normalized.DegreeIdealPresentation.GradedHilbert.exists_normalized_degreeIdeal_presentation J H rfl |
| 46 | refine ⟨a, Q, hQ, ha, he, ?_, ?_⟩ |
| 47 | · rw [he] |
| 48 | exact (ValuationClosureGeneration.GradedHilbert.valuationClosure_finite_equations I hI P hP N hN).2 |
| 49 | · intro d hd |
| 50 | have hrel : Hilbert.Polynomial.GradedHilbert.degreeRelations (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d = Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal d := by |
| 51 | rw [he] |
| 52 | exact ValuationClosureGeneration.GradedHilbert.valuationClosure_degreeGenerated_relations I hI P hP N hN d hd |
| 53 | let := ValuationClosureFlatness.GradedHilbert.valuationClosure_degree_free (R := R) I d |
| 54 | refine ⟨Module.Free.of_equiv (Submodule.quotEquivOfEq _ _ hrel.symm), ?_⟩ |
| 55 | have hdim : Hilbert.Polynomial.GradedHilbert.hilbertFunction (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction J.toIdeal d := |
| 56 | (Submodule.quotEquivOfEq _ _ hrel).finrank_eq |
| 57 | rw [hdim, valuationClosure_hilbertFunction I d] |
| 58 | exact (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec n P K I hI hP).2 d (hN.trans hd) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationNormalizedCoordinates.GradedHilbert |