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.HilbertPositivity |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertTwist |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertMonotonicity |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedSectionGeneration |
| 5 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.LineBundleProjection |
| 6 | |
| 7 | /-! # Closed Hilbert Numerics -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Canonical Hilbert polynomials on actual closed projective schemes, |
| 14 | defined through their coherent direct images. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits MonoidalCategory |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 25 | |
| 26 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} |
| 27 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 28 | |
| 29 | def coherentClosedDirectImage (M : X.Modules) := (Scheme.Modules.pushforward f).obj M |
| 30 | |
| 31 | instance coherentClosedDirectImage_quasicoherent (M : X.Modules) [M.IsQuasicoherent] : |
| 32 | (coherentClosedDirectImage f M).IsQuasicoherent := |
| 33 | SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 34 | |
| 35 | instance coherentClosedDirectImage_finiteType (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 36 | (coherentClosedDirectImage f M).IsFiniteType := |
| 37 | SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_pushforward_of_isClosedImmersion f |
| 38 | |
| 39 | def closedProjectiveTwist (M : X.Modules) (j : Fin (r + 1)) (n : ℕ) : X.Modules := |
| 40 | M ⊗ (Scheme.Modules.pullback f).obj |
| 41 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) j n) |
| 42 | |
| 43 | instance closedProjectiveTwist_quasicoherent (M : X.Modules) [M.IsQuasicoherent] |
| 44 | (j : Fin (r + 1)) (n : ℕ) : (closedProjectiveTwist f M j n).IsQuasicoherent := |
| 45 | (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible |
| 46 | ((Frame.SectionDetection.Construction.coordinatePositiveTwist_hasFrameSections (R := K) j n).lineBundle.pullback f)).tensorObj_isQuasicoherent |
| 47 | |
| 48 | instance closedProjectiveTwist_finiteType (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 49 | (j : Fin (r + 1)) (n : ℕ) : (closedProjectiveTwist f M j n).IsFiniteType := |
| 50 | (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible |
| 51 | ((Frame.SectionDetection.Construction.coordinatePositiveTwist_hasFrameSections (R := K) j n).lineBundle.pullback f)).tensorObj_isFiniteType |
| 52 | |
| 53 | def closedProjectiveHilbertPolynomial (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 54 | (j : Fin (r + 1)) : Polynomial ℚ := |
| 55 | Projective.Numerics.Construction.projectiveHilbertPolynomial (coherentClosedDirectImage f M) j |
| 56 | |
| 57 | theorem closedProjectiveHilbertPolynomial_iso {M N : X.Modules} |
| 58 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 59 | (e : M ≅ N) (j : Fin (r + 1)) : |
| 60 | closedProjectiveHilbertPolynomial f M j = closedProjectiveHilbertPolynomial f N j := |
| 61 | Projective.Numerics.Construction.projectiveHilbertPolynomial_iso (coherentClosedDirectImage f M) j |
| 62 | ((Scheme.Modules.pushforward f).mapIso e) |
| 63 | |
| 64 | theorem closedProjectiveHilbertPolynomial_twist (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 65 | (j : Fin (r + 1)) (n : ℕ) : |
| 66 | closedProjectiveHilbertPolynomial f (closedProjectiveTwist f M j n) j = |
| 67 | Polynomial.taylor (n : ℚ) (closedProjectiveHilbertPolynomial f M j) := by |
| 68 | let P := (Frame.SectionDetection.Construction.coordinatePositiveTwist_hasFrameSections (R := K) j n).lineBundle |
| 69 | let e : HilbertTwist.Construction.projectiveTwist (coherentClosedDirectImage f M) j n ≅ |
| 70 | coherentClosedDirectImage f (closedProjectiveTwist f M j n) := |
| 71 | LineBundleProjection.Construction.lineBundleProjectionIso f P M |
| 72 | change Projective.Numerics.Construction.projectiveHilbertPolynomial (coherentClosedDirectImage f (closedProjectiveTwist f M j n)) j = _ |
| 73 | rw [← Projective.Numerics.Construction.projectiveHilbertPolynomial_iso _ j e, HilbertTwist.Construction.projectiveHilbertPolynomial_twist] |
| 74 | rfl |
| 75 | |
| 76 | theorem closedProjectiveHilbertPolynomial_eventually_le_of_mono {M N : X.Modules} |
| 77 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 78 | (a : M ⟶ N) [Mono a] (j : Fin (r + 1)) : |
| 79 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 80 | (closedProjectiveHilbertPolynomial f M j).eval (n : ℚ) ≤ |
| 81 | (closedProjectiveHilbertPolynomial f N j).eval (n : ℚ) := |
| 82 | HilbertMonotonicity.Construction.projectiveHilbertPolynomial_eventually_le_of_mono |
| 83 | (M := coherentClosedDirectImage f M) (N := coherentClosedDirectImage f N) |
| 84 | ((Scheme.Modules.pushforward f).map a) j |
| 85 | |
| 86 | theorem closedProjectiveHilbertPolynomial_leadingCoeff_pos |
| 87 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 88 | (j : Fin (r + 1)) (hM : ¬ IsZero M) : |
| 89 | 0 < (closedProjectiveHilbertPolynomial f M j).leadingCoeff := by |
| 90 | apply HilbertPositivity.Construction.projectiveHilbertPolynomial_leadingCoeff_pos |
| 91 | intro hz |
| 92 | apply hM |
| 93 | apply (IsZero.iff_id_eq_zero M).mpr |
| 94 | apply ClosedSectionGeneration.Construction.modulePushforward_map_injective_of_isInducing f f.isClosedEmbedding.isEmbedding.isInducing |
| 95 | rw [(Scheme.Modules.pushforward f).map_id, (Scheme.Modules.pushforward f).map_zero] |
| 96 | exact (IsZero.iff_id_eq_zero _).mp hz |
| 97 | |
| 98 | end Construction |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics |