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.ClosedHilbertAdditivity |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CoherentLineBundleTensor |
| 3 | |
| 4 | /-! # Coherent Cokernel Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CoherentCokernelTensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensoring an actual coherent cokernel by a line bundle gives the |
| 11 | corresponding difference of actual Hilbert polynomials. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | def coherentModuleCokernel {X : Scheme.{u}} {M N : X.Modules} (a : M ⟶ N) : X.Modules := cokernel a |
| 22 | |
| 23 | instance coherentModuleCokernel_quasicoherent {X : Scheme.{u}} {M N : X.Modules} |
| 24 | [M.IsQuasicoherent] [N.IsQuasicoherent] (a : M ⟶ N) : |
| 25 | (coherentModuleCokernel a).IsQuasicoherent := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_cokernel a |
| 26 | |
| 27 | instance coherentModuleCokernel_finiteType {X : Scheme.{u}} {M N : X.Modules} |
| 28 | [M.IsQuasicoherent] [N.IsQuasicoherent] [N.IsFiniteType] (a : M ⟶ N) : |
| 29 | (coherentModuleCokernel a).IsFiniteType := SheafCohomology.Projective.CoherentQuotientFiniteType.Scheme.Modules.isFiniteType_cokernel a |
| 30 | |
| 31 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 32 | |
| 33 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} |
| 34 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 35 | |
| 36 | theorem coherentCokernelTensor_hilbertPolynomial |
| 37 | {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] |
| 38 | (a : M ⟶ N) [Mono a] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 39 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor (coherentModuleCokernel a) L) j = |
| 40 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor N L) j - |
| 41 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j := by |
| 42 | let E := SheafCohomology.Projective.InvertibleTensorEquivalence.invertibleRightTensorEquivalence L.sheaf (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) |
| 43 | let T := ShortComplex.mk a (cokernel.π a) (cokernel.condition a) |
| 44 | have hT : T.ShortExact := { exact := ShortComplex.cokernelSequence_exact a } |
| 45 | let S := T.map E.functor |
| 46 | have : S.X₁.IsQuasicoherent := CoherentLineBundleTensor.Construction.coherentLineBundleTensor_quasicoherent M L |
| 47 | have : S.X₂.IsQuasicoherent := CoherentLineBundleTensor.Construction.coherentLineBundleTensor_quasicoherent N L |
| 48 | have : S.X₃.IsQuasicoherent := CoherentLineBundleTensor.Construction.coherentLineBundleTensor_quasicoherent (coherentModuleCokernel a) L |
| 49 | have : S.X₁.IsFiniteType := CoherentLineBundleTensor.Construction.coherentLineBundleTensor_finiteType M L |
| 50 | have : S.X₂.IsFiniteType := CoherentLineBundleTensor.Construction.coherentLineBundleTensor_finiteType N L |
| 51 | have : S.X₃.IsFiniteType := CoherentLineBundleTensor.Construction.coherentLineBundleTensor_finiteType (coherentModuleCokernel a) L |
| 52 | have he := ClosedHilbertAdditivity.Construction.closedProjectiveHilbertPolynomial_add_of_shortExact f S (hT.map_of_exact E.functor) j |
| 53 | change ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor N L) j = |
| 54 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j + |
| 55 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor (coherentModuleCokernel a) L) j at he |
| 56 | rw [he, add_sub_cancel_left] |
| 57 | |
| 58 | end Construction |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CoherentCokernelTensor |