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 / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.PicardGroup

133 declarations. Mathlib docs · Source

The Picard group of a commutative ring

This file defines the Picard group CommRing.Pic R of a commutative ring R as the type of invertible R-modules (in the sense that M is invertible if there exists another R-module N such that M ⊗[R] N ≃ₗ[R] R) up to isomorphism, equipped with tensor product as multiplication.

Main definition

  • Module.Invertible R M says that the canonical map Mᵛ ⊗[R] M → R is an isomorphism. To show that M is invertible, it suffices to provide an arbitrary R-module N and an isomorphism N ⊗[R] M ≃ₗ[R] R, see Module.Invertible.right.

  • ClassGroup.equivPic: the class group of a domain is isomorphic to the Picard group.

Main results

  • An invertible module is finite and projective (provided as instances).

  • Module.Invertible.free_iff_linearEquiv: an invertible module is free iff it is isomorphic to the ring, i.e. its class is trivial in the Picard group.

  • Submodule.ker_unitsToPic, Submodule.range_unitsToPic: exactness of the sequence 1 → Rˣ → Aˣ → (Submodule R A)ˣ → Pic R → Pic A at the last two spots. See Theorem 2.4 in [RobertsSingh1993] or Exercise I.3.7(iv) and Proposition I.3.5 in [Weibel2013].

References

  • https://qchu.wordpress.com/2014/10/19/the-picard-groups/
  • https://mathoverflow.net/questions/13768/what-is-the-right-definition-of-the-picard-group-of-a-commutative-ring
  • https://mathoverflow.net/questions/375725/picard-group-vs-class-group
  • [Weibel2013], https://sites.math.rutgers.edu/~weibel/Kbook/Kbook.I.pdf
  • Stacks: Picard groups of rings

TODO

Show:

  • Invertible modules over a commutative ring have the same cardinality as the ring.

  • Establish other characterizations of invertible modules, e.g. they are modules that become free of rank one when localized at every prime ideal. See Stacks: Finite projective modules.

  • Connect to invertible sheaves on Spec R. More generally, connect projective R-modules of constant finite rank to locally free sheaves on Spec R.

  • Exhibit isomorphism with sheaf cohomology H¹(Spec R, 𝓞ˣ).

theorem Module.Flat.tensorSubmoduleAlgebraEquiv.congr_simp E1 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [inst_5 : Module.Flat R M]
  [inst_6 : FaithfulSMul R A], Module.Flat.tensorSubmoduleAlgebraEquiv e = Module.Flat.tensorSubmoduleAlgebraEquiv e

theorem Module.Invertible.linearEquiv.congr_simp E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M], Module.Invertible.linearEquiv R M = Module.Invertible.linearEquiv R M

theorem CommRing.Pic.mk.congr_simp E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M], CommRing.Pic.mk R M = CommRing.Pic.mk R M

theorem Module.Flat.submoduleAlgebraEquiv.congr_simp E1 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [inst_5 : Module.Flat R M]
  [inst_6 : FaithfulSMul R A], Module.Flat.submoduleAlgebraEquiv e = Module.Flat.submoduleAlgebraEquiv e

theorem Module.Flat.tensorSubmoduleAlgebraEquivMul.congr_simp E1 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [inst_5 : Module.Flat R M]
  [inst_6 : FaithfulSMul R A] (I : Submodule R A),
  Module.Flat.tensorSubmoduleAlgebraEquivMul e I = Module.Flat.tensorSubmoduleAlgebraEquivMul e I

class Module.Invertible E1 #

(R : Type u) → (M : Type v) → [inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Prop

An R-module M is invertible if the canonical map Mᵛ ⊗[R] M → R is an isomorphism, where Mᵛ is the R-dual of M.

ctor Module.Invertible.mk E0 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.Bijective ⇑(contractLeft R M) → Module.Invertible R M

theorem Module.Invertible.bijective E1 #

∀ {R : Type u} {M : Type v} {inst : CommSemiring R} {inst_1 : AddCommMonoid M} {inst_2 : Module R M}
  [self : Module.Invertible R M], Function.Bijective ⇑(contractLeft R M)

def Module.Invertible.linearEquiv E1 #

(R : Type u) →
  (M : Type v) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] → [Module.Invertible R M] → TensorProduct R (Module.Dual R M) M ≃ₗ[R] R

Promote the canonical map Mᵛ ⊗[R] M → R to a linear equivalence for invertible M.

abbrev Module.Invertible.leftCancelEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      (P : Type u_2) →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid N] →
              [inst_3 : AddCommMonoid P] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R N] →
                    [inst_6 : Module R P] →
                      (TensorProduct R M N ≃ₗ[R] R) → TensorProduct R M (TensorProduct R N P) ≃ₗ[R] P

The canonical isomorphism between a module and the result of tensoring it from the left by two mutually dual invertible modules.

abbrev Module.Invertible.rightCancelEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      (P : Type u_2) →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid N] →
              [inst_3 : AddCommMonoid P] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R N] →
                    [inst_6 : Module R P] →
                      (TensorProduct R M N ≃ₗ[R] R) → TensorProduct R (TensorProduct R P M) N ≃ₗ[R] P

The canonical isomorphism between a module and the result of tensoring it from the right by two mutually dual invertible modules.

