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.Module.SectionMultiplication |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentFiniteTypeSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 4 | |
| 5 | /-! # Frame Associated Points -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FrameAssociatedPoints |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A framed line bundle acting on an affine coherent sheaf has a finite family of actual scheme points whose simultaneous nonvanishing guarantees injective multiplication. The points come from the associated primes of the actual affine section module. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {X : Scheme.{u}} [IsAffine X] |
| 15 | |
| 16 | theorem affine_basicOpen_isoSpec_inv_mem |
| 17 | (P : PrimeSpectrum Γ(X, ⊤)) (r : Γ(X, ⊤)) : |
| 18 | X.isoSpec.inv P ∈ X.basicOpen r ↔ r ∉ P.asIdeal := by |
| 19 | rw [← Scheme.toSpecΓ_preimage_basicOpen X r] |
| 20 | change X.toSpecΓ (X.isoSpec.inv P) ∈ PrimeSpectrum.basicOpen r ↔ _ |
| 21 | have he : X.toSpecΓ (X.isoSpec.inv P) = P := |
| 22 | congrArg (fun f : Spec Γ(X, ⊤) ⟶ Spec Γ(X, ⊤) => f P) X.isoSpec.inv_hom_id |
| 23 | rw [he] |
| 24 | rfl |
| 25 | |
| 26 | theorem affine_sectionNonvanishing_isoSpec_inv_mem |
| 27 | (L : Line.Bundles.LineBundle X) (s : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 28 | (e : L.sheaf ≅ Line.Bundles.structureModule X) (P : PrimeSpectrum Γ(X, ⊤)) : |
| 29 | X.isoSpec.inv P ∈ Ample.LineBundles.sectionNonvanishing s ↔ |
| 30 | Frame.Coordinates.structureModuleEndValue X (s ≫ e.hom) ∉ P.asIdeal := by |
| 31 | have he : Ample.LineBundles.sectionNonvanishing s = X.basicOpen (Frame.Coordinates.structureModuleEndValue X (s ≫ e.hom)) := |
| 32 | (Ample.Powers.sectionNonvanishing_comp_iso s e).symm.trans (Scalar.Nonvanishing.sectionNonvanishing_scalar (s ≫ e.hom)) |
| 33 | rw [he, affine_basicOpen_isoSpec_inv_mem] |
| 34 | |
| 35 | theorem moduleSectionMultiply_mono_of_associatedPoint_nonvanishing |
| 36 | [IsNoetherianRing Γ(X, ⊤)] (L : Line.Bundles.LineBundle X) (M : X.Modules) [M.IsQuasicoherent] |
| 37 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) (e : L.sheaf ≅ Line.Bundles.structureModule X) |
| 38 | (hs : ∀ P : associatedPrimes Γ(X, ⊤) Γ(M, ⊤), |
| 39 | X.isoSpec.inv (show PrimeSpectrum Γ(X, ⊤) from ⟨P.val, P.property.isPrime⟩) ∈ |
| 40 | Ample.LineBundles.sectionNonvanishing s) : Mono (HilbertConstruction.Module.SectionMultiplication.moduleSectionMultiply L M s) := by |
| 41 | apply (HilbertConstruction.Module.SectionMultiplication.moduleSectionMultiply_mono_iff_avoids_associatedPrimes L M s e).mpr |
| 42 | intro P hP |
| 43 | exact (affine_sectionNonvanishing_isoSpec_inv_mem L s e ⟨P, hP.isPrime⟩).mp (hs ⟨P, hP⟩) |
| 44 | |
| 45 | theorem affine_exists_finite_section_regular_test |
| 46 | [IsNoetherianRing Γ(X, ⊤)] (L : Line.Bundles.LineBundle X) (M : X.Modules) |
| 47 | [M.IsQuasicoherent] [M.IsFiniteType] (e : L.sheaf ≅ Line.Bundles.structureModule X) : |
| 48 | ∃ (ι : Type u) (_ : Finite ι) (x : ι → X), |
| 49 | ∀ s : Line.Bundles.structureModule X ⟶ L.sheaf, |
| 50 | (∀ i, x i ∈ Ample.LineBundles.sectionNonvanishing s) → Mono (HilbertConstruction.Module.SectionMultiplication.moduleSectionMultiply L M s) := by |
| 51 | have : Module.Finite Γ(X, ⊤) Γ(M, ⊤) := QuasicoherentFiniteTypeSections.affine_quasicoherent_finiteType_sections_finite M |
| 52 | let ι := associatedPrimes Γ(X, ⊤) Γ(M, ⊤) |
| 53 | have : Finite ι := (associatedPrimes.finite Γ(X, ⊤) Γ(M, ⊤)).to_subtype |
| 54 | let x : ι → X := fun P => X.isoSpec.inv |
| 55 | (show PrimeSpectrum Γ(X, ⊤) from ⟨P.val, P.property.isPrime⟩) |
| 56 | exact ⟨ι, inferInstance, x, |
| 57 | fun s hs => moduleSectionMultiply_mono_of_associatedPoint_nonvanishing L M s e hs⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FrameAssociatedPoints |