Foundations of Algebraic Analysis