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.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveHilbertDimension |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveCoordinateBundleIso |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenGroupChartDimension |
| 4 | |
| 5 | /-! # Group Projective Hilbert Degree -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupProjectiveHilbertDegree.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Hilbert polynomial of a projective embedding of the geometric group has its full dimension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | theorem group_projective_Hilbert_natDegree |
| 21 | {K R : Type u} [Field K] [IsAlgClosed K] [CommRing R] [IsNoetherianRing R] |
| 22 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 23 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 24 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 25 | (hfield : IsField Γ(Spec (.of R), ⊤)) |
| 26 | (f : A.left ⟶ Proj (MvPolynomial.homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 27 | (j : σ) (P : Polynomial ℚ) (b : ℕ) |
| 28 | (hP : ∀ n : ℕ, b ≤ n → |
| 29 | (Module.finrank Γ(Spec (.of R), ⊤) |
| 30 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 31 | ((Scheme.Modules.pullback f).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n))) : ℚ) = |
| 32 | P.eval (n : ℚ)) : |
| 33 | (P.natDegree : WithBot ℕ∞) = topologicalKrullDim A.left := by |
| 34 | let := hfield.toField |
| 35 | have : IsIntegral A.left := ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A |
| 36 | let x : A.left := Classical.choice inferInstance |
| 37 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp |
| 38 | (show f x ∈ ⨆ i : σ, AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i by |
| 39 | rw [AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.iSup_coordinateOpen_eq_top]; trivial) |
| 40 | have : Nonempty (f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen i) := ⟨⟨x, hi⟩⟩ |
| 41 | have hd := ProjectiveHilbertDimension.Construction.closedProjective_Hilbert_natDegree hfield f i P b (fun n hn => by |
| 42 | let e := (Scheme.Modules.pullback f).mapIso (ProjectiveCoordinateBundleIso.Construction.projectiveTwistCoordinateIso (R := R) j i n) |
| 43 | have he := ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).mapIso e).toLinearEquiv.finrank_eq |
| 44 | exact (congrArg (fun d : ℕ => (d : ℚ)) he).symm.trans (hP n hn)) |
| 45 | exact hd.trans (OpenGroupChartDimension.Construction.group_affine_chart_krullDimension A _ |
| 46 | ((AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen (R := R) i).preimage f)) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupProjectiveHilbertDegree.Construction |