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.SheafCohomology.Projective.HilbertDimension |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateBundleIso |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.KrullTranscendenceDimension |
| 4 | |
| 5 | /-! # Intrinsic Degree -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.IntrinsicDegree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Projective section polynomials have intrinsic degree, independently of the chosen coordinate. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | namespace Dimension |
| 16 | |
| 17 | universe u |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | theorem closedProjective_Hilbert_intrinsicDegree |
| 21 | {K R : Type u} [Field K] [CommRing R] [IsNoetherianRing R] |
| 22 | {X : Scheme.{u}} [IsIntegral X] (ρ : X ⟶ Spec (.of K)) [LocallyOfFiniteType ρ] |
| 23 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 24 | (hfield : IsField Γ(Spec (.of R), ⊤)) |
| 25 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 26 | (j : σ) (P : Polynomial ℚ) (b : ℕ) |
| 27 | (hP : ∀ n : ℕ, b ≤ n → |
| 28 | (Module.finrank Γ(Spec (.of R), ⊤) |
| 29 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 30 | ((Scheme.Modules.pullback f).obj |
| 31 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n))) : ℚ) = |
| 32 | P.eval (n : ℚ)) : |
| 33 | P.natDegree = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension ρ ∧ 0 < P.leadingCoeff := by |
| 34 | let := hfield.toField |
| 35 | let x : X := Classical.choice inferInstance |
| 36 | obtain ⟨k, hk⟩ := TopologicalSpace.Opens.mem_iSup.mp |
| 37 | (show f x ∈ ⨆ k : σ, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k by |
| 38 | rw [MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top]; trivial) |
| 39 | have : Nonempty (f ⁻¹ᵁ MvPolynomialClosure.MvPolynomial.coordinateOpen k) := ⟨⟨x, hk⟩⟩ |
| 40 | have hQ (n : ℕ) (hn : b ≤ n) : |
| 41 | (Module.finrank Γ(Spec (.of R), ⊤) |
| 42 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 43 | ((Scheme.Modules.pullback f).obj |
| 44 | (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) k n))) : ℚ) = |
| 45 | P.eval (n : ℚ) := by |
| 46 | let e := (Scheme.Modules.pullback f).mapIso (CoordinateBundleIso.Dimension.projectiveTwistCoordinateIso (R := R) j k n) |
| 47 | have he := ((AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).mapIso e).toLinearEquiv.finrank_eq |
| 48 | exact (congrArg (fun d : ℕ => (d : ℚ)) he).symm.trans (hP n hn) |
| 49 | have hd := (HilbertDimension.Dimension.closedProjective_Hilbert_natDegree hfield f k P b hQ).trans |
| 50 | (KrullTranscendenceDimension.Dimension.affine_chart_krullDimension ρ _ ((MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen (R := R) k).preimage f)) |
| 51 | exact ⟨by exact_mod_cast hd, HilbertDimension.Dimension.closedProjective_Hilbert_leadingCoeff_pos hfield f k P b hQ⟩ |
| 52 | |
| 53 | end Dimension |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.IntrinsicDegree |