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.TwistedSectionsDetectZero |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsMono |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsSurjective |
| 4 | |
| 5 | /-! # Twisted Sections Detect Mono -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectMono |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Eventual injectivity on positive-twist sections detects sheaf monomorphisms. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsMono |
| 17 | universe u |
| 18 | namespace MvPolynomial |
| 19 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | noncomputable local instance twistedMonoDetectionMonoidal (X : Scheme.{u}) : |
| 23 | MonoidalCategory X.Modules := Monoidal.Scheme.Modules.monoidalCategory X |
| 24 | |
| 25 | theorem finiteType_mono_of_eventually_twistedSections_injective [IsNoetherianRing R] |
| 26 | {M N : (Proj (homogeneousSubmodule σ R)).Modules} |
| 27 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] |
| 28 | (f : M ⟶ N) (j : σ) (b : ℕ) |
| 29 | (hb : ∀ n : ℕ, b ≤ n → Function.Injective |
| 30 | (((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map f).app ⊤)) : |
| 31 | Mono f := by |
| 32 | have : LocallyOfFiniteType (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) := |
| 33 | MvPolynomialClosure.MvPolynomial.homogeneousProjπ_locallyOfFiniteType |
| 34 | have : IsLocallyNoetherian (Proj (homogeneousSubmodule σ R)) := |
| 35 | LocallyOfFiniteType.isLocallyNoetherian (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 36 | have : (kernel f).IsQuasicoherent := Quasicoherent.Scheme.Modules.isQuasicoherent_kernel f |
| 37 | have : (kernel f).IsFiniteType := Quasicoherent.Scheme.Modules.isFiniteType_kernel f |
| 38 | apply Preadditive.mono_of_isZero_kernel f |
| 39 | apply TwistedSectionsDetectZero.MvPolynomial.finiteType_isZero_of_eventually_twistedSections_subsingleton (kernel f) j b |
| 40 | intro n hn |
| 41 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 42 | let g := F.map (kernel.ι f) |
| 43 | have : Mono g := F.map_mono _ |
| 44 | have hg := GlobalSectionsMono.globalSections_injective_of_mono g |
| 45 | have hcomp : g ≫ F.map f = 0 := by |
| 46 | dsimp only [g] |
| 47 | rw [← F.map_comp, kernel.condition, F.map_zero] |
| 48 | have hzero (x : Γ(F.obj (kernel f), ⊤)) : (F.map f).app ⊤ (g.app ⊤ x) = 0 := by |
| 49 | change (g ≫ F.map f).app ⊤ x = 0 |
| 50 | rw [hcomp] |
| 51 | rfl |
| 52 | constructor |
| 53 | intro x y |
| 54 | apply hg |
| 55 | apply hb n hn |
| 56 | exact (hzero x).trans (hzero y).symm |
| 57 | |
| 58 | end MvPolynomial |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectMono |