Algebraic entropy for algebraic maps