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.AlgebraSectionModules |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Sheaf Overlap Equivalence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SheafOverlapEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A module sheaf identifies its global sections with tuples of open-cover sections that agree on pairwise intersections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {X : TopCat.{u}} |
| 17 | variable (F : TopCat.Presheaf (ModuleCat.{u} R) X) {ι : Type v} (U : ι → Opens X) |
| 18 | |
| 19 | def compatibleOpenSectionModule : Submodule R ((i : ι) → F.obj (op (U i))) where |
| 20 | carrier := {s | ∀ i j, F.map (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op (s i) = |
| 21 | F.map (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op (s j)} |
| 22 | zero_mem' := by intro i j; simp only [Pi.zero_apply, map_zero] |
| 23 | add_mem' := by intro x y hx hy i j; simp only [Pi.add_apply, map_add, hx i j, hy i j] |
| 24 | smul_mem' := by intro r x hx i j; simp only [Pi.smul_apply, map_smul, hx i j] |
| 25 | |
| 26 | def globalOpenSectionRestriction : F.obj (op ⊤) →ₗ[R] compatibleOpenSectionModule F U := |
| 27 | (LinearMap.pi (fun i => (F.map (homOfLE (show U i ≤ ⊤ from le_top)).op).hom)).codRestrict _ (by |
| 28 | intro x i j |
| 29 | change (F.map (homOfLE (show U i ⊓ U j ≤ U i from inf_le_left)).op) |
| 30 | ((F.map (homOfLE (show U i ≤ ⊤ from le_top)).op) x) = |
| 31 | (F.map (homOfLE (show U i ⊓ U j ≤ U j from inf_le_right)).op) |
| 32 | ((F.map (homOfLE (show U j ≤ ⊤ from le_top)).op) x) |
| 33 | simp only [← ConcreteCategory.comp_apply, ← F.map_comp] |
| 34 | rfl) |
| 35 | |
| 36 | theorem globalOpenSectionRestriction_bijective (hF : F.IsSheaf) (hU : iSup U = ⊤) : |
| 37 | Function.Bijective (globalOpenSectionRestriction F U) := by |
| 38 | let G : TopCat.Sheaf (ModuleCat.{u} R) X := ⟨F, hF⟩ |
| 39 | have cover : (⊤ : Opens X) ≤ iSup U := hU.ge |
| 40 | constructor |
| 41 | · intro x y hxy |
| 42 | let s := globalOpenSectionRestriction F U x |
| 43 | obtain ⟨z, _, hz⟩ := G.existsUnique_gluing' U ⊤ (fun i => (U i).leTop) cover s.val s.property |
| 44 | apply (hz x (fun _ => rfl)).trans |
| 45 | apply (hz y ?_).symm |
| 46 | intro i |
| 47 | exact (congrArg (fun t : compatibleOpenSectionModule F U => t.val i) hxy).symm |
| 48 | · intro s |
| 49 | obtain ⟨z, hz, _⟩ := G.existsUnique_gluing' U ⊤ (fun i => (U i).leTop) cover s.val s.property |
| 50 | exact ⟨z, Subtype.ext (funext hz)⟩ |
| 51 | |
| 52 | def globalOpenSectionEquiv (hF : F.IsSheaf) (hU : iSup U = ⊤) : |
| 53 | F.obj (op ⊤) ≃ₗ[R] compatibleOpenSectionModule F U := |
| 54 | LinearEquiv.ofBijective (globalOpenSectionRestriction F U) (globalOpenSectionRestriction_bijective F U hF hU) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SheafOverlapEquivalence |