結果 : how to determine if a function has an inverse or not