Description: Equality theorem for functions. (Contributed by FL, 14-Jul-2007) (Proof shortened by Andrew Salmon, 17-Sep-2011)