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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Ring.Action.Basic

14 declarations. Mathlib docs · Source

Group action on rings

This file defines the typeclass of monoid acting on semirings MulSemiringAction M R.

An example of a MulSemiringAction is the action of the Galois group Gal(L/K) on the big field L. Note that Algebra does not in general satisfy the axioms of MulSemiringAction.

Implementation notes

There is no separate typeclass for group acting on rings, group acting on fields, etc. They are all grouped under MulSemiringAction.

Note

The corresponding typeclass of subrings invariant under such an action, IsInvariantSubring, is defined in Mathlib/Algebra/Ring/Action/Invariant.lean.

Tags

group action

def MulSemiringAction.ctorIdx E1 #

{M : Type u} → {R : Type v} → {inst : Monoid M} → {inst_1 : Semiring R} → MulSemiringAction M R → ℕ

class MulSemiringAction E3 #

(M : Type u) → (R : Type v) → [Monoid M] → [Semiring R] → Type (max u v)

Typeclass for multiplicative actions by monoids on semirings.

This combines DistribMulAction with MulDistribMulAction: it expresses the interplay between the action and both addition and multiplication on the target. Two key axioms are g • (x + y) = (g • x) + (g • y) and g • (x * y) = (g • x) * (g • y).

A typical use case is the action of a Galois group $Gal(L/K)$ on the field L.

ctor MulSemiringAction.mk E0 #

{M : Type u} →
  {R : Type v} →
    [inst : Monoid M] →
      [inst_1 : Semiring R] →
        [toDistribMulAction : DistribMulAction M R] →
          (∀ (r : M), r • 1 = 1) → (∀ (r : M) (x y : R), r • (x * y) = r • x * r • y) → MulSemiringAction M R

instance MulSemiringAction.toDistribMulAction E0 #

{M : Type u} →
  {R : Type v} → {inst : Monoid M} → {inst_1 : Semiring R} → [self : MulSemiringAction M R] → DistribMulAction M R

instance MulSemiringAction.toMulDistribMulAction E0 #

{M : Type u} →
  {R : Type v} → [inst : Monoid M] → [inst_1 : Semiring R] → [self : MulSemiringAction M R] → MulDistribMulAction M R

theorem MulSemiringAction.smul_mul E1 #

∀ {M : Type u} {R : Type v} {inst : Monoid M} {inst_1 : Semiring R} [self : MulSemiringAction M R] (r : M) (x y : R),
  r • (x * y) = r • x * r • y

Distributivity of • across *

theorem MulSemiringAction.smul_one E1 #

∀ {M : Type u} {R : Type v} {inst : Monoid M} {inst_1 : Semiring R} [self : MulSemiringAction M R] (r : M), r • 1 = 1

Multiplying 1 by a scalar gives 1

def MulSemiringAction.toRingHom E1 #

(M : Type u_1) → [inst : Monoid M] → (R : Type v) → [inst_1 : Semiring R] → [MulSemiringAction M R] → M → R →+* R

Each element of the monoid defines a semiring homomorphism.

theorem MulSemiringAction.toRingHom_apply E0 #

∀ (M : Type u_1) [inst : Monoid M] (R : Type v) [inst_1 : Semiring R] [inst_2 : MulSemiringAction M R] (x : M)
  (x_1 : R), (MulSemiringAction.toRingHom M R x) x_1 = x • x_1

theorem toRingHom_injective E1 #

∀ (M : Type u_1) [inst : Monoid M] (R : Type v) [inst_1 : Semiring R] [inst_2 : MulSemiringAction M R]
  [FaithfulSMul M R], Function.Injective (MulSemiringAction.toRingHom M R)

instance RingHom.applyMulSemiringAction E0 #

(R : Type v) → [inst : Semiring R] → MulSemiringAction (R →+* R) R

The tautological action by R →+* R on R.

This generalizes Function.End.applyMulAction.

theorem RingHom.smul_def E0 #

∀ (R : Type v) [inst : Semiring R] (f : R →+* R) (a : R), f • a = f a

instance RingHom.applyFaithfulSMul E0 #

∀ (R : Type v) [inst : Semiring R], FaithfulSMul (R →+* R) R

RingHom.applyMulSemiringAction is faithful.

abbrev MulSemiringAction.compHom E1 #

{M : Type u_1} →
  {N : Type u_2} →
    [inst : Monoid M] →
      [inst_1 : Monoid N] →
        (R : Type v) → [inst_2 : Semiring R] → (N →* M) → [MulSemiringAction M R] → MulSemiringAction N R

Compose a MulSemiringAction with a MonoidHom, with action f r' • m. See note [reducible non-instances].