Internal groupoid (source code)

= Internal groupoid
{wiki}

An internal groupoid in a category is a groupoid object: its objects, arrows, source, target, identity, composition, and inversion are objects and morphisms in the ambient category and satisfy the groupoid identities diagrammatically.