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 ExprRange, IndexedVar
from proveit import a, n, x, y
from proveit.logic import Equals
from proveit.numbers import one
%begin common
elementwise_equality = ExprRange(a, Equals(IndexedVar(x, a), IndexedVar(y, a)),
one, n)
%end common