import proveit
# Prepare this notebook for defining the common expressions of a theory:
%common_expressions_notebook # Keep this at the top following 'import proveit'.
from proveit import Function
from proveit import P, k, m, n
from proveit.logic import Set, Difference
from proveit.numbers import Add, Complex, zero, one
%begin common
Pzero = Function(P, zero)
Pone = Function(P, one)
Pn = Function(P, n)
P_nAddOne = Function(P, Add(n, one))
Pm = Function(P, m)
P_mAddOne = Function(P, Add(m, one))
Pk = Function(P, k)
%end common