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.RepresentationTheory.Theta.Geometric.LineBundleIsoGluing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff |
| 3 | |
| 4 | /-! # Disjoint Line Iso Gluing -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.DisjointLineIsoGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual module isomorphisms on disjoint open fibers glue, with their |
| 11 | native pullback restrictions retained. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def openOverPullbackIso {X : Scheme.{u}} (U : X.Opens) : |
| 19 | _root_.SheafOfModules.overFunctor X.ringCatSheaf U ⋙ (Scheme.Modules.overEquiv U).functor ≅ |
| 20 | Scheme.Modules.pullback U.ι := |
| 21 | Scheme.Modules.overFunctorEquiv U ≪≫ Scheme.Modules.restrictFunctorIsoPullback U.ι |
| 22 | |
| 23 | def nativeOpenIsoToOver {X : Scheme.{u}} (M N : X.Modules) (U : X.Opens) |
| 24 | (e : (Scheme.Modules.pullback U.ι).obj M ≅ (Scheme.Modules.pullback U.ι).obj N) : |
| 25 | M.over U ≅ N.over U := |
| 26 | (Scheme.Modules.overEquiv U).fullyFaithfulFunctor.preimageIso |
| 27 | ((openOverPullbackIso U).app M ≪≫ e ≪≫ ((openOverPullbackIso U).app N).symm) |
| 28 | |
| 29 | theorem nativeOpenIsoToOver_restrict {X : Scheme.{u}} (M N : X.Modules) (U : X.Opens) |
| 30 | (e : (Scheme.Modules.pullback U.ι).obj M ≅ (Scheme.Modules.pullback U.ι).obj N) |
| 31 | (g : M ⟶ N) (hg : g.over U = (nativeOpenIsoToOver M N U e).hom) : |
| 32 | (Scheme.Modules.pullback U.ι).map g = e.hom := by |
| 33 | have h := (openOverPullbackIso U).hom.naturality g |
| 34 | change (Scheme.Modules.overEquiv U).functor.map (g.over U) ≫ |
| 35 | ((openOverPullbackIso U).app N).hom = |
| 36 | ((openOverPullbackIso U).app M).hom ≫ (Scheme.Modules.pullback U.ι).map g at h |
| 37 | rw [hg] at h |
| 38 | simp only [nativeOpenIsoToOver, Functor.FullyFaithful.preimageIso_hom, |
| 39 | Functor.FullyFaithful.map_preimage, Iso.trans_hom, Iso.symm_hom, |
| 40 | Category.assoc, Iso.inv_hom_id, Category.comp_id] at h |
| 41 | exact ((cancel_epi ((openOverPullbackIso U).app M).hom).mp h).symm |
| 42 | |
| 43 | theorem overModuleHom_eq_of_empty {X : Scheme.{u}} (M N : X.Modules) |
| 44 | (U : X.Opens) (hU : U = ⊥) (f g : M.over U ⟶ N.over U) : f = g := by |
| 45 | let F : TopCat.Sheaf (Type u) X := AlgebraicGeometry.SheafCohomology.Projective.LinearHom.linearHomSheaf X.ringCatSheaf M N |
| 46 | let : Unique (F.obj.obj (op U)) := |
| 47 | Limits.Types.isTerminalEquivUnique _ (F.isTerminalOfEqEmpty hU) |
| 48 | have h : AlgebraicGeometry.SheafCohomology.Projective.ModuleHomGluing.linearHomLocalSection M N U f = AlgebraicGeometry.SheafCohomology.Projective.ModuleHomGluing.linearHomLocalSection M N U g := Subsingleton.elim _ _ |
| 49 | apply (_root_.SheafOfModules.toSheaf (X.ringCatSheaf.over U)).map_injective |
| 50 | exact congrArg Subtype.val h |
| 51 | |
| 52 | theorem exists_moduleIso_of_disjoint_open_cover {X : Scheme.{u}} (M N : X.Modules) |
| 53 | {I : Type u} (U : I → X.Opens) (hU : iSup U = ⊤) |
| 54 | (hdisj : ∀ i j, i ≠ j → U i ⊓ U j = ⊥) |
| 55 | (e : ∀ i, (Scheme.Modules.pullback (U i).ι).obj M ≅ (Scheme.Modules.pullback (U i).ι).obj N) : |
| 56 | ∃ g : M ≅ N, ∀ i, (Scheme.Modules.pullback (U i).ι).map g.hom = (e i).hom := by |
| 57 | obtain ⟨g, hg⟩ := LineBundleIsoGluing.exists_moduleIso_of_localIsos M N U hU |
| 58 | (fun i => nativeOpenIsoToOver M N (U i) (e i)) (by |
| 59 | intro i j |
| 60 | by_cases hij : i = j |
| 61 | · subst j |
| 62 | rfl |
| 63 | · exact overModuleHom_eq_of_empty M N (U i ⊓ U j) (hdisj i j hij) _ _) |
| 64 | exact ⟨g, fun i => nativeOpenIsoToOver_restrict M N (U i) (e i) g.hom (hg i)⟩ |
| 65 | |
| 66 | theorem exists_moduleIso_on_locallyConstant_fibers {X : Scheme.{u}} (M N : X.Modules) |
| 67 | {I : Type u} (c : LocallyConstant X I) |
| 68 | (e : ∀ i, (Scheme.Modules.pullback (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c i).ι).obj M ≅ |
| 69 | (Scheme.Modules.pullback (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c i).ι).obj N) : |
| 70 | ∃ g : M ≅ N, ∀ i, |
| 71 | (Scheme.Modules.pullback (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c i).ι).map g.hom = (e i).hom := by |
| 72 | apply exists_moduleIso_of_disjoint_open_cover M N (AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff.locallyConstantFiber c) _ _ e |
| 73 | · apply top_unique |
| 74 | intro x _ |
| 75 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨c x, rfl⟩ |
| 76 | · intro i j hij |
| 77 | apply le_bot_iff.mp |
| 78 | intro x hx |
| 79 | exact (hij (hx.1.symm.trans hx.2)).elim |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.RepresentationTheory.Theta.Geometric.DisjointLineIsoGluing |