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.Projective.Numerics |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.SectionFiniteness |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsMono |
| 4 | |
| 5 | /-! # Hilbert Monotonicity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertMonotonicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual injections of coherent projective modules give inequalities |
| 12 | of section dimensions and eventual inequalities of their Hilbert polynomials. -/ |
| 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 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsMono |
| 23 | |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | |
| 26 | variable {K : Type u} [Field K] {r : ℕ} |
| 27 | {M N : (Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)).Modules} |
| 28 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 29 | |
| 30 | omit [M.IsQuasicoherent] [M.IsFiniteType] in |
| 31 | theorem projectiveHilbertFunction_le_of_mono (f : M ⟶ N) [Mono f] |
| 32 | (j : Fin (r + 1)) (n : ℕ) : |
| 33 | Projective.Numerics.Construction.projectiveHilbertFunction M j n ≤ Projective.Numerics.Construction.projectiveHilbertFunction N j n := by |
| 34 | let F := (SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := K) j n).functor |
| 35 | let G := SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor |
| 36 | (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (r + 1))) |
| 37 | have : (F.obj N).IsQuasicoherent := |
| 38 | SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.moduleTensorCoordinateHyperplanePoleSheafPower_isQuasicoherent N j n |
| 39 | have : (F.obj N).IsFiniteType := |
| 40 | SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.moduleTensorCoordinateHyperplanePoleSheafPower_isFiniteType N j n |
| 41 | have : Module.Finite Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj N)) := |
| 42 | Projective.SectionFiniteness.Construction.projectiveGlobalSections_finite (F.obj N) |
| 43 | let : Field Γ(Spec (CommRingCat.of K), ⊤) := Projective.Numerics.Construction.fieldSpec_sections_isField.toField |
| 44 | let a := (G.map (F.map f)).hom |
| 45 | have ha : Function.Injective a := SheafCohomology.Projective.GlobalSectionsMono.globalSections_injective_of_mono (F.map f) |
| 46 | change (Module.finrank Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj M)) : ℚ) ≤ |
| 47 | (Module.finrank Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj N)) : ℚ) |
| 48 | exact_mod_cast LinearMap.finrank_le_finrank_of_injective ha |
| 49 | |
| 50 | theorem projectiveHilbertPolynomial_eventually_le_of_mono (f : M ⟶ N) [Mono f] |
| 51 | (j : Fin (r + 1)) : |
| 52 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 53 | (Projective.Numerics.Construction.projectiveHilbertPolynomial M j).eval (n : ℚ) ≤ |
| 54 | (Projective.Numerics.Construction.projectiveHilbertPolynomial N j).eval (n : ℚ) := by |
| 55 | obtain ⟨b, hb⟩ := Projective.Numerics.Construction.projectiveHilbertPolynomial_spec M j |
| 56 | obtain ⟨c, hc⟩ := Projective.Numerics.Construction.projectiveHilbertPolynomial_spec N j |
| 57 | refine ⟨max b c, fun n hn => ?_⟩ |
| 58 | rw [← hb n ((le_max_left _ _).trans hn), ← hc n ((le_max_right _ _).trans hn)] |
| 59 | exact projectiveHilbertFunction_le_of_mono f j n |
| 60 | |
| 61 | end Construction |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertMonotonicity |