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.PELModuli.IntegralModel.FlatClosedProjectivePolynomials |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FieldSourceEmbedding |
| 3 | |
| 4 | /-! # Source Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.SourcePolynomial |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A flat Presentations source presentation has an actual locally constant fiber |
| 11 | polynomial on its affine noetherian base. It computes every field source |
| 12 | embedding and is independent of the chosen field over the base point. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace PolarizationEmbedding |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {X : Over S} (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) |
| 21 | |
| 22 | def e34SourceHilbertPolynomial (x : S) : Polynomial ℚ := |
| 23 | FlatHilbertPolynomialPartition.PolarizationEmbedding.residueHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf B.coefficientEmbedding.ker) (S.toSpecΓ x) |
| 24 | |
| 25 | theorem e34SourceHilbertPolynomial_field_point |
| 26 | {K : Type u} [Field K] (a : Spec (.of K) ⟶ S) : |
| 27 | FlatHilbertPolynomialPartition.PolarizationEmbedding.residueHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf B.coefficientEmbedding.ker) |
| 28 | ((IsLocalRing.closedPoint K).comap (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a).hom) = |
| 29 | e34SourceHilbertPolynomial B (a (IsLocalRing.closedPoint K)) := by |
| 30 | change FlatHilbertPolynomialPartition.PolarizationEmbedding.residueHilbertPolynomial _ ((Spec.map (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a)) (IsLocalRing.closedPoint K)) = _ |
| 31 | rw [AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients_spec] |
| 32 | rfl |
| 33 | |
| 34 | variable [IsAffine S] [Flat X.hom] |
| 35 | |
| 36 | theorem e34CoefficientIdeal_flat : |
| 37 | Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf B.coefficientEmbedding.ker))) := by |
| 38 | have : IsClosedImmersion B.coefficientEmbedding := Presentations.Coefficient.PolarizationEmbedding.e34CoefficientEmbedding_closed B |
| 39 | have hb : B.coefficientEmbedding ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading Γ(S, ⊤) B.dimension) = |
| 40 | X.hom ≫ S.toSpecΓ := Presentations.Coefficient.PolarizationEmbedding.e34CoefficientEmbedding_over B |
| 41 | have : Flat (B.coefficientEmbedding ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading Γ(S, ⊤) B.dimension)) := by |
| 42 | rw [hb] |
| 43 | infer_instance |
| 44 | exact FlatClosedProjectivePolynomials.PolarizationEmbedding.closedProjective_homogeneousIdeal_flat B.coefficientEmbedding |
| 45 | |
| 46 | variable [IsLocallyNoetherian S] |
| 47 | |
| 48 | theorem e34SourceHilbertPolynomial_isLocallyConstant : IsLocallyConstant (e34SourceHilbertPolynomial B) := by |
| 49 | let : IsNoetherianRing Γ(S, ⊤) := |
| 50 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top S⟩ |
| 51 | let := e34CoefficientIdeal_flat B |
| 52 | exact (FlatHilbertPolynomialPartition.PolarizationEmbedding.residueHilbertPolynomial_isLocallyConstant |
| 53 | (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf B.coefficientEmbedding.ker)).comp_continuous S.toSpecΓ.continuous |
| 54 | |
| 55 | theorem e34SourceHilbertPolynomial_finite_range : Set.Finite (Set.range (e34SourceHilbertPolynomial B)) := |
| 56 | (e34SourceHilbertPolynomial_isLocallyConstant B).range_finite |
| 57 | |
| 58 | theorem relativeFieldSourceEmbedding_hasHilbertPolynomial |
| 59 | {K : Type u} [Field K] (a : Spec (.of K) ⟶ S) : |
| 60 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf (FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding B a).ker).toIdeal |
| 61 | (e34SourceHilbertPolynomial B (a (IsLocalRing.closedPoint K))) := by |
| 62 | let : IsNoetherianRing Γ(S, ⊤) := |
| 63 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top S⟩ |
| 64 | have : IsClosedImmersion B.coefficientEmbedding := Presentations.Coefficient.PolarizationEmbedding.e34CoefficientEmbedding_closed B |
| 65 | let := e34CoefficientIdeal_flat B |
| 66 | rw [← e34SourceHilbertPolynomial_field_point B a] |
| 67 | exact FlatClosedProjectivePolynomials.PolarizationEmbedding.closedProjectiveFiber_has_residueHilbertPolynomial B.coefficientEmbedding |
| 68 | (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a).hom (FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding B a) (pullback.fst X.hom a) |
| 69 | (FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding_isPullback B a) |
| 70 | |
| 71 | end PolarizationEmbedding |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.SourcePolynomial |