Proving that Two Functions are Inverses of Each Other