Skip to content

arithmetic

we organize the most common arithmetic operators in order of increasing hyperoperation order:

solve for c solve for b solve for a solve for b or a
add(a, b) = \(a+b\) lsub(c, a) rsub(c, b) b: sub(c, a) = \(c-a\)
a: sub(c, b) = \(c-b\)
mul(a, b) = \(a b\) ldiv(c, a) = \(a \backslash c\) rdiv(c, b) = \(c/b\) b: div(c, a) = \(\tfrac ca\)
a: div(c, b) = \(\tfrac cb\)
pow(a, b) = \(a^b\) log(c, a) = \(\log_a c\) root(c, b) = \(\sqrt[b]{c}\)
spow(a, b) = \(^ba\) slog(c, a) = \(\operatorname{slog}_a c\) sroot(c, b) = \(\sqrt[b]{c}_s\)

note: we do not include spow sroot slog and other n ≥ 4 because there is no canonical definition yet (especially for non-integers)