theorem Module.Invertible.leftCancelEquiv_comp_lTensor_comp_symm E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} {P : Type u_2} {Q : Type u_3} [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid Q]
  [inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R Q]
  (e : TensorProduct R M N ≃ₗ[R] R) (f : P →ₗ[R] Q),
  ↑(Module.Invertible.leftCancelEquiv Q e) ∘ₗ
      LinearMap.lTensor M (LinearMap.lTensor N f) ∘ₗ ↑(Module.Invertible.leftCancelEquiv P e).symm =
    f

theorem Module.Invertible.rightCancelEquiv_comp_rTensor_comp_symm E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} {P : Type u_2} {Q : Type u_3} [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid Q]
  [inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R Q]
  (e : TensorProduct R M N ≃ₗ[R] R) (f : P →ₗ[R] Q),
  ↑(Module.Invertible.rightCancelEquiv Q e) ∘ₗ
      LinearMap.rTensor N (LinearMap.rTensor M f) ∘ₗ ↑(Module.Invertible.rightCancelEquiv P e).symm =
    f

def Module.Invertible.rTensorInv E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      (P : Type u_2) →
        (Q : Type u_3) →
          [inst : CommSemiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid N] →
                [inst_3 : AddCommMonoid P] →
                  [inst_4 : AddCommMonoid Q] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R N] →
                        [inst_7 : Module R P] →
                          [inst_8 : Module R Q] →
                            (TensorProduct R M N ≃ₗ[R] R) →
                              (TensorProduct R P M →ₗ[R] TensorProduct R Q M) →ₗ[R] P →ₗ[R] Q

If M is invertible, rTensorHom M admits an inverse.

theorem Module.Invertible.rTensorInv_leftInverse E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} (P : Type u_2) (Q : Type u_3) [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid Q]
  [inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R Q]
  (e : TensorProduct R M N ≃ₗ[R] R),
  Function.LeftInverse ⇑(Module.Invertible.rTensorInv P Q e) ⇑(LinearMap.rTensorHom M)

theorem Module.Invertible.rTensorInv_injective E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} (P : Type u_2) (Q : Type u_3) [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid Q]
  [inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R Q]
  (e : TensorProduct R M N ≃ₗ[R] R), Function.Injective ⇑(Module.Invertible.rTensorInv P Q e)

def Module.Invertible.rTensorEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      (P : Type u_2) →
        (Q : Type u_3) →
          [inst : CommSemiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid N] →
                [inst_3 : AddCommMonoid P] →
                  [inst_4 : AddCommMonoid Q] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R N] →
                        [inst_7 : Module R P] →
                          [inst_8 : Module R Q] →
                            (TensorProduct R M N ≃ₗ[R] R) →
                              (P →ₗ[R] Q) ≃ₗ[R] TensorProduct R P M →ₗ[R] TensorProduct R Q M

If M is an invertible R-module, (· ⊗[R] M) is an auto-equivalence of the category of R-modules.

theorem Module.Invertible.rTensorEquiv_apply_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} (P : Type u_2) (Q : Type u_3) [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid Q]
  [inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R Q]
  (e : TensorProduct R M N ≃ₗ[R] R) (f : P →ₗ[R] Q) (a : TensorProduct R P M),
  ((Module.Invertible.rTensorEquiv P Q e) f) a = (TensorProduct.liftAux (TensorProduct.mk R Q M ∘ₗ f)) a

theorem Module.Invertible.rTensorEquiv_symm_apply_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} (P : Type u_2) (Q : Type u_3) [inst : CommSemiring R]
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : AddCommMonoid Q]
  [inst_5 : Module R M] [inst_6 : Module R N] [inst_7 : Module R P] [inst_8 : Module R Q]
  (e : TensorProduct R M N ≃ₗ[R] R) (a : TensorProduct R P M →ₗ[R] TensorProduct R Q M) (x : P),
  ((Module.Invertible.rTensorEquiv P Q e).symm a) x =
    (TensorProduct.rid R Q)
      ((LinearEquiv.lTensor Q e)
        ((TensorProduct.assoc R Q M N)
          ((LinearMap.rTensor N a) ((TensorProduct.assoc R P M N).symm (x ⊗ₜ[R] e.symm 1)))))

theorem Module.Invertible.bijective_curry E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] (e : TensorProduct R M N ≃ₗ[R] R),
  Function.Bijective ⇑(TensorProduct.curry ↑e)

If there is an R-isomorphism between M ⊗[R] N and R, the induced map M → Nᵛ is an isomorphism.

def Module.Invertible.linearEquivDual E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid N] →
            [inst_3 : Module R M] → [inst_4 : Module R N] → (TensorProduct R M N ≃ₗ[R] R) → M ≃ₗ[R] Module.Dual R N

Given M ⊗[R] N ≃ₗ[R] R, this is the induced isomorphism M ≃ₗ[R] Nᵛ.

theorem Module.Invertible.right E3 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] (e : TensorProduct R M N ≃ₗ[R] R), Module.Invertible R N

theorem Module.Invertible.left E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] (e : TensorProduct R M N ≃ₗ[R] R), Module.Invertible R M

instance Module.Invertible.inst E0 #

∀ {R : Type u} [inst : CommSemiring R], Module.Invertible R R

theorem Module.Invertible.congr E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M] (e : M ≃ₗ[R] N), Module.Invertible R N

