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.Line.Bundles |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 3 | |
| 4 | /-! # Map Basis Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapBasisExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible linear maps on a topological basis extend to actual module-sheaf maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type v} (B : ι → X.Opens) (M N : X.Modules) |
| 17 | |
| 18 | structure ModuleBasisMap where |
| 19 | app : ∀ i, Γ(M, B i) →ₗ[Γ(X, B i)] Γ(N, B i) |
| 20 | naturality : ∀ i j (h : B i ≤ B j) (s : Γ(M, B j)), |
| 21 | app i (M.presheaf.map (homOfLE h).op s) = |
| 22 | N.presheaf.map (homOfLE h).op (app j s) |
| 23 | |
| 24 | namespace ModuleBasisMap |
| 25 | |
| 26 | variable {B M N} (D : ModuleBasisMap B M N) |
| 27 | |
| 28 | def presheafMap : |
| 29 | (inducedFunctor B).op ⋙ M.presheaf ⟶ (inducedFunctor B).op ⋙ N.presheaf where |
| 30 | app i := AddCommGrpCat.ofHom (D.app i.unop).toAddMonoidHom |
| 31 | naturality {i j} h := by |
| 32 | apply ConcreteCategory.hom_ext |
| 33 | intro s |
| 34 | exact D.naturality j.unop i.unop h.unop.hom.le s |
| 35 | |
| 36 | variable (hB : Opens.IsBasis (Set.range B)) |
| 37 | |
| 38 | def extendedPresheafMap : M.presheaf ⟶ N.presheaf := |
| 39 | TopCat.Sheaf.restrictHomEquivHom M.presheaf ⟨N.presheaf, N.isSheaf⟩ hB D.presheafMap |
| 40 | |
| 41 | theorem extendedPresheafMap_app (i : ι) (s : Γ(M, B i)) : |
| 42 | (D.extendedPresheafMap hB).app (.op (B i)) s = D.app i s := by |
| 43 | exact ConcreteCategory.congr_hom |
| 44 | (TopCat.Sheaf.extend_hom_app M.presheaf ⟨N.presheaf, N.isSheaf⟩ hB D.presheafMap i) s |
| 45 | |
| 46 | theorem extendedPresheafMap_smul (U : X.Opens) (r : Γ(X, U)) (s : Γ(M, U)) : |
| 47 | (D.extendedPresheafMap hB).app (.op U) (r • s) = |
| 48 | r • (D.extendedPresheafMap hB).app (.op U) s := by |
| 49 | apply N.isSheaf.section_ext |
| 50 | intro x hx |
| 51 | obtain ⟨V, ⟨i, rfl⟩, hxi, hi⟩ := Opens.isBasis_iff_nbhd.mp hB hx |
| 52 | refine ⟨B i, hi, hxi, ?_⟩ |
| 53 | have hn (z : Γ(M, U)) : |
| 54 | N.presheaf.map (homOfLE hi).op ((D.extendedPresheafMap hB).app (.op U) z) = |
| 55 | D.app i (M.presheaf.map (homOfLE hi).op z) := |
| 56 | (ConcreteCategory.congr_hom ((D.extendedPresheafMap hB).naturality (homOfLE hi).op) z).symm.trans |
| 57 | (D.extendedPresheafMap_app hB i _) |
| 58 | rw [hn, Scheme.Modules.map_smul, Scheme.Modules.map_smul, hn, map_smul] |
| 59 | |
| 60 | def extend : M ⟶ N where |
| 61 | val := { |
| 62 | app U := ModuleCat.ofHom { |
| 63 | toFun := (D.extendedPresheafMap hB).app U |
| 64 | map_add' := map_add ((D.extendedPresheafMap hB).app U).hom |
| 65 | map_smul' := D.extendedPresheafMap_smul hB U.unop } |
| 66 | naturality h := by |
| 67 | apply ModuleCat.hom_ext |
| 68 | apply LinearMap.ext |
| 69 | intro s |
| 70 | exact ConcreteCategory.congr_hom ((D.extendedPresheafMap hB).naturality h) s } |
| 71 | |
| 72 | theorem extend_app (i : ι) (s : Γ(M, B i)) : (D.extend hB).app (B i) s = D.app i s := |
| 73 | D.extendedPresheafMap_app hB i s |
| 74 | |
| 75 | end ModuleBasisMap |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapBasisExtension |