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.HyperplaneTorsionFiniteCuts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulGeometricSupport |
| 3 | |
| 4 | /-! # Hyperplane Mixed Koszul Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneMixedKoszulSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite intersection constructed by hyperplanes is the actual |
| 11 | common zero set of the mixed Koszul complex formed from one original |
| 12 | section and the pulled-back sections. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {X : Scheme.{u}} |
| 18 | |
| 19 | def hyperplanePullbackSections (L : Line.Bundles.LineBundle X) (a : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 20 | (m : X ⟶ X) (ts : List (Line.Bundles.structureModule X ⟶ L.sheaf)) : List (LineBundleKoszulComplex.LineBundleSection X) := |
| 21 | ⟨L, a⟩ :: ts.map (fun t => ⟨L.pullback m, Ample.LineBundles.pullbackSection m t⟩) |
| 22 | |
| 23 | theorem hyperplanePullbackSections_length (L : Line.Bundles.LineBundle X) (a : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 24 | (m : X ⟶ X) (ts : List (Line.Bundles.structureModule X ⟶ L.sheaf)) : |
| 25 | (hyperplanePullbackSections L a m ts).length = ts.length + 1 := by |
| 26 | simp only [hyperplanePullbackSections, List.length_cons, List.length_map] |
| 27 | |
| 28 | theorem hyperplanePullbackSections_zeroSet (L : Line.Bundles.LineBundle X) (a : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 29 | (m : X ⟶ X) (ts : List (Line.Bundles.structureModule X ⟶ L.sheaf)) : |
| 30 | MixedKoszulGeometricSupport.mixedSectionZeroSet (hyperplanePullbackSections L a m ts) = |
| 31 | {x : X | x ∉ Ample.LineBundles.sectionNonvanishing a ∧ ∀ t ∈ ts, m x ∉ Ample.LineBundles.sectionNonvanishing t} := by |
| 32 | ext x |
| 33 | change (∀ b ∈ hyperplanePullbackSections L a m ts, x ∉ Ample.LineBundles.sectionNonvanishing b.2) ↔ _ |
| 34 | simp only [hyperplanePullbackSections, List.forall_mem_cons, List.forall_mem_map] |
| 35 | simp only [LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange] |
| 36 | rfl |
| 37 | |
| 38 | theorem exists_hyperplane_mixedKoszul_finite_support |
| 39 | {K : Type u} [Field K] [Infinite K] [NoetherianSpace X] [IrreducibleSpace X] |
| 40 | (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) {n : ℕ} |
| 41 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 42 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 43 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) |
| 44 | (hgen : Section.ProjectivePresentation.SectionRatiosGenerate p s) |
| 45 | (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 46 | (m : X ⟶ X) [LocallyQuasiFinite m] |
| 47 | (g : ℕ) (hdim : topologicalKrullDim X ≤ (g + 1 : ℕ)) |
| 48 | (a : Line.Bundles.structureModule X ⟶ L.sheaf) (ha_nonzero : ∃ x, x ∈ Ample.LineBundles.sectionNonvanishing a) : |
| 49 | ∃ ts : List (Line.Bundles.structureModule X ⟶ L.sheaf), |
| 50 | ts.length = g ∧ |
| 51 | (∀ t ∈ ts, z (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing t) ∧ |
| 52 | (MixedKoszulGeometricSupport.mixedSectionZeroSet (hyperplanePullbackSections L a m ts)).Finite := by |
| 53 | obtain ⟨ts, hlen, hzts, hf⟩ := HyperplaneTorsionFiniteCuts.exists_hyperplane_cuts_with_finite_support |
| 54 | p L s hcover ha hgen z hz m g hdim a ha_nonzero |
| 55 | refine ⟨ts, hlen, hzts, ?_⟩ |
| 56 | rwa [hyperplanePullbackSections_zeroSet] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneMixedKoszulSupport |