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.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerHilbert |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.PullbackEuler |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PushforwardCoherence |
| 4 | |
| 5 | /-! # Pullback Hilbert -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PullbackHilbert.ProjectiveK |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For an actual finite self-map, the Euler polynomial of the pulled |
| 12 | back hyperplane bundle is the Hilbert polynomial of the actual direct |
| 13 | image of the structure sheaf. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 19 | |
| 20 | def coherentFinitePushforward {X Y : Scheme.{u}} (g : X ⟶ Y) [IsFinite g] |
| 21 | (M : Coherent.KTheory.Projective.CoherentModule X) : Coherent.KTheory.Projective.CoherentModule Y where |
| 22 | sheaf := (Scheme.Modules.pushforward g).obj M.sheaf |
| 23 | quasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom g |
| 24 | finiteType := PushforwardCoherence.finiteType g M.sheaf |
| 25 | |
| 26 | variable {K : Type u} [Field K] [Infinite K] {r : ℕ} {A : Scheme.{u}} |
| 27 | [IsIntegral A] [A.IsSeparated] |
| 28 | (f : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 29 | [IsClosedImmersion f] (j : Fin (r + 1)) |
| 30 | |
| 31 | theorem finitePullback_euler_eq_hilbert |
| 32 | (ρ : A ⟶ Spec (CommRingCat.of K)) |
| 33 | (hf : f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = ρ) |
| 34 | (g : A ⟶ A) [IsFinite g] (hg : g ≫ ρ = ρ) (n : ℕ) : |
| 35 | (Coherent.EulerIndex.ProjectiveK.coherentEuler f (((Coherent.EulerHilbert.ProjectiveK.projectiveLineBundle f j).pullback g).tensorPower n).sheaf : ℚ) = |
| 36 | (Coherent.HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j |
| 37 | (coherentFinitePushforward g (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A))).eval (n : ℚ) := by |
| 38 | rw [Coherent.PullbackEuler.ProjectiveK.coherentEuler_pullback_tensorPower f ρ hf g hg (Coherent.EulerHilbert.ProjectiveK.projectiveLineBundle f j) n] |
| 39 | rw [← Coherent.EulerHilbert.ProjectiveK.coherentProjectiveTwist_euler f j |
| 40 | (coherentFinitePushforward g (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A)) n] |
| 41 | let e := AlgebraicGeometry.SheafCohomology.Projective.UniversalPowers.Dimension.pullbackProjectiveTwistUniversalIso f j (Coherent.EulerHilbert.ProjectiveK.projectiveLineBundle f j) (Iso.refl _) n |
| 42 | exact congrArg (fun z : ℤ => (z : ℚ)) |
| 43 | (Coherent.EulerIndex.ProjectiveK.coherentEuler_eq_of_iso f (Iso.refl _ ⊗ᵢ e.symm)) |
| 44 | |
| 45 | theorem polynomial_eq_finitePushforward_hilbert |
| 46 | (ρ : A ⟶ Spec (CommRingCat.of K)) |
| 47 | (hf : f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = ρ) |
| 48 | (g : A ⟶ A) [IsFinite g] (hg : g ≫ ρ = ρ) |
| 49 | (P : Polynomial ℚ) |
| 50 | (hP : ∀ n : ℕ, P.eval (n : ℚ) = |
| 51 | (Coherent.EulerIndex.ProjectiveK.coherentEuler f (((Coherent.EulerHilbert.ProjectiveK.projectiveLineBundle f j).pullback g).tensorPower n).sheaf : ℚ)) : |
| 52 | P = Coherent.HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j (coherentFinitePushforward g (Coherent.StructureDimension.ProjectiveK.coherentStructureModule A)) := by |
| 53 | apply AlgebraicGeometry.FormalGeometry.Completion.EventualPolynomial.Construction.polynomial_eq_of_eventual_nat_eval _ _ 0 |
| 54 | intro n _ |
| 55 | exact (hP n).trans (finitePullback_euler_eq_hilbert f j ρ hf g hg n) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PullbackHilbert.ProjectiveK |