Quotients of non-commutative rings #
Unfortunately, ideals have only been developed in the commutative case as Ideal
,
and it's not immediately clear how one should formalise ideals in the non-commutative case.
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.
Equations
- One or more equations did not get rendered due to their size.
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} [inst : Semiring R] {r : R → R → Prop} ⦃x y : R⦄, r x y → RingQuot.Rel r x y
- add_left: ∀ {R : Type uR} [inst : Semiring R] {r : R → R → Prop} ⦃a b c : R⦄, RingQuot.Rel r a b → RingQuot.Rel r (a + c) (b + c)
- mul_left: ∀ {R : Type uR} [inst : Semiring R] {r : R → R → Prop} ⦃a b c : R⦄, RingQuot.Rel r a b → RingQuot.Rel r (a * c) (b * c)
- mul_right: ∀ {R : Type uR} [inst : Semiring R] {r : R → R → Prop} ⦃a b c : R⦄, RingQuot.Rel r b c → RingQuot.Rel r (a * b) (a * c)
Instances For
Equations
- RingQuot.instNatCastRingQuot r = { natCast := RingQuot.natCast r }
Equations
- RingQuot.instZeroRingQuot r = { zero := RingQuot.zero r }
Equations
- RingQuot.instOneRingQuot r = { one := RingQuot.one r }
Equations
- RingQuot.instAddRingQuot r = { add := RingQuot.add r }
Equations
- RingQuot.instMulRingQuot r = { mul := RingQuot.mul r }
Equations
- RingQuot.instNatPowRingQuot r = { pow := fun (x : RingQuot r) (n : ℕ) => RingQuot.npow r n x }
Equations
- RingQuot.instNegRingQuotToSemiring r = { neg := RingQuot.neg r }
Equations
- RingQuot.instSubRingQuotToSemiring r = { sub := RingQuot.sub r }
Equations
- RingQuot.instSMulRingQuot r = { smul := RingQuot.smul r }
Equations
- (_ : IsScalarTower S T (RingQuot r)) = (_ : IsScalarTower S T (RingQuot r))
Equations
- (_ : SMulCommClass S T (RingQuot r)) = (_ : SMulCommClass S T (RingQuot r))
Equations
- RingQuot.instAddCommMonoid r = AddCommMonoid.mk (_ : ∀ (a b : RingQuot r), a + b = b + a)
Equations
- RingQuot.instMonoidWithZero r = MonoidWithZero.mk (_ : ∀ (a : RingQuot r), 0 * a = 0) (_ : ∀ (a : RingQuot r), a * 0 = 0)
Equations
- RingQuot.instCommSemiring r = let src := RingQuot.instSemiring r; CommSemiring.mk (_ : ∀ (a b : RingQuot r), a * b = b * a)
Equations
- RingQuot.instCommRingRingQuotToSemiringToCommSemiring r = let src := RingQuot.instCommSemiring r; let src_1 := RingQuot.instRing r; CommRing.mk (_ : ∀ (a b : RingQuot r), a * b = b * a)
Equations
- RingQuot.instInhabited r = { default := 0 }
Equations
- One or more equations did not get rendered due to their size.
The quotient map from a ring to its quotient, as a homomorphism of rings.
Equations
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
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The universal ring homomorphism from B ⧸ Ideal.ofRel r
to RingQuot r
.
Equations
- RingQuot.idealQuotientToRingQuot r = Ideal.Quotient.lift (Ideal.ofRel r) (RingQuot.mkRingHom r) (_ : ∀ x ∈ Ideal.ofRel r, (RingQuot.mkRingHom r) x = 0)
Instances For
The ring equivalence between RingQuot r
and (Ideal.ofRel r).quotient
Equations
- One or more equations did not get rendered due to their size.
Instances For
Transfer a star_ring instance through a quotient, if the quotient is invariant to star
Equations
- RingQuot.starRing r hr = StarRing.mk (_ : ∀ (r_1 s : RingQuot r), star (r_1 + s) = star r_1 + star s)
Instances For
The quotient map from an S
-algebra to its quotient, as a homomorphism of S
-algebras.
Equations
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
.