import proveit
# Prepare this notebook for defining the axioms of a theory:
%axioms_notebook # Keep this at the top following 'import proveit'.
from proveit import ExprRange
from proveit import i, n, x
from proveit.logic import Forall, Equals
from proveit.numbers import one, Natural, Complex
from proveit.numbers import Mult, Exp
%begin axioms
nat_exp_def = Forall((x, n), Equals(Exp(x, n), Mult(ExprRange(i, x, one, n))),
domains=(Complex, Natural))
%end axioms