algebra equals functions