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.OpenModule.MatchingRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.MapValueFunctoriality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.IsoValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.MapRefinement |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.IsoSlicePullback |
| 6 | |
| 7 | /-! # Cech Object Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.CechObjectDescent |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Native pullback isomorphisms on open intersections give the actual |
| 14 | matching-section line object. Compatibility is measured by the existing |
| 15 | canonical module pullback, so this adapter retains all pullback paths. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y : Scheme.{u}} |
| 21 | |
| 22 | def openPullbackIsoValue (f : Y ⟶ X) [IsOpenImmersion f] {M N : X.Modules} |
| 23 | (e : (Scheme.Modules.pullback f).obj M ≅ (Scheme.Modules.pullback f).obj N) |
| 24 | (U : X.Opens) (hU : U ≤ f.opensRange) : Γ(M, U) ≃ₗ[Γ(X, U)] Γ(N, U) := |
| 25 | OpenModule.IsoValues.openModuleIsoValue f |
| 26 | ((Scheme.Modules.restrictFunctorIsoPullback f).app M ≪≫ e ≪≫ |
| 27 | (Scheme.Modules.restrictFunctorIsoPullback f).symm.app N) U hU |
| 28 | |
| 29 | theorem openPullbackIsoValue_apply (f : Y ⟶ X) [IsOpenImmersion f] {M N : X.Modules} |
| 30 | (e : (Scheme.Modules.pullback f).obj M ≅ (Scheme.Modules.pullback f).obj N) |
| 31 | (U : X.Opens) (hU : U ≤ f.opensRange) (s : Γ(M, U)) : |
| 32 | openPullbackIsoValue f e U hU s = ModuleValues.openPullbackModuleValue f e.hom U hU s := |
| 33 | LinearMap.congr_fun (ModuleValues.openPullbackModuleValue_restriction f e.hom U hU) s |
| 34 | |
| 35 | theorem openPullbackModuleValue_natural (f : Y ⟶ X) [IsOpenImmersion f] {M N : X.Modules} |
| 36 | (a : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 37 | {U V : X.Opens} (h : V ≤ U) (hU : U ≤ f.opensRange) (hV : V ≤ f.opensRange) |
| 38 | (s : Γ(M, U)) : |
| 39 | ModuleValues.openPullbackModuleValue f a V hV (M.presheaf.map (homOfLE h).op s) = |
| 40 | N.presheaf.map (homOfLE h).op (ModuleValues.openPullbackModuleValue f a U hU s) := by |
| 41 | rw [← ModuleValues.openPullbackModuleValue_restriction, ← ModuleValues.openPullbackModuleValue_restriction] |
| 42 | exact OpenModule.MapValues.openModuleMapValue_natural f (ModuleValues.pullbackModuleRestrictionMap f a) h hU hV s |
| 43 | |
| 44 | theorem openPullbackModuleValue_identity (f : Y ⟶ X) [IsOpenImmersion f] (M : X.Modules) |
| 45 | (U : X.Opens) (hU : U ≤ f.opensRange) (s : Γ(M, U)) : |
| 46 | ModuleValues.openPullbackModuleValue f (𝟙 ((Scheme.Modules.pullback f).obj M)) U hU s = s := by |
| 47 | rw [← ModuleValues.openPullbackModuleValue_restriction] |
| 48 | have he : ModuleValues.pullbackModuleRestrictionMap f (𝟙 ((Scheme.Modules.pullback f).obj M)) = |
| 49 | 𝟙 (M.restrict f) := by |
| 50 | simp only [ModuleValues.pullbackModuleRestrictionMap, Category.id_comp, Iso.hom_inv_id_app] |
| 51 | rw [he] |
| 52 | exact OpenModule.MapValueFunctoriality.openModuleMapValue_identity f M U hU s |
| 53 | |
| 54 | theorem openPullbackModuleValue_hom_comp (f : Y ⟶ X) [IsOpenImmersion f] {M N P : X.Modules} |
| 55 | (a : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 56 | (b : (Scheme.Modules.pullback f).obj N ⟶ (Scheme.Modules.pullback f).obj P) |
| 57 | (U : X.Opens) (hU : U ≤ f.opensRange) (s : Γ(M, U)) : |
| 58 | ModuleValues.openPullbackModuleValue f (a ≫ b) U hU s = |
| 59 | ModuleValues.openPullbackModuleValue f b U hU (ModuleValues.openPullbackModuleValue f a U hU s) := by |
| 60 | have hc : ModuleValues.pullbackModuleRestrictionMap f (a ≫ b) = |
| 61 | ModuleValues.pullbackModuleRestrictionMap f a ≫ ModuleValues.pullbackModuleRestrictionMap f b := by |
| 62 | simp only [ModuleValues.pullbackModuleRestrictionMap, Category.assoc, Iso.inv_hom_id_app_assoc] |
| 63 | rw [← ModuleValues.openPullbackModuleValue_restriction, hc, OpenModule.MapValueFunctoriality.openModuleMapValue_hom_comp, |
| 64 | ModuleValues.openPullbackModuleValue_restriction, ModuleValues.openPullbackModuleValue_restriction] |
| 65 | |
| 66 | theorem openPullbackModuleValue_refine_on {U V : X.Opens} (h : U ≤ V) |
| 67 | {M N : X.Modules} |
| 68 | (a : (Scheme.Modules.pullback V.ι).obj M ⟶ (Scheme.Modules.pullback V.ι).obj N) |
| 69 | (W : X.Opens) (hW : W ≤ U) : |
| 70 | ModuleValues.openPullbackModuleValue U.ι (Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap h) a) W |
| 71 | (by simpa only [Scheme.Opens.opensRange_ι] using hW) = |
| 72 | ModuleValues.openPullbackModuleValue V.ι a W |
| 73 | (by simpa only [Scheme.Opens.opensRange_ι] using hW.trans h) := by |
| 74 | have hUV : W ≤ (X.homOfLE h ≫ V.ι).opensRange := by |
| 75 | simpa only [X.homOfLE_ι h, Scheme.Opens.opensRange_ι] using hW |
| 76 | exact (OpenModule.MapRefinement.openPullbackModuleValue_congr (X.homOfLE_ι h) |
| 77 | (Module.MapPullbackComposition.moduleMapPullbackComp (X.homOfLE h) V.ι a) W hUV _).trans |
| 78 | (RefinementNaturality.openPullbackModuleValue_comp (X.homOfLE h) V.ι a W hUV) |
| 79 | |
| 80 | structure OpenPullbackCechIsos {X : Scheme.{u}} {ι : Type u} |
| 81 | (U : ι → X.Opens) (M : ι → X.Modules) where |
| 82 | iso : ∀ i j, (Scheme.Modules.pullback (U i ⊓ U j).ι).obj (M i) ≅ |
| 83 | (Scheme.Modules.pullback (U i ⊓ U j).ι).obj (M j) |
| 84 | identity : ∀ i, iso i i = Iso.refl _ |
| 85 | cocycle : ∀ i j k, |
| 86 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap |
| 87 | (show (U i ⊓ U j) ⊓ U k ≤ U i ⊓ U j from inf_le_left)) (iso i j).hom ≫ |
| 88 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap |
| 89 | (show (U i ⊓ U j) ⊓ U k ≤ U j ⊓ U k from |
| 90 | le_inf (inf_le_left.trans inf_le_right) inf_le_right)) (iso j k).hom = |
| 91 | Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap |
| 92 | (show (U i ⊓ U j) ⊓ U k ≤ U i ⊓ U k from |
| 93 | le_inf (inf_le_left.trans inf_le_left) inf_le_right)) (iso i k).hom |
| 94 | |
| 95 | namespace OpenPullbackCechIsos |
| 96 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} {M : ι → X.Modules} |
| 97 | (D : OpenPullbackCechIsos U M) |
| 98 | |
| 99 | def transitions : OpenModule.MatchingSheaf.OpenModuleTransitions U M where |
| 100 | compare V i j hi hj := openPullbackIsoValue (U i ⊓ U j).ι (D.iso i j) V |
| 101 | (by simpa only [Scheme.Opens.opensRange_ι] using le_inf hi hj) |
| 102 | natural V W h i j hi hj s := by |
| 103 | rw [openPullbackIsoValue_apply, openPullbackIsoValue_apply] |
| 104 | exact openPullbackModuleValue_natural _ _ h _ _ s |
| 105 | identity V i hi s := by |
| 106 | rw [openPullbackIsoValue_apply, D.identity] |
| 107 | exact openPullbackModuleValue_identity _ _ _ _ s |
| 108 | composition V i j k hi hj hk s := by |
| 109 | let W := (U i ⊓ U j) ⊓ U k |
| 110 | have hV : V ≤ W := le_inf (le_inf hi hj) hk |
| 111 | have hW : V ≤ W.ι.opensRange := by simpa only [Scheme.Opens.opensRange_ι] using hV |
| 112 | let a := Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap (show W ≤ U i ⊓ U j from inf_le_left)) |
| 113 | (D.iso i j).hom |
| 114 | let b := Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap (show W ≤ U j ⊓ U k from |
| 115 | le_inf (inf_le_left.trans inf_le_right) inf_le_right)) (D.iso j k).hom |
| 116 | let c := Module.MapSlicePullback.moduleMapPullbackAlong (OpenModule.MapRefinement.openSubsetOverMap (show W ≤ U i ⊓ U k from |
| 117 | le_inf (inf_le_left.trans inf_le_left) inf_le_right)) (D.iso i k).hom |
| 118 | have ha := openPullbackModuleValue_refine_on |
| 119 | (show W ≤ U i ⊓ U j from inf_le_left) (D.iso i j).hom V hV |
| 120 | have hb := openPullbackModuleValue_refine_on |
| 121 | (show W ≤ U j ⊓ U k from le_inf (inf_le_left.trans inf_le_right) inf_le_right) |
| 122 | (D.iso j k).hom V hV |
| 123 | have hc := openPullbackModuleValue_refine_on |
| 124 | (show W ≤ U i ⊓ U k from le_inf (inf_le_left.trans inf_le_left) inf_le_right) |
| 125 | (D.iso i k).hom V hV |
| 126 | rw [openPullbackIsoValue_apply, openPullbackIsoValue_apply, openPullbackIsoValue_apply, |
| 127 | ← ha, ← hb, ← hc] |
| 128 | exact (openPullbackModuleValue_hom_comp W.ι a b V hW s).symm.trans |
| 129 | (congrArg (fun t => ModuleValues.openPullbackModuleValue W.ι t V hW s) (D.cocycle i j k)) |
| 130 | |
| 131 | variable (hU : ∀ x : X, ∃ i, x ∈ U i) (L : ∀ i, Line.Bundles.LineBundle (U i).toScheme) |
| 132 | (r : ∀ i, (M i).restrict (U i).ι ≅ (L i).sheaf) |
| 133 | |
| 134 | def lineBundle : Line.Bundles.LineBundle X := D.transitions.lineBundle hU L r |
| 135 | |
| 136 | def lineBundle_recovery (i : ι) : |
| 137 | ((D.lineBundle hU L r).pullback (U i).ι).sheaf ≅ (L i).sheaf := |
| 138 | D.transitions.lineBundle_recovery hU L r i |
| 139 | |
| 140 | end OpenPullbackCechIsos |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.CechObjectDescent |