結果 : how to prove that a function is well defined