Idris2Doc : BeTTI.Quotient

BeTTI.Quotient

(source)

Definitions

0(//) : (type : Type) -> (type->type->Type) ->Type
  Quotient type
type : type to quotient
rel : proof-relevant relation to quotient by

Totality: total
Visibility: export
Fixity Declaration: infixl operator, level 6
class : type->type//rel
  Equivalence class of input element

Totality: total
Visibility: export
.because : (f : (type->motive)) -> (0_ : ((x : type) -> (y : type) ->relxy->fx=fy)) ->type//rel->motive
  Eliminator for quotients
f : eliminator for quotiented type
motive: the reason for the elimination (to inhabit motive)

Totality: total
Visibility: export
0quotient : relxy->classx=classy
  Related elements are equal in the quotient

Totality: total
Visibility: export
.Because : {0b : a//rel->Type} -> (f : ((x : a) ->b (classx))) -> (0_ : ((x : a) -> (y : a) ->rxy->f (classx) =f (classy))) -> (x : a//r) ->bx
  Dependent eliminator for quotients. Untested

Totality: total
Visibility: export