instance Module.Invertible.instDual E0 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], Module.Invertible R (Module.Dual R M)

instance Module.Invertible.instTensorProduct E0 #

∀ (R : Type u) (M : Type v) (N : Type u_1) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M] [Module.Invertible R N],
  Module.Invertible R (TensorProduct R M N)

instance Module.Invertible.instFinite E0 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], Module.Finite R M

instance Module.Invertible.instProjective E0 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], Module.Projective R M

theorem Module.Invertible.lTensor_injective_iff E0 #

∀ {R : Type u} (M : Type v) {N : Type u_1} {P : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] [Module.Invertible R M] {f : N →ₗ[R] P},
  Function.Injective ⇑(LinearMap.lTensor M f) ↔ Function.Injective ⇑f

theorem Module.Invertible.rTensor_injective_iff E0 #

∀ {R : Type u} (M : Type v) {N : Type u_1} {P : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] [Module.Invertible R M] {f : N →ₗ[R] P},
  Function.Injective ⇑(LinearMap.rTensor M f) ↔ Function.Injective ⇑f

theorem Module.Invertible.lTensor_surjective_iff E0 #

∀ {R : Type u} (M : Type v) {N : Type u_1} {P : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] [Module.Invertible R M] {f : N →ₗ[R] P},
  Function.Surjective ⇑(LinearMap.lTensor M f) ↔ Function.Surjective ⇑f

theorem Module.Invertible.rTensor_surjective_iff E0 #

∀ {R : Type u} (M : Type v) {N : Type u_1} {P : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] [Module.Invertible R M] {f : N →ₗ[R] P},
  Function.Surjective ⇑(LinearMap.rTensor M f) ↔ Function.Surjective ⇑f

theorem Module.Invertible.lTensor_bijective_iff E0 #

∀ {R : Type u} (M : Type v) {N : Type u_1} {P : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] [Module.Invertible R M] {f : N →ₗ[R] P},
  Function.Bijective ⇑(LinearMap.lTensor M f) ↔ Function.Bijective ⇑f

theorem Module.Invertible.rTensor_bijective_iff E0 #

∀ {R : Type u} (M : Type v) {N : Type u_1} {P : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : AddCommMonoid P] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module R P] [Module.Invertible R M] {f : N →ₗ[R] P},
  Function.Bijective ⇑(LinearMap.rTensor M f) ↔ Function.Bijective ⇑f

theorem Module.Invertible.free_iff_linearEquiv E3 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], Module.Free R M ↔ Nonempty (M ≃ₗ[R] R)

An invertible module is free iff it is isomorphic to the ring, i.e. its class is trivial in the Picard group.

theorem Module.Invertible.finrank_eq_one E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] [Module.Free R M], Module.finrank R M = 1

theorem Module.Invertible.rank_eq_one E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] [Module.Free R M], Module.rank R M = 1

theorem Module.Invertible.toModuleEnd_bijective E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], Function.Bijective ⇑(Module.toModuleEnd R M)

instance Module.Invertible.instFaithfulSMul E0 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], FaithfulSMul R M

theorem Module.Invertible.bijective_of_surjective E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M] [Module.Invertible R N] {f : M →ₗ[R] N},
  Function.Surjective ⇑f → Function.Bijective ⇑f

theorem Module.Invertible.rightInverse_of_leftInverse E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M] [Module.Invertible R N] {f : M →ₗ[R] N}
  {g : N →ₗ[R] M}, Function.LeftInverse ⇑f ⇑g → Function.RightInverse ⇑f ⇑g

theorem Module.Invertible.leftInverse_of_rightInverse E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M] [Module.Invertible R N] {f : M →ₗ[R] N}
  {g : N →ₗ[R] M}, Function.RightInverse ⇑f ⇑g → Function.LeftInverse ⇑f ⇑g

theorem Module.Invertible.leftInverse_iff_rightInverse E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M] [Module.Invertible R N] (f : M →ₗ[R] N)
  (g : N →ₗ[R] M), Function.LeftInverse ⇑f ⇑g ↔ Function.RightInverse ⇑f ⇑g

def Module.Invertible.linearEquivOfLeftInverse E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid N] →
            [inst_3 : Module R M] →
              [inst_4 : Module R N] →
                [Module.Invertible R M] →
                  [Module.Invertible R N] → {f : M →ₗ[R] N} → {g : N →ₗ[R] M} → Function.LeftInverse ⇑f ⇑g → M ≃ₗ[R] N

If f : M →ₗ[R] N and g : N →ₗ[R] M where M and N are invertible R-modules, and f is a left inverse of g, then in fact f is also the right inverse of g, and we promote this to an R-module isomorphism.

theorem Module.Invertible.linearEquivOfLeftInverse_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module.Invertible R M] [inst_6 : Module.Invertible R N]
  {f : M →ₗ[R] N} {g : N →ₗ[R] M} (hfg : Function.LeftInverse ⇑f ⇑g) (x : M),
  (Module.Invertible.linearEquivOfLeftInverse hfg) x = f x

theorem Module.Invertible.linearEquivOfLeftInverse_symm_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module.Invertible R M] [inst_6 : Module.Invertible R N]
  {f : M →ₗ[R] N} {g : N →ₗ[R] M} (hfg : Function.LeftInverse ⇑f ⇑g) (x : N),
  (Module.Invertible.linearEquivOfLeftInverse hfg).symm x = g x

