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.Coordinate.Hyperplane |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.Exactness |
| 3 | |
| 4 | /-! # Hyperplane Degree Equivalence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.HyperplaneDegreeEquivalence.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate-hyperplane quotient isomorphisms identify the actual homogeneous degree quotients. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.Exactness.GradedModules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 19 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R (n + 1))) |
| 20 | |
| 21 | theorem coordinateHyperplaneQuotientEquiv_homogeneous (d : ℕ) |
| 22 | (x : Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1) ⧸ (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)).toIdeal) |
| 23 | (hx : x ∈ Graded.Quotient.GradedHilbert.quotientGrading (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)) d) : |
| 24 | Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I x ∈ Graded.Quotient.GradedHilbert.quotientGrading (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I) d := by |
| 25 | obtain ⟨f, hf, rfl⟩ := hx |
| 26 | change Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I (Ideal.Quotient.mk _ f) ∈ _ |
| 27 | rw [Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv_mk] |
| 28 | exact ⟨Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n f, Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate_homogeneous R n hf, rfl⟩ |
| 29 | |
| 30 | def coordinateHyperplaneGradingEquiv (d : ℕ) : |
| 31 | Graded.Quotient.GradedHilbert.quotientGrading (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)) d ≃ₗ[R] |
| 32 | Graded.Quotient.GradedHilbert.quotientGrading (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I) d := |
| 33 | LinearEquiv.ofBijective (Graded.Exactness.GradedModules.degreeMap _ _ (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I).toLinearMap |
| 34 | (coordinateHyperplaneQuotientEquiv_homogeneous I) d) ⟨by |
| 35 | intro x y hxy |
| 36 | exact Subtype.ext ((Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I).injective (congrArg Subtype.val hxy)), |
| 37 | Graded.Exactness.GradedModules.degreeMap_surjective _ _ (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I).toLinearMap |
| 38 | (coordinateHyperplaneQuotientEquiv_homogeneous I) (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I).surjective d⟩ |
| 39 | |
| 40 | def coordinateHyperplaneDegreeQuotientEquiv (d : ℕ) : |
| 41 | Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)).toIdeal d ≃ₗ[R] |
| 42 | Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal d := |
| 43 | (Graded.Quotient.GradedHilbert.degreeQuotientEquivQuotientGrading _ d).trans ((coordinateHyperplaneGradingEquiv I d).trans |
| 44 | (Graded.Quotient.GradedHilbert.degreeQuotientEquivQuotientGrading _ d).symm) |
| 45 | |
| 46 | theorem coordinateHyperplane_hilbertFunction (d : ℕ) : |
| 47 | Hilbert.Polynomial.GradedHilbert.hilbertFunction (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)).toIdeal d = |
| 48 | Hilbert.Polynomial.GradedHilbert.hilbertFunction (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal d := |
| 49 | (coordinateHyperplaneDegreeQuotientEquiv I d).finrank_eq |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.HyperplaneDegreeEquivalence.GradedHilbert |