A preadditive category has an abelian group structure on every hom-set, with composition additive in each variable. Neither a zero object nor biproducts are part of this definition.
Fix and use the reflexive pair , , with . Take objects and arrows , with source , target , and identity at equal to . For composable , so , define
The preadditive category axioms give
Thus the formula has the required endpoints. The identities satisfy and , using .
For and , both ways of composing three arrows equal
Indeed , while expanding and then composing with gives the same expression. Hence composition is associative.
Every arrow has inverse
Its source is and its target is . Substituting in the composition formula gives and . Therefore this is a groupoid.
For , precomposition by preserves sources, targets, identities, composition and inverses by bilinearity. Thus the construction is natural in , giving the requested internal groupoid structure in its hom-set formulation. If the composable-arrow pullback in a category exists, the same formula defines its internal composition morphism. The reflexive-pair groupoid formula in a preadditive category requires no extra additive-category hypotheses.
For a reflexive pair with section in a preadditive category, each hom-set diagram defines a groupoid. Arrows compose when , by . Identity at is , and the inverse of is . Bilinearity proves the endpoint, identity and associativity laws and compatibility with precomposition in . In the hom-set formulation this does not assume that the composable-arrow pullback exists.