logo

Common expressions for the theory of proveit.numbers.number_sets.complex_numbers

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.numbers.number_sets.complex_numbers.imaginary import ImaginaryLiteral
from proveit.numbers.number_sets.complex_numbers.complex import ComplexSet, ComplexNonZeroSet
In [2]:
%begin common
Defining common sub-expressions for theory 'proveit.numbers.number_sets.complex_numbers'
Subsequent end-of-cell assignments will define common sub-expressions
%end_common will finalize the definitions
In [3]:
i = ImaginaryLiteral()
i:
In [4]:
Complex = ComplexSet()
Complex:
In [5]:
ComplexNonZero = ComplexNonZeroSet()
ComplexNonZero:
In [6]:
%end common
These common expressions may now be imported from the theory package: proveit.numbers.number_sets.complex_numbers