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.Tensor.ScalarSectionValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionValueAdditive |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.SectionNonvanishing |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.LinearCombinationNonvanishing |
| 5 | import Mathlib.LinearAlgebra.TensorProduct.Finiteness |
| 6 | |
| 7 | /-! # Section Spanning -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionSpanning |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Surjective section comparison over any original coefficient ring expresses actual pulled-back sections as finite scalar combinations. This permits quotient and residue comparisons without discarding the actual sheaf pullback or scalar functions. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped TensorProduct |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 18 | variable (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) (q : B →+* Γ(Y, ⊤)) |
| 19 | variable (hq : q.comp (algebraMap R B) = a.appTop.hom.comp c) |
| 20 | |
| 21 | theorem coefficientTensorComparison_scalarSectionValue (b : B) |
| 22 | (x : (ModulePresheaf.coefficientModulePresheaf c M).obj (op ⊤)) : |
| 23 | (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 24 | Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤ (b ⊗ₜ[R] x)) = |
| 25 | Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M) |
| 26 | (Scalar.SectionValues.scalarSection (q b) (Ample.LineBundles.pullbackSection a ((Global.Sections.moduleSectionHomEquiv M).symm x))) := by |
| 27 | have hv := (Pullback.SectionGlobalValue.pullbackSection_globalValue a ((Global.Sections.moduleSectionHomEquiv M).symm x)).trans |
| 28 | (congrArg (((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app ⊤) |
| 29 | ((Global.Sections.moduleSectionHomEquiv M).apply_symm_apply x)) |
| 30 | have hs := (Scalar.SectionValues.scalarSection_globalValue (q b) |
| 31 | (Ample.LineBundles.pullbackSection a ((Global.Sections.moduleSectionHomEquiv M).symm x))).trans |
| 32 | (congrArg (fun v : Γ((Scheme.Modules.pullback a).obj M, ⊤) => q b • v) hv) |
| 33 | have h := Module.TensorSectionValues.moduleSectionTensorComparisonApp_value a c M q hq ⊤ b x |
| 34 | change (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 35 | Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤ (b ⊗ₜ[R] x)) = |
| 36 | (Y.presheaf.map (𝟙 (op (⊤ : Y.Opens))) (q b)) • |
| 37 | (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 38 | ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app ⊤ x) at h |
| 39 | have h' : (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 40 | Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤ (b ⊗ₜ[R] x)) = |
| 41 | q b • (show Γ((Scheme.Modules.pullback a).obj M, ⊤) from |
| 42 | ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app ⊤ x) := by |
| 43 | simpa only [Y.presheaf.map_id, CommRingCat.id_apply] using h |
| 44 | exact h'.trans hs.symm |
| 45 | |
| 46 | theorem coefficient_sections_spanned_of_tensor_surjective |
| 47 | (h : Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤)) |
| 48 | (t : Line.Bundles.structureModule Y ⟶ (Scheme.Modules.pullback a).obj M) : |
| 49 | ∃ (k : ℕ) (b : Fin k → B) (s : Fin k → (Line.Bundles.structureModule X ⟶ M)), |
| 50 | t = ∑ i, Scalar.SectionValues.scalarSection (q (b i)) (Ample.LineBundles.pullbackSection a (s i)) := by |
| 51 | let F : TensorProduct R B ((ModulePresheaf.coefficientModulePresheaf c M).obj (op ⊤)) →+ |
| 52 | Γ((Scheme.Modules.pullback a).obj M, ⊤) := |
| 53 | (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤).toAddMonoidHom |
| 54 | obtain ⟨z, hz⟩ := h (Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M) t) |
| 55 | obtain ⟨k, b, x, hzx⟩ := TensorProduct.exists_sum_tmul_eq z |
| 56 | let s : Fin k → (Line.Bundles.structureModule X ⟶ M) := fun i => (Global.Sections.moduleSectionHomEquiv M).symm (x i) |
| 57 | refine ⟨k, b, s, (Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M)).injective ?_⟩ |
| 58 | calc |
| 59 | Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M) t = F z := hz.symm |
| 60 | _ = F (∑ i, b i ⊗ₜ[R] x i) := congrArg F hzx |
| 61 | _ = ∑ i, F (b i ⊗ₜ[R] x i) := map_sum F _ _ |
| 62 | _ = ∑ i, Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M) |
| 63 | (Scalar.SectionValues.scalarSection (q (b i)) (Ample.LineBundles.pullbackSection a (s i))) := by |
| 64 | apply Finset.sum_congr rfl |
| 65 | intro i _ |
| 66 | exact coefficientTensorComparison_scalarSectionValue a c M q hq (b i) (x i) |
| 67 | _ = Global.Sections.moduleSectionHomEquiv ((Scheme.Modules.pullback a).obj M) |
| 68 | (∑ i, Scalar.SectionValues.scalarSection (q (b i)) (Ample.LineBundles.pullbackSection a (s i))) := |
| 69 | (Module.SectionValueAdditive.moduleSectionHomEquiv_sum ((Scheme.Modules.pullback a).obj M) Finset.univ _).symm |
| 70 | |
| 71 | theorem coefficient_exists_section_nonvanishing_of_tensor_surjective |
| 72 | (L : Line.Bundles.LineBundle X) |
| 73 | (h : Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c L.sheaf q hq ⊤)) |
| 74 | (y : Y) (t : Line.Bundles.structureModule Y ⟶ (L.pullback a).sheaf) |
| 75 | (hy : y ∈ Ample.LineBundles.sectionNonvanishing t) : |
| 76 | ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, a y ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 77 | obtain ⟨k, b, s, ht⟩ := coefficient_sections_spanned_of_tensor_surjective a c L.sheaf q hq h t |
| 78 | have hy' : y ∈ Ample.LineBundles.sectionNonvanishing (∑ i, Scalar.SectionValues.scalarSection (q (b i)) (Ample.LineBundles.pullbackSection a (s i))) := |
| 79 | (congrArg (fun z => y ∈ Ample.LineBundles.sectionNonvanishing z) ht).mp hy |
| 80 | obtain ⟨i, _, hi⟩ := (L.pullback a).mem_sectionNonvanishing_sum Finset.univ |
| 81 | (fun i => Scalar.SectionValues.scalarSection (q (b i)) (Ample.LineBundles.pullbackSection a (s i))) y hy' |
| 82 | have hiy := Scalar.SectionNonvanishing.scalarSection_nonvanishing_le (L.pullback a) (q (b i)) (Ample.LineBundles.pullbackSection a (s i)) hi |
| 83 | exact ⟨s i, (congrArg (fun V : Y.Opens => y ∈ V) |
| 84 | (LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange a L (s i))).mp hiy⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionSpanning |