logo

Common expressions for the theory of proveit.linear_algebra.inner_products

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
from proveit.linear_algebra.inner_products.hilbert_spaces import (
    HilbertSpacesLiteral)
In [2]:
%begin common
Defining common sub-expressions for theory 'proveit.linear_algebra.inner_products'
Subsequent end-of-cell assignments will define common sub-expressions
%end_common will finalize the definitions
In [3]:
HilbertSpaces = HilbertSpacesLiteral()
HilbertSpaces:

Use $\mathcal{H}$ as a generic Hilbert space:

In [4]:
Hspace = Variable('H', r'\mathcal{H}')
Hspace:
In [5]:
%end common
These common expressions may now be imported from the theory package: proveit.linear_algebra.inner_products