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.PresentationPolynomialModule |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCokernelDegree |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialMatrixComponents |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentedTargetCoordinates |
| 5 | |
| 6 | /-! # Presentation Degree Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | /-! Degree maps of the polynomial presentation and their actual degree cokernels. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | universe u |
| 19 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation |
| 22 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ R)).Modules} |
| 23 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 24 | |
| 25 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.polynomialDegreeMap (n : ℕ) : |
| 26 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 27 | (fun k => (D.columnDegree k : ℤ)) (n : ℤ) →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 28 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 29 | (fun i => (D.rowDegree i : ℤ)) (n : ℤ) := |
| 30 | HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap _ _ (D.polynomialMap.restrictScalars Γ(Spec (CommRingCat.of R), ⊤)) |
| 31 | D.polynomialMap_homogeneous (n : ℤ) |
| 32 | |
| 33 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.polynomialDegreeMap_apply (n : ℕ) |
| 34 | (x : HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 35 | (fun k => (D.columnDegree k : ℤ)) (n : ℤ)) (i : Fin D.rows) : |
| 36 | (D.polynomialDegreeMap n x).val i = ∑ k, (D.polynomialMatrix i k).val * x.val k := by |
| 37 | change HomogeneousPolynomialMatrix.homogeneousPolynomialMatrixMap D.rowDegree D.columnDegree D.polynomialMatrix x.val i = _ |
| 38 | exact PolynomialMatrixComponents.homogeneousPolynomialMatrixMap_apply D.rowDegree D.columnDegree D.polynomialMatrix x.val i |
| 39 | |
| 40 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.polynomialDegreeCokernelEquiv (n : ℕ) : |
| 41 | PresentedTargetCoordinates.LinearCokernel (R := Γ(Spec (CommRingCat.of R), ⊤)) |
| 42 | (M := ↥(HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 43 | (fun k => (D.columnDegree k : ℤ)) (n : ℤ))) |
| 44 | (N := ↥(HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 45 | (fun i => (D.rowDegree i : ℤ)) (n : ℤ))) (D.polynomialDegreeMap n) ≃ₗ[ |
| 46 | Γ(Spec (CommRingCat.of R), ⊤)] D.DegreeCokernel (n : ℤ) := |
| 47 | GradedCokernelDegree.homogeneousDegreeCokernelEquiv _ _ D.polynomialMap D.polynomialMap_homogeneous (n : ℤ) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |