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.ProjectiveFilteredSections |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FilteredHilbertDimension |
| 3 | |
| 4 | /-! # Projective Hilbert Dimension -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveHilbertDimension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Hilbert polynomial of actual projective sections has the affine chart's Krull dimension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 17 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | theorem closedProjective_Hilbert_natDegree |
| 21 | (hfield : IsField Γ(Spec (.of R), ⊤)) {X : Scheme.{u}} [IsIntegral X] |
| 22 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] (j : σ) |
| 23 | [Nonempty (f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j)] (P : Polynomial ℚ) (b : ℕ) |
| 24 | (hP : ∀ n : ℕ, b ≤ n → |
| 25 | (Module.finrank Γ(Spec (.of R), ⊤) |
| 26 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 27 | ((Scheme.Modules.pullback f).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n))) : ℚ) = |
| 28 | P.eval (n : ℚ)) : |
| 29 | (P.natDegree : WithBot ℕ∞) = ringKrullDim Γ(X, f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) := by |
| 30 | let := hfield.toField |
| 31 | let := BaseOpenSections.Construction.baseOpenSectionsAlgebra (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) (f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 32 | let φ := ProjectiveChartScalars.Construction.closedProjectiveChartPolynomialAlgHom f j |
| 33 | have hφ : Function.Surjective φ := ProjectiveChartScalars.Construction.closedProjectiveChartPolynomialAlgHom_surjective f j |
| 34 | have : Algebra.FiniteType Γ(Spec (.of R), ⊤) Γ(X, f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) := |
| 35 | Algebra.FiniteType.of_surjective φ hφ |
| 36 | have hv : Algebra.adjoin Γ(Spec (.of R), ⊤) (Set.range (ProjectiveFilteredSections.Construction.closedProjectiveChartCoordinates f j)) = ⊤ := |
| 37 | HomogeneousFilteredImage.Construction.adjoin_polynomial_generators_of_surjective φ hφ |
| 38 | obtain ⟨c, hc⟩ := ProjectiveFilteredSections.Construction.closedProjective_sections_filtered_finrank hfield f j |
| 39 | apply FilteredHilbertDimension.Construction.polynomialFilteredPiece_Hilbert_natDegree Γ(Spec (.of R), ⊤) |
| 40 | Γ(X, f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) (ProjectiveFilteredSections.Construction.closedProjectiveChartCoordinates f j) hv P (max b c) |
| 41 | intro n hn |
| 42 | rw [← hc n ((le_max_right b c).trans hn)] |
| 43 | exact hP n ((le_max_left b c).trans hn) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveHilbertDimension.Construction |