logo

Common expressions for the theory of proveit.numbers.functions

In [1]:
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 Literal
In [2]:
%begin common
Defining common sub-expressions for theory 'proveit.numbers.functions'
Subsequent end-of-cell assignments will define common sub-expressions
%end_common will finalize the definitions
In [3]:
# temporarily to represent functions generally
Funcs = Literal('Funcs')
Funcs:
In [4]:
# temporarily to represent even functions
EvenFuncs = Literal('EvenFuncs')
EvenFuncs:
In [5]:
%end common
These common expressions may now be imported from the theory package: proveit.numbers.functions