Quotients of semirings #
In this file, we directly define the quotient of a semiring by any relation, by building a bigger relation that represents the ideal generated by that relation.
We prove the universal properties of the quotient, and recommend avoiding relying on the actual definition, which is made irreducible for this purpose.
Since everything runs in parallel for quotients of R-algebras, we do that case at the same time.
The algebra morphism from A to the quotient by a ring congruence.
Instances For
Given an arbitrary relation r on a ring, we strengthen it to a relation Rel r,
such that the equivalence relation generated by Rel r has x ~ y if and only if
x - y is in the ideal generated by elements a - b such that r a b.
- of {R : Type uR} [Semiring R] {r : R → R → Prop} ⦃x y : R⦄ (h : r x y) : Rel r x y
- add_left {R : Type uR} [Semiring R] {r : R → R → Prop} ⦃a b c : R⦄ : Rel r a b → Rel r (a + c) (b + c)
- mul_left {R : Type uR} [Semiring R] {r : R → R → Prop} ⦃a b c : R⦄ : Rel r a b → Rel r (a * c) (b * c)
- mul_right {R : Type uR} [Semiring R] {r : R → R → Prop} ⦃a b c : R⦄ : Rel r b c → Rel r (a * b) (a * c)
Instances For
EqvGen (RingQuot.Rel r) is a ring congruence.
Instances For
The • function for RingQuot.
Instances For
The quotient map from a ring to its quotient, as a homomorphism of rings.
Instances For
We now verify that in the case of a commutative ring, the RingQuot construction
agrees with the quotient by the appropriate ideal.
The universal ring homomorphism from RingQuot r to B ⧸ Ideal.ofRel r.
Instances For
The universal ring homomorphism from B ⧸ Ideal.ofRel r to RingQuot r.
Instances For
The ring equivalence between RingQuot r and (Ideal.ofRel r).quotient
Instances For
The quotient map from an S-algebra to its quotient, as a homomorphism of S-algebras.
Instances For
Any S-algebra homomorphism f : A →ₐ[S] B which respects a relation s : A → A → Prop
factors uniquely through a morphism RingQuot s →ₐ[S] B.