When performing algebraic operations on parameters, you often have the functions in pm.math (many of which mirror their numpy counterparts). Also, see here.
pm.math