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.Intrinsic.ModuleDescentRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.CechObjectDescent |
| 3 | |
| 4 | /-! # Open Module Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.OpenModuleCech.IntrinsicOpenModuleCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native descent comparisons on literal open subsets, proved with |
| 11 | arbitrary recovered modules before specializing to open direct images. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ModuleDescentRecovery.NativeModuleDescentRecovery |
| 17 | |
| 18 | private def cechOfRestrictions {X : Scheme.{u}} {ι : Type u} (U : ι → X.Opens) |
| 19 | (M : ι → X.Modules) |
| 20 | (e : ∀ V : X.Opens, ∀ i j, V ≤ U i → V ≤ U j → |
| 21 | ((Scheme.Modules.pullback V.ι).obj (M i) ≅ (Scheme.Modules.pullback V.ι).obj (M j))) |
| 22 | (hid : ∀ V i (h : V ≤ U i), e V i i h h = Iso.refl _) |
| 23 | (hcomp : ∀ V i j k (hi : V ≤ U i) (hj : V ≤ U j) (hk : V ≤ U k), |
| 24 | (e V i j hi hj).hom ≫ (e V j k hj hk).hom = (e V i k hi hk).hom) |
| 25 | (hrefine : ∀ {V W : X.Opens} (h : W ≤ V) i j (hi : V ≤ U i) (hj : V ≤ U j), |
| 26 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap h) (e V i j hi hj).hom = |
| 27 | (e W i j (h.trans hi) (h.trans hj)).hom) : OpenPullback.CechObjectDescent.OpenPullbackCechIsos U M where |
| 28 | iso i j := e (U i ⊓ U j) i j inf_le_left inf_le_right |
| 29 | identity i := hid (U i ⊓ U i) i inf_le_left |
| 30 | cocycle i j k := by |
| 31 | let V := (U i ⊓ U j) ⊓ U k |
| 32 | have a := hrefine (show V ≤ U i ⊓ U j from inf_le_left) i j inf_le_left inf_le_right |
| 33 | have b := hrefine (show V ≤ U j ⊓ U k from |
| 34 | le_inf (inf_le_left.trans inf_le_right) inf_le_right) j k inf_le_left inf_le_right |
| 35 | have c := hrefine (show V ≤ U i ⊓ U k from |
| 36 | le_inf (inf_le_left.trans inf_le_left) inf_le_right) i k inf_le_left inf_le_right |
| 37 | exact (congrArg₂ (fun x y => x ≫ y) a b).trans |
| 38 | ((hcomp V i j k (inf_le_left.trans inf_le_left) |
| 39 | (inf_le_left.trans inf_le_right) inf_le_right).trans c.symm) |
| 40 | |
| 41 | variable {X : Scheme.{u}} {ι : Type u} (U : ι → X.Opens) |
| 42 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun i => (U i).ι)) |
| 43 | (M : ι → X.Modules) |
| 44 | (r : ∀ i, (Scheme.Modules.pullback (U i).ι).obj (M i) ≅ D.obj i) |
| 45 | |
| 46 | def onOpen (V : X.Opens) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 47 | (Scheme.Modules.pullback V.ι).obj (M i) ≅ |
| 48 | (Scheme.Modules.pullback V.ι).obj (M j) := |
| 49 | ModuleDescentRecovery.NativeModuleDescentRecovery.ambientIso D M r V.ι i j |
| 50 | (X.homOfLE hi) (X.homOfLE hj) (X.homOfLE_ι hi) (X.homOfLE_ι hj) |
| 51 | |
| 52 | private theorem onOpen_hom (V : X.Opens) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 53 | (onOpen U D M r V i j hi hj).hom = |
| 54 | (ModuleDescentRecovery.NativeModuleDescentRecovery.ambientIso D M r V.ι i j |
| 55 | (X.homOfLE hi) (X.homOfLE hj) (X.homOfLE_ι hi) (X.homOfLE_ι hj)).hom := rfl |
| 56 | |
| 57 | private theorem openInclusion_comp {V W Z : X.Opens} (h : W ≤ V) (k : V ≤ Z) : |
| 58 | X.homOfLE h ≫ X.homOfLE k = X.homOfLE (h.trans k) := by |
| 59 | apply (cancel_mono Z.ι).mp |
| 60 | rw [Category.assoc, X.homOfLE_ι k, X.homOfLE_ι h, X.homOfLE_ι (h.trans k)] |
| 61 | |
| 62 | theorem onOpen_refine {V W : X.Opens} (h : W ≤ V) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 63 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap h) (onOpen U D M r V i j hi hj).hom = |
| 64 | (onOpen U D M r W i j (h.trans hi) (h.trans hj)).hom := by |
| 65 | exact (ModuleDescentRecovery.moduleMapPullbackAlong_eq_pullHom (OpenModule.MapRefinement.openSubsetOverMap h) |
| 66 | (onOpen U D M r V i j hi hj).hom).trans |
| 67 | (ModuleDescentRecovery.NativeModuleDescentRecovery.ambientIso_pullback D M r |
| 68 | (X.homOfLE h) V.ι W.ι (X.homOfLE_ι h) i j |
| 69 | (X.homOfLE hi) (X.homOfLE hj) (X.homOfLE_ι hi) (X.homOfLE_ι hj) |
| 70 | (X.homOfLE (h.trans hi)) (X.homOfLE (h.trans hj)) |
| 71 | (X.homOfLE_ι (h.trans hi)) (X.homOfLE_ι (h.trans hj)) |
| 72 | (openInclusion_comp h hi) (openInclusion_comp h hj)) |
| 73 | |
| 74 | private theorem onOpen_cocycle (V : X.Opens) (i j k : ι) |
| 75 | (hi : V ≤ U i) (hj : V ≤ U j) (hk : V ≤ U k) : |
| 76 | (onOpen U D M r V i j hi hj).hom ≫ (onOpen U D M r V j k hj hk).hom = |
| 77 | (onOpen U D M r V i k hi hk).hom := by |
| 78 | have a := onOpen_hom U D M r V i j hi hj |
| 79 | have b := onOpen_hom U D M r V j k hj hk |
| 80 | have c := onOpen_hom U D M r V i k hi hk |
| 81 | exact (congrArg₂ (fun x y => x ≫ y) a b).trans |
| 82 | ((ModuleDescentRecovery.NativeModuleDescentRecovery.ambientIso_comp D M r V.ι i j k |
| 83 | (X.homOfLE hi) (X.homOfLE hj) (X.homOfLE hk) |
| 84 | (X.homOfLE_ι hi) (X.homOfLE_ι hj) (X.homOfLE_ι hk)).trans c.symm) |
| 85 | |
| 86 | def cech : OpenPullback.CechObjectDescent.OpenPullbackCechIsos U M := |
| 87 | cechOfRestrictions U M (onOpen U D M r) |
| 88 | (fun V i hi => ModuleDescentRecovery.NativeModuleDescentRecovery.ambientIso_self D M r V.ι i (X.homOfLE hi) (X.homOfLE_ι hi)) |
| 89 | (onOpen_cocycle U D M r) (onOpen_refine U D M r) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.OpenModuleCech.IntrinsicOpenModuleCech |