def Module.Invertible.linearEquivOfRightInverse E1 #

{R : Type u} →
  {M : Type v} →
    {N : Type u_1} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid N] →
            [inst_3 : Module R M] →
              [inst_4 : Module R N] →
                [Module.Invertible R M] →
                  [Module.Invertible R N] → {f : M →ₗ[R] N} → {g : N →ₗ[R] M} → Function.RightInverse ⇑f ⇑g → M ≃ₗ[R] N

If f : M →ₗ[R] N and g : N →ₗ[R] M where M and N are invertible R-modules, and f is a right inverse of g, then in fact f is also the left inverse of g, and we promote this to an R-module isomorphism.

theorem Module.Invertible.linearEquivOfRightInverse_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module.Invertible R M] [inst_6 : Module.Invertible R N]
  {f : M →ₗ[R] N} {g : N →ₗ[R] M} (hfg : Function.RightInverse ⇑f ⇑g) (x : M),
  (Module.Invertible.linearEquivOfRightInverse hfg) x = f x

theorem Module.Invertible.linearEquivOfRightInverse_symm_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module.Invertible R M] [inst_6 : Module.Invertible R N]
  {f : M →ₗ[R] N} {g : N →ₗ[R] M} (hfg : Function.RightInverse ⇑f ⇑g) (x : N),
  (Module.Invertible.linearEquivOfRightInverse hfg).symm x = g x

def Module.Invertible.algEquivOfRing E1 #

(R : Type u) →
  (A : Type u_4) →
    [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [Module.Invertible R A] → R ≃ₐ[R] A

If an R-algebra A is also an invertible R-module, then it is in fact isomorphic to the base ring R. The algebra structure gives us a map A ⊗ A → A, which after tensoring by Aᵛ becomes a map A → R, which is the inverse map we seek.

theorem Module.Invertible.algEquivOfRing_apply E0 #

∀ (R : Type u) {A : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Module.Invertible R A] (x : R), (Module.Invertible.algEquivOfRing R A) x = (algebraMap R A) x

instance Module.Invertible.instTensorProduct_1 E0 #

∀ (R : Type u) (M : Type v) (A : Type u_4) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] [inst_4 : CommSemiring A] [inst_5 : Algebra R A], Module.Invertible A (TensorProduct R A M)

theorem Module.Invertible.of_isLocalization E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] [Module.Invertible R M]
  [inst_6 : CommSemiring A] [inst_7 : Algebra R A] (S : Submonoid R) [IsLocalization S A] (f : M →ₗ[R] N)
  [IsLocalizedModule S f] [inst_10 : Module A N] [IsScalarTower R A N], Module.Invertible A N

instance Module.Invertible.instLocalizationLocalizedModule E0 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] (S : Submonoid R), Module.Invertible (Localization S) (LocalizedModule S M)

instance Module.Invertible.instTensorProduct_2 E0 #

∀ (R : Type u) (M : Type v) (A : Type u_4) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] [inst_4 : CommSemiring A] [inst_5 : Algebra R A] (L : Type u_5) [inst_6 : AddCommMonoid L]
  [inst_7 : Module R L] [inst_8 : Module A L] [inst_9 : IsScalarTower R A L] [Module.Invertible A L],
  Module.Invertible A (TensorProduct R L M)

theorem Module.Invertible.exists_finset_free_localization E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M],
  ∃ s, Ideal.span ↑s = ⊤ ∧ ∀ r ∈ s, Module.Free (Localization.Away r) (LocalizedModule.Away r M)

An invertible module over a commutative semiring is Zariski-locally free of rank 1. Theorem 10.7 in [BorgerJun2024].

More precisely, there is a finite set of elements of R that generate the unit ideal, and localizing M at any one of them yields a free module.

Finite projective modules over a local commutative semiring may not be free, see Remark 7.10, Example 9.6 and 9.8.

instance instInvertibleCarrierOutSemimoduleCatValSkeleton E0 #

∀ (R : Type u) [inst : CommSemiring R] (M : (CategoryTheory.Skeleton (SemimoduleCat R))ˣ),
  Module.Invertible R ↑(Quotient.out ↑M)

instance instInvertibleCarrierOutModuleCatValSkeleton E0 #

∀ (R : Type u) [inst : CommRing R] (M : (CategoryTheory.Skeleton (ModuleCat R))ˣ),
  Module.Invertible R ↑(Quotient.out ↑M)

instance instSmallUnitsSkeletonSemimoduleCat E0 #

∀ (R : Type u) [inst : CommSemiring R], Small.{u, u + 1} (CategoryTheory.Skeleton (SemimoduleCat R))ˣ

instance instSmallUnitsSkeletonModuleCat E0 #

∀ (R : Type u) [inst : CommRing R], Small.{u, u + 1} (CategoryTheory.Skeleton (ModuleCat R))ˣ

def CommRing.Pic E1 #

(R : Type u) → [CommSemiring R] → Type u

The Picard group of a commutative semiring R consists of the invertible R-modules, up to isomorphism.

instance instCommGroupPic E0 #

(R : Type u) → [inst : CommSemiring R] → CommGroup (CommRing.Pic R)

