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.FactoredProjectiveModuleFiltration |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.WeightedSectionRankBounds |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectivePushforwardCoefficientInjective |
| 4 | |
| 5 | /-! # Flat Projective Rank Bounds -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FlatProjectiveRankBounds.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual sections of a finite flat pushforward satisfy shifted affine-filtration bounds of the scheme's rank. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | local instance finiteFlatProjectiveRankBoundsMonoidal (X : Scheme.{u}) : |
| 18 | MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 21 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | theorem finiteFlatProjective_sections_filtered_rank_bounds |
| 25 | (hfield : IsField Γ(Spec (.of R), ⊤)) {X Z : Scheme.{u}} [IsIntegral X] [IsIntegral Z] |
| 26 | (f : X ⟶ Z) [IsFinite f] [Flat f] |
| 27 | (a : Z ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion a] (j : σ) |
| 28 | [Nonempty (a ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j)] [Nonempty ((f ≫ a) ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j)] : |
| 29 | letI := BaseOpenSections.Construction.baseOpenSectionsAlgebra (a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) (a ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 30 | let D := f.finrank (((AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen (R := R) j).preimage a).fromSpec |
| 31 | (⊥ : PrimeSpectrum Γ(Z, a ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j))) |
| 32 | let N := (Scheme.Modules.pushforward (f ≫ a)).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) |
| 33 | ∃ b s : ℕ, |
| 34 | (∀ n, b ≤ n → D * Module.finrank Γ(Spec (.of R), ⊤) |
| 35 | (PolynomialFilteredAlgebra.Construction.polynomialFilteredPiece (K := Γ(Spec (.of R), ⊤)) (ProjectiveFilteredSections.Construction.closedProjectiveChartCoordinates a j) n) ≤ |
| 36 | Module.finrank Γ(Spec (.of R), ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ).obj |
| 37 | (N ⊗ AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j (n + s)))) ∧ |
| 38 | (∀ n, b ≤ n → Module.finrank Γ(Spec (.of R), ⊤) |
| 39 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ).obj (N ⊗ AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n)) ≤ |
| 40 | D * Module.finrank Γ(Spec (.of R), ⊤) |
| 41 | (PolynomialFilteredAlgebra.Construction.polynomialFilteredPiece (K := Γ(Spec (.of R), ⊤)) |
| 42 | (ProjectiveFilteredSections.Construction.closedProjectiveChartCoordinates a j) (n + s))) := by |
| 43 | let := hfield.toField |
| 44 | let π := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ) |
| 45 | let U := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j |
| 46 | let B := Γ(Z, a ⁻¹ᵁ U) |
| 47 | let N := (Scheme.Modules.pushforward (f ≫ a)).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) |
| 48 | let M := (BaseOpenSections.Construction.baseOpenSectionsFunctor π U).obj N |
| 49 | let := BaseOpenSections.Construction.baseOpenSectionsAlgebra (a ≫ π) (a ⁻¹ᵁ U) |
| 50 | let := FactoredPushforwardOpenModule.Construction.factoredPushforwardOpenModule f a π U |
| 51 | let := FactoredPushforwardOpenModule.Construction.factoredPushforwardOpenModule_tower f a π U |
| 52 | let φ := ProjectiveChartScalars.Construction.closedProjectiveChartPolynomialAlgHom a j |
| 53 | have hφ : Function.Surjective φ := ProjectiveChartScalars.Construction.closedProjectiveChartPolynomialAlgHom_surjective a j |
| 54 | have : Algebra.FiniteType Γ(Spec (.of R), ⊤) B := Algebra.FiniteType.of_surjective φ hφ |
| 55 | have : IsNoetherianRing B := Algebra.FiniteType.isNoetherianRing Γ(Spec (.of R), ⊤) B |
| 56 | have hU := (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen_isAffineOpen (R := R) j).preimage a |
| 57 | have : Module.Flat B M := FiniteFlatChartModule.Construction.affinePreimageSectionModule_flat f (a ⁻¹ᵁ U) hU |
| 58 | have : Module.FinitePresentation B M := FiniteFlatChartModule.Construction.affinePreimageSectionModule_finitePresentation f (a ⁻¹ᵁ U) hU |
| 59 | have hv : Algebra.adjoin Γ(Spec (.of R), ⊤) (Set.range (ProjectiveFilteredSections.Construction.closedProjectiveChartCoordinates a j)) = ⊤ := |
| 60 | HomogeneousFilteredImage.Construction.adjoin_polynomial_generators_of_surjective φ hφ |
| 61 | obtain ⟨r, w, d, b, hw, hb⟩ := FactoredProjectiveModuleFiltration.Construction.factoredProjective_normalized_image_eventually_weighted hfield f a j |
| 62 | let E := fun n => (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor π).obj (N ⊗ AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n) |
| 63 | let c := fun n => BaseOpenSections.Construction.tensorSectionGlobalCoefficientLinear π N (ProjectiveNormalizedSections.Construction.projectiveTwistUnitSection j n) U |
| 64 | have hc (n : ℕ) : Function.Injective (c n) := |
| 65 | ProjectivePushforwardCoefficientInjective.Construction.projectivePushforwardCoefficientLinear_injective (f ≫ a) j n |
| 66 | obtain ⟨s, hlo, hhi⟩ := WeightedSectionRankBounds.Construction.weightedSection_rank_shift_bounds |
| 67 | (ProjectiveFilteredSections.Construction.closedProjectiveChartCoordinates a j) hv w hw d (fun n => ↥(E n)) c hc b hb |
| 68 | have hrank : Module.rankAtStalk (R := B) M (⊥ : PrimeSpectrum B) = |
| 69 | f.finrank (hU.fromSpec (⊥ : PrimeSpectrum B)) := |
| 70 | FiniteFlatChartModule.Construction.affinePreimageSectionModule_rank f (a ⁻¹ᵁ U) hU ⊥ |
| 71 | exact ⟨b, s, fun n hn => (hrank ▸ hlo n hn), fun n hn => (hrank ▸ hhi n hn)⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FlatProjectiveRankBounds.Construction |