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.Coefficient.SectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmptyModuleSections |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Disjoint Coefficient Section Product -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DisjointCoefficientSectionProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Sections on a disjoint open cover form the product of the actual |
| 12 | section modules, with the original coefficient-ring action. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | universe u |
| 15 | |
| 16 | def disjointCoefficientSectionProductEquiv |
| 17 | {R : Type u} [CommRing R] {X : Scheme.{u}} (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 18 | {ι : Type u} (U : ι → X.Opens) (hU : ∀ x : X, ∃ i, x ∈ U i) |
| 19 | (hdis : Pairwise (fun i j => Disjoint (U i) (U j))) : |
| 20 | (Coefficient.SectionEvaluation.coefficientSectionFunctor c ⊤).obj M ≃ₗ[R] |
| 21 | ∀ i, (Coefficient.SectionEvaluation.coefficientSectionFunctor c (U i)).obj M := by |
| 22 | classical |
| 23 | let P := Coefficient.ModulePresheaf.coefficientModulePresheaf c M |
| 24 | let f := LinearMap.pi (fun i => (P.map (U i).leTop.op).hom) |
| 25 | let F : TopCat.Sheaf AddCommGrpCat.{u} X := ⟨M.presheaf, M.isSheaf⟩ |
| 26 | have hcover : (⊤ : X.Opens) ≤ iSup U := by |
| 27 | intro x _ |
| 28 | exact Opens.mem_iSup.mpr (hU x) |
| 29 | have hglue (s : ∀ i, (Coefficient.SectionEvaluation.coefficientSectionFunctor c (U i)).obj M) : |
| 30 | ∃! m : (Coefficient.SectionEvaluation.coefficientSectionFunctor c ⊤).obj M, f m = s := by |
| 31 | have hs : ∀ i j, |
| 32 | M.presheaf.map (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op (s i) = |
| 33 | M.presheaf.map (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op (s j) := by |
| 34 | intro i j |
| 35 | by_cases hij : i = j |
| 36 | · subst j |
| 37 | rfl |
| 38 | · exact (EmptyModuleSections.moduleSections_subsingleton_of_empty M (disjoint_iff.mp (hdis hij))).elim _ _ |
| 39 | have hs' : TopCat.Presheaf.IsCompatible F.obj U (fun i => s i) := by |
| 40 | intro i j |
| 41 | exact hs i j |
| 42 | obtain ⟨m, hm, huniq⟩ := F.existsUnique_gluing' U ⊤ (fun i => (U i).leTop) hcover (fun i => s i) hs' |
| 43 | refine ⟨m, funext hm, ?_⟩ |
| 44 | intro m' hm' |
| 45 | exact huniq m' (fun i => congrFun hm' i) |
| 46 | apply LinearEquiv.ofBijective f |
| 47 | constructor |
| 48 | · intro m n h |
| 49 | obtain ⟨z, _, hz⟩ := hglue (f m) |
| 50 | exact (hz m rfl).trans (hz n h.symm).symm |
| 51 | · intro s |
| 52 | obtain ⟨m, hm, _⟩ := hglue s |
| 53 | exact ⟨m, hm⟩ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DisjointCoefficientSectionProduct |