instance instInvertibleReprₛ E0 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M], Module.Invertible R (Module.Finite.reprₛ R M)

abbrev CommRing.Pic.AsModule E1 #

{R : Type u} → [inst : CommSemiring R] → CommRing.Pic R → Type u

A representative of an element in the Picard group.

instance CommRing.Pic.instCoeSortType E0 #

(R : Type u) → [inst : CommSemiring R] → CoeSort (CommRing.Pic R) (Type u)

instance CommRing.Pic.instAddCommGroupAsModule E0 #

(R : Type u_5) → [inst : CommRing R] → (M : CommRing.Pic R) → AddCommGroup M.AsModule

def CommRing.Pic.mk E1 #

(R : Type u) →
  (M : Type v) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → [Module.Invertible R M] → CommRing.Pic R

The class of an invertible module in the Picard group.

def CommRing.Pic.mk.linearEquiv E1 #

(R : Type u) →
  (M : Type v) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] → [inst_3 : Module.Invertible R M] → (CommRing.Pic.mk R M).AsModule ≃ₗ[R] M

mk R M is indeed the class of M.

theorem CommRing.Pic.mk_eq_iff E0 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M] {N : CommRing.Pic R}, CommRing.Pic.mk R M = N ↔ Nonempty (M ≃ₗ[R] N.AsModule)

theorem CommRing.Pic.mk_eq_self E1 #

∀ {R : Type u} [inst : CommSemiring R] {M : CommRing.Pic R}, CommRing.Pic.mk R M.AsModule = M

theorem CommRing.Pic.ext_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {M N : CommRing.Pic R}, M = N ↔ Nonempty (M.AsModule ≃ₗ[R] N.AsModule)

theorem CommRing.Pic.mk_eq_mk_iff E0 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module.Invertible R M] [inst_6 : Module.Invertible R N],
  CommRing.Pic.mk R M = CommRing.Pic.mk R N ↔ Nonempty (M ≃ₗ[R] N)

theorem CommRing.Pic.mk_self E1 #

∀ {R : Type u} [inst : CommSemiring R], CommRing.Pic.mk R R = 1

theorem CommRing.Pic.mk_eq_one_iff E0 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M], CommRing.Pic.mk R M = 1 ↔ Nonempty (M ≃ₗ[R] R)

theorem CommRing.Pic.mk_eq_one_iff_free E1 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M], CommRing.Pic.mk R M = 1 ↔ Module.Free R M

theorem CommRing.Pic.mk_eq_one E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M] [Module.Free R M], CommRing.Pic.mk R M = 1

instance CommRing.Pic.instFreeAsModuleOfNat E0 #

∀ {R : Type u} [inst : CommSemiring R], Module.Free R (CommRing.Pic.AsModule 1)

theorem CommRing.Pic.mk_tensor E1 #

∀ {R : Type u} {M : Type v} {N : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module.Invertible R M] [inst_6 : Module.Invertible R N],
  CommRing.Pic.mk R (TensorProduct R M N) = CommRing.Pic.mk R M * CommRing.Pic.mk R N

theorem CommRing.Pic.mk_dual E1 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Module.Invertible R M], CommRing.Pic.mk R (Module.Dual R M) = (CommRing.Pic.mk R M)⁻¹

theorem CommRing.Pic.inv_eq_dual E1 #

∀ {R : Type u} [inst : CommSemiring R] (M : CommRing.Pic R), M⁻¹ = CommRing.Pic.mk R (Module.Dual R M.AsModule)

theorem CommRing.Pic.mul_eq_tensor E1 #

∀ {R : Type u} [inst : CommSemiring R] (M N : CommRing.Pic R),
  M * N = CommRing.Pic.mk R (TensorProduct R M.AsModule N.AsModule)

theorem CommRing.Pic.subsingleton_iffₛ E1 #

∀ {R : Type u} [inst : CommSemiring R],
  Subsingleton (CommRing.Pic R) ↔
    ∀ (M : Type u) [inst_1 : AddCommMonoid M] [inst_2 : Module R M], Module.Invertible R M → Module.Free R M

theorem CommRing.Pic.subsingleton_iff E0 #

∀ {R : Type u} [inst : CommRing R],
  Subsingleton (CommRing.Pic R) ↔
    ∀ (M : Type u) [inst_1 : AddCommGroup M] [inst_2 : Module R M], Module.Invertible R M → Module.Free R M

instance CommRing.Pic.instFreeOfSubsingleton E0 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] [Subsingleton (CommRing.Pic R)], Module.Free R M

instance CommRing.Pic.instSubsingletonOfIsLocalRing E0 #

∀ {R : Type u} [inst : CommSemiring R] [IsLocalRing R], Subsingleton (CommRing.Pic R)

The Picard group of a local semiring is trivial.

instance CommRing.Pic.instSubsingletonOfFiniteMaximalSpectrum E0 #

∀ (R : Type u_5) [inst : CommRing R] [Finite (MaximalSpectrum R)], Subsingleton (CommRing.Pic R)

The Picard group of a semilocal ring is trivial.

def CommRing.Pic.mapAlgebra E1 #

(R : Type u) →
  [inst : CommSemiring R] →
    (A : Type u_5) → [inst_1 : CommSemiring A] → [Algebra R A] → CommRing.Pic R →* CommRing.Pic A

