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.IntegerKillVariables |
| 3 | |
| 4 | /-! # Hyperplane Scalar Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.HyperplaneScalarAlgebra.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The smaller coordinate quotient as an actual module over the original polynomial ring. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] (n : ℕ) |
| 17 | |
| 18 | @[instance_reducible] |
| 19 | def coordinateDeletionAlgebra : Algebra (Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1)) (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) := |
| 20 | (Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n).toRingHom.toAlgebra |
| 21 | |
| 22 | attribute [local instance] coordinateDeletionAlgebra |
| 23 | |
| 24 | theorem coordinateDeletion_algebraMap : |
| 25 | algebraMap (Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1)) (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) = |
| 26 | (Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n).toRingHom := rfl |
| 27 | |
| 28 | instance coordinateDeletion_scalarTower : IsScalarTower R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1)) (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) := |
| 29 | IsScalarTower.of_algHom (Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n) |
| 30 | |
| 31 | variable {R n} (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R (n + 1))) |
| 32 | |
| 33 | def coordinateHyperplanePolynomialEquiv : |
| 34 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1) ⧸ (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)).toIdeal) ≃ₗ[Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1)] |
| 35 | Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal where |
| 36 | __ := (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I).toAddEquiv |
| 37 | map_smul' a x := by |
| 38 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 39 | change Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv I (Ideal.Quotient.mk _ (a * p)) = |
| 40 | Ideal.Quotient.mk _ ((Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n a) * (Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n p)) |
| 41 | rw [Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneQuotientEquiv_mk, map_mul] |
| 42 | |
| 43 | theorem coordinateHyperplanePolynomialEquiv_homogeneous (d : ℤ) |
| 44 | (x : Hilbert.Polynomial.GradedHilbert.CoordinateRing R (n + 1) ⧸ (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)).toIdeal) |
| 45 | (hx : x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Linear.FormQuotient.GradedHilbert.linearFormQuotientIdeal I (X 0) (isHomogeneous_X R 0)) d) : |
| 46 | coordinateHyperplanePolynomialEquiv I x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I) d := by |
| 47 | obtain ⟨p, hp, rfl⟩ := hx |
| 48 | exact ⟨Coordinate.Hyperplane.GradedHilbert.forgetZeroCoordinate R n p, IntegerKillVariables.GradedHilbert.killVariables_integer_homogeneous _ hp, rfl⟩ |
| 49 | |
| 50 | instance coordinateHyperplane_gradedSMul : |
| 51 | SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := Fin (n + 1 + 1)) R) |
| 52 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I)) where |
| 53 | smul_mem {i j} a b ha hb := by |
| 54 | rw [← algebraMap_smul (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)] |
| 55 | exact SetLike.GradedSMul.smul_mem (IntegerKillVariables.GradedHilbert.killVariables_integer_homogeneous _ ha) hb |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.HyperplaneScalarAlgebra.GradedHilbert |