Library Stdlib.Logic.Adjointification
Turn a pair of inverse functions into an adjoint equivalence
One adjoint equation implies the other
We can flip an adjoint equivalence around without changing the proofs.
Modifies the proof of (f (g b) = b) to be adjoint
The main lemma:
And the symmetric version. Note that we use the same proofs of inverse.