Every R-algebra A gives rise to a homomorphism between Picard groups of R and A.

theorem CommRing.Pic.mapAlgebra_apply E0 #

∀ (R : Type u) [inst : CommSemiring R] (A : Type u_5) [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  (M : CommRing.Pic R), (CommRing.Pic.mapAlgebra R A) M = CommRing.Pic.mk A (TensorProduct R A M.AsModule)

theorem CommRing.Pic.mapAlgebra_mapAlgebra E1 #

∀ {R : Type u} [inst : CommSemiring R] {A : Type u_5} {B : Type u_6} [inst_1 : CommSemiring A] [inst_2 : CommSemiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Algebra A B] [IsScalarTower R A B] {M : CommRing.Pic R},
  (CommRing.Pic.mapAlgebra A B) ((CommRing.Pic.mapAlgebra R A) M) = (CommRing.Pic.mapAlgebra R B) M

theorem CommRing.Pic.mapAlgebra_comp_mapAlgebra E1 #

∀ {R : Type u} [inst : CommSemiring R] {A : Type u_5} {B : Type u_6} [inst_1 : CommSemiring A] [inst_2 : CommSemiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Algebra A B] [IsScalarTower R A B],
  (CommRing.Pic.mapAlgebra A B).comp (CommRing.Pic.mapAlgebra R A) = CommRing.Pic.mapAlgebra R B

theorem CommRing.Pic.mapAlgebra_self_apply E0 #

∀ {R : Type u} [inst : CommSemiring R] {M : CommRing.Pic R}, (CommRing.Pic.mapAlgebra R R) M = M

theorem CommRing.Pic.mapAlgebra_self E1 #

∀ {R : Type u} [inst : CommSemiring R], CommRing.Pic.mapAlgebra R R = MonoidHom.id (CommRing.Pic R)

def CommRing.Pic.mapRingHom E1 #

{R : Type u} →
  [inst : CommSemiring R] → {S : Type u_7} → [inst_1 : CommSemiring S] → (R →+* S) → CommRing.Pic R →* CommRing.Pic S

Every ring homomorphism between commutative semirings induces a homomorphism between Picard groups.

theorem CommRing.Pic.mapRingHom_algebraMap E1 #

∀ {R : Type u} [inst : CommSemiring R] {A : Type u_5} [inst_1 : CommSemiring A] [inst_2 : Algebra R A],
  CommRing.Pic.mapRingHom (algebraMap R A) = CommRing.Pic.mapAlgebra R A

theorem CommRing.Pic.mapRingHom_comp_mapRingHom E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Type u_7} {T : Type u_8} [inst_1 : CommSemiring S] [inst_2 : CommSemiring T]
  {f : R →+* S} {g : S →+* T},
  (CommRing.Pic.mapRingHom g).comp (CommRing.Pic.mapRingHom f) = CommRing.Pic.mapRingHom (g.comp f)

theorem CommRing.Pic.mapRingHom_mapRingHom E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Type u_7} {T : Type u_8} [inst_1 : CommSemiring S] [inst_2 : CommSemiring T]
  {f : R →+* S} {g : S →+* T} {M : CommRing.Pic R},
  (CommRing.Pic.mapRingHom g) ((CommRing.Pic.mapRingHom f) M) = (CommRing.Pic.mapRingHom (g.comp f)) M

theorem CommRing.Pic.mapRingHom_id E1 #

∀ {R : Type u} [inst : CommSemiring R], CommRing.Pic.mapRingHom (RingHom.id R) = MonoidHom.id (CommRing.Pic R)

theorem CommRing.Pic.mapRingHom_id_apply E0 #

∀ {R : Type u} [inst : CommSemiring R] {M : CommRing.Pic R}, (CommRing.Pic.mapRingHom (RingHom.id R)) M = M

def CommRing.Pic.functor E1 #

CategoryTheory.Functor CommSemiRingCat CommGrpCat

Picard group as a functor from the category of commutative semirings to the category of abelian groups.

def CommRing.relPic E1 #

(R : Type u) →
  [inst : CommSemiring R] → (A : Type u_5) → [inst_1 : CommSemiring A] → [Algebra R A] → Subgroup (CommRing.Pic R)

The relative Picard group of an R-algebra A, denoted Pic(A/R), defined to be the kernel of Pic.mapAlgebra R A.

theorem CommRing.relPic_eq_top E1 #

∀ (R : Type u) [inst : CommSemiring R] (A : Type u_5) [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [Subsingleton (CommRing.Pic A)], CommRing.relPic R A = ⊤

theorem Module.Invertible.tensorProductComm_eq_refl E1 #

∀ (R : Type u) (M : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M], TensorProduct.comm R M M = LinearEquiv.refl R (TensorProduct R M M)

theorem Module.Invertible.tmul_comm E1 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Invertible R M] {m₁ m₂ : M}, m₁ ⊗ₜ[R] m₂ = m₂ ⊗ₜ[R] m₁

instance Submodule.projective_units E0 #

