Description: Transfer a commutative law to the function operation. (Contributed by Mario Carneiro, 26-Jul-2014)