All I learned from a derivation or proof of a formula is that the formula obtained is valid and that it is OK to use it in problems.
If I don't remember a particular equation needed for a problem in an exam, there is nothing much that I can do (legally!) to come up with it.
I feel comfortable doing math.