∀ {R : Type u} {A : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  (I : (Submodule R A)ˣ), Module.Projective R ↥↑I

theorem Submodule.projective_of_isUnit E1 #

∀ {R : Type u} {A : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  {I : Submodule R A}, IsUnit I → Module.Projective R ↥I

def Submodule.tensorEquivMul E1 #

{R : Type u} →
  {A : Type u_4} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] →
        [inst_2 : Algebra R A] → [FaithfulSMul R A] → (I J : (Submodule R A)ˣ) → TensorProduct R ↥↑I ↥↑J ≃ₗ[R] ↥↑(I * J)

Given two invertible R-submodules in an R-algebra A, the R-linear map from I ⊗[R] J to I * J induced by multiplication is an isomorphism.

def Submodule.tensorInvEquiv E1 #

{R : Type u} →
  {A : Type u_4} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] →
        [inst_2 : Algebra R A] → [FaithfulSMul R A] → (I : (Submodule R A)ˣ) → TensorProduct R ↥↑I ↥↑I⁻¹ ≃ₗ[R] R

Given an invertible R-submodule I in an R-algebra A, the R-linear map from I ⊗[R] I⁻¹ to R induced by multiplication is an isomorphism.

instance Submodule.instInvertibleSubtypeMemVal E0 #

∀ {R : Type u} {A : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  (I : (Submodule R A)ˣ), Module.Invertible R ↥↑I

def Submodule.unitsToPic E1 #

(R : Type u) →
  (A : Type u_4) →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [FaithfulSMul R A] → (Submodule R A)ˣ →* CommRing.Pic R

The group homomorphism from the invertible submodules in a faithful algebra over R to the Picard group of R. See Lemma 2.2 in [RobertsSingh1993].

theorem Submodule.unitsToPic_apply E0 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A] (I : (Submodule R A)ˣ), (Submodule.unitsToPic R A) I = CommRing.Pic.mk R ↥↑I

def Submodule.unitsToPicEquiv E1 #

{R : Type u} →
  {A : Type u_4} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] →
        [inst_2 : Algebra R A] →
          [inst_3 : FaithfulSMul R A] → (I : (Submodule R A)ˣ) → ((Submodule.unitsToPic R A) I).AsModule ≃ₗ[R] ↥↑I

The image of an invertible R-submodule I ⊆ A under unitsToPic is isomorphic to I.

theorem Submodule.ker_unitsToPic E3 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A], (Submodule.unitsToPic R A).ker = (Units.map ↑(Submodule.spanSingleton R)).range

theorem Submodule.mulExact_unitsMap_spanSingleton_unitsToPic E1 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A], Function.MulExact ⇑(Units.map ↑(Submodule.spanSingleton R)) ⇑(Submodule.unitsToPic R A)

Exactness of the sequence 1 → Rˣ → Aˣ → (Submodule R A)ˣ → Pic R → Pic A at (Submodule R A)ˣ.

def Module.Flat.toAlgebra E1 #

{R : Type u} →
  {M : Type v} →
    {A : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring A] → [inst_4 : Algebra R A] → (TensorProduct R A M ≃ₗ[A] A) → M →ₗ[R] A

If a flat R-module becomes free of rank 1 after base-changing to a faithful R-algebra A, then it embeds into A.

theorem Module.Flat.toAlgebra_injective E1 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [Module.Flat R M] [FaithfulSMul R A],
  Function.Injective ⇑(Module.Flat.toAlgebra e)

abbrev Module.Flat.submoduleAlgebra E1 #

{R : Type u} →
  {M : Type v} →
    {A : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring A] → [inst_4 : Algebra R A] → (TensorProduct R A M ≃ₗ[A] A) → Submodule R A

A flat R-module as a R-submodule of a faithful R-algebra.

def Module.Flat.submoduleAlgebraEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {A : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring A] →
              [inst_4 : Algebra R A] →
                (e : TensorProduct R A M ≃ₗ[A] A) →
                  [Module.Flat R M] → [FaithfulSMul R A] → ↥(Module.Flat.submoduleAlgebra e) ≃ₗ[R] M

An isomorphism between a flat R-module and its realization as a submodule in a faithful R-algebra.

instance Module.Flat.instSubtypeMemSubmoduleSubmoduleAlgebra E0 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [Module.Flat R M] [FaithfulSMul R A],
  Module.Flat R ↥(Module.Flat.submoduleAlgebra e)

instance Module.Flat.instInvertibleSubtypeMemSubmoduleSubmoduleAlgebra E0 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [Module.Flat R M] [FaithfulSMul R A]
  [Module.Invertible R M], Module.Invertible R ↥(Module.Flat.submoduleAlgebra e)

def Module.Flat.tensorSubmoduleAlgebraEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {A : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring A] →
              [inst_4 : Algebra R A] →
                (e : TensorProduct R A M ≃ₗ[A] A) →
                  [Module.Flat R M] → [FaithfulSMul R A] → TensorProduct R A ↥(Module.Flat.submoduleAlgebra e) ≃ₗ[A] A

When a flat R-module M is embedded as a submodule of a faithful R-algebra A, the multiplication map induces an isomorphism A ⊗[R] M ≃ₗ[A] A.

theorem Module.Flat.top_mul_submoduleAlgebra E1 #

