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.FormalGeometry.Completion.HilbertAdditivity |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertTwist |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialDifference |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoherentQuotientFiniteType |
| 5 | |
| 6 | /-! # Hilbert Cokernel -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertCokernel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual coherent cokernels have the difference Hilbert polynomial. |
| 13 | A regular hyperplane map therefore lowers the polynomial degree. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | variable {K : Type u} [Field K] {r : ℕ} |
| 26 | {M N : (Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)).Modules} |
| 27 | [M.IsQuasicoherent] [N.IsQuasicoherent] [N.IsFiniteType] |
| 28 | |
| 29 | def projectiveCokernelHilbertPolynomial (f : M ⟶ N) (j : Fin (r + 1)) : Polynomial ℚ := by |
| 30 | let := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_cokernel f |
| 31 | let := SheafCohomology.Projective.CoherentQuotientFiniteType.Scheme.Modules.isFiniteType_cokernel f |
| 32 | exact Projective.Numerics.Construction.projectiveHilbertPolynomial (cokernel f) j |
| 33 | |
| 34 | theorem projectiveCokernelHilbertPolynomial_eq_sub [M.IsFiniteType] |
| 35 | (f : M ⟶ N) [Mono f] (j : Fin (r + 1)) : |
| 36 | projectiveCokernelHilbertPolynomial f j = |
| 37 | Projective.Numerics.Construction.projectiveHilbertPolynomial N j - Projective.Numerics.Construction.projectiveHilbertPolynomial M j := by |
| 38 | let := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_cokernel f |
| 39 | let := SheafCohomology.Projective.CoherentQuotientFiniteType.Scheme.Modules.isFiniteType_cokernel f |
| 40 | let T := ShortComplex.mk f (cokernel.π f) (cokernel.condition f) |
| 41 | have hT : T.ShortExact := { exact := ShortComplex.cokernelSequence_exact f } |
| 42 | have he := HilbertAdditivity.Construction.projectiveHilbertPolynomial_add_of_shortExact T hT j |
| 43 | change Projective.Numerics.Construction.projectiveHilbertPolynomial N j = |
| 44 | Projective.Numerics.Construction.projectiveHilbertPolynomial M j + projectiveCokernelHilbertPolynomial f j at he |
| 45 | rw [he, add_sub_cancel_left] |
| 46 | |
| 47 | variable (M) [M.IsFiniteType] |
| 48 | |
| 49 | theorem projectiveHyperplaneCokernel_hilbertPolynomial (j : Fin (r + 1)) |
| 50 | (s : M ⟶ HilbertTwist.Construction.projectiveTwist M j 1) [Mono s] : |
| 51 | projectiveCokernelHilbertPolynomial s j = PolynomialDifference.Construction.polynomialDifference (Projective.Numerics.Construction.projectiveHilbertPolynomial M j) := by |
| 52 | rw [projectiveCokernelHilbertPolynomial_eq_sub, HilbertTwist.Construction.projectiveHilbertPolynomial_twist] |
| 53 | rfl |
| 54 | |
| 55 | theorem projectiveHyperplaneCokernel_hilbertDegree_le (j : Fin (r + 1)) |
| 56 | (s : M ⟶ HilbertTwist.Construction.projectiveTwist M j 1) [Mono s] : |
| 57 | (projectiveCokernelHilbertPolynomial s j).natDegree ≤ |
| 58 | (Projective.Numerics.Construction.projectiveHilbertPolynomial M j).natDegree - 1 := by |
| 59 | rw [projectiveHyperplaneCokernel_hilbertPolynomial] |
| 60 | exact PolynomialDifference.Construction.polynomialDifference_natDegree_le _ |
| 61 | |
| 62 | end Construction |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertCokernel |