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, Function
#%begin common
%begin common
a = Variable('a')
b = Variable('b')
c = Variable('c')
d = Variable('d')
e = Variable('e')
f = Variable('f')
g = Variable('g')
h = Variable('h')
i = Variable('i')
j = Variable('j')
k = Variable('k')
l = Variable('l')
m = Variable('m')
n = Variable('n')
o = Variable('o')
p = Variable('p')
q = Variable('q')
r = Variable('r')
s = Variable('s')
t = Variable('t')
u = Variable('u')
v = Variable('v')
w = Variable('w')
x = Variable('x')
y = Variable('y')
z = Variable('z')
A = Variable('A')
B = Variable('B')
C = Variable('C')
D = Variable('D')
E = Variable('E')
F = Variable('F')
G = Variable('G')
H = Variable('H')
I = Variable('I')
J = Variable('J')
K = Variable('K')
L = Variable('L')
M = Variable('M')
N = Variable('N')
O = Variable('O')
P = Variable('P')
Q = Variable('Q')
R = Variable('R')
S = Variable('S')
T = Variable('T')
U = Variable('U')
V = Variable('V')
W = Variable('W')
X = Variable('X')
Y = Variable('Y')
Z = Variable('Z')
a_star = Variable('a_star', "a^*", fence_when_forced=True)
b_star = Variable('b_star', "b^*", fence_when_forced=True)
c_star = Variable('c_star', "c^*", fence_when_forced=True)
d_star = Variable('d_star', "d^*", fence_when_forced=True)
Am = Function(A,m)
b_of_j = Function(b, j)
b_of_k = Function(b, k)
Bm = Function(B,m)
Cn = Function(C,n)
PofA = Function(P, A)
PofB = Function(P, B)
Pk = Function(P, k)
Px = Function(P, x)
Py = Function(P, y)
Pxy = Function(P, (x, y))
Pxyz = Function(P, (x, y, z))
Pq = Function(P, q)
QofA = Function(Q, A)
Qx = Function(Q, x)
Qy = Function(Q, y)
Qz = Function(Q, z)
Rx = Function(R, x)
Ry = Function(R, y)
Rz = Function(R, z)
fa = Function(f, a)
fb = Function(f, b)
fab = Function(f, (a, b))
fi = Function(f, i)
fj = Function(f, j)
fij = Function(f, (i,j))
fx = Function(f, x)
fy = Function(f, y)
fz = Function(f, z)
fxy = Function(f, (x, y))
gj = Function(g, j)
gx = Function(g, x)
gy = Function(g, y)
gz = Function(g, z)
pi = Function(p, i)
pj = Function(p, j)
pk = Function(p, k)
va = Function(v, a)
vb = Function(v, b)
vi = Function(v, i)
vk = Function(v, k)
alpha = Variable('alpha', r'\alpha')
beta = Variable('beta', r'\beta')
gamma = Variable('gamma', r'\gamma')
delta = Variable('delta', r'\delta')
lambda_ = Variable('lambda', r'\lambda')
theta = Variable('theta', r'\theta')
eps = Variable('eps', r'\epsilon')
vareps = Variable('vareps', r'\varepsilon')
rho = Variable('rho', r'\rho')
Psi = Variable('Psi', r'\Psi')
Upsilon = Variable('Upsilon', r'\Upsilon')
Omega = Variable('Omega', r'\Omega')
a_prime = Variable("a'", fence_when_forced=True)
b_prime = Variable("b'", fence_when_forced=True)
%end common