∀ {R : Type u} {M : Type v} {A : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (e : TensorProduct R A M ≃ₗ[A] A) [Module.Flat R M] [FaithfulSMul R A],
  ⊤ * Module.Flat.submoduleAlgebra e = ⊤

def Module.Flat.tensorSubmoduleAlgebraEquivMul E1 #

{R : Type u} →
  {M : Type v} →
    {A : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring A] →
              [inst_4 : Algebra R A] →
                (e : TensorProduct R A M ≃ₗ[A] A) →
                  [Module.Flat R M] →
                    [FaithfulSMul R A] →
                      (I : Submodule R A) →
                        TensorProduct R ↥I ↥(Module.Flat.submoduleAlgebra e) ≃ₗ[R] ↥(I * Module.Flat.submoduleAlgebra e)

When a flat R-module M is embedded as a submodule of a faithful R-algebra A, we have I ⊗[R] M ≃ₗ[R] I * M for any R-submodule I of A.

theorem Submodule.range_unitsToPic E3 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A], (Submodule.unitsToPic R A).range = CommRing.relPic R A

theorem Submodule.mulExact_unitsToPic_mapAlgebra E1 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A], Function.MulExact ⇑(Submodule.unitsToPic R A) ⇑(CommRing.Pic.mapAlgebra R A)

Exactness of the sequence 1 → Rˣ → Aˣ → (Submodule R A)ˣ → Pic R → Pic A at Pic R.

def Submodule.unitsQuotEquivRelPic E1 #

(R : Type u) →
  (A : Type u_4) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring A] →
        [inst_2 : Algebra R A] →
          [FaithfulSMul R A] →
            (Submodule R A)ˣ ⧸ (Units.map ↑(Submodule.spanSingleton R)).range ≃* ↥(CommRing.relPic R A)

If A is a faithful R-algebra, the relative Picard group Pic(A/R) is isomorphic to the group of the invertible R-submodules in A modulo the principal submodules.

theorem Submodule.unitsQuotEquivRelPic_symm_apply E0 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A] (a : ↥(CommRing.relPic R A)),
  (Submodule.unitsQuotEquivRelPic R A).symm a =
    (QuotientGroup.congr (Submodule.unitsToPic R A).ker (Units.map ↑(Submodule.spanSingleton R)).range
        (MulEquiv.refl (Submodule R A)ˣ) ⋯)
      ((QuotientGroup.quotientKerEquivRange (Submodule.unitsToPic R A)).symm ((MulEquiv.subgroupCongr ⋯).symm a))

theorem Submodule.unitsQuotEquivRelPic_apply_coe E0 #

∀ (R : Type u) (A : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : FaithfulSMul R A] (a : (Submodule R A)ˣ ⧸ (Units.map ↑(Submodule.spanSingleton R)).range),
  ↑((Submodule.unitsQuotEquivRelPic R A) a) =
    ↑((QuotientGroup.quotientKerEquivRange (Submodule.unitsToPic R A))
        ((QuotientGroup.congr (Units.map ↑(Submodule.spanSingleton R)).range (Submodule.unitsToPic R A).ker
            (MulEquiv.refl (Submodule R A)ˣ) ⋯)
          a))

def ClassGroup.equivPic E3 #

(R : Type u_5) → [inst : CommRing R] → [inst_1 : IsDomain R] → ClassGroup R ≃* CommRing.Pic R

The class group of a domain is isomorphic to the Picard group.

theorem ClassGroup.equivPic_symm_apply E0 #

∀ (R : Type u_5) [inst : CommRing R] [inst_1 : IsDomain R] (a : CommRing.Pic R),
  (ClassGroup.equivPic R).symm a =
    (ClassGroup.mulEquivUnitsSubmoduleQuotRange R).symm
      ((QuotientGroup.congr (Submodule.unitsToPic R (FractionRing R)).ker (Units.map ↑(Submodule.spanSingleton R)).range
          (MulEquiv.refl (Submodule R (FractionRing R))ˣ) ⋯)
        ((QuotientGroup.quotientKerEquivRange (Submodule.unitsToPic R (FractionRing R))).symm
          ((MulEquiv.subgroupCongr ⋯).symm ((MulEquiv.subgroupCongr ⋯).symm (Subgroup.topEquiv.symm a)))))

theorem ClassGroup.equivPic_apply E0 #

∀ (R : Type u_5) [inst : CommRing R] [inst_1 : IsDomain R] (a : ClassGroup R),
  (ClassGroup.equivPic R) a =
    ↑((QuotientGroup.quotientKerEquivRange (Submodule.unitsToPic R (FractionRing R)))
        ((QuotientGroup.congr (Units.map ↑(Submodule.spanSingleton R)).range
            (Submodule.unitsToPic R (FractionRing R)).ker (MulEquiv.refl (Submodule R (FractionRing R))ˣ) ⋯)
          ((ClassGroup.mulEquivUnitsSubmoduleQuotRange R) a)))

instance instSubsingletonPicOfIsDomainOfIsGCDMonoid E0 #

∀ (R : Type u_5) [inst : CommRing R] [IsDomain R] [IsGCDMonoid R], Subsingleton (CommRing.Pic R)

The Picard group of a domain with normalizable gcd is trivial. This includes unique factorization domains.

theorem Module.Invertible.exists_linearEquiv_ideal E1 #

∀ (R : Type u_5) (M : Type u_6) [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [Module.Invertible R M] [Subsingleton (CommRing.Pic (FractionRing R))], ∃ I, Nonempty (M ≃ₗ[R] ↥I)

If FractionRing R has trivial Picard group, every invertible R-module is isomorphic to an ideal.