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.Scheme.SchemeIdealModule |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 3 | |
| 4 | /-! # Basis Presheaf Hom -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Module.BasisPresheafHom.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible linear maps on a basis extend to the actual |
| 11 | underlying abelian sheaves of scheme modules. -/ |
| 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 | include hB in |
| 21 | theorem moduleBasis_range_basis : Opens.IsBasis (Set.range (fun U : B => U.1)) := by |
| 22 | have he : Set.range (fun U : B => U.1) = B := by |
| 23 | ext U |
| 24 | exact ⟨fun ⟨V, hV⟩ => hV ▸ V.property, fun hU => ⟨⟨U, hU⟩, rfl⟩⟩ |
| 25 | exact he.symm ▸ hB |
| 26 | |
| 27 | def moduleBasisRestrictedHom : |
| 28 | (inducedFunctor (fun U : B => U.1)).op ⋙ M.presheaf ⟶ |
| 29 | (inducedFunctor (fun U : B => U.1)).op ⋙ N.presheaf where |
| 30 | app U := AddCommGrpCat.ofHom (φ U.unop).toAddMonoidHom |
| 31 | naturality {U V} f := by |
| 32 | ext m |
| 33 | exact hφ V.unop U.unop (leOfHom f.unop.hom) m |
| 34 | |
| 35 | def moduleBasisPresheafHom : M.presheaf ⟶ N.presheaf := |
| 36 | TopCat.Sheaf.restrictHomEquivHom M.presheaf ⟨N.presheaf, N.isSheaf⟩ |
| 37 | (moduleBasis_range_basis B hB) (moduleBasisRestrictedHom M N B φ hφ) |
| 38 | |
| 39 | theorem moduleBasisPresheafHom_app (U : B) (m : Γ(M, U.1)) : |
| 40 | (moduleBasisPresheafHom M N B hB φ hφ).app (op U.1) m = φ U m := |
| 41 | ConcreteCategory.congr_hom (TopCat.Sheaf.extend_hom_app M.presheaf ⟨N.presheaf, N.isSheaf⟩ |
| 42 | (moduleBasis_range_basis B hB) (moduleBasisRestrictedHom M N B φ hφ) U) m |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Module.BasisPresheafHom.BundleCycles |