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/Cosets/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
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.
- Quotient : B → Type (max u v)
HasQuotient.Quotient A b(denoted asA ⧸ b) is the quotient of the typeAbyb.This differs from
HasQuotient.quotient'in that theAargument is explicit, which is necessary to make Lean show the notation in the goal state.
Instances
A deprecated variant of HasQuotient.Quotient
Equations
- HasQuotient.quotient' b = (A ⧸ b)
Instances For
Quotient notation based on the HasQuotient typeclass
Equations
- «term_⧸_» = Lean.ParserDescr.trailingNode `«term_⧸_» 35 0 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⧸ ") (Lean.ParserDescr.cat `term 34))