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.AbelianScheme.CentralAction.ComparisonRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.OpenLineOverlap |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PullHomDescended |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.LineBundles |
| 5 | |
| 6 | /-! # Local Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.LocalDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Actual quotient covers supply local descent solutions on a common |
| 15 | frame cover of the two line bundles. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 20 | |
| 21 | namespace Construction |
| 22 | |
| 23 | theorem line_quotient_basechange_geometry {S : Scheme.{0}} {X Y U : Over S} |
| 24 | (f : X ⟶ Y) (i : U ⟶ Y) [IsFinite f.left] [Etale f.left] [Surjective f.left] : |
| 25 | IsFinite (pullback.snd f i).left ∧ Etale (pullback.snd f i).left ∧ |
| 26 | Surjective (pullback.snd f i).left := by |
| 27 | have h := (Over.forget S).map_isPullback (IsPullback.of_hasPullback f i) |
| 28 | exact ⟨MorphismProperty.of_isPullback h ‹IsFinite f.left›, |
| 29 | MorphismProperty.of_isPullback h ‹Etale f.left›, |
| 30 | MorphismProperty.of_isPullback h ‹Surjective f.left›⟩ |
| 31 | |
| 32 | theorem line_quotient_basechange_effective {S : Scheme.{0}} {X Y U : Over S} |
| 33 | (f : X ⟶ Y) (i : U ⟶ Y) [IsFinite f.left] [Etale f.left] [Surjective f.left] : |
| 34 | EffectiveEpi (pullback.snd f i).left := by |
| 35 | obtain ⟨hf, he, hs⟩ := line_quotient_basechange_geometry f i |
| 36 | infer_instance |
| 37 | |
| 38 | def LineLocalDescentEquation {S : Scheme.{0}} {X Y : Over S} |
| 39 | (f : X ⟶ Y) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) |
| 40 | (a : (L.pullback f.left).sheaf ≅ (M.pullback f.left).sheaf) |
| 41 | (U : Y.left.Opens) |
| 42 | (d : (L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf) : Prop := |
| 43 | let i := OpenLineOverlap.Construction.lineOpenInclusion Y U |
| 44 | let p := pullback.fst f i |
| 45 | let r := pullback.snd f i |
| 46 | pullHom (F := LinePullHom.Construction.overSchemeModulePullbacks S) (M₁ := L.sheaf) (M₂ := M.sheaf) |
| 47 | (f₁ := i) (f₂ := i) d.hom r (r ≫ i) (r ≫ i) rfl rfl = |
| 48 | pullHom (F := LinePullHom.Construction.overSchemeModulePullbacks S) (M₁ := L.sheaf) (M₂ := M.sheaf) |
| 49 | (f₁ := f) (f₂ := f) a.hom p (r ≫ i) (r ≫ i) pullback.condition pullback.condition |
| 50 | |
| 51 | theorem exists_line_local_descent {S : Scheme.{0}} {X Y : Over S} |
| 52 | (f : X ⟶ Y) [IsFinite f.left] [Etale f.left] [Surjective f.left] |
| 53 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) : |
| 54 | let F := LinePullHom.Construction.overSchemeModulePullbacks S |
| 55 | ∀ a : (F.map f.op.toLoc).toFunctor.obj L.sheaf ≅ |
| 56 | (F.map f.op.toLoc).toFunctor.obj M.sheaf, |
| 57 | (∀ (T : Over S) (s t : T ⟶ X) (w : T ⟶ Y) (hs : s ≫ f = w) (ht : t ≫ f = w), |
| 58 | pullHom (F := F) a.hom s w w hs hs = pullHom (F := F) a.hom t w w ht ht) → |
| 59 | ∀ (U : Y.left.Opens), Nonempty ((L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf) → |
| 60 | ∃ d : (L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf, |
| 61 | LineLocalDescentEquation f L M a U d := by |
| 62 | dsimp only |
| 63 | intro a ha U ⟨b⟩ |
| 64 | let i := OpenLineOverlap.Construction.lineOpenInclusion Y U |
| 65 | obtain ⟨hf, he, hs⟩ := line_quotient_basechange_geometry f i |
| 66 | have hE := line_quotient_basechange_effective f i |
| 67 | exact ComparisonRestriction.Construction.comparison_desc_on_base f i (pullback.fst f i) (pullback.snd f i) |
| 68 | pullback.condition L M b a ha |
| 69 | |
| 70 | theorem common_line_frame_cover {Y : Scheme.{0}} (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (x : Y) : |
| 71 | ∃ U : Y.Opens, x ∈ U ∧ Nonempty ((L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf) := by |
| 72 | obtain ⟨U, hxU, ⟨l⟩⟩ := L.locallyTrivial x |
| 73 | obtain ⟨V, hxV, ⟨m⟩⟩ := M.locallyTrivial x |
| 74 | exact ⟨U ⊓ V, ⟨hxU, hxV⟩, |
| 75 | ⟨L.frameRestrict inf_le_left l ≪≫ (M.frameRestrict inf_le_right m).symm⟩⟩ |
| 76 | |
| 77 | end Construction |
| 78 | |
| 79 | end |
| 80 | |
| 81 | section |
| 82 | |
| 83 | /-! Local solutions agree on every smaller open because their pullbacks |
| 84 | to the actual quotient cover agree with the same original comparison. -/ |
| 85 | |
| 86 | set_option backward.isDefEq.respectTransparency.types false |
| 87 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 88 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 89 | |
| 90 | namespace Construction |
| 91 | |
| 92 | def LineRestrictionOnCover {S : Scheme.{0}} {X Y : Over S} |
| 93 | (f : X ⟶ Y) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) |
| 94 | (a : (L.pullback f.left).sheaf ≅ (M.pullback f.left).sheaf) |
| 95 | (U W : Y.left.Opens) (hW : W ≤ U) |
| 96 | (d : (L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf) : Prop := |
| 97 | let i := OpenLineOverlap.Construction.lineOpenInclusion Y W |
| 98 | let p := pullback.fst f i |
| 99 | let r := pullback.snd f i |
| 100 | pullHom (F := LinePullHom.Construction.overSchemeModulePullbacks S) (M₁ := L.sheaf) (M₂ := M.sheaf) |
| 101 | (f₁ := i) (f₂ := i) (OpenLineOverlap.Construction.lineOpenPullHom Y L.sheaf M.sheaf U W hW d.hom) |
| 102 | r (r ≫ i) (r ≫ i) rfl rfl = |
| 103 | pullHom (F := LinePullHom.Construction.overSchemeModulePullbacks S) (M₁ := L.sheaf) (M₂ := M.sheaf) |
| 104 | (f₁ := f) (f₂ := f) a.hom p (r ≫ i) (r ≫ i) pullback.condition pullback.condition |
| 105 | |
| 106 | theorem line_local_solution_restrict {S : Scheme.{0}} {X Y : Over S} |
| 107 | (f : X ⟶ Y) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) |
| 108 | (a : (L.pullback f.left).sheaf ≅ (M.pullback f.left).sheaf) |
| 109 | (U W : Y.left.Opens) (hW : W ≤ U) |
| 110 | (d : (L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf) |
| 111 | (hd : LineLocalDescentEquation f L M a U d) : |
| 112 | LineRestrictionOnCover f L M a U W hW d := by |
| 113 | let F := LinePullHom.Construction.overSchemeModulePullbacks S |
| 114 | let iU := OpenLineOverlap.Construction.lineOpenInclusion Y U |
| 115 | let iW := OpenLineOverlap.Construction.lineOpenInclusion Y W |
| 116 | let j := OpenLineOverlap.Construction.lineOpenSubinclusion Y hW |
| 117 | let pU := pullback.fst f iU |
| 118 | let rU := pullback.snd f iU |
| 119 | let pW := pullback.fst f iW |
| 120 | let rW := pullback.snd f iW |
| 121 | have hj : j ≫ iU = iW := OpenLineOverlap.Construction.lineOpenSubinclusion_comp Y hW |
| 122 | have ht : pW ≫ f = (rW ≫ j) ≫ iU := by |
| 123 | rw [Category.assoc, hj] |
| 124 | exact pullback.condition |
| 125 | let t := pullback.lift pW (rW ≫ j) ht |
| 126 | dsimp only [LineRestrictionOnCover, OpenLineOverlap.Construction.lineOpenPullHom] |
| 127 | rw [pullHom_pullHom] |
| 128 | apply PullHomDescended.Construction.pullHom_descended_transport F f iU pU rU pullback.condition a.hom d.hom hd |
| 129 | t (rW ≫ j) pW (rW ≫ iW) |
| 130 | · exact pullback.lift_snd _ _ _ |
| 131 | · exact pullback.lift_fst _ _ _ |
| 132 | |
| 133 | theorem lineOpenPullHom_isIso {S : Scheme.{0}} (Y : Over S) (L M : Y.left.Modules) |
| 134 | (U W : Y.left.Opens) (hW : W ≤ U) |
| 135 | (d : (Scheme.Modules.pullback U.ι).obj L ≅ (Scheme.Modules.pullback U.ι).obj M) : |
| 136 | IsIso (OpenLineOverlap.Construction.lineOpenPullHom Y L M U W hW d.hom) := by |
| 137 | let F := LinePullHom.Construction.overSchemeModulePullbacks S |
| 138 | exact PullHomNormalization.Construction.pullHom_isIso F (L := L) (M := M) |
| 139 | (x := OpenLineOverlap.Construction.lineOpenInclusion Y U) (y := OpenLineOverlap.Construction.lineOpenInclusion Y U) d.hom |
| 140 | (OpenLineOverlap.Construction.lineOpenSubinclusion Y hW) (OpenLineOverlap.Construction.lineOpenInclusion Y W) (OpenLineOverlap.Construction.lineOpenInclusion Y W) |
| 141 | (OpenLineOverlap.Construction.lineOpenSubinclusion_comp Y hW) (OpenLineOverlap.Construction.lineOpenSubinclusion_comp Y hW) |
| 142 | |
| 143 | theorem line_local_solutions_agree {S : Scheme.{0}} {X Y : Over S} |
| 144 | (f : X ⟶ Y) [IsFinite f.left] [Etale f.left] [Surjective f.left] |
| 145 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) |
| 146 | (a : (L.pullback f.left).sheaf ≅ (M.pullback f.left).sheaf) |
| 147 | (U V W : Y.left.Opens) (hU : W ≤ U) (hV : W ≤ V) |
| 148 | (d : (L.pullback U.ι).sheaf ≅ (M.pullback U.ι).sheaf) |
| 149 | (e : (L.pullback V.ι).sheaf ≅ (M.pullback V.ι).sheaf) |
| 150 | (hd : LineLocalDescentEquation f L M a U d) |
| 151 | (he : LineLocalDescentEquation f L M a V e) : |
| 152 | OpenLineOverlap.Construction.lineOpenPullHom Y L.sheaf M.sheaf U W hU d.hom = |
| 153 | OpenLineOverlap.Construction.lineOpenPullHom Y L.sheaf M.sheaf V W hV e.hom := by |
| 154 | let iW := OpenLineOverlap.Construction.lineOpenInclusion Y W |
| 155 | let rW := pullback.snd f iW |
| 156 | have hE := line_quotient_basechange_effective f iW |
| 157 | have hInj : Function.Injective rW.left.appTop := FunctionDescent.Construction.appTop_injective_of_epi rW.left |
| 158 | have hIso : IsIso (OpenLineOverlap.Construction.lineOpenPullHom Y L.sheaf M.sheaf U W hU d.hom) := |
| 159 | lineOpenPullHom_isIso Y L.sheaf M.sheaf U W hU d |
| 160 | apply @LinePullHom.Construction.linePullHom_ext S Y (OpenLineOverlap.Construction.lineOpenOver Y W) (pullback f iW) iW rW (rW ≫ iW) rfl |
| 161 | hInj L M _ _ hIso |
| 162 | exact (line_local_solution_restrict f L M a U W hU d hd).trans |
| 163 | (line_local_solution_restrict f L M a V W hV e he).symm |
| 164 | |
| 165 | end Construction |
| 166 | |
| 167 | end |
| 168 | |
| 169 | /-! A compatible comparison of actual line bundles descends through a |
| 170 | finite etale surjective map. The proof constructs local comparisons, |
| 171 | proves their overlap equations, and glues their module isomorphisms. -/ |
| 172 | |
| 173 | set_option backward.isDefEq.respectTransparency.types false |
| 174 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 175 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 176 | |
| 177 | namespace Construction |
| 178 | |
| 179 | theorem compatible_line_iso_desc {S : Scheme.{0}} {X Y : Over S} |
| 180 | (f : X ⟶ Y) [IsFinite f.left] [Etale f.left] [Surjective f.left] |
| 181 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) : |
| 182 | let F := LinePullHom.Construction.overSchemeModulePullbacks S |
| 183 | ∀ a : (F.map f.op.toLoc).toFunctor.obj L.sheaf ≅ |
| 184 | (F.map f.op.toLoc).toFunctor.obj M.sheaf, |
| 185 | (∀ (T : Over S) (s t : T ⟶ X) (w : T ⟶ Y) (hs : s ≫ f = w) (ht : t ≫ f = w), |
| 186 | pullHom (F := F) a.hom s w w hs hs = pullHom (F := F) a.hom t w w ht ht) → |
| 187 | Nonempty (L.sheaf ≅ M.sheaf) := by |
| 188 | dsimp only |
| 189 | intro a ha |
| 190 | choose U hxU hU using common_line_frame_cover L M |
| 191 | choose d hd using fun x => exists_line_local_descent f L M a ha (U x) (hU x) |
| 192 | obtain ⟨e, _⟩ := LocalLineIsoGluing.Construction.local_module_isos_glue L.sheaf M.sheaf U |
| 193 | (fun x => ⟨x, hxU x⟩) (fun x => UnitLocalIsos.Construction.unitLocalLineIsoOver L.sheaf M.sheaf (U x) (d x)) |
| 194 | (fun x y W hW₁ hW₂ => OpenLineOverlap.Construction.unitLocalLineIsoOver_overlap Y L.sheaf M.sheaf (U x) (U y) W |
| 195 | hW₁ hW₂ (d x) (d y) |
| 196 | (line_local_solutions_agree f L M a (U x) (U y) W hW₁ hW₂ (d x) (d y) (hd x) (hd y))) |
| 197 | exact ⟨e⟩ |
| 198 | |
| 199 | end Construction |
| 200 | |
| 201 | end |
| 202 | |
| 203 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.LocalDescent |