function.is_partial_inv

g is a partial inverse to f (an injective but not necessarily surjective function) if g y = some x implies f x = y, and g y = none implies that y is not in the range of f.

function.partial_inv

We can use choice to construct explicitly a partial inverse for a given injective function f.

function.inv_fun_on

Construct the inverse for a function f on domain s.

function.inv_fun

The inverse of a function (which is a left inverse if f is injective and a right inverse if f is surjective).

function.surj_inv

The inverse of a surjective function. (Unlike inv_fun, this does not require α to be inhabited.)

function.involutive

A function is involutive, if f ∘ f = id.