The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.Morphisms.FlatRank

12 declarations. Mathlib docs · Source

Rank of a finite flat morphism of schemes

In this file we define the rank AlgebraicGeometry.Scheme.Hom.finrank of a finite flat morphism of schemes f : X ⟶ Y. It is locally constant and is characterized by the condition that the rank of Spec S ⟶ Spec R at some prime p of R is the rank of S as an R-algebra at p.

Main definitions

  • AlgebraicGeometry.Scheme.Hom.finrank: For a morphism f : X ⟶ Y of schemes, the function Y → ℕ sending y to the rank of f_* 𝒪_X over 𝒪_Y at y. Instead of talking about sheaves, we define it by choosing an open neighbourhood of y. This is sometimes also called the degree of a morphism in the literature.

Main results

  • AlgebraicGeometry.Scheme.Hom.isLocallyConstant_finrank: The rank function of a finite flat locally finitely presented morphism is locally constant.
  • AlgebraicGeometry.Scheme.Hom.one_le_finrank_iff_surjective: The rank function is at least 1 everywhere if and only if the morphism is surjective.
  • AlgebraicGeometry.Scheme.Hom.isIso_iff_finrank_eq: A finite flat locally finitely presented morphism is an isomorphism if and only if its rank is constant equal to 1.

TODO

  • Relate Hom.finrank f y to the rank of f_* 𝒪_X over 𝒪_Y at y when the API for locally free sheaves of modules is developed.

def AlgebraicGeometry.Scheme.Hom.finrank E3 #

{X S : AlgebraicGeometry.Scheme} → (X ⟶ S) → ↥S → ℕ

The rank of a morphism f : X ⟶ S of schemes at a point s : S. When f is finite, flat and locally of finite presentation, this is a locally constant function (see AlgebraicGeometry.isLocallyConstant_finrank).

theorem AlgebraicGeometry.Scheme.Hom.finrank_SpecMap_eq_finrank E0 #

∀ {R S : CommRingCat} {f : R ⟶ S},
  (CommRingCat.Hom.hom f).Finite →
    (CommRingCat.Hom.hom f).Flat →
      AlgebraicGeometry.Scheme.Hom.finrank (AlgebraicGeometry.Spec.map f) = (CommRingCat.Hom.hom f).finrank

theorem AlgebraicGeometry.Scheme.Hom.finrank_SpecMap_algebraMap E1 #

∀ (R S : Type u) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Finite R S] [Module.Flat R S]
  (x : PrimeSpectrum R),
  AlgebraicGeometry.Scheme.Hom.finrank (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap R S))) x =
    Module.rankAtStalk S x

theorem AlgebraicGeometry.Scheme.Hom.finrank_comp_left_of_isIso E0 #

∀ {X S Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (g : Y ⟶ S) [CategoryTheory.IsIso f] [AlgebraicGeometry.Flat g]
  [AlgebraicGeometry.IsFinite g],
  AlgebraicGeometry.Scheme.Hom.finrank (CategoryTheory.CategoryStruct.comp f g) = AlgebraicGeometry.Scheme.Hom.finrank g

theorem AlgebraicGeometry.Scheme.Hom.finrank_pullback_snd E1 #

∀ {X Y Z : AlgebraicGeometry.Scheme} (f : X ⟶ Z) (g : Y ⟶ Z) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f]
  (y : ↥Y),
  AlgebraicGeometry.Scheme.Hom.finrank (CategoryTheory.Limits.pullback.snd f g) y =
    AlgebraicGeometry.Scheme.Hom.finrank f (g y)

theorem AlgebraicGeometry.Scheme.Hom.finrank_of_isPullback E1 #

∀ {P X Y Z : AlgebraicGeometry.Scheme} (fst : P ⟶ X) (snd : P ⟶ Y) (f : X ⟶ Z) (g : Y ⟶ Z),
  CategoryTheory.IsPullback fst snd f g →
    ∀ [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f] (y : ↥Y),
      AlgebraicGeometry.Scheme.Hom.finrank snd y = AlgebraicGeometry.Scheme.Hom.finrank f (g y)

theorem AlgebraicGeometry.Scheme.Hom.finrank_pullback_fst E1 #

∀ {X Y Z : AlgebraicGeometry.Scheme} (f : X ⟶ Z) (g : Y ⟶ Z) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f]
  (y : ↥Y),
  AlgebraicGeometry.Scheme.Hom.finrank (CategoryTheory.Limits.pullback.fst g f) y =
    AlgebraicGeometry.Scheme.Hom.finrank f (g y)

theorem AlgebraicGeometry.Scheme.Hom.one_le_finrank_map E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f] (x : ↥X),
  1 ≤ AlgebraicGeometry.Scheme.Hom.finrank f (f x)

theorem AlgebraicGeometry.Scheme.Hom.one_le_finrank_iff_surjective E3 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f],
  1 ≤ AlgebraicGeometry.Scheme.Hom.finrank f ↔ AlgebraicGeometry.Surjective f

A finite flat locally finitely presented morphism is surjective if and only if its rank function is at least 1 everywhere.

theorem AlgebraicGeometry.Scheme.Hom.isLocallyConstant_finrank E3 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f]
  [AlgebraicGeometry.LocallyOfFinitePresentation f], IsLocallyConstant (AlgebraicGeometry.Scheme.Hom.finrank f)

The rank of a finite flat locally finitely presented morphism is locally constant.

theorem AlgebraicGeometry.Scheme.Hom.finrank_eq_one_of_isIso E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [CategoryTheory.IsIso f], AlgebraicGeometry.Scheme.Hom.finrank f = 1

The rank of an isomorphism is 1.

theorem AlgebraicGeometry.Scheme.Hom.isIso_iff_finrank_eq E3 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.Flat f] [AlgebraicGeometry.IsFinite f],
  CategoryTheory.IsIso f ↔ AlgebraicGeometry.Scheme.Hom.finrank f = 1

A finite flat locally finitely presented morphism is an isomorphism if and only if its rank is constant equal to 1.