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.SheafCohomology.Projective.GradedNonnegativeSyzygy |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCokernelDegree |
| 3 | |
| 4 | /-! # Finite Graded Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteGradedQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite graded quotient module and its actual degree pieces. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] {σ : Type} |
| 15 | |
| 16 | def finiteGradedQuotient (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ R) |
| 17 | (P : Submodule (MvPolynomial σ R) D.Carrier) (hP : P.IsHomogeneous D.grading) : |
| 18 | HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ R := by |
| 19 | letI := GradedModuleMk.GradedModuleQuotient.quotientDecomposition D.grading P hP |
| 20 | exact { Carrier := D.Carrier ⧸ P, grading := GradedModuleMk.GradedModuleQuotient.grading D.grading P } |
| 21 | |
| 22 | theorem finiteGradedQuotient_nonnegative (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ R) |
| 23 | (hD : GradedNonnegativeSyzygy.HasNonnegativeGrading D) (P : Submodule (MvPolynomial σ R) D.Carrier) |
| 24 | (hP : P.IsHomogeneous D.grading) : GradedNonnegativeSyzygy.HasNonnegativeGrading (finiteGradedQuotient D P hP) := by |
| 25 | intro d hd |
| 26 | change (D.grading d).map (GradedModuleMk.GradedModuleQuotient.quotientMap (R := R) P) = ⊥ |
| 27 | rw [hD d hd, Submodule.map_bot] |
| 28 | |
| 29 | def finiteGradedQuotientDegreeEquiv (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ R) |
| 30 | (P : Submodule (MvPolynomial σ R) D.Carrier) (hP : P.IsHomogeneous D.grading) (d : ℤ) : |
| 31 | GradedCyclicDegreeSequence.DegreeQuotient D.grading P d ≃ₗ[R] (finiteGradedQuotient D P hP).grading d := by |
| 32 | let f := GradedModuleMk.GradedModuleQuotient.degreeMap D.grading P d |
| 33 | have hf : Function.Surjective f := by |
| 34 | intro x |
| 35 | obtain ⟨y, hy, hxy⟩ := x.property |
| 36 | exact ⟨⟨y, hy⟩, Subtype.ext hxy⟩ |
| 37 | have hk : f.ker = GradedCyclicDegreeSequence.degreeRelations D.grading P d := by |
| 38 | ext x |
| 39 | change f x = 0 ↔ x.val ∈ P |
| 40 | constructor |
| 41 | · intro hx |
| 42 | apply (Submodule.Quotient.mk_eq_zero P).mp |
| 43 | exact congrArg Subtype.val hx |
| 44 | · intro hx |
| 45 | apply Subtype.ext |
| 46 | exact (Submodule.Quotient.mk_eq_zero P).mpr hx |
| 47 | exact (Submodule.quotEquivOfEq _ _ hk.symm).trans (f.quotKerEquivOfSurjective hf) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteGradedQuotient |