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.CoherentCokernelTensor |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralProjectiveNumerics |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialTopCoefficient |
| 4 | |
| 5 | /-! # Cokernel Tensor Top Coefficient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CokernelTensorTopCoefficient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The top coefficients of a coherent exact-sequence difference are |
| 12 | unchanged when the entire sequence is tensored by any line bundle. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | variable {K : Type u} [Field K] [Infinite K] {r : ℕ} {X : Scheme.{u}} [IsIntegral X] |
| 25 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 26 | |
| 27 | theorem coherentCokernelTensor_coeff_eq |
| 28 | {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] |
| 29 | (a : M ⟶ N) [Mono a] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) (d : ℕ) |
| 30 | (hd : (ClosedHilbertAdditivity.Construction.closedProjectiveCokernelHilbertPolynomial f a j).natDegree ≤ d) : |
| 31 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor N L) j - |
| 32 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).coeff d = |
| 33 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f N j - ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).coeff d := by |
| 34 | have hh := IntegralProjectiveNumerics.Construction.integralClosedProjective_coherentLineBundle_hilbert_degree_leadingCoeff |
| 35 | f (CoherentCokernelTensor.Construction.coherentModuleCokernel a) L j |
| 36 | rw [← CoherentCokernelTensor.Construction.coherentCokernelTensor_hilbertPolynomial f a L j, |
| 37 | ← ClosedHilbertAdditivity.Construction.closedProjectiveCokernelHilbertPolynomial_eq_sub f a j] |
| 38 | apply PolynomialTopCoefficient.Construction.polynomial_coeff_eq_of_same_leading_data _ _ hh.1 hh.2 d |
| 39 | exact hh.1.trans_le hd |
| 40 | |
| 41 | end Construction |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CokernelTensorTopCoefficient |