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 Mathlib.AlgebraicGeometry.AffineScheme |
| 2 | import Mathlib.AlgebraicGeometry.Modules.Sheaf |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Module Map Local Mono -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ModuleMapLocalMono |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Injectivity on affine sections detects actual monomorphisms of module sheaves. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem moduleMap_mono_of_nonempty_affine_sections_injective |
| 22 | {X : Scheme.{u}} {M N : X.Modules} (a : M ⟶ N) |
| 23 | (ha : ∀ U : X.affineOpens, (U.1 : Set X).Nonempty → Function.Injective (a.app U.1)) : Mono a := by |
| 24 | constructor |
| 25 | intro Z g h he |
| 26 | apply SheafOfModules.hom_ext |
| 27 | apply PresheafOfModules.hom_ext |
| 28 | intro U |
| 29 | apply ModuleCat.hom_ext |
| 30 | apply LinearMap.ext |
| 31 | intro s |
| 32 | have hc (x : U.unop) : ∃ V : X.affineOpens, x.1 ∈ V.1 ∧ V.1 ≤ U.unop := by |
| 33 | obtain ⟨_, ⟨V, hV, rfl⟩, hx, hVU⟩ := |
| 34 | X.isBasis_affineOpens.exists_subset_of_mem_open x.2 U.unop.isOpen |
| 35 | exact ⟨⟨V, hV⟩, hx, hVU⟩ |
| 36 | choose V hx hVU using hc |
| 37 | let F : TopCat.Sheaf AddCommGrpCat X := ⟨M.presheaf, M.isSheaf⟩ |
| 38 | apply F.eq_of_locally_eq' (fun x => (V x).1) U.unop |
| 39 | (fun x => homOfLE (hVU x)) |
| 40 | (by intro x hxU; exact Opens.mem_iSup.mpr ⟨⟨x, hxU⟩, hx ⟨x, hxU⟩⟩) |
| 41 | intro x |
| 42 | let j := (homOfLE (hVU x)).op |
| 43 | apply ha (V x) ⟨x.1, hx x⟩ |
| 44 | have hh := congrArg (fun k : Z ⟶ N => k.app (V x).1 (Z.presheaf.map j s)) he |
| 45 | change a.app (V x).1 (g.app (V x).1 (Z.presheaf.map j s)) = |
| 46 | a.app (V x).1 (h.app (V x).1 (Z.presheaf.map j s)) at hh |
| 47 | exact (congrArg (a.app (V x).1) (PresheafOfModules.naturality_apply g.val j s)).symm.trans |
| 48 | (hh.trans (congrArg (a.app (V x).1) (PresheafOfModules.naturality_apply h.val j s))) |
| 49 | |
| 50 | theorem moduleMap_mono_of_affine_sections_injective |
| 51 | {X : Scheme.{u}} {M N : X.Modules} (a : M ⟶ N) |
| 52 | (ha : ∀ U : X.affineOpens, Function.Injective (a.app U.1)) : Mono a := |
| 53 | moduleMap_mono_of_nonempty_affine_sections_injective a (fun U _ => ha U) |
| 54 | |
| 55 | end Construction |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ModuleMapLocalMono |