  We apply some tools developed in categorical logic to give an abstract
description of constructions used to formalize constructive mathematics in
foundations based on intensional type theory. The key concept we employ is that
of a Lawvere hyperdoctrine for which we describe a notion of quotient
completion. That notion includes the exact completion on a category with weak
finite limits as an instance as well as examples from type theory that fall
apart from this.
