Quotient Rings

Let R be a ring and C a coideal of R. We will prove that A / ~C is a ring, called QuotRing.

QuotRing is a setoid

To achieve this we define a new apartness on the elements of R.
We take `not apart' as the new equality.

Definition eq_quotring (x y:R) := ~ (C(x[-]y)).

Lemma eq_quotring_wd : forall (x y:R), x[=]y -> (eq_quotring x y).

Lemma ap_quotring_tight : tight_apart eq_quotring ap_quotring.

Definition ap_quotring_is_apartness :=
Build_is_CSetoid R eq_quotring ap_quotring
ap_quotring_irreflexive
ap_quotring_symmetric
ap_quotring_cotransitive
ap_quotring_tight.

Definition quotring_as_CSetoid := Build_CSetoid _ _ _
ap_quotring_is_apartness.

QuotRing is a semigroup

We use + as the operation for this.

QuotRing is a monoid

0:R will work as unit.

QuotRing is a group

The same function still works as inverse (i.e. minus).

QuotRing is an Abelian group

QuotRing is a ring

Multiplication from R still works as a multiplicative function, making quotring a ring.