import proveit
# Prepare this notebook for defining the theorems of a theory:
%theorems_notebook # Keep this at the top following 'import proveit'.
from proveit.logic import InClass
from proveit.numbers import Rational, Real, Complex, Add, Mult
from proveit.abstract_algebra import Fields
%begin theorems
rational_field = InClass(Rational, Fields(Add._operator_, Mult._operator_))
real_field = InClass(Real, Fields(Add._operator_, Mult._operator_))
complex_field = InClass(Complex, Fields(Add._operator_, Mult._operator_))
%end theorems