Common expressions for the theory of proveit.abstract_algebra

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 Variable
In [2]:
%begin common
Defining common sub-expressions for theory 'proveit.abstract_algebra'
Subsequent end-of-cell assignments will define common sub-expressions
%end_common will finalize the definitions

Use these to denote addition and multiplication generically as variables

In [3]:
plus = Variable('boxplus', r'\boxplus')
In [4]:
times = Variable('boxtimes', r'\boxtimes')
In [5]:
%end common
These common expressions may now be imported from the theory package: proveit.abstract_algebra