Congruence relations on rings #
This file contains basic results concerning congruence relations on rings,
which extend Con
and AddCon
on monoids and additive monoids.
Most of the time you likely want to use the Ideal.Quotient
API that is built on top of this.
Main Definitions #
RingCon R
: the type of congruence relations respecting+
and*
.RingConGen r
: the inductively defined smallest ring congruence relation containing a given binary relation.
TODO #
- Use this for
RingQuot
too. - Copy across more API from
Con
andAddCon
inGroupTheory/Congruence.lean
.
Scalar multiplication #
The operation of scalar multiplication •
descends naturally to the quotient.
Equations
- c.instSMulQuotient = inferInstanceAs (SMul α c.Quotient)
Equations
- c.instDistribMulActionQuotientOfIsScalarTower = DistribMulAction.mk ⋯ ⋯
Equations
- c.instMulSemiringActionQuotientOfIsScalarTower = MulSemiringAction.mk ⋯ ⋯
Lattice structure #
The API in this section is copied from Mathlib/GroupTheory/Congruence.lean
For congruence relations c, d
on a type M
with multiplication and addition, c ≤ d
iff
∀ x y ∈ M
, x
is related to y
by d
if x
is related to y
by c
.
The infimum of a set of congruence relations on a given type with multiplication and addition.
Equations
- RingCon.instPartialOrder = PartialOrder.mk ⋯
The complete lattice of congruence relations on a given type with multiplication and addition.
Equations
- RingCon.instCompleteLattice = CompleteLattice.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
The inductively defined smallest congruence relation containing a binary relation r
equals
the infimum of the set of congruence relations containing r
.
The smallest congruence relation containing a binary relation r
is contained in any
congruence relation containing r
.
Given binary relations r, s
with r
contained in s
, the smallest congruence relation
containing s
contains the smallest congruence relation containing r
.
Congruence relations equal the smallest congruence relation in which they are contained.
The map sending a binary relation to the smallest congruence relation in which it is contained is idempotent.
The supremum of congruence relations c, d
equals the smallest congruence relation containing
the binary relation 'x
is related to y
by c
or d
'.
The supremum of two congruence relations equals the smallest congruence relation containing the supremum of the underlying binary operations.
The supremum of a set of congruence relations S
equals the smallest congruence relation
containing the binary relation 'there exists c ∈ S
such that x
is related to y
by
c
'.
The supremum of a set of congruence relations is the same as the smallest congruence relation containing the supremum of the set's image under the map to the underlying binary relation.
There is a Galois insertion of congruence relations on a type with multiplication and addition
R
into binary relations on R
.
Equations
- RingCon.gi R = { choice := fun (r : R → R → Prop) (_h : ⇑(ringConGen r) ≤ r) => ringConGen r, gc := ⋯, le_l_u := ⋯, choice_eq := ⋯ }