Definition

The set quotient is a quotient inductive type that quotients a type by a relation and truncates the resulting type to a hSet.

Given a type and a relation , the set quotient has the following constructors:

The first constructor embeds elements of into the quotient. The second constructor identifies elements that are related by . The third constructor ensures that the quotient is a set by requiring that all parallel paths are equal.

Properties

Effectiveness: If is an equivalence relation, then implies that . Truncation: The set quotient is a hSet (set) by construction, due to the constructor which is a truncation constructor.

Remarks

The set quotient does not require to be an equivalence relation a priori, though in practice it is often used with equivalence relations.

Without the set truncation, it is not garunteed that there is a unique path between any two elements, instead you get the free infinity groupoid.

Higher Inductive Type Quotient Inductive Type hSet Truncation (HoTT) Equivalence Relation