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.Polynomial.CoordinateChangeEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedLinearCoordinateIsomorphism |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.BaseChange |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.Polynomial |
| 5 | |
| 6 | /-! # Coordinate Ideals -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.CoordinateIdeals |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Invertible polynomial-coordinate substitutions preserve |
| 13 | saturation and all homogeneous degree quotients. The quotient |
| 14 | comparison persists under arbitrary coefficient extension. -/ |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 19 | variable (e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) |
| 20 | |
| 21 | def polynomialLinearAlgEquiv : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ≃ₐ[R] HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n where |
| 22 | __ := CoordinateSubstitution.polynomialLinearSubstitution e.toLinearMap |
| 23 | invFun := CoordinateSubstitution.polynomialLinearSubstitution e.symm.toLinearMap |
| 24 | left_inv p := DFunLike.congr_fun (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap_inverse e) p |
| 25 | right_inv p := DFunLike.congr_fun (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap_inverse e.symm) p |
| 26 | |
| 27 | def linearCoordinateIdeal (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 28 | I.comap (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap e.toLinearMap) |
| 29 | |
| 30 | theorem linearCoordinateIdeal_mem (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (p : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 31 | p ∈ (linearCoordinateIdeal e I).toIdeal ↔ polynomialLinearAlgEquiv e p ∈ I.toIdeal := Iff.rfl |
| 32 | |
| 33 | theorem linearCoordinateIdeal_saturated (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 34 | (hI : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated (linearCoordinateIdeal e I).toIdeal := by |
| 35 | intro p d hp h |
| 36 | apply hI (polynomialLinearAlgEquiv e p) d (CoordinateSubstitution.polynomialLinearSubstitution_homogeneous _ hp) |
| 37 | obtain ⟨m, hm⟩ := h |
| 38 | refine ⟨m, fun g hg => ?_⟩ |
| 39 | have H := hm ((polynomialLinearAlgEquiv e).symm g) |
| 40 | (CoordinateSubstitution.polynomialLinearSubstitution_homogeneous e.symm.toLinearMap hg) |
| 41 | change polynomialLinearAlgEquiv e ((polynomialLinearAlgEquiv e).symm g * p) ∈ I.toIdeal at H |
| 42 | simpa only [map_mul, AlgEquiv.apply_symm_apply] using H |
| 43 | |
| 44 | theorem linearCoordinateIdeal_degreeRelations (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) : |
| 45 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (linearCoordinateIdeal e I).toIdeal d = |
| 46 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d).comap (HilbertConstruction.Polynomial.CoordinateChangeEvaluation.polynomialLinearDegreeEquiv e d).toLinearMap := rfl |
| 47 | |
| 48 | def linearCoordinateIdealDegreeQuotientEquiv (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) : |
| 49 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient (linearCoordinateIdeal e I).toIdeal d ≃ₗ[R] HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d := |
| 50 | Submodule.Quotient.equiv _ _ (HilbertConstruction.Polynomial.CoordinateChangeEvaluation.polynomialLinearDegreeEquiv e d) (by |
| 51 | rw [linearCoordinateIdeal_degreeRelations] |
| 52 | exact Submodule.map_comap_eq_of_surjective (HilbertConstruction.Polynomial.CoordinateChangeEvaluation.polynomialLinearDegreeEquiv e d).surjective |
| 53 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d)) |
| 54 | |
| 55 | def linearCoordinateIdealExtendedDegreeEquiv |
| 56 | (A : Type u) [CommRing A] [Algebra R A] (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (d : ℕ) : |
| 57 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) (linearCoordinateIdeal e I)).toIdeal d ≃ₗ[A] |
| 58 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I).toIdeal d := |
| 59 | (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.degreeQuotientBaseChangeEquiv (S := A) (linearCoordinateIdeal e I) d).symm.trans |
| 60 | (((linearCoordinateIdealDegreeQuotientEquiv e I d).baseChange R A).trans |
| 61 | (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.degreeQuotientBaseChangeEquiv (S := A) I d)) |
| 62 | |
| 63 | theorem linearCoordinateIdealExtended_hilbertPolynomial_iff |
| 64 | (A : Type u) [CommRing A] [Algebra R A] (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (P : Polynomial ℚ) : |
| 65 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) (linearCoordinateIdeal e I)).toIdeal P ↔ |
| 66 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I).toIdeal P := by |
| 67 | have H (d : ℕ) : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) (linearCoordinateIdeal e I)).toIdeal d = |
| 68 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I).toIdeal d := |
| 69 | (linearCoordinateIdealExtendedDegreeEquiv e A I d).finrank_eq |
| 70 | simp only [HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial, H] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.CoordinateIdeals |