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.Algebra.Category.ModuleCat.Sheaf.PullbackFree |
| 3 | |
| 4 | /-! # Open Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # LineBundleCycles: actual module-sheaf pullback preserves algebraic line bundles -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | def LineBundle.OpenRestriction.Cycles.modulePullbackUnitIso {X Y : Scheme.{0}} (f : X ⟶ Y) : |
| 17 | (Scheme.Modules.pullback f).obj (DivisorClass.Chern.Line.Bundles.Construction.structureModule Y) ≅ |
| 18 | DivisorClass.Chern.Line.Bundles.Construction.structureModule X := by |
| 19 | have : (SheafOfModules.pushforward f.toRingCatSheafHom).IsRightAdjoint := |
| 20 | inferInstanceAs ((Scheme.Modules.pushforward f).IsRightAdjoint) |
| 21 | have : PreservesLimit (Functor.empty.{0} Y.Opens) (TopologicalSpace.Opens.map f.base) := |
| 22 | preservesLimit_of_preserves_limit_cone (isTerminalTop : IsTerminal (⊤ : Y.Opens)) |
| 23 | ((isLimitMapConeEmptyConeEquiv (TopologicalSpace.Opens.map f.base) (⊤ : Y.Opens)).symm |
| 24 | (show IsTerminal ((TopologicalSpace.Opens.map f.base).obj ⊤) from isTerminalTop)) |
| 25 | have : (TopologicalSpace.Opens.map f.base).Final := inferInstance |
| 26 | have hu : IsIso (SheafOfModules.pullbackObjUnitToUnit f.toRingCatSheafHom) := |
| 27 | SheafOfModules.instIsIsoPullbackObjUnitToUnitOfFinal f.toRingCatSheafHom |
| 28 | exact @asIso _ _ _ _ (SheafOfModules.pullbackObjUnitToUnit f.toRingCatSheafHom) hu |
| 29 | |
| 30 | def LineBundle.OpenRestriction.Cycles.lineBundlePullbackTrivialization {X Y : Scheme.{0}} (f : X ⟶ Y) (M : Y.Modules) |
| 31 | (U : Y.Opens) (e : M.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 32 | (V : X.Opens) (hV : V ≤ f ⁻¹ᵁ U) : |
| 33 | ((Scheme.Modules.pullback f).obj M).restrict V.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule V.toScheme := |
| 34 | (Scheme.Modules.restrictFunctorIsoPullback V.ι).app ((Scheme.Modules.pullback f).obj M) ≪≫ |
| 35 | (Scheme.Modules.pullbackComp V.ι f).app M ≪≫ |
| 36 | (Scheme.Modules.pullbackCongr (f.resLE_comp_ι hV).symm).app M ≪≫ |
| 37 | ((Scheme.Modules.pullbackComp (f.resLE U V hV) U.ι).app M).symm ≪≫ |
| 38 | (Scheme.Modules.pullback (f.resLE U V hV)).mapIso |
| 39 | (((Scheme.Modules.restrictFunctorIsoPullback U.ι).app M).symm ≪≫ e) ≪≫ |
| 40 | LineBundle.OpenRestriction.Cycles.modulePullbackUnitIso (f.resLE U V hV) |
| 41 | |
| 42 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.pullback {X Y : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle Y) (f : X ⟶ Y) : |
| 43 | LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X where |
| 44 | sheaf := (Scheme.Modules.pullback f).obj L.sheaf |
| 45 | locallyTrivial x := |
| 46 | ⟨f ⁻¹ᵁ L.trivializingOpen (f x), L.mem_trivializingOpen (f x), |
| 47 | ⟨LineBundle.OpenRestriction.Cycles.lineBundlePullbackTrivialization f L.sheaf (L.trivializingOpen (f x)) |
| 48 | (L.trivialization (f x)) _ le_rfl⟩⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | /-! |
| 53 | # LineBundleCycles: restriction of actual algebraic line bundles to open subschemes |
| 54 | |
| 55 | The restricted local trivializations are obtained using the genuine restriction |
| 56 | functors and their composition isomorphisms. This applies to arbitrary open subschemes, including singular integral supports. |
| 57 | -/ |
| 58 | |
| 59 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 60 | |
| 61 | namespace LineBundle.OpenRestriction.Cycles.LineBundleConstruction |
| 62 | |
| 63 | /-- Pull a genuine local frame back along an open immersion. -/ |
| 64 | def restrictFrameAlongOpen {X Y : Scheme} (f : Y ⟶ X) [IsOpenImmersion f] |
| 65 | (M : X.Modules) (U : X.Opens) (e : M.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) : |
| 66 | (M.restrict f).restrict (f ⁻¹ᵁ U).ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule (f ⁻¹ᵁ U).toScheme := |
| 67 | ((Scheme.Modules.restrictFunctorComp (f ⁻¹ᵁ U).ι f).app M).symm ≪≫ |
| 68 | (Scheme.Modules.restrictFunctorCongr (morphismRestrict_ι f U).symm).app M ≪≫ |
| 69 | (Scheme.Modules.restrictFunctorComp (f ∣_ U) U.ι).app M ≪≫ |
| 70 | (Scheme.Modules.restrictFunctor (f ∣_ U)).mapIso e ≪≫ Scheme.Modules.restrictUnitIso (f ∣_ U) |
| 71 | |
| 72 | end LineBundle.OpenRestriction.Cycles.LineBundleConstruction |
| 73 | |
| 74 | variable {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 75 | |
| 76 | /-- Restriction of the actual module sheaf, with its induced rank-one local frames. -/ |
| 77 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.restrictToOpen {Y : Scheme.{0}} (f : Y ⟶ X) |
| 78 | [IsOpenImmersion f] : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle Y where |
| 79 | sheaf := L.sheaf.restrict f |
| 80 | locallyTrivial y := ⟨f ⁻¹ᵁ L.trivializingOpen (f y), L.mem_trivializingOpen (f y), |
| 81 | ⟨LineBundle.OpenRestriction.Cycles.LineBundleConstruction.restrictFrameAlongOpen f L.sheaf (L.trivializingOpen (f y)) (L.trivialization (f y))⟩⟩ |
| 82 | |
| 83 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.restrictToOpenPullbackIso {Y : Scheme.{0}} (f : Y ⟶ X) [IsOpenImmersion f] : |
| 84 | (L.restrictToOpen f).sheaf ≅ (L.pullback f).sheaf := |
| 85 | (Scheme.Modules.restrictFunctorIsoPullback f).app L.sheaf |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Divisors.LineBundles |