There are two definitions of _↔_
in the library, at Function.Inverse and Function.Bundles. They are closely related, but different.
First, one must be careful to not import both Function
(which re-exports Function.Bundles
) and Function.Inverse
in the same module, else all sorts of clashes on Inverse
ensures.
As far as I can tell, the one in Function.Bundles
is newer, and likely the one to be used in the future.
However, internally the library uses the one from Function.Inverse
a lot more. In particular, Function.Related.TypeIsomorphisms
.
So: which _↔_
should I be using? [The answer will lead to a bunch of follow-up questions...]