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.AbelianModuli.HilbertConstruction.Quasicoherent.PullbackIsoFiniteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FrameAssociatedPoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionMultiplicationPullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.PointSectionAvoidance |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.FiniteMorphism |
| 6 | import Mathlib.AlgebraicGeometry.Noetherian |
| 7 | |
| 8 | /-! # Regular Power Section -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! On a Noetherian scheme, injective multiplication on a coherent sheaf is ensured by nonvanishing at a finite family of actual points. Over an infinite field an ample line bundle therefore has a positive power with a section acting injectively on that sheaf, including on nonreduced schemes and sheaves with embedded components. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | variable {X : Scheme.{u}} [IsNoetherian X] |
| 21 | |
| 22 | theorem Coherent.RegularPowerSection.coherent_exists_finite_section_regular_test |
| 23 | (L : Line.Bundles.LineBundle X) (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 24 | ∃ (ι : Type u) (_ : Finite ι) (x : ι → X), |
| 25 | ∀ s : Line.Bundles.structureModule X ⟶ L.sheaf, |
| 26 | (∀ i, x i ∈ Ample.LineBundles.sectionNonvanishing s) → Mono (Module.SectionMultiplication.moduleSectionMultiply L M s) := by |
| 27 | obtain ⟨k, U, ha, he, hcover⟩ := L.exists_finite_affine_frames |
| 28 | have localTest (i : Fin k) : |
| 29 | ∃ (ι : Type u) (_ : Finite ι) (x : ι → (U i).toScheme), |
| 30 | ∀ s : Line.Bundles.structureModule (U i).toScheme ⟶ (L.pullback (U i).ι).sheaf, |
| 31 | (∀ j, x j ∈ Ample.LineBundles.sectionNonvanishing s) → |
| 32 | Mono (Module.SectionMultiplication.moduleSectionMultiply (L.pullback (U i).ι) |
| 33 | ((Scheme.Modules.pullback (U i).ι).obj M) s) := by |
| 34 | have : IsAffine (U i).toScheme := ha i |
| 35 | have : IsNoetherianRing Γ((U i).toScheme, ⊤) := |
| 36 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top (U i).toScheme⟩ |
| 37 | have : ((Scheme.Modules.pullback (U i).ι).obj M).IsQuasicoherent := |
| 38 | Quasicoherent.PullbackIsoFiniteness.module_openPullback_quasicoherent (U i).ι M |
| 39 | have : ((Scheme.Modules.pullback (U i).ι).obj M).IsFiniteType := |
| 40 | Quasicoherent.PullbackIsoFiniteness.module_openPullback_finiteType (U i).ι M |
| 41 | exact Affine.FrameAssociatedPoints.affine_exists_finite_section_regular_test (L.pullback (U i).ι) |
| 42 | ((Scheme.Modules.pullback (U i).ι).obj M) (he i).some |
| 43 | choose J hJ x hx using localTest |
| 44 | let (i : Fin k) : Finite (J i) := hJ i |
| 45 | let y : (Σ i : Fin k, J i) → X := fun a => (U a.1).ι (x a.1 a.2) |
| 46 | refine ⟨Σ i : Fin k, J i, inferInstance, y, fun s hs => ?_⟩ |
| 47 | apply Module.SectionMultiplicationPullback.moduleMap_mono_of_pullback_cover U hcover (Module.SectionMultiplication.moduleSectionMultiply L M s) |
| 48 | intro i |
| 49 | apply (Module.SectionMultiplicationPullback.moduleSectionMultiply_pullback_mono_iff (U i).ι L M s).mpr |
| 50 | apply hx i (Ample.LineBundles.pullbackSection (U i).ι s) |
| 51 | intro j |
| 52 | rw [Section.Nonvanishing.sectionNonvanishing_pullback] |
| 53 | exact hs ⟨i, j⟩ |
| 54 | |
| 55 | theorem Line.Bundles.LineBundle.IsAmple.exists_power_section_injective_on_coherent |
| 56 | {K : Type u} [Field K] [Infinite K] (p : X ⟶ Spec (.of K)) |
| 57 | {L : Line.Bundles.LineBundle X} (hL : L.IsAmple) |
| 58 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 59 | ∃ (d : ℕ) (_ : 0 < d) (s : Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf), |
| 60 | Mono (Module.SectionMultiplication.moduleSectionMultiply (L.tensorPower d) M s) := by |
| 61 | obtain ⟨d, hd, _, t, ht, _⟩ := hL.projective_section_family |
| 62 | obtain ⟨ι, hι, x, htest⟩ := Coherent.RegularPowerSection.coherent_exists_finite_section_regular_test (L.tensorPower d) M |
| 63 | have : Finite ι := hι |
| 64 | obtain ⟨s, hs⟩ := HilbertConstruction.Finite.PointSectionAvoidance.exists_section_nonvanishing_at_finite_points p (L.tensorPower d) x (by |
| 65 | intro i |
| 66 | obtain ⟨j, hj⟩ := ht (x i) |
| 67 | exact ⟨t j, hj⟩) |
| 68 | exact ⟨d, hd, s, htest s hs⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |