PC.28.d: Produce an invertible function from a non-invertible function by restricting the domain.