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.Flat.FieldSectionSpanning |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.LinearCombinationNonvanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FieldExtensionReflection |
| 4 | |
| 5 | /-! # Degree Generation Field Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pointwise global generation in a fixed tensor degree descends through |
| 12 | field extensions by the actual flat section base-change map. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem Line.Bundles.LineBundle.pointwise_sections_of_fieldExtension |
| 17 | {K F : Type u} [Field K] [Field F] {X : Scheme.{u}} |
| 18 | (p : X ⟶ Spec (.of K)) [IsProper p] (φ : CommRingCat.of K ⟶ CommRingCat.of F) |
| 19 | (L : Line.Bundles.LineBundle X) |
| 20 | (hL : ∀ y : (Limits.pullback p (Spec.map φ) : Scheme.{u}), |
| 21 | ∃ t : Line.Bundles.structureModule (Limits.pullback p (Spec.map φ)) ⟶ |
| 22 | (L.pullback (pullback.fst p (Spec.map φ))).sheaf, y ∈ Ample.LineBundles.sectionNonvanishing t) : |
| 23 | ∀ x : X, ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 24 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace p |
| 25 | have hp : IsSeparated (p ≫ terminal.from (Spec (.of K))) := inferInstance |
| 26 | have : IsSeparated (terminal.from X) := (terminal.comp_from p) ▸ hp |
| 27 | have : Surjective (Spec.map φ) := Smooth.FieldExtensionReflection.fieldSpecMap_surjective φ |
| 28 | let := ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 29 | (Field.toIsField K)).toField |
| 30 | have : Module.Flat Γ(Spec (.of K), ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra (Spec.map φ)) := inferInstance |
| 31 | let a := pullback.fst p (Spec.map φ) |
| 32 | let b := pullback.snd p (Spec.map φ) |
| 33 | intro x |
| 34 | obtain ⟨y, hy⟩ := a.surjective x |
| 35 | obtain ⟨t, ht⟩ := hL y |
| 36 | obtain ⟨n, c, s, he⟩ := HilbertConstruction.Flat.FieldSectionSpanning.flat_fieldPullback_sections_spanned |
| 37 | (IsPullback.of_hasPullback p (Spec.map φ)) L t |
| 38 | have hsum : y ∈ Ample.LineBundles.sectionNonvanishing |
| 39 | (∑ i, Coefficient.ScalarSections.coefficientScalarSection b (c i) (Ample.LineBundles.pullbackSection a (s i))) := |
| 40 | (congrArg (fun v => y ∈ Ample.LineBundles.sectionNonvanishing v) he).mp ht |
| 41 | obtain ⟨i, _, hi⟩ := Section.LinearCombinationNonvanishing.pulledBack_linearCombination_nonvanishing a b L Finset.univ c s y hsum |
| 42 | exact ⟨s i, hy ▸ hi⟩ |
| 43 | |
| 44 | theorem Line.Bundles.LineBundle.finite_section_cover_of_pointwise {X : Scheme.{u}} [CompactSpace X] |
| 45 | (L : Line.Bundles.LineBundle X) |
| 46 | (h : ∀ x : X, ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, x ∈ Ample.LineBundles.sectionNonvanishing s) : |
| 47 | ∃ (n : ℕ) (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)), |
| 48 | ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 49 | classical |
| 50 | choose s hs using h |
| 51 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover |
| 52 | (fun x => (Ample.LineBundles.sectionNonvanishing (s x) : Set X)) |
| 53 | (fun x => (Ample.LineBundles.sectionNonvanishing (s x)).isOpen) |
| 54 | (fun x _ => Set.mem_iUnion.mpr ⟨x, hs x⟩) |
| 55 | let e := Fintype.equivFin t |
| 56 | let v : Fin (Fintype.card t + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf) := |
| 57 | Fin.lastCases 0 (fun i => s (e.symm i).val) |
| 58 | refine ⟨Fintype.card t, v, fun x => ?_⟩ |
| 59 | obtain ⟨y, hy, hxy⟩ := Set.mem_iUnion₂.mp (ht (Set.mem_univ x)) |
| 60 | refine ⟨(e ⟨y, hy⟩).castSucc, ?_⟩ |
| 61 | have he : (e.symm (e ⟨y, hy⟩)).val = y := congrArg Subtype.val (e.symm_apply_apply ⟨y, hy⟩) |
| 62 | simpa only [v, Fin.lastCases_castSucc, he, SetLike.mem_coe] using hxy |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |