The Karoubi envelope of a category is the universal way to ensure that every idempotent is a split idempotent. It is the Set-enriched version of Cauchy completion.
A category in which all idempotents split is called Karoubi complete or Cauchy complete or idempotent-complete. Thus, the Karoubi envelope is a completion operation into such categories.
Let be a category. We give an elementary construction of the Karoubi envelope which formally splits idempotents in .
The objects of are pairs where is an idempotent on an object of . Morphisms are morphisms in such that . NB: the identity on in is the morphism .
There is a functor
which maps an object to . This functor is full and faithful: it fully embeds in . If is an idempotent in , then in there are maps
both given by . It is clear that is the identity , and that is the idempotent . Thus the pair formally splits the idempotent . The same argument shows that every idempotent in splits. Actually this formal construction does more: it gives a choice of splitting for every idempotent.
Let be any category in which every idempotent has a chosen splitting (using identities to split identities), and let be a functor. Define an extension
by sending to the underlying object of the splitting of in . For morphisms , define to be the composite
Then is the unique extension of which preserves chosen splittings. Thus the Karoubi envelope is universal among functors from into categories in which every idempotent has a chosen splitting.
If is a category in which every idempotent splits, then we can choose a splitting for each idempotent using the axiom of choice (AC); the extension depends on how we do this but is unique up to unique natural isomorphism. Alternatively, we can define as an anafunctor; then no AC is needed, and we still have unique up to unique natural isomorphism. (It is key here that a splitting of an idempotent is unique up to a coherent isomorphism.)
The functors that forms idempotent completion is the monad induced from the adjunction between categories and semicategories given by the forgetful functor and its right adjoint. More details on this are at Semicategory - Relation to categories.
Karoubi envelopes for (∞,1)-categories are discussed in section 4.4.5 of
Some discussion of the stable version is in section 4.1.2 of
and section 2.3 of
In section 3.1.2 of latter are also given references (to Neeman and Lurie) for an important result of Neeman’s about Karoubi closure and compact generators.
The Karoubi envelope for the additive case (see also additive envelope) is covered at