+\newcommand*{\compose}[2]{ {#1}\circ{#2} }
+
+% The inverse of an arrow, function, or whatever.
+\newcommand*{\inverse}[1]{ #1^{-1} }
+
+% The preimage of the second argument (a set) under the first (a function).
+\newcommand*{\preimage}[2]{ #1^{-1}\of{#2} }