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.AbelianModuli.HilbertConstruction.Normalized.PolynomialCoordinateFrame |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SurjectiveFunctionalKernelComparison |
| 3 | |
| 4 | /-! # Polynomial Evaluation Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.PolynomialEvaluationComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On a normalized projective point, evaluating canonical polynomial |
| 11 | sections in any actual fiber frame differs from literal polynomial |
| 12 | evaluation by one unit, uniformly for every degree-d polynomial. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 16 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) |
| 17 | variable (x : Spec (.of R) ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 18 | variable (hx : x ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) = 𝟙 _) |
| 19 | variable (e : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I d).pullback x).sheaf ≅ Line.Bundles.structureModule (Spec (.of R))) |
| 20 | |
| 21 | def framedHomogeneousPolynomialEvaluation : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d →ₗ[R] R := |
| 22 | (Affine.FramedSectionEvaluation.affineFramedSectionEvaluation (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 23 | (ProjectiveTwisting.Bundle.projectiveTwistingBundle I d) x hx e).comp (SaturatedPolynomialSectionMap.homogeneousPolynomialTwistingSectionMap I d) |
| 24 | |
| 25 | theorem framedHomogeneousPolynomialEvaluation_apply (p : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d) : |
| 26 | framedHomogeneousPolynomialEvaluation I d x hx e p = |
| 27 | Affine.FramedSectionEvaluation.affineFramedSectionValue (ProjectiveTwisting.Bundle.projectiveTwistingBundle I d) x e |
| 28 | (Homogeneous.PolynomialSectionNonvanishing.coordinateQuotientActualTwistingSection I d ((HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d).mkQ p)) := rfl |
| 29 | |
| 30 | theorem framedPolynomialEvaluation_eq_unit_mul (hd : 0 < d) |
| 31 | (v : Fin (n + 1) → R) (i : Fin (n + 1)) (hi : v i = 1) |
| 32 | (hv : x ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R v i hi) : |
| 33 | ∃ a : Rˣ, ∀ p : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d, |
| 34 | framedHomogeneousPolynomialEvaluation I d x hx e p = |
| 35 | (a : R) * MvPolynomial.eval₂Hom (algebraMap R R) v p.val := by |
| 36 | let f : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d →ₗ[R] R := (MvPolynomial.aeval v).toLinearMap.comp (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d).subtype |
| 37 | let g := framedHomogeneousPolynomialEvaluation I d x hx e |
| 38 | let p₀ : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d := Normalized.PolynomialCoordinateFrame.homogeneousCoordinatePower i d |
| 39 | have hp₀ : f p₀ = 1 := by |
| 40 | change MvPolynomial.eval₂Hom (algebraMap R R) v (MvPolynomial.X i ^ d) = 1 |
| 41 | rw [map_pow, MvPolynomial.eval₂Hom_X', hi, one_pow] |
| 42 | have hker : f.ker ≤ g.ker := by |
| 43 | intro p hp |
| 44 | change framedHomogeneousPolynomialEvaluation I d x hx e p = 0 |
| 45 | rw [framedHomogeneousPolynomialEvaluation_apply, Affine.FramedEvaluationZero.affineFramedSectionValue_eq_zero_iff] |
| 46 | exact (Normalized.PolynomialSectionEvaluation.polynomialSection_pullback_zero_iff_normalized_evaluation I p x v i hi hv).mpr hp |
| 47 | have hu : IsUnit (g p₀) := Normalized.PolynomialCoordinateFrame.normalizedPolynomialCoordinate_framedValue_isUnit I d hd x v i hi hv e |
| 48 | obtain ⟨a, ha⟩ := hu |
| 49 | refine ⟨a, fun p => ?_⟩ |
| 50 | calc |
| 51 | g p = f p * g p₀ := SurjectiveFunctionalKernelComparison.linearFunctional_factor_of_kernel_le f g hker p₀ hp₀ p |
| 52 | _ = (a : R) * f p := by rw [← ha, mul_comm] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.PolynomialEvaluationComparison |