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.FiniteGradedQuotient |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.SectionPolynomialMap |
| 3 | |
| 4 | /-! # Presentation Graded Module -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.MvPolynomial |
| 11 | |
| 12 | /-! The nonnegatively graded module attached to an actual projective sheaf presentation. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteGradedQuotient |
| 16 | universe u |
| 17 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation |
| 18 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ R)).Modules} |
| 21 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 22 | |
| 23 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.gradedCokernel : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ Γ(Spec (CommRingCat.of R), ⊤) := |
| 24 | FiniteGradedQuotient.finiteGradedQuotient D.generatorModule D.polynomialMap.range D.polynomialRelations_homogeneous |
| 25 | |
| 26 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.gradedCokernel_nonnegative : GradedNonnegativeSyzygy.HasNonnegativeGrading D.gradedCokernel := by |
| 27 | apply FiniteGradedQuotient.finiteGradedQuotient_nonnegative |
| 28 | intro d hd |
| 29 | exact GradedModuleLowerBound.weightedFreeGrading_eq_bot_of_lt (fun i => (D.rowDegree i : ℤ)) d |
| 30 | (fun i => hd.trans_le (Int.natCast_nonneg (D.rowDegree i))) |
| 31 | |
| 32 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.gradedCokernelDegreeEquiv (d : ℤ) : |
| 33 | D.DegreeCokernel d ≃ₗ[Γ(Spec (CommRingCat.of R), ⊤)] D.gradedCokernel.grading d := |
| 34 | FiniteGradedQuotient.finiteGradedQuotientDegreeEquiv D.generatorModule D.polynomialMap.range |
| 35 | D.polynomialRelations_homogeneous d |
| 36 | |
| 37 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.eventually_gradedCokernel_sections [IsNoetherianRing R] [M.IsQuasicoherent] : |
| 38 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 39 | Nonempty (D.gradedCokernel.grading (n : ℤ) ≃ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 40 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 41 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj M)) := by |
| 42 | obtain ⟨b, hb⟩ := D.eventually_degreeCokernel_sections |
| 43 | refine ⟨b, fun n hn => ?_⟩ |
| 44 | obtain ⟨e⟩ := hb n hn |
| 45 | exact ⟨(D.gradedCokernelDegreeEquiv (n : ℤ)).symm.trans e⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |