cartesian product
if
and
are sets, then we define the cartesian product
to be the collection of ordered pairs, whose first component lies in
and second component lies in
, thus
or equivalently
[cite:;taken from @tao_analysis_1 definition 3.5.4]
some stuff from college
cartesian product of 2 sets is the set of all the possible ordered pairs that can be obtained by taking an element from
as the first in the pair and an element from
as the second

assume 

the cartesian product of
where
is:

assume 

power:

need to prove:
we split into cases:
case 1: assume
case 3: assume
need to prove:
we assume in contradiction that
we split into cases:
case 1: there exists an
case 2: there exists
we arrived at a contradiction so the theorem is true