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.ReferenceFamily.Cech.Local |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ModuleSectionIsomorphisms |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGenerator |
| 4 | import OAI.RepresentationTheory.Theta.Geometric.FramedUnitGluing |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.FrameCoordinates |
| 6 | |
| 7 | /-! # Cech Frame -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CechFrame |
| 14 | open _root_.CategoryTheory |
| 15 | open _root_.AlgebraicGeometry |
| 16 | open _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGenerator |
| 18 | section |
| 19 | |
| 20 | /-! A regular unit cocycle on an actual algebraic open cover |
| 21 | constructs an actual line bundle and its original local frames. -/ |
| 22 | |
| 23 | variable {X : Scheme.{0}} {I : Type} (U : I → X.Opens) (r : TransitionCocycle.RegularTransitionCoefficients U) |
| 24 | (hr : TransitionCocycle.RegularTransitionCocycle U r) |
| 25 | |
| 26 | theorem regularCechLine_overGenerator_isIso (j : I) : |
| 27 | IsIso (SheafCohomology.Projective.OverGenerator.overGeneratorHom (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U j) |
| 28 | (CechGenerator.regularCechLineGenerator U r hr j)) := by |
| 29 | apply ModuleSectionIsomorphisms.moduleSheaf_isIso_of_section_bijective |
| 30 | intro V |
| 31 | exact Cech.Local.regularCechLineLocalGenerator_bijective U r hr j V.unop.left (leOfHom V.unop.hom) |
| 32 | |
| 33 | def regularCechLineFrame (j : I) : |
| 34 | (Scheme.Modules.pullback (U j).ι).obj (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) ≅ |
| 35 | HilbertConstruction.Line.Bundles.structureModule (U j).toScheme := by |
| 36 | let M := Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r) |
| 37 | let : IsIso (SheafCohomology.Projective.OverGenerator.overGeneratorHom M (U j) (CechGenerator.regularCechLineGenerator U r hr j)) := |
| 38 | regularCechLine_overGenerator_isIso U r hr j |
| 39 | exact ((Scheme.Modules.restrictFunctorIsoPullback (U j).ι).app M).symm ≪≫ |
| 40 | ((Scheme.Modules.overFunctorEquiv (U j)).app M).symm ≪≫ |
| 41 | ((Scheme.Modules.overEquiv (U j)).functor.mapIso |
| 42 | (asIso (SheafCohomology.Projective.OverGenerator.overGeneratorHom M (U j) (CechGenerator.regularCechLineGenerator U r hr j)))).symm ≪≫ |
| 43 | (U j).sheafOfModulesEquivOverUnit X.ringCatSheaf |
| 44 | |
| 45 | def regularCechLineBundle (hU : IsOpenCover U) : HilbertConstruction.Line.Bundles.LineBundle X where |
| 46 | sheaf := Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r) |
| 47 | locallyTrivial x := by |
| 48 | obtain ⟨j, hj⟩ := hU.exists_mem x |
| 49 | exact ⟨U j, hj, ⟨regularCechLineFrame U r hr j⟩⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! The constructed local frames have the prescribed regular transition |
| 54 | functions on every actual overlap. -/ |
| 55 | |
| 56 | variable {X : Scheme.{0}} {I : Type} (U : I → X.Opens) |
| 57 | (r : TransitionCocycle.RegularTransitionCoefficients U) (hr : TransitionCocycle.RegularTransitionCocycle U r) |
| 58 | |
| 59 | theorem regularCechLineLocalGenerator_transition (i j : I) (W : X.Opens) |
| 60 | (hi : W ≤ U i) (hj : W ≤ U j) : |
| 61 | Cech.Local.regularCechLineLocalGenerator U r hr i W hi = |
| 62 | (TransitionCocycle.regularTransitionOn U r i j W hi hj).val • Cech.Local.regularCechLineLocalGenerator U r hr j W hj := by |
| 63 | apply Cech.LineSections.cechLineModule_sections_injective U (CechGenerator.regularCechCoefficients U r) W |
| 64 | rw [Cech.Local.regularCechLineLocalGenerator_inclusion, Cech.Local.regularCechLineLocalGenerator_smul_inclusion] |
| 65 | have h := Cech.Local.cechCompatible_eq_generator U r W (CechGenerator.regularCechGenerator U r i W hi) |
| 66 | (CechGenerator.regularCechGenerator_compatible U r hr i W hi) j hj |
| 67 | rw [Cech.Local.cechZeroValueOn_generator] at h |
| 68 | exact h |
| 69 | |
| 70 | def regularCechOverFrame (j : I) : |
| 71 | (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)).over (U j) ≅ |
| 72 | _root_.SheafOfModules.unit (X.ringCatSheaf.over (U j)) := by |
| 73 | let : IsIso (SheafCohomology.Projective.OverGenerator.overGeneratorHom (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U j) |
| 74 | (CechGenerator.regularCechLineGenerator U r hr j)) := regularCechLine_overGenerator_isIso U r hr j |
| 75 | exact (asIso (SheafCohomology.Projective.OverGenerator.overGeneratorHom (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U j) |
| 76 | (CechGenerator.regularCechLineGenerator U r hr j))).symm |
| 77 | |
| 78 | theorem regularCechOverFrame_restrict_inv (j : I) (W : X.Opens) (hj : W ≤ U j) : |
| 79 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf |
| 80 | (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U j) (regularCechOverFrame U r hr j) |
| 81 | (Over.mk (homOfLE hj))).inv = |
| 82 | SheafCohomology.Projective.OverGenerator.overGeneratorHom (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) W |
| 83 | (Cech.Local.regularCechLineLocalGenerator U r hr j W hj) := by |
| 84 | let M := Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r) |
| 85 | have h := congrArg Iso.hom ((RepresentationTheory.Theta.Geometric.FramedUnitRestriction.overIsoRestrict_symm |
| 86 | (M := M) (N := SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) hj (regularCechOverFrame U r hr j)).trans |
| 87 | (congrArg Iso.symm (RepresentationTheory.Theta.Geometric.FramedUnitRestriction.overIsoRestrict_frame hj (regularCechOverFrame U r hr j)))) |
| 88 | exact h.symm.trans (SheafCohomology.Projective.OverGeneratorRestriction.linearHomRestrict_overGeneratorHom M hj (CechGenerator.regularCechLineGenerator U r hr j)) |
| 89 | |
| 90 | theorem regularCechOverFrame_transition (i j : I) (W : X.Opens) |
| 91 | (hi : W ≤ U i) (hj : W ≤ U j) : |
| 92 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf |
| 93 | (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U i) (regularCechOverFrame U r hr i) |
| 94 | (Over.mk (homOfLE hi))).hom = |
| 95 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf |
| 96 | (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U j) (regularCechOverFrame U r hr j) |
| 97 | (Over.mk (homOfLE hj))).hom ≫ |
| 98 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W (TransitionCocycle.regularTransitionOn U r j i W hj hi).val := by |
| 99 | let M := Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r) |
| 100 | let e := SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M (U i) |
| 101 | (regularCechOverFrame U r hr i) (Over.mk (homOfLE hi)) |
| 102 | let g := SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M (U j) |
| 103 | (regularCechOverFrame U r hr j) (Over.mk (homOfLE hj)) |
| 104 | change e.hom = g.hom ≫ _ |
| 105 | apply (cancel_epi g.inv).mp |
| 106 | apply (cancel_mono e.inv).mp |
| 107 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id, Iso.inv_hom_id_assoc] |
| 108 | rw [regularCechOverFrame_restrict_inv, regularCechOverFrame_restrict_inv, |
| 109 | SheafCohomology.Projective.OverGeneratorRestriction.overUnitScalarEnd_comp_overGeneratorHom, regularCechLineLocalGenerator_transition U r hr j i W hj hi] |
| 110 | |
| 111 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CechFrame |
| 112 | |
| 113 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 114 | |
| 115 | /-! Recover an actual line sheaf from its original local frame cocycle. -/ |
| 116 | |
| 117 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 118 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGenerator |
| 119 | |
| 120 | variable {X : Scheme.{0}} {I : Type} {M : X.Modules} |
| 121 | |
| 122 | def Regular.CechFrame.lineFrameRegularCoefficients (s : I → LineFrameAtlas.LocalLineFrame M) : |
| 123 | Regular.TransitionCocycle.RegularTransitionCoefficients (fun i => (s i).domain) := |
| 124 | fun i j => (s j).transition (s i) ((s i).domain ⊓ (s j).domain) inf_le_right inf_le_left |
| 125 | |
| 126 | theorem Regular.CechFrame.lineFrameRegularCoefficients_on (s : I → LineFrameAtlas.LocalLineFrame M) |
| 127 | (i j : I) (W : X.Opens) (hi : W ≤ (s i).domain) (hj : W ≤ (s j).domain) : |
| 128 | Regular.TransitionCocycle.regularTransitionOn (fun i => (s i).domain) (Regular.CechFrame.lineFrameRegularCoefficients s) i j W hi hj = |
| 129 | (s j).transition (s i) W hj hi := |
| 130 | LineFrameAtlas.LocalLineFrame.transition_restrict (s j) (s i) (le_inf hi hj) inf_le_right inf_le_left |
| 131 | |
| 132 | theorem Regular.CechFrame.lineFrameRegularCoefficients_cocycle (s : I → LineFrameAtlas.LocalLineFrame M) : |
| 133 | Regular.TransitionCocycle.RegularTransitionCocycle (fun i => (s i).domain) (Regular.CechFrame.lineFrameRegularCoefficients s) := by |
| 134 | intro i j k |
| 135 | rw [Regular.CechFrame.lineFrameRegularCoefficients_on, Regular.CechFrame.lineFrameRegularCoefficients_on, Regular.CechFrame.lineFrameRegularCoefficients_on, |
| 136 | mul_comm] |
| 137 | exact LineFrameAtlas.LocalLineFrame.transition_cocycle (s k) (s j) (s i) _ _ _ _ |
| 138 | |
| 139 | theorem LineFrameAtlas.LocalLineFrame.overFrame_transition (s t : LineFrameAtlas.LocalLineFrame M) (W : X.Opens) |
| 140 | (hs : W ≤ s.domain) (ht : W ≤ t.domain) : |
| 141 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M s.domain |
| 142 | (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M s.domain s.frame) |
| 143 | (Over.mk (homOfLE hs))).hom = |
| 144 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M t.domain |
| 145 | (SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M t.domain t.frame) |
| 146 | (Over.mk (homOfLE ht))).hom ≫ |
| 147 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W (s.transition t W hs ht).val := by |
| 148 | have h := SheafCohomology.Projective.OverFrameScalarTransfer.overTrivializationOfRestrictIso_hom_eq_comp_scalar M W _ _ _ |
| 149 | (RepresentationTheory.Theta.Geometric.IntrinsicFrame.TransitionUnits.frameTransitionUnit_spec M W (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hs s.frame) |
| 150 | (SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization ht t.frame)) |
| 151 | have he := congrArg Iso.hom (SheafCohomology.Projective.OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization hs s.frame) |
| 152 | have hg := congrArg Iso.hom (SheafCohomology.Projective.OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization ht t.frame) |
| 153 | exact he.symm.trans (h.trans (congrArg₂ (· ≫ ·) hg |
| 154 | (congrArg (fun a : Γ(X, W)ˣ => SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W a.val) |
| 155 | (LineFrameAtlas.LocalLineFrame.transition_native M s t W hs ht).symm))) |
| 156 | |
| 157 | theorem Regular.CechFrame.regularCechLineBundle_iso_of_frames (s : I → LineFrameAtlas.LocalLineFrame M) |
| 158 | (hU : IsOpenCover (fun i => (s i).domain)) : |
| 159 | Nonempty ((Regular.CechFrame.regularCechLineBundle (fun i => (s i).domain) (Regular.CechFrame.lineFrameRegularCoefficients s) |
| 160 | (Regular.CechFrame.lineFrameRegularCoefficients_cocycle s) hU).sheaf ≅ M) := by |
| 161 | let U := fun i => (s i).domain |
| 162 | let r := Regular.CechFrame.lineFrameRegularCoefficients s |
| 163 | let hr := Regular.CechFrame.lineFrameRegularCoefficients_cocycle s |
| 164 | let a : ∀ i j, Γ(X, U i ⊓ U j) := fun i j => (Regular.TransitionCocycle.regularTransitionOn U r j i _ inf_le_right inf_le_left).val |
| 165 | obtain ⟨f, _⟩ := RepresentationTheory.Theta.Geometric.FramedUnitGluing.exists_iso_of_framed_units |
| 166 | (Cech.LineModule.cechLineModule U (Regular.CechGenerator.regularCechCoefficients U r)) M U hU.iSup_eq_top |
| 167 | (Regular.CechFrame.regularCechOverFrame U r hr) |
| 168 | (fun i => SheafCohomology.Projective.Invertible.Scheme.Modules.overTrivializationOfRestrictIso M (U i) (s i).frame) |
| 169 | (fun _ => 1) a a |
| 170 | (fun i j => Regular.CechFrame.regularCechOverFrame_transition U r hr i j _ inf_le_left inf_le_right) |
| 171 | (fun i j => by |
| 172 | change _ = _ ≫ SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf _ |
| 173 | (Regular.TransitionCocycle.regularTransitionOn U r j i _ inf_le_right inf_le_left).val |
| 174 | rw [Regular.CechFrame.lineFrameRegularCoefficients_on] |
| 175 | exact LineFrameAtlas.LocalLineFrame.overFrame_transition (s i) (s j) _ inf_le_left inf_le_right) |
| 176 | (fun _ _ => by simp only [RepresentationTheory.Theta.Geometric.PowerGaugeCover.restrictRegularUnit, map_one, Units.val_one, mul_one, one_mul]) |
| 177 | exact ⟨f⟩ |
| 178 | |
| 179 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 180 | |
| 181 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CechFrame |
| 182 | |
| 183 | /-! Native algebraic frames of the constructed cocycle line retain the |
| 184 | specified unit on every overlap. -/ |
| 185 | |
| 186 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 187 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGenerator |
| 188 | |
| 189 | variable {X : Scheme.{0}} {I : Type} (U : I → X.Opens) |
| 190 | (r : TransitionCocycle.RegularTransitionCoefficients U) (hr : TransitionCocycle.RegularTransitionCocycle U r) |
| 191 | |
| 192 | def regularCechNativeFrame (j : I) : LineFrameAtlas.LocalLineFrame (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) := |
| 193 | ⟨U j, SheafCohomology.Projective.FrameSections.restrictTrivializationOfOverIso _ (U j) (regularCechOverFrame U r hr j)⟩ |
| 194 | |
| 195 | theorem regularCechNativeFrame_restrict (j : I) (W : X.Opens) (hj : W ≤ U j) : |
| 196 | SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hj (regularCechNativeFrame U r hr j).frame = |
| 197 | SheafCohomology.Projective.FrameSections.restrictTrivializationOfOverIso (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) W |
| 198 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf |
| 199 | (Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r)) (U j) (regularCechOverFrame U r hr j) |
| 200 | (Over.mk (homOfLE hj))) := by |
| 201 | exact congrArg (fun e => SheafCohomology.Projective.FrameSections.restrictTrivializationOfOverIso _ W |
| 202 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf _ (U j) e (Over.mk (homOfLE hj)))) |
| 203 | (SheafCohomology.Projective.OpenFrames.overTrivializationOfRestrictTrivializationOfOverIso _ (U j) (regularCechOverFrame U r hr j)) |
| 204 | |
| 205 | theorem regularCechNativeFrame_transition (i j : I) (W : X.Opens) |
| 206 | (hi : W ≤ U i) (hj : W ≤ U j) : |
| 207 | (regularCechNativeFrame U r hr i).transition (regularCechNativeFrame U r hr j) W hi hj = |
| 208 | TransitionCocycle.regularTransitionOn U r j i W hj hi := by |
| 209 | let M := Cech.LineModule.cechLineModule U (CechGenerator.regularCechCoefficients U r) |
| 210 | refine (LineFrameAtlas.LocalLineFrame.transition_native M _ _ W hi hj).trans ?_ |
| 211 | apply Eq.symm |
| 212 | apply RepresentationTheory.Theta.Geometric.FrameTransitionUnitCoherence.frameTransitionUnit_unique |
| 213 | have h := SheafCohomology.Projective.OverScalarRestriction.restrictTrivializationOfOverIso_hom_eq_comp_scalar M W _ _ _ |
| 214 | (regularCechOverFrame_transition U r hr i j W hi hj) |
| 215 | have he := congrArg Iso.hom (regularCechNativeFrame_restrict U r hr i W hi) |
| 216 | have hg := congrArg Iso.hom (regularCechNativeFrame_restrict U r hr j W hj) |
| 217 | exact he.trans (h.trans (congrArg (· ≫ _) hg.symm)) |
| 218 | |
| 219 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.CechFrame |
| 220 | |
| 221 | end |
| 222 | |
| 223 | end OAI |