algebraic quantity