Mathlib.Algebra.Quotient
5 declarations. Mathlib docs · Source
Algebraic quotients
This file defines notation for algebraic quotients, e.g. quotient groups G ⧸ H,
quotient modules M ⧸ N and ideal quotients R ⧸ I.
The actual quotient structures are defined in the following files:
- Quotient Group:
Mathlib/GroupTheory/QuotientGroup/Defs.lean - Quotient Module:
Mathlib/LinearAlgebra/Quotient/Defs.lean - Quotient Ring:
Mathlib/RingTheory/Ideal/Quotient/Defs.lean
Notation
The following notation is introduced:
G ⧸ Hstands for the quotient of the typeGby some termH(for example,Hcan be a normal subgroup ofG). To implement this notation for other quotients, you should provide aHasQuotientinstance. Note that sinceGcan usually be inferred fromH,_ ⧸ Hcan also be used, but this is less readable.
Tags
quotient, group quotient, quotient group, module quotient, quotient module, ring quotient, ideal quotient, quotient ring
def HasQuotient.ctorIdx E1 #
{A : outParam (Type u)} → {B : Type v} → HasQuotient A B → ℕ
class HasQuotient E1 #
outParam (Type u) → Type v → Type (max (u + 1) (v + 1))
HasQuotient A B is a notation typeclass that allows us to write A ⧸ b for b : B.
This allows the usual notation for quotients of algebraic structures,
such as groups, modules and rings.
A is a parameter, despite being unused in the definition below, so it appears in the notation.
ctor HasQuotient.mk E0 #
{A : outParam (Type u)} → {B : Type v} → (B → Type (max u v)) → HasQuotient A B
abbrev HasQuotient.Quotient E1 #
(A : outParam (Type u)) → {B : Type v} → [self : HasQuotient A B] → B → Type (max u v)
HasQuotient.Quotient A b (denoted as A ⧸ b) is the quotient of the type A by b.
def «term_⧸_» E1 #
Lean.TrailingParserDescr
Quotient notation based on the HasQuotient typeclass