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 Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 5 | import Mathlib.CategoryTheory.EquivalenceRelation |
| 6 | import Mathlib.CategoryTheory.Sites.SubcanonicalOver |
| 7 | import Mathlib.CategoryTheory.Sites.LeftExact |
| 8 | import Mathlib.CategoryTheory.Sites.Limits |
| 9 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineRing |
| 10 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupoidIs |
| 11 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineGroupoidIs |
| 12 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineQuotientOf |
| 13 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantOpensEq |
| 14 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SourceTrivializationTop |
| 15 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelationRestrictionOn |
| 16 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.QuotientGluingIs |
| 17 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineCoverExistsQuotient |
| 18 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.Group |
| 19 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.Proper |
| 20 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupOf |
| 21 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupSmoothOf |
| 22 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvariantAffineHas |
| 23 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrbitQuotientExists |
| 24 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.Affine |
| 25 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupIrreducibleOf |
| 26 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 27 | |
| 28 | /-! # Epi -/ |
| 29 | |
| 30 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.Epi.Construction |
| 31 | |
| 32 | /-! |
| 33 | # FiniteDescent: quotient descent |
| 34 | |
| 35 | The complete quotient theorem is proved in `Proofs/FiniteDescentFinal.lean`. |
| 36 | `Proofs/StatementCheck.lean` checks the exact declarations and theorem |
| 37 | signature from the unchanged `Statements/FiniteDescent.lean`. |
| 38 | |
| 39 | This module supplies quotient descent, the exact translation kernel, and the |
| 40 | universal property for invariant morphisms. The supporting modules construct |
| 41 | finite locally free affine quotients and glue their charts, descend the group |
| 42 | structure and abelian-scheme properties, and prove the required invariant |
| 43 | affine neighborhoods. The remaining multiplication-finiteness input is supplied |
| 44 | by the geometric cube identity in `Proofs/GeometricCubeIdentity.lean`, using |
| 45 | projective modifications, product seesaw, and faithful Picard descent. |
| 46 | -/ |
| 47 | |
| 48 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 49 | open scoped _root_.CategoryTheory.MonObj |
| 50 | |
| 51 | universe u v |
| 52 | |
| 53 | section Descent |
| 54 | |
| 55 | variable {C : Type u} [Category.{v} C] {S : C} |
| 56 | |
| 57 | /-- Descent along an effective epimorphism also respects a fixed base. -/ |
| 58 | theorem existsUnique_desc_over |
| 59 | {A B T : Over S} (q : A ⟶ B) [EffectiveEpi q.left] |
| 60 | (f : A ⟶ T) |
| 61 | (hf : ∀ (U : Over S) (a b : U ⟶ A), |
| 62 | a ≫ q = b ≫ q → a ≫ f = b ≫ f) : |
| 63 | ∃! g : B ⟶ T, q ≫ g = f := by |
| 64 | have hleft : ∀ {Z : C} (a b : Z ⟶ A.left), |
| 65 | a ≫ q.left = b ≫ q.left → a ≫ f.left = b ≫ f.left := by |
| 66 | intro Z a b hab |
| 67 | have hb : b ≫ A.hom = a ≫ A.hom := by |
| 68 | rw [← q.w, ← Category.assoc, ← Category.assoc, hab] |
| 69 | let a' : Over.mk (a ≫ A.hom) ⟶ A := Over.homMk a rfl |
| 70 | let b' : Over.mk (a ≫ A.hom) ⟶ A := Over.homMk b hb |
| 71 | have hab' : a' ≫ q = b' ≫ q := Over.OverMorphism.ext hab |
| 72 | exact congrArg (fun e => e.left) (hf _ a' b' hab') |
| 73 | let g := EffectiveEpi.desc q.left f.left hleft |
| 74 | have hg : q.left ≫ g = f.left := EffectiveEpi.fac _ _ _ |
| 75 | have hbase : g ≫ T.hom = B.hom := by |
| 76 | apply (cancel_epi q.left).mp |
| 77 | rw [← Category.assoc, hg, f.w, q.w] |
| 78 | refine ⟨Over.homMk g hbase, Over.OverMorphism.ext hg, ?_⟩ |
| 79 | intro g' hg' |
| 80 | apply Over.OverMorphism.ext |
| 81 | exact EffectiveEpi.uniq q.left f.left hleft g'.left |
| 82 | (congrArg (fun e => e.left) hg') |
| 83 | |
| 84 | /-- An effective epimorphism of underlying objects remains effective in the |
| 85 | category of objects over a fixed base. -/ |
| 86 | theorem effectiveEpi_over_of_left {A B : Over S} (q : A ⟶ B) [EffectiveEpi q.left] : |
| 87 | EffectiveEpi q := by |
| 88 | classical |
| 89 | refine ⟨⟨{ |
| 90 | desc := fun f hf => (existsUnique_desc_over q f (fun _ a b => hf a b)).choose |
| 91 | fac := fun f hf => (existsUnique_desc_over q f (fun _ a b => hf a b)).choose_spec.1 |
| 92 | uniq := fun f hf g hg => |
| 93 | (existsUnique_desc_over q f (fun _ a b => hf a b)).choose_spec.2 g hg |
| 94 | }⟩⟩ |
| 95 | |
| 96 | end Descent |
| 97 | |
| 98 | section Groups |
| 99 | |
| 100 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 101 | variable {A B H : C} [GrpObj A] [GrpObj B] |
| 102 | variable (i : H ⟶ A) [Mono i] |
| 103 | variable (q : A ⟶ B) [IsMonHom q] |
| 104 | |
| 105 | omit [GrpObj A] [IsMonHom q] in |
| 106 | /-- The all-test-object kernel condition implies that every subgroup-valued |
| 107 | point maps to the identity. -/ |
| 108 | theorem subgroup_point_comp_eq_one |
| 109 | (hker : ∀ (T : C) (a : T ⟶ A), |
| 110 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) |
| 111 | (T : C) (h : T ⟶ H) : |
| 112 | (h ≫ i) ≫ q = 1 := by |
| 113 | apply (hker T (h ≫ i)).mpr |
| 114 | exact ⟨h, rfl, fun h' hh' => (cancel_mono i).mp hh'⟩ |
| 115 | |
| 116 | /-- Fibers of a group homomorphism with the specified kernel are exactly |
| 117 | the free translation orbits of that kernel, on every test object. -/ |
| 118 | theorem same_image_iff_unique_translate |
| 119 | (hker : ∀ (T : C) (a : T ⟶ A), |
| 120 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) |
| 121 | (T : C) (a b : T ⟶ A) : |
| 122 | a ≫ q = b ≫ q ↔ ∃! h : T ⟶ H, (h ≫ i) * b = a := by |
| 123 | constructor |
| 124 | · intro hab |
| 125 | have hk : (a * b⁻¹) ≫ q = 1 := by |
| 126 | rw [MonObj.mul_comp, GrpObj.inv_comp, hab, mul_inv_cancel] |
| 127 | obtain ⟨h, hh, hu⟩ := (hker T (a * b⁻¹)).mp hk |
| 128 | refine ⟨h, ?_, ?_⟩ |
| 129 | · change (h ≫ i) * b = a |
| 130 | rw [hh] |
| 131 | exact inv_mul_cancel_right a b |
| 132 | · intro h' hh' |
| 133 | apply hu |
| 134 | exact (eq_mul_inv_iff_mul_eq).mpr hh' |
| 135 | · rintro ⟨h, hh, _⟩ |
| 136 | rw [← hh, MonObj.mul_comp, subgroup_point_comp_eq_one i q hker, one_mul] |
| 137 | |
| 138 | /-- An invariant morphism equalizes the entire kernel relation. -/ |
| 139 | theorem invariant_equalizes_kernel |
| 140 | (hker : ∀ (T : C) (a : T ⟶ A), |
| 141 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) |
| 142 | {T : C} (f : A ⟶ T) |
| 143 | (hf : ∀ (U : C) (a : U ⟶ A) (h : U ⟶ H), |
| 144 | ((h ≫ i) * a) ≫ f = a ≫ f) |
| 145 | (U : C) (a b : U ⟶ A) (hab : a ≫ q = b ≫ q) : |
| 146 | a ≫ f = b ≫ f := by |
| 147 | obtain ⟨h, hh, _⟩ := (same_image_iff_unique_translate i q hker U a b).mp hab |
| 148 | rw [← hh] |
| 149 | exact hf U b h |
| 150 | |
| 151 | end Groups |
| 152 | |
| 153 | section Translations |
| 154 | |
| 155 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 156 | |
| 157 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 158 | variable {A H : C} [GrpObj A] |
| 159 | |
| 160 | /-- The subgroup translation action `(h, a) ↦ i(h) * a`. -/ |
| 161 | abbrev translation (i : H ⟶ A) : H ⊗ A ⟶ A := |
| 162 | (fst H A ≫ i) * snd H A |
| 163 | |
| 164 | /-- Translation is a projection after an isomorphism of the product. -/ |
| 165 | noncomputable def translationShear (i : H ⟶ A) : H ⊗ A ≅ H ⊗ A where |
| 166 | hom := lift (fst H A) (translation i) |
| 167 | inv := lift (fst H A) ((fst H A ≫ i)⁻¹ * snd H A) |
| 168 | hom_inv_id := by |
| 169 | apply hom_ext |
| 170 | · simp |
| 171 | · simp [translation, MonObj.comp_mul, GrpObj.comp_inv] |
| 172 | inv_hom_id := by |
| 173 | apply hom_ext |
| 174 | · simp |
| 175 | · simp [translation, MonObj.comp_mul] |
| 176 | |
| 177 | @[simp] |
| 178 | theorem translationShear_hom_snd (i : H ⟶ A) : |
| 179 | (translationShear i).hom ≫ snd H A = translation i := by |
| 180 | exact lift_snd _ _ |
| 181 | |
| 182 | /-- The coordinate change `(x, a) ↦ (x * a, a)`. -/ |
| 183 | noncomputable def translationCoordinates (A : C) [GrpObj A] : A ⊗ A ≅ A ⊗ A where |
| 184 | hom := lift (fst A A * snd A A) (snd A A) |
| 185 | inv := lift (fst A A * (snd A A)⁻¹) (snd A A) |
| 186 | hom_inv_id := by |
| 187 | apply hom_ext |
| 188 | · simp [MonObj.comp_mul, GrpObj.comp_inv] |
| 189 | · simp |
| 190 | inv_hom_id := by |
| 191 | apply hom_ext |
| 192 | · simp [MonObj.comp_mul] |
| 193 | · simp |
| 194 | |
| 195 | /-- The action relation is the product of the subgroup immersion with the |
| 196 | identity, followed by a coordinate isomorphism. -/ |
| 197 | theorem translation_relation_factorization (i : H ⟶ A) : |
| 198 | lift (translation i) (snd H A) = |
| 199 | (i ⊗ₘ 𝟙 A) ≫ (translationCoordinates A).hom := by |
| 200 | apply hom_ext <;> simp [translationCoordinates, translation, MonObj.comp_mul] |
| 201 | |
| 202 | /-- A subgroup acts freely: a pair of source and target maps determines |
| 203 | the translating subgroup element uniquely. -/ |
| 204 | theorem translation_jointlyMono (i : H ⟶ A) [Mono i] : |
| 205 | JointlyMono₂ (snd H A) (translation i) := by |
| 206 | constructor |
| 207 | intro T f g hs ht |
| 208 | apply hom_ext |
| 209 | · apply (cancel_mono i).mp |
| 210 | have heq : (f ≫ fst H A ≫ i) * (f ≫ snd H A) = |
| 211 | (g ≫ fst H A ≫ i) * (g ≫ snd H A) := by |
| 212 | simpa [translation, MonObj.comp_mul] using ht |
| 213 | rw [hs] at heq |
| 214 | simpa only [Category.assoc] using mul_right_cancel heq |
| 215 | · exact hs |
| 216 | |
| 217 | /-- The translation relation is an internal equivalence relation. -/ |
| 218 | noncomputable def translationEquivalenceRelation |
| 219 | [Limits.HasPullbacks C] [GrpObj H] |
| 220 | (i : H ⟶ A) [IsMonHom i] [Mono i] : |
| 221 | CategoryTheory.EquivalenceRelation (snd H A) (translation i) where |
| 222 | toJointlyMono₂ := translation_jointlyMono i |
| 223 | r := lift 1 (𝟙 A) |
| 224 | reflexivity₁ := by simp |
| 225 | reflexivity₂ := by simp [translation, MonObj.comp_mul, MonObj.one_comp] |
| 226 | s := lift (fst H A)⁻¹ (translation i) |
| 227 | symmetry₁ := by simp |
| 228 | symmetry₂ := by simp [translation, MonObj.comp_mul, GrpObj.inv_comp] |
| 229 | c := Limits.pullback.cone (translation i) (snd H A) |
| 230 | isLimit := Limits.pullback.isLimit _ _ |
| 231 | t := lift |
| 232 | ((Limits.pullback.snd (translation i) (snd H A) ≫ fst H A) * |
| 233 | (Limits.pullback.fst (translation i) (snd H A) ≫ fst H A)) |
| 234 | (Limits.pullback.fst (translation i) (snd H A) ≫ snd H A) |
| 235 | transitivity₁ := by simp |
| 236 | transitivity₂ := by |
| 237 | change |
| 238 | lift |
| 239 | ((Limits.pullback.snd (translation i) (snd H A) ≫ fst H A) * |
| 240 | (Limits.pullback.fst (translation i) (snd H A) ≫ fst H A)) |
| 241 | (Limits.pullback.fst (translation i) (snd H A) ≫ snd H A) ≫ |
| 242 | translation i = Limits.pullback.snd (translation i) (snd H A) ≫ translation i |
| 243 | have hp := Limits.pullback.condition (f := translation i) (g := snd H A) |
| 244 | simp only [translation, MonObj.comp_mul] at hp ⊢ |
| 245 | simp only [lift_fst_assoc, lift_snd, MonObj.mul_comp, Category.assoc] |
| 246 | rw [mul_assoc, hp] |
| 247 | |
| 248 | end Translations |
| 249 | |
| 250 | section FiniteRelation |
| 251 | |
| 252 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 253 | |
| 254 | variable {S : Scheme.{u}} {A H : Over S} [GrpObj A] |
| 255 | |
| 256 | /-- Finite locally freeness of the subgroup makes the action map finite |
| 257 | locally free, by the translation shear isomorphism. -/ |
| 258 | theorem translation_finite_flat_finitelyPresented |
| 259 | (i : H ⟶ A) [IsFinite H.hom] [Flat H.hom] |
| 260 | [LocallyOfFinitePresentation H.hom] : |
| 261 | IsFinite (translation i).left ∧ Flat (translation i).left ∧ |
| 262 | LocallyOfFinitePresentation (translation i).left := by |
| 263 | rw [← translationShear_hom_snd i] |
| 264 | change |
| 265 | IsFinite ((translationShear i).hom.left ≫ (snd H A).left) ∧ |
| 266 | Flat ((translationShear i).hom.left ≫ (snd H A).left) ∧ |
| 267 | LocallyOfFinitePresentation ((translationShear i).hom.left ≫ (snd H A).left) |
| 268 | have : IsFinite (snd H A).left := inferInstanceAs |
| 269 | (IsFinite (Limits.pullback.snd H.hom A.hom)) |
| 270 | have : Flat (snd H A).left := inferInstanceAs |
| 271 | (Flat (Limits.pullback.snd H.hom A.hom)) |
| 272 | have : LocallyOfFinitePresentation (snd H A).left := inferInstanceAs |
| 273 | (LocallyOfFinitePresentation (Limits.pullback.snd H.hom A.hom)) |
| 274 | have : IsIso (translationShear i).hom.left := inferInstanceAs |
| 275 | (IsIso ((Over.forget S).map (translationShear i).hom)) |
| 276 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 277 | |
| 278 | /-- A closed subgroup gives a closed translation equivalence relation. -/ |
| 279 | theorem translation_relation_closedImmersion |
| 280 | (i : H ⟶ A) [IsClosedImmersion i.left] : |
| 281 | IsClosedImmersion (lift (translation i) (snd H A)).left := by |
| 282 | have : MorphismProperty.IsStableUnderComposition @IsClosedImmersion := |
| 283 | ⟨fun _ _ hf hg => by |
| 284 | let := hf |
| 285 | let := hg |
| 286 | infer_instance⟩ |
| 287 | have hi : IsClosedImmersion (i ⊗ₘ 𝟙 A).left := by |
| 288 | rw [Over.tensorHom_left] |
| 289 | exact MorphismProperty.pullbackMap (P := @IsClosedImmersion) |
| 290 | (inferInstance : IsClosedImmersion i.left) |
| 291 | (inferInstance : IsClosedImmersion (𝟙 A.left)) i.w.symm (by simp) |
| 292 | have he : IsIso (translationCoordinates A).hom.left := inferInstanceAs |
| 293 | (IsIso ((Over.forget S).map (translationCoordinates A).hom)) |
| 294 | rw [translation_relation_factorization] |
| 295 | change IsClosedImmersion ((i ⊗ₘ 𝟙 A).left ≫ (translationCoordinates A).hom.left) |
| 296 | infer_instance |
| 297 | |
| 298 | /-- The structure map of a group scheme is surjective, by its identity section. -/ |
| 299 | theorem group_structureMap_surjective (G : Over S) [GrpObj G] : |
| 300 | Surjective G.hom := by |
| 301 | constructor |
| 302 | intro s |
| 303 | refine ⟨η[G].left s, ?_⟩ |
| 304 | change (η[G].left ≫ G.hom) s = s |
| 305 | rw [η[G].w] |
| 306 | rfl |
| 307 | |
| 308 | /-- Both projections of the subgroup translation relation are surjective. -/ |
| 309 | theorem translation_relation_surjective [GrpObj H] (i : H ⟶ A) : |
| 310 | Surjective (snd H A).left ∧ Surjective (translation i).left := by |
| 311 | have : Surjective H.hom := group_structureMap_surjective H |
| 312 | have hs : Surjective (snd H A).left := inferInstanceAs |
| 313 | (Surjective (Limits.pullback.snd H.hom A.hom)) |
| 314 | refine ⟨hs, ?_⟩ |
| 315 | rw [← translationShear_hom_snd i] |
| 316 | have : IsIso (translationShear i).hom.left := inferInstanceAs |
| 317 | (IsIso ((Over.forget S).map (translationShear i).hom)) |
| 318 | change Surjective ((translationShear i).hom.left ≫ (snd H A).left) |
| 319 | infer_instance |
| 320 | |
| 321 | end FiniteRelation |
| 322 | |
| 323 | section SchemeGroupDescent |
| 324 | |
| 325 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 326 | |
| 327 | variable {S : Scheme.{u}} |
| 328 | |
| 329 | /-- Products of finite flat surjections over the base are again finite flat |
| 330 | surjections. This supplies the epimorphisms used to descend the group laws. -/ |
| 331 | theorem tensor_finite_flat_surjective {A B A' B' : Over S} |
| 332 | (q : A ⟶ B) (r : A' ⟶ B') |
| 333 | [IsFinite q.left] [Flat q.left] [Surjective q.left] |
| 334 | [IsFinite r.left] [Flat r.left] [Surjective r.left] : |
| 335 | IsFinite (q ⊗ₘ r).left ∧ Flat (q ⊗ₘ r).left ∧ Surjective (q ⊗ₘ r).left := by |
| 336 | have : MorphismProperty.IsStableUnderComposition (@Surjective.{u}) := |
| 337 | ⟨fun _ _ hf hg => by |
| 338 | let := hf |
| 339 | let := hg |
| 340 | infer_instance⟩ |
| 341 | rw [Over.tensorHom_left] |
| 342 | exact ⟨MorphismProperty.pullbackMap (P := @IsFinite) inferInstance inferInstance |
| 343 | q.w.symm r.w.symm, |
| 344 | MorphismProperty.pullbackMap (P := @Flat) inferInstance inferInstance q.w.symm r.w.symm, |
| 345 | MorphismProperty.pullbackMap (P := @Surjective) inferInstance inferInstance q.w.symm r.w.symm⟩ |
| 346 | |
| 347 | /-- A finite flat surjective scheme quotient with the exact translation |
| 348 | relation inherits the commutative group structure and the prescribed |
| 349 | scheme-theoretic subgroup kernel. -/ |
| 350 | theorem commutativeGroup_of_translation_kernelPair |
| 351 | {A B H : Over S} [GrpObj A] [IsCommMonObj A] [GrpObj H] |
| 352 | (i : H ⟶ A) [Mono i] [IsMonHom i] (q : A ⟶ B) |
| 353 | [IsFinite q.left] [Flat q.left] [Surjective q.left] |
| 354 | (hk : IsKernelPair q.left (snd H A).left (translation i).left) : |
| 355 | ∃ g : GrpObj B, letI := g |
| 356 | IsCommMonObj B ∧ IsMonHom q ∧ |
| 357 | ∀ (T : Over S) (a : T ⟶ A), a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a := by |
| 358 | have hk' : IsKernelPair q (snd H A) (translation i) := |
| 359 | IsPullback.of_map_of_faithful (Over.forget S) hk |
| 360 | have : EffectiveEpi q := effectiveEpi_over_of_left q |
| 361 | obtain ⟨h₂fin, h₂flat, h₂surj⟩ := tensor_finite_flat_surjective q q |
| 362 | let := h₂fin |
| 363 | let := h₂flat |
| 364 | let := h₂surj |
| 365 | have : EffectiveEpi (q ⊗ₘ q) := effectiveEpi_over_of_left (q ⊗ₘ q) |
| 366 | obtain ⟨h₃fin, h₃flat, h₃surj⟩ := tensor_finite_flat_surjective (q ⊗ₘ q) q |
| 367 | let := h₃fin |
| 368 | let := h₃flat |
| 369 | let := h₃surj |
| 370 | have : EffectiveEpi ((q ⊗ₘ q) ⊗ₘ q) := effectiveEpi_over_of_left ((q ⊗ₘ q) ⊗ₘ q) |
| 371 | let g := Group.Construction.GroupDescent.group i q hk' |
| 372 | let := g |
| 373 | have hcomm : IsCommMonObj B := Group.Construction.GroupDescent.isCommMonObj_group i q hk' |
| 374 | have hmon : IsMonHom q := Group.Construction.GroupDescent.isMonHom_group i q hk' |
| 375 | refine ⟨g, hcomm, hmon, ?_⟩ |
| 376 | intro T a |
| 377 | simpa only [MonObj.one_comp] using Group.Construction.GroupDescent.kernel i q hk' T a |
| 378 | |
| 379 | /-- Once the finite locally free scheme quotient and its group structure have |
| 380 | been constructed, all geometric properties in the abelian-scheme bundle |
| 381 | descend from the source. -/ |
| 382 | theorem quotient_geometric_properties |
| 383 | {A B : Over S} [GrpObj A] [GrpObj B] |
| 384 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 385 | (q : A ⟶ B) [IsMonHom q] |
| 386 | [IsFinite q.left] [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] : |
| 387 | IsProper B.hom ∧ Smooth B.hom ∧ GeometricallyConnected B.hom := by |
| 388 | have : GeometricallyConnected (q.left ≫ B.hom) := by rw [q.w]; infer_instance |
| 389 | exact ⟨GroupOf.Construction.GroupGeometry.proper_of_finite_quotient q, GroupSmoothOf.Construction.GroupSmooth.smooth_of_finite_quotient q, |
| 390 | Proper.Construction.Geometry.geometricallyConnected_of_comp q.left B.hom⟩ |
| 391 | |
| 392 | end SchemeGroupDescent |
| 393 | |
| 394 | section SheafQuotient |
| 395 | |
| 396 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 397 | open _root_.CategoryTheory.Limits |
| 398 | |
| 399 | /-- The functor of points on the relative fppf site. The codomain universe |
| 400 | is enlarged so that the general sheafification construction applies. -/ |
| 401 | noncomputable abbrev relativeYoneda (S : Scheme.{u}) : |
| 402 | Over S ⥤ Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 403 | (Scheme.fppfTopology.over S).uliftYoneda.{u + 1} |
| 404 | |
| 405 | variable {S : Scheme.{u}} {A H : Over S} [GrpObj A] |
| 406 | |
| 407 | /-- The fppf quotient exists as a sheaf by taking the coequalizer of the |
| 408 | action and projection. This definition asserts no scheme representability. -/ |
| 409 | noncomputable def quotientSheaf (i : H ⟶ A) : |
| 410 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 411 | coequalizer ((relativeYoneda S).map (translation i)) |
| 412 | ((relativeYoneda S).map (snd H A)) |
| 413 | |
| 414 | /-- The canonical morphism to the actual quotient sheaf. -/ |
| 415 | noncomputable def quotientSheafProjection (i : H ⟶ A) : |
| 416 | (relativeYoneda S).obj A ⟶ quotientSheaf i := |
| 417 | coequalizer.π _ _ |
| 418 | |
| 419 | /-- The action and projection have equal composites with the quotient map. -/ |
| 420 | theorem quotientSheaf_condition (i : H ⟶ A) : |
| 421 | (relativeYoneda S).map (translation i) ≫ quotientSheafProjection i = |
| 422 | (relativeYoneda S).map (snd H A) ≫ quotientSheafProjection i := by |
| 423 | exact coequalizer.condition _ _ |
| 424 | |
| 425 | /-- The constructed fppf sheaf has the quotient universal property. -/ |
| 426 | theorem quotientSheaf_universal_property |
| 427 | (i : H ⟶ A) (F : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1))) |
| 428 | (f : (relativeYoneda S).obj A ⟶ F) |
| 429 | (hf : (relativeYoneda S).map (translation i) ≫ f = |
| 430 | (relativeYoneda S).map (snd H A) ≫ f) : |
| 431 | ∃! g : quotientSheaf i ⟶ F, quotientSheafProjection i ≫ g = f := by |
| 432 | refine ⟨coequalizer.desc f hf, coequalizer.π_desc f hf, ?_⟩ |
| 433 | intro g hg |
| 434 | apply coequalizer.hom_ext |
| 435 | exact hg.trans (coequalizer.π_desc f hf).symm |
| 436 | |
| 437 | end SheafQuotient |
| 438 | |
| 439 | /-- The universal property required by FiniteDescent follows from fpqc descent once |
| 440 | the scheme quotient and its scheme-theoretic kernel have been constructed. -/ |
| 441 | theorem quotient_universal_property |
| 442 | {S : Scheme.{u}} {A B H : Over S} |
| 443 | [GrpObj A] [GrpObj B] [GrpObj H] |
| 444 | (i : H ⟶ A) [IsMonHom i] [IsClosedImmersion i.left] |
| 445 | (q : A ⟶ B) [IsMonHom q] |
| 446 | [Flat q.left] [Surjective q.left] [QuasiCompact q.left] |
| 447 | (hker : ∀ (T : Over S) (a : T ⟶ A), |
| 448 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) |
| 449 | (T : Over S) (f : A ⟶ T) |
| 450 | (hf : ∀ (U : Over S) (a : U ⟶ A) (h : U ⟶ H), |
| 451 | ((h ≫ i) * a) ≫ f = a ≫ f) : |
| 452 | ∃! g : B ⟶ T, q ≫ g = f := by |
| 453 | have : Mono i := Over.mono_of_mono_left i |
| 454 | exact existsUnique_desc_over q f (invariant_equalizes_kernel i q hker f hf) |
| 455 | |
| 456 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.Epi.Construction |