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.ValuationClosureGeneration |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.GradedTailGeneration |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.QuotientFinitePresentation |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Properness |
| 5 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.BaseChange |
| 6 | |
| 7 | /-! # Valuation Closure Finite Presentation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationClosureFinitePresentation.GradedHilbert |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual closure of a saturated projective fraction-field ideal is |
| 14 | finitely presented over an arbitrary valuation ring. Together with flatness, |
| 15 | this gives an unconditional projective family extension. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped nonZeroDivisors |
| 19 | |
| 20 | universe u |
| 21 | variable {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 22 | variable [Field K] [Algebra R K] [IsFractionRing R K] {n : ℕ} |
| 23 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 24 | |
| 25 | include hI in |
| 26 | theorem valuationClosure_ideal_fg : (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I).toIdeal.FG := by |
| 27 | obtain ⟨P, hP⟩ := Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial I |
| 28 | let N := Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n P |
| 29 | apply Finite.GradedTailGeneration.GradedHilbert.homogeneousIdeal_fg_of_finite_tail_generation _ N |
| 30 | · exact fun d _ => ValuationClosureRelations.GradedHilbert.valuationClosure_degreeRelations_fg I d |
| 31 | · exact ValuationClosureGeneration.GradedHilbert.valuationClosure_degreeGenerated_relations I hI P hP N le_rfl |
| 32 | |
| 33 | include hI in |
| 34 | theorem valuationClosure_locallyOfFinitePresentation : |
| 35 | LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap |
| 36 | (Graded.Quotient.GradedHilbert.quotientGrading (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I))) := |
| 37 | AbelianModuli.HilbertConstruction.Projective.QuotientFinitePresentation.projectiveQuotient_locallyFinitePresentation _ (valuationClosure_ideal_fg I hI) |
| 38 | |
| 39 | include hI in |
| 40 | theorem valuation_projective_family_extension : |
| 41 | ∃ J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n), Hilbert.Polynomial.GradedHilbert.IsSaturated J.toIdeal ∧ J.toIdeal.FG ∧ |
| 42 | Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) ∧ |
| 43 | IsProper (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) ∧ |
| 44 | LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) ∧ |
| 45 | Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J = I ∧ |
| 46 | ∃ q : Projective.Quotient.GradedHilbert.projectiveQuotient I ⟶ Projective.Quotient.GradedHilbert.projectiveQuotient J, |
| 47 | IsPullback q (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 48 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) |
| 49 | (Spec.map (CommRingCat.ofHom (algebraMap R K))) := by |
| 50 | let J := ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I |
| 51 | have hJ : Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J = I := ContractedIdealLocalization.GradedHilbert.contractedHomogeneousIdeal_localization R⁰ I |
| 52 | refine ⟨J, ContractedIdealSaturation.GradedHilbert.contractedHomogeneousIdeal_saturated I hI, valuationClosure_ideal_fg I hI, |
| 53 | ValuationClosureFlatness.GradedHilbert.valuationClosure_projective_flat I, Projective.Properness.GradedHilbert.projectiveQuotient_proper J, |
| 54 | valuationClosure_locallyOfFinitePresentation I hI, hJ, ?_⟩ |
| 55 | have hp : ∃ q : Projective.Quotient.GradedHilbert.projectiveQuotient (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J) ⟶ Projective.Quotient.GradedHilbert.projectiveQuotient J, |
| 56 | IsPullback q (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J))) |
| 57 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J)) |
| 58 | (Spec.map (CommRingCat.ofHom (algebraMap R K))) := |
| 59 | ⟨Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap J, Projective.BaseChange.GradedHilbert.projectiveQuotient_isPullback J⟩ |
| 60 | rwa [hJ] at hp |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationClosureFinitePresentation.GradedHilbert |