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.Divisors.LineBundles.Module.BasisPresheafHom |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ModuleBasisIso |
| 3 | |
| 4 | /-! # Module Hom Of Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ModuleHomOfBasis.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Basiswise linear maps glue to genuine scheme-module maps; |
| 11 | basiswise isomorphisms give actual module-sheaf isomorphisms. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | variable {X : Scheme.{0}} (M N : X.Modules) (B : Set X.Opens) (hB : Opens.IsBasis B) |
| 16 | (φ : ∀ U : B, Γ(M, U.1) →ₗ[Γ(X, U.1)] Γ(N, U.1)) |
| 17 | (hφ : ∀ (U V : B) (h : U.1 ≤ V.1) (m : Γ(M, V.1)), |
| 18 | φ U (M.presheaf.map (homOfLE h).op m) = N.presheaf.map (homOfLE h).op (φ V m)) |
| 19 | |
| 20 | theorem moduleBasisPresheafHom_smul (U : X.Opens) (r : Γ(X, U)) (m : Γ(M, U)) : |
| 21 | (Module.BasisPresheafHom.BundleCycles.moduleBasisPresheafHom M N B hB φ hφ).app (op U) (r • m) = |
| 22 | r • (Module.BasisPresheafHom.BundleCycles.moduleBasisPresheafHom M N B hB φ hφ).app (op U) m := by |
| 23 | let ψ := Module.BasisPresheafHom.BundleCycles.moduleBasisPresheafHom M N B hB φ hφ |
| 24 | apply N.isSheaf.section_ext |
| 25 | intro x hx |
| 26 | obtain ⟨V, hV, hxV, hVU⟩ := Opens.isBasis_iff_nbhd.mp hB hx |
| 27 | refine ⟨V, hVU, hxV, ?_⟩ |
| 28 | have hn (s : Γ(M, U)) := ConcreteCategory.congr_hom (ψ.naturality (homOfLE hVU).op) s |
| 29 | have ha (s : Γ(M, V)) := Module.BasisPresheafHom.BundleCycles.moduleBasisPresheafHom_app M N B hB φ hφ ⟨V, hV⟩ s |
| 30 | calc |
| 31 | N.presheaf.map (homOfLE hVU).op (ψ.app (op U) (r • m)) = |
| 32 | ψ.app (op V) (M.presheaf.map (homOfLE hVU).op (r • m)) := (hn _).symm |
| 33 | _ = φ ⟨V, hV⟩ (M.presheaf.map (homOfLE hVU).op (r • m)) := ha _ |
| 34 | _ = X.presheaf.map (homOfLE hVU).op r • φ ⟨V, hV⟩ (M.presheaf.map (homOfLE hVU).op m) := by |
| 35 | rw [Scheme.Modules.map_smul, map_smul] |
| 36 | _ = X.presheaf.map (homOfLE hVU).op r • N.presheaf.map (homOfLE hVU).op (ψ.app (op U) m) := |
| 37 | congrArg (fun s => X.presheaf.map (homOfLE hVU).op r • s) ((ha _).symm.trans (hn m)) |
| 38 | _ = N.presheaf.map (homOfLE hVU).op (r • ψ.app (op U) m) := |
| 39 | (Scheme.Modules.map_smul N (homOfLE hVU) r (ψ.app (op U) m)).symm |
| 40 | |
| 41 | def schemeModuleHomOfBasis : M ⟶ N := |
| 42 | ⟨PresheafOfModules.homMk (Module.BasisPresheafHom.BundleCycles.moduleBasisPresheafHom M N B hB φ hφ) |
| 43 | (fun U r m => moduleBasisPresheafHom_smul M N B hB φ hφ U.unop r m)⟩ |
| 44 | |
| 45 | theorem schemeModuleHomOfBasis_app (U : B) (m : Γ(M, U.1)) : |
| 46 | (schemeModuleHomOfBasis M N B hB φ hφ).app U.1 m = φ U m := |
| 47 | Module.BasisPresheafHom.BundleCycles.moduleBasisPresheafHom_app M N B hB φ hφ U m |
| 48 | |
| 49 | theorem schemeModuleHomOfBasis_isIso (hbij : ∀ U, Function.Bijective (φ U)) : |
| 50 | IsIso (schemeModuleHomOfBasis M N B hB φ hφ) := by |
| 51 | apply ModuleBasisIso.BundleCycles.schemeModule_isIso_of_basis _ hB |
| 52 | intro U hU |
| 53 | have he : ((schemeModuleHomOfBasis M N B hB φ hφ).app U : Γ(M, U) → Γ(N, U)) = φ ⟨U, hU⟩ := |
| 54 | funext (schemeModuleHomOfBasis_app M N B hB φ hφ ⟨U, hU⟩) |
| 55 | rw [he] |
| 56 | exact hbij ⟨U, hU⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ModuleHomOfBasis.BundleCycles |