Topology (Munkres)
§23 Connected Spaces
$X$ is separated by $U$ and $V$ with respect to $T$ iff $U$ is open in $X$ with respect to $T$ and $V$ is open in $X$ with respect to $T$ and $U\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $V\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $U$ is disjoint from $V$ and $U\union V = X$.
LaTeX source
\begin{definition}
\label{separation}
$X$ is separated by $U$ and $V$ with respect to $T$ iff
$U$ is open in $X$ with respect to $T$ and
$V$ is open in $X$ with respect to $T$ and
$U\neq\emptyset$ and $V\neq\emptyset$ and
$U$ is disjoint from $V$ and
$U\union V = X$.
\end{definition}
$X$ is connected with respect to $T$ iff there exists no $U$ such that there exists $V$ such that $X$ is separated by $U$ and $V$ with respect to $T$.
LaTeX source
\begin{definition}
\label{connected}
$X$ is connected with respect to $T$ iff
there exists no $U$ such that there exists $V$ such that
$X$ is separated by $U$ and $V$ with respect to $T$.
\end{definition}
Assume $T$ is a topology on $X$.
Then $X$ is connected with respect to $T$ iff for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ we have if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $A = X$.
LaTeX source
\begin{lemma}
\label{connected_iff_clopen}
Assume $T$ is a topology on $X$.
Then $X$ is connected with respect to $T$ iff
for all $A$ such that $A\subseteq X$ we have
if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then
$A = \emptyset$ or $A = X$.
\end{lemma}
Proof
Claim: If $X$ is connected with respect to $T$ then for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ we have if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $A = X$.
Assume $X$ is connected with respect to $T$.
Fix $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Assume $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$.
Suppose not.
$A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq} X$.
Let $U = A$.
Let $V = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$.
$U$ is open in $X$ with respect to $T$.
$V$ is open in $X$ with respect to $T$ by Definition 149.
$U\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
$V\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Proposition 3, Proposition 101.
Hence $U$ is disjoint from $V$ by Definition 3, Proposition 87.
$U\union V = X$ by Proposition 107.
Therefore $X$ is separated by $U$ and $V$ with respect to $T$ by Definition 226.
Contradiction by Definition 227.
Therefore $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $A = X$.
Claim: If for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ we have if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $A = X$ then $X$ is connected with respect to $T$.
Assume that for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ we have if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then $A = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $A = X$.
Suppose not.
Take $U$ such that there exists $V$ such that $X$ is separated by $U$ and $V$ with respect to $T$.
Take $V$ such that $X$ is separated by $U$ and $V$ with respect to $T$.
$U$ and $V$ are open in $X$ with respect to $T$ and $U\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $V\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 226.
$U$ is disjoint from $V$ and $U\union V = X$ by Definition 226.
Hence $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U$ by Definition 1, Definition 3, Proposition 39, Proposition 46, Proposition 85.
$X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Axiom 5, Definition 1, Proposition 46, Proposition 86, Proposition 87.
$U$ is open in $X$ with respect to $T$ and $U$ is closed in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 149, Definition 226, Proposition 3, Proposition 46.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Proposition 10.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} U$ by Definition 1, Definition 3, Proposition 39.
Hence $U\class{latex-symbol-tip latex-symbol-id-neq}{\neq} X$ by Definition 1.
$U = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $U = X$.
Contradiction.
Therefore $X$ is connected with respect to $T$ by Definition 227.
LaTeX source
\begin{proof}
Show that if $X$ is connected with respect to $T$ then
for all $A$ such that $A\subseteq X$ we have
if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then
$A = \emptyset$ or $A = X$.
\begin{subproof}
Assume $X$ is connected with respect to $T$.
Fix $A$ such that $A\subseteq X$.
Assume $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$.
Suppose not.
$A\neq\emptyset$ and $A\neq X$.
Let $U = A$.
Let $V = X\setminus A$.
$U$ is open in $X$ with respect to $T$.
$V$ is open in $X$ with respect to $T$ by \cref{closed_in}.
$U\neq\emptyset$.
$V\neq\emptyset$ by \cref{setminus_eq_emptyset_iff_subseteq,subseteq_antisymmetric,subseteq}.
Hence $U$ is disjoint from $V$ by \cref{setminus_elim_right,disjoint}.
$U\union V = X$ by \cref{setminus_partition}.
Therefore $X$ is separated by $U$ and $V$ with respect to $T$ by \cref{separation}.
Contradiction by \cref{connected}.
Therefore $A = \emptyset$ or $A = X$.
\end{subproof}
Show that if
for all $A$ such that $A\subseteq X$ we have
if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then
$A = \emptyset$ or $A = X$
then $X$ is connected with respect to $T$.
\begin{subproof}
Assume that for all $A$ such that $A\subseteq X$ we have
if $A$ is open in $X$ with respect to $T$ and $A$ is closed in $X$ with respect to $T$ then
$A = \emptyset$ or $A = X$.
Suppose not.
Take $U$ such that there exists $V$ such that
$X$ is separated by $U$ and $V$ with respect to $T$.
Take $V$ such that $X$ is separated by $U$ and $V$ with respect to $T$.
$U$ and $V$ are open in $X$ with respect to $T$ and $U\neq\emptyset$ and $V\neq\emptyset$
by \cref{separation}.
$U$ is disjoint from $V$ and $U\union V = X$ by \cref{separation}.
Hence $V\subseteq X\setminus U$ by
\cref{disjoint,union_intro_right,union_upper_left,subseteq,setminus_intro}.
$X\setminus U\subseteq V$ by
\cref{setminus_elim_left,union_upper_left,subseteq,union_iff,setminus_elim_right}.
$U$ is open in $X$ with respect to $T$ and
$U$ is closed in $X$ with respect to $T$
by \cref{subseteq_antisymmetric,separation,union_upper_left,subseteq,open_in,closed_in}.
Take $y$ such that $y\in V$ by \cref{nonempty_inhabited}.
$y\in X$ and $y\notin U$ by \cref{union_intro_right,subseteq,disjoint}.
Hence $U\neq X$ by \cref{subseteq}.
$U = \emptyset$ or $U = X$.
Contradiction.
Therefore $X$ is connected with respect to $T$ by \cref{connected}.
\end{subproof}
\end{proof}
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Suppose $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Then $Y$ is separated by $A$ and $B$ with respect to $T_Y$ iff $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is disjoint from $B$ and $A\union B = Y$ and $\limitPoints{A}{X}{T}$ is disjoint from $B$ and $\limitPoints{B}{X}{T}$ is disjoint from $A$.
LaTeX source
\begin{lemma}
\label{separation_subspace_limit_points}
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Suppose $A\subseteq Y$.
Suppose $B\subseteq Y$.
Then $Y$ is separated by $A$ and $B$ with respect to $T_Y$ iff
$A\neq\emptyset$ and $B\neq\emptyset$ and
$A$ is disjoint from $B$ and
$A\union B = Y$ and
$\limitPoints{A}{X}{T}$ is disjoint from $B$ and
$\limitPoints{B}{X}{T}$ is disjoint from $A$.
\end{lemma}
Proof
Claim: If $Y$ is separated by $A$ and $B$ with respect to $T_Y$ then $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is disjoint from $B$ and $A\union B = Y$ and $\limitPoints{A}{X}{T}$ is disjoint from $B$ and $\limitPoints{B}{X}{T}$ is disjoint from $A$.
Assume $Y$ is separated by $A$ and $B$ with respect to $T_Y$.
$A$ and $B$ are open in $Y$ with respect to $T_Y$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 226.
$A$ is disjoint from $B$ and $A\union B = Y$ by Definition 226.
$T$ is a topology on $X$ and $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $T_Y$ is a topology on $Y$ by Definition 147, Lemma 131.
Therefore $B = Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ by Axiom 5, Definition 1, Definition 3, Proposition 3, Proposition 85, Proposition 86, Proposition 87.
We have $Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is open in $Y$ with respect to $T_Y$ and $A$ is closed in $Y$ with respect to $T_Y$ by Definition 103, Definition 149.
$A = Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ by Proposition 2, Proposition 109.
$Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ is open in $Y$ with respect to $T_Y$ and $B$ is closed in $Y$ with respect to $T_Y$ by Definition 103, Definition 149.
Therefore $\closure{A}{X}{T}\inter Y = A$ and $\closure{B}{X}{T}\inter Y = B$ by Definition 147, Lemma 149, Theorem 10.
Hence $\limitPoints{A}{X}{T}$ is disjoint from $B$ by Definition 1, Definition 3, Proposition 6, Proposition 39, Proposition 61, Theorem 13.
Thus $\limitPoints{B}{X}{T}$ is disjoint from $A$ by Definition 1, Definition 3, Proposition 6, Proposition 39, Proposition 61, Theorem 13.
Claim: If $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is disjoint from $B$ and $A\union B = Y$ and $\limitPoints{A}{X}{T}$ is disjoint from $B$ and $\limitPoints{B}{X}{T}$ is disjoint from $A$ then $Y$ is separated by $A$ and $B$ with respect to $T_Y$.
Assume $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is disjoint from $B$ and $A\union B = Y$ and $\limitPoints{A}{X}{T}$ is disjoint from $B$ and $\limitPoints{B}{X}{T}$ is disjoint from $A$.
$T$ is a topology on $X$ and $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $T_Y$ is a topology on $Y$ by Definition 147, Lemma 131.
Therefore $B = Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ by Axiom 5, Definition 1, Definition 3, Proposition 3, Proposition 85, Proposition 86, Proposition 87.
$A = Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ by Proposition 2, Proposition 109.
$\closure{A}{X}{T}\inter Y \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} A$ by Axiom 5, Definition 1, Definition 3, Definition 5, Theorem 13.
Therefore $\closure{A}{X}{T}\inter Y = A$ by Definition 1, Lemma 146, Proposition 3, Proposition 6, Proposition 72.
We have $\closure{A}{Y}{T_Y} = A$ by Definition 147, Theorem 10.
Therefore $Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$ is open in $Y$ with respect to $T_Y$ and $A$ is closed in $Y$ with respect to $T_Y$ by Definition 103, Definition 149, Lemma 144.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{B}{X}{T}\inter Y$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{B}{X}{T}\inter Y$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{B}{X}{T}$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Definition 5.
$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Proposition 6.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ or $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\limitPoints{B}{X}{T}$ by Axiom 5, Theorem 13.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Hence $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ by Definition 3.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A\union B$ by Axiom 5.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 5.
LaTeX source
\begin{byCase}
\caseOf{$x\in B$.}
$x\in B$.
\caseOf{$x\in\limitPoints{B}{X}{T}$.}
Hence $x\notin A$ by \cref{disjoint}.
Thus $x\in A\union B$ by \cref{union_iff}.
Therefore $x\in B$ by \cref{union_iff}.
\end{byCase}
Hence $\closure{B}{X}{T}\inter Y \class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ by Definition 1.
Therefore $\closure{B}{X}{T}\inter Y = B$ by Definition 1, Lemma 146, Proposition 3, Proposition 6, Proposition 72.
We have $\closure{B}{Y}{T_Y} = B$ by Definition 147, Theorem 10.
Therefore $B$ is closed in $Y$ with respect to $T_Y$ and $Y\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ is open in $Y$ with respect to $T_Y$ by Definition 103, Definition 149, Lemma 144.
We have $A$ and $B$ are open in $Y$ with respect to $T_Y$ by Definition 103.
Therefore $Y$ is separated by $A$ and $B$ with respect to $T_Y$ by Definition 226.
LaTeX source
\begin{proof}
Show that if $Y$ is separated by $A$ and $B$ with respect to $T_Y$ then
$A\neq\emptyset$ and $B\neq\emptyset$ and
$A$ is disjoint from $B$ and
$A\union B = Y$ and
$\limitPoints{A}{X}{T}$ is disjoint from $B$ and
$\limitPoints{B}{X}{T}$ is disjoint from $A$.
\begin{subproof}
Assume $Y$ is separated by $A$ and $B$ with respect to $T_Y$.
$A$ and $B$ are open in $Y$ with respect to $T_Y$ and $A\neq\emptyset$ and $B\neq\emptyset$
by \cref{separation}.
$A$ is disjoint from $B$ and $A\union B = Y$ by \cref{separation}.
$T$ is a topology on $X$ and $Y\subseteq X$ and $T_Y$ is a topology on $Y$
by \cref{subspace_of,subspace_topology_is_topology}.
Therefore $B = Y\setminus A$ by
\cref{subseteq,disjoint,setminus_intro,setminus_elim_left,union_iff,setminus_elim_right,subseteq_antisymmetric}.
We have $Y\setminus A$ is open in $Y$ with respect to $T_Y$ and
$A$ is closed in $Y$ with respect to $T_Y$ by \cref{open_in,closed_in}.
$A = Y\setminus B$ by \cref{double_complement,subseteq_refl}.
$Y\setminus B$ is open in $Y$ with respect to $T_Y$ and
$B$ is closed in $Y$ with respect to $T_Y$ by \cref{open_in,closed_in}.
Therefore $\closure{A}{X}{T}\inter Y = A$ and $\closure{B}{X}{T}\inter Y = B$
by \cref{closed_eq_closure,closure_in_subspace,subspace_of}.
Hence $\limitPoints{A}{X}{T}$ is disjoint from $B$ by
\cref{subseteq_transitive,subseteq,closure_union_limit_points,union_intro_right,inter_intro,disjoint}.
Thus $\limitPoints{B}{X}{T}$ is disjoint from $A$ by
\cref{subseteq_transitive,subseteq,closure_union_limit_points,union_intro_right,inter_intro,disjoint}.
\end{subproof}
Show that if
$A\neq\emptyset$ and $B\neq\emptyset$ and
$A$ is disjoint from $B$ and
$A\union B = Y$ and
$\limitPoints{A}{X}{T}$ is disjoint from $B$ and
$\limitPoints{B}{X}{T}$ is disjoint from $A$
then $Y$ is separated by $A$ and $B$ with respect to $T_Y$.
\begin{subproof}
Assume $A\neq\emptyset$ and $B\neq\emptyset$ and $A$ is disjoint from $B$ and $A\union B = Y$ and
$\limitPoints{A}{X}{T}$ is disjoint from $B$ and $\limitPoints{B}{X}{T}$ is disjoint from $A$.
$T$ is a topology on $X$ and $Y\subseteq X$ and $T_Y$ is a topology on $Y$
by \cref{subspace_of,subspace_topology_is_topology}.
Therefore $B = Y\setminus A$ by
\cref{subseteq,disjoint,setminus_intro,setminus_elim_left,union_iff,setminus_elim_right,subseteq_antisymmetric}.
$A = Y\setminus B$ by \cref{double_complement,subseteq_refl}.
$\closure{A}{X}{T}\inter Y \subseteq A$
by \cref{inter,closure_union_limit_points,subseteq,union_iff,disjoint}.
Therefore $\closure{A}{X}{T}\inter Y = A$ by
\cref{subseteq,subseteq_transitive,subseteq_closure,subseteq_inter_iff,subseteq_antisymmetric}.
We have $\closure{A}{Y}{T_Y} = A$ by \cref{closure_in_subspace,subspace_of}.
Therefore $Y\setminus A$ is open in $Y$ with respect to $T_Y$ and
$A$ is closed in $Y$ with respect to $T_Y$ by \cref{closure_closed_in,closed_in,open_in}.
Show that for all $x$ such that $x\in\closure{B}{X}{T}\inter Y$ we have $x\in B$.
\begin{subproof}
Fix $x$ such that $x\in\closure{B}{X}{T}\inter Y$.
$x\in\closure{B}{X}{T}$ and $x\in Y$ by \cref{inter}.
$B\subseteq X$ by \cref{subseteq_transitive}.
Hence $x\in B$ or $x\in\limitPoints{B}{X}{T}$ by \cref{closure_union_limit_points,union_iff}.
\begin{byCase}
\caseOf{$x\in B$.}
$x\in B$.
\caseOf{$x\in\limitPoints{B}{X}{T}$.}
Hence $x\notin A$ by \cref{disjoint}.
Thus $x\in A\union B$ by \cref{union_iff}.
Therefore $x\in B$ by \cref{union_iff}.
\end{byCase}
\end{subproof}
Hence $\closure{B}{X}{T}\inter Y \subseteq B$ by \cref{subseteq}.
Therefore $\closure{B}{X}{T}\inter Y = B$ by
\cref{subseteq,subseteq_transitive,subseteq_closure,subseteq_inter_iff,subseteq_antisymmetric}.
We have $\closure{B}{Y}{T_Y} = B$ by \cref{closure_in_subspace,subspace_of}.
Therefore $B$ is closed in $Y$ with respect to $T_Y$ and
$Y\setminus B$ is open in $Y$ with respect to $T_Y$ by \cref{closure_closed_in,closed_in,open_in}.
We have $A$ and $B$ are open in $Y$ with respect to $T_Y$ by \cref{open_in}.
Therefore $Y$ is separated by $A$ and $B$ with respect to $T_Y$ by \cref{separation}.
\end{subproof}
\end{proof}
Assume $X$ is separated by $C$ and $D$ with respect to $T$.
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Assume $Y$ is connected with respect to $T_Y$.
Then $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$.
LaTeX source
\begin{lemma}
\label{connected_subspace_in_separation}
Assume $X$ is separated by $C$ and $D$ with respect to $T$.
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Assume $Y$ is connected with respect to $T_Y$.
Then $Y\subseteq C$ or $Y\subseteq D$.
\end{lemma}
Proof
$C$ and $D$ are open in $X$ with respect to $T$ and $C$ is disjoint from $D$ and $C\union D = X$ by Definition 226.
$T$ is a topology on $X$ and $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $T_Y$ is a topology on $Y$ by Definition 147, Lemma 131.
$C\inter Y$ and $D\inter Y$ are open in $Y$ with respect to $T_Y$ by Definition 103, Definition 146, Proposition 65 [Commutativity of intersection].
We have $C\inter Y$ is disjoint from $D\inter Y$ by Definition 3, Definition 5.
$(C\inter Y)\union(D\inter Y)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 5, Definition 1, Definition 5.
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} (C\inter Y)\union(D\inter Y)$ by Axiom 5, Definition 1, Proposition 38, Proposition 39, Proposition 61.
We have $(C\inter Y)\union(D\inter Y) = Y$ by Definition 1, Proposition 3.
Hence $C\inter Y = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ or $D\inter Y = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 226, Definition 227.
Therefore $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Definition 1, Proposition 41 [Commutativity of union], Proposition 49, Proposition 73.
LaTeX source
\begin{proof}
$C$ and $D$ are open in $X$ with respect to $T$ and $C$ is disjoint from $D$
and $C\union D = X$ by \cref{separation}.
$T$ is a topology on $X$ and $Y\subseteq X$ and $T_Y$ is a topology on $Y$
by \cref{subspace_of,subspace_topology_is_topology}.
$C\inter Y$ and $D\inter Y$ are open in $Y$ with respect to $T_Y$
by \cref{open_in,inter_comm,subspace_topology}.
We have $C\inter Y$ is disjoint from $D\inter Y$ by \cref{inter,disjoint}.
$(C\inter Y)\union(D\inter Y)\subseteq Y$ by \cref{union_iff,inter,subseteq}.
$Y\subseteq (C\inter Y)\union(D\inter Y)$
by \cref{subseteq,union_iff,inter_intro,union_intro_left,union_intro_right}.
We have $(C\inter Y)\union(D\inter Y) = Y$ by \cref{subseteq,subseteq_antisymmetric}.
Hence $C\inter Y = \emptyset$ or $D\inter Y = \emptyset$ by \cref{connected,separation}.
Therefore $Y\subseteq C$ or $Y\subseteq D$ by \cref{union_comm,union_emptyset,inter_lower_left,subseteq}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$.
Suppose $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Then $\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$.
LaTeX source
\begin{lemma}
\label{subspace_subspace_topology}
Assume $T$ is a topology on $X$.
Suppose $A\subseteq Y$.
Suppose $Y\subseteq X$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Then $\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$.
\end{lemma}
Proof
Claim: $\subspaceTopology{T_Y}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \subspaceTopology{T}{A}$.
It suffices to show that for all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T_Y}{A}$ we have $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T}{A}$ by Definition 1.
Fix $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T_Y}{A}$.
Take $V\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Y$ such that $B = A\inter V$ by Definition 146.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ such that $V = Y\inter U$ by Definition 146.
$B = A\inter U$ by Definition 1, Proposition 66 [Associativity of intersection], Proposition 69.
Therefore $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T}{A}$ by Definition 146.
Claim: $\subspaceTopology{T}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \subspaceTopology{T_Y}{A}$.
It suffices to show that for all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T}{A}$ we have $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T_Y}{A}$ by Definition 1.
Fix $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T}{A}$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ such that $B = A\inter U$ by Definition 146.
$Y\inter U\class{latex-symbol-tip latex-symbol-id-in}{\in} T_Y$ by Definition 146.
$B = A\inter (Y\inter U)$ by Definition 1, Proposition 66 [Associativity of intersection], Proposition 69.
Therefore $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\subspaceTopology{T_Y}{A}$ by Definition 146.
Therefore $\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by Proposition 3.
LaTeX source
\begin{proof}
Show that $\subspaceTopology{T_Y}{A}\subseteq \subspaceTopology{T}{A}$.
\begin{subproof}
It suffices to show that for all $B$ such that $B\in\subspaceTopology{T_Y}{A}$
we have $B\in\subspaceTopology{T}{A}$ by \cref{subseteq}.
Fix $B$ such that $B\in\subspaceTopology{T_Y}{A}$.
Take $V\in T_Y$ such that $B = A\inter V$ by \cref{subspace_topology}.
Take $U\in T$ such that $V = Y\inter U$ by \cref{subspace_topology}.
$B = A\inter U$ by \cref{inter_assoc,inter_absorb_supseteq_right,subseteq}.
Therefore $B\in\subspaceTopology{T}{A}$ by \cref{subspace_topology}.
\end{subproof}
Show that $\subspaceTopology{T}{A}\subseteq \subspaceTopology{T_Y}{A}$.
\begin{subproof}
It suffices to show that for all $B$ such that $B\in\subspaceTopology{T}{A}$
we have $B\in\subspaceTopology{T_Y}{A}$ by \cref{subseteq}.
Fix $B$ such that $B\in\subspaceTopology{T}{A}$.
Take $U\in T$ such that $B = A\inter U$ by \cref{subspace_topology}.
$Y\inter U\in T_Y$ by \cref{subspace_topology}.
$B = A\inter (Y\inter U)$ by \cref{inter_assoc,inter_absorb_supseteq_right,subseteq}.
Therefore $B\in\subspaceTopology{T_Y}{A}$ by \cref{subspace_topology}.
\end{subproof}
Therefore $\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by \cref{subseteq_antisymmetric}.
\end{proof}
Assume $M\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Assume $T$ is a topology on $X$.
Assume for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Assume for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Assume $\inters{M}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Then $\unions{M}$ is connected with respect to $\subspaceTopology{T}{\unions{M}}$.
LaTeX source
\begin{theorem}
\label{union_connected_common_point}
Assume $M\neq\emptyset$.
Assume $T$ is a topology on $X$.
Assume for all $A$ such that $A\in M$ we have $A\subseteq X$.
Assume for all $A$ such that $A\in M$ we have
$A$ is connected with respect to $\subspaceTopology{T}{A}$.
Assume $\inters{M}\neq\emptyset$.
Then $\unions{M}$ is connected with respect to $\subspaceTopology{T}{\unions{M}}$.
\end{theorem}
Proof
Let $Y = \unions{M}$.
Let $T_Y = \subspaceTopology{T}{Y}$.
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 4, Definition 1.
$Y$ is a subspace of $X$ with respect to $T$ and $T_Y$ is a topology on $Y$ by Definition 147, Lemma 131.
Claim: There exists no $C$ such that there exists $D$ such that $Y$ is separated by $C$ and $D$ with respect to $T_Y$.
Suppose not.
Take $C$ such that there exists $D$ such that $Y$ is separated by $C$ and $D$ with respect to $T_Y$.
Take $D$ such that $Y$ is separated by $C$ and $D$ with respect to $T_Y$.
$C$ and $D$ are open in $Y$ with respect to $T_Y$ and $C\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $D\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $C$ is disjoint from $D$ and $C\union D = Y$ by Definition 226.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{M}$ by Proposition 10.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ or $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 4, Axiom 5, Proposition 30.
Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Fix $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 4, Definition 1.
$A$ is a subspace of $Y$ with respect to $T_Y$ by Definition 147.
$\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by Lemma 307.
$A$ is connected with respect to $\subspaceTopology{T_Y}{A}$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Lemma 306.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 30.
Straightforward.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
Contradiction by Definition 3.
LaTeX source
\begin{byCase}
\caseOf{$A\subseteq C$.}
Straightforward.
\caseOf{$A\subseteq D$.}
$p\in D$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{byCase}
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Axiom 4, Definition 1.
$C = Y$ and $D = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Definition 3, Definition 101, Definition 103, Proposition 3, Proposition 10, Proposition 156.
Contradiction.
Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$.
Fix $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Axiom 4, Definition 1.
$A$ is a subspace of $Y$ with respect to $T_Y$ by Definition 147.
$\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by Lemma 307.
$A$ is connected with respect to $\subspaceTopology{T_Y}{A}$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Lemma 306.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 30.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 1.
Contradiction by Definition 3.
Straightforward.
LaTeX source
\begin{byCase}
\caseOf{$A\subseteq C$.}
$p\in C$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\caseOf{$A\subseteq D$.}
Straightforward.
\end{byCase}
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Axiom 4, Definition 1.
$D = Y$ and $C = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Definition 3, Definition 101, Definition 103, Proposition 3, Proposition 10, Proposition 156.
Contradiction.
LaTeX source
\begin{byCase}
\caseOf{$p\in C$.}
Show that for all $A$ such that $A\in M$ we have $A\subseteq C$.
\begin{subproof}
Fix $A$ such that $A\in M$.
$A\subseteq X$ and $A\subseteq Y$ by \cref{subseteq,unions_iff}.
$A$ is a subspace of $Y$ with respect to $T_Y$ by \cref{subspace_of}.
$\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by \cref{subspace_subspace_topology}.
$A$ is connected with respect to $\subspaceTopology{T_Y}{A}$.
$A\subseteq C$ or $A\subseteq D$ by \cref{connected_subspace_in_separation}.
$p\in A$ by \cref{inters_iff_forall}.
\begin{byCase}
\caseOf{$A\subseteq C$.}
Straightforward.
\caseOf{$A\subseteq D$.}
$p\in D$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{byCase}
\end{subproof}
$Y\subseteq C$ by \cref{subseteq,unions_iff}.
$C = Y$ and $D = \emptyset$ by
\cref{nonempty_inhabited,open_in,topology_on,subseteq,powerset_elim,subseteq_antisymmetric,disjoint}.
Contradiction.
\caseOf{$p\in D$.}
Show that for all $A$ such that $A\in M$ we have $A\subseteq D$.
\begin{subproof}
Fix $A$ such that $A\in M$.
$A\subseteq X$ and $A\subseteq Y$ by \cref{subseteq,unions_iff}.
$A$ is a subspace of $Y$ with respect to $T_Y$ by \cref{subspace_of}.
$\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by \cref{subspace_subspace_topology}.
$A$ is connected with respect to $\subspaceTopology{T_Y}{A}$.
$A\subseteq C$ or $A\subseteq D$ by \cref{connected_subspace_in_separation}.
$p\in A$ by \cref{inters_iff_forall}.
\begin{byCase}
\caseOf{$A\subseteq C$.}
$p\in C$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\caseOf{$A\subseteq D$.}
Straightforward.
\end{byCase}
\end{subproof}
$Y\subseteq D$ by \cref{subseteq,unions_iff}.
$D = Y$ and $C = \emptyset$ by
\cref{nonempty_inhabited,open_in,topology_on,subseteq,powerset_elim,subseteq_antisymmetric,disjoint}.
Contradiction.
\end{byCase}
$Y$ is connected with respect to $T_Y$ by Definition 227.
LaTeX source
\begin{proof}
Let $Y = \unions{M}$.
Let $T_Y = \subspaceTopology{T}{Y}$.
$Y\subseteq X$ by \cref{subseteq,unions_iff}.
$Y$ is a subspace of $X$ with respect to $T$ and $T_Y$ is a topology on $Y$
by \cref{subspace_of,subspace_topology_is_topology}.
Show that there exists no $C$ such that there exists $D$ such that
$Y$ is separated by $C$ and $D$ with respect to $T_Y$.
\begin{subproof}
Suppose not.
Take $C$ such that there exists $D$ such that
$Y$ is separated by $C$ and $D$ with respect to $T_Y$.
Take $D$ such that $Y$ is separated by $C$ and $D$ with respect to $T_Y$.
$C$ and $D$ are open in $Y$ with respect to $T_Y$ and $C\neq\emptyset$ and $D\neq\emptyset$
and $C$ is disjoint from $D$ and $C\union D = Y$ by \cref{separation}.
Take $p$ such that $p\in\inters{M}$ by \cref{nonempty_inhabited}.
$p\in C$ or $p\in D$ by \cref{inters_iff_forall,unions_iff,union_iff}.
\begin{byCase}
\caseOf{$p\in C$.}
Show that for all $A$ such that $A\in M$ we have $A\subseteq C$.
\begin{subproof}
Fix $A$ such that $A\in M$.
$A\subseteq X$ and $A\subseteq Y$ by \cref{subseteq,unions_iff}.
$A$ is a subspace of $Y$ with respect to $T_Y$ by \cref{subspace_of}.
$\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by \cref{subspace_subspace_topology}.
$A$ is connected with respect to $\subspaceTopology{T_Y}{A}$.
$A\subseteq C$ or $A\subseteq D$ by \cref{connected_subspace_in_separation}.
$p\in A$ by \cref{inters_iff_forall}.
\begin{byCase}
\caseOf{$A\subseteq C$.}
Straightforward.
\caseOf{$A\subseteq D$.}
$p\in D$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{byCase}
\end{subproof}
$Y\subseteq C$ by \cref{subseteq,unions_iff}.
$C = Y$ and $D = \emptyset$ by
\cref{nonempty_inhabited,open_in,topology_on,subseteq,powerset_elim,subseteq_antisymmetric,disjoint}.
Contradiction.
\caseOf{$p\in D$.}
Show that for all $A$ such that $A\in M$ we have $A\subseteq D$.
\begin{subproof}
Fix $A$ such that $A\in M$.
$A\subseteq X$ and $A\subseteq Y$ by \cref{subseteq,unions_iff}.
$A$ is a subspace of $Y$ with respect to $T_Y$ by \cref{subspace_of}.
$\subspaceTopology{T_Y}{A} = \subspaceTopology{T}{A}$ by \cref{subspace_subspace_topology}.
$A$ is connected with respect to $\subspaceTopology{T_Y}{A}$.
$A\subseteq C$ or $A\subseteq D$ by \cref{connected_subspace_in_separation}.
$p\in A$ by \cref{inters_iff_forall}.
\begin{byCase}
\caseOf{$A\subseteq C$.}
$p\in C$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\caseOf{$A\subseteq D$.}
Straightforward.
\end{byCase}
\end{subproof}
$Y\subseteq D$ by \cref{subseteq,unions_iff}.
$D = Y$ and $C = \emptyset$ by
\cref{nonempty_inhabited,open_in,topology_on,subseteq,powerset_elim,subseteq_antisymmetric,disjoint}.
Contradiction.
\end{byCase}
\end{subproof}
$Y$ is connected with respect to $T_Y$ by \cref{connected}.
\end{proof}
Assume $T$ is a topology on $X$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Suppose $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Assume $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Suppose $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$.
Suppose $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{A}{X}{T}$.
Then $B$ is connected with respect to $\subspaceTopology{T}{B}$.
LaTeX source
\begin{theorem}
\label{connected_superset_closure}
Assume $T$ is a topology on $X$.
Suppose $A\subseteq X$.
Suppose $B\subseteq X$.
Assume $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Suppose $A\subseteq B$.
Suppose $B\subseteq \closure{A}{X}{T}$.
Then $B$ is connected with respect to $\subspaceTopology{T}{B}$.
\end{theorem}
Proof
Let $T_B = \subspaceTopology{T}{B}$.
$T$ is a topology on $X$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
$T_B$ is a topology on $B$ by Lemma 131.
Claim: There exists no $C$ such that there exists $D$ such that $B$ is separated by $C$ and $D$ with respect to $T_B$.
Suppose not.
Take $C$ such that there exists $D$ such that $B$ is separated by $C$ and $D$ with respect to $T_B$.
Take $D$ such that $B$ is separated by $C$ and $D$ with respect to $T_B$.
$C$ and $D$ are open in $B$ with respect to $T_B$ and $C\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $D\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $C$ is disjoint from $D$ and $C\union D = B$ by Definition 226.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ and $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} B$ and $A$ is a subspace of $B$ with respect to $T_B$ by Definition 1, Definition 101, Definition 103, Definition 147, Proposition 156.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Definition 147, Lemma 306, Lemma 307.
$\limitPoints{C}{X}{T}$ is disjoint from $D$ by Definition 147, Lemma 305.
$\closure{C}{X}{T}$ is disjoint from $D$ and $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 5, Definition 1, Definition 3, Proposition 6, Theorem 13.
$D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{C}{X}{T}$ by Definition 1, Lemma 144, Lemma 146, Lemma 147, Proposition 6.
$D = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Definition 3, Proposition 10.
Contradiction by Axiom 2.
$\limitPoints{D}{X}{T}$ is disjoint from $C$ by Definition 147, Lemma 305.
$\closure{D}{X}{T}$ is disjoint from $C$ and $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 5, Definition 1, Definition 3, Proposition 6, Theorem 13.
$C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{D}{X}{T}$ by Definition 1, Lemma 144, Lemma 146, Lemma 147, Proposition 6.
$C = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Definition 1, Definition 3, Proposition 10.
Contradiction by Axiom 2.
LaTeX source
\begin{byCase}
\caseOf{$A\subseteq C$.}
$\limitPoints{C}{X}{T}$ is disjoint from $D$ by \cref{subspace_of,separation_subspace_limit_points}.
$\closure{C}{X}{T}$ is disjoint from $D$ and $C\subseteq X$ by
\cref{subseteq_transitive,subseteq,closure_union_limit_points,union_iff,disjoint}.
$D\subseteq \closure{C}{X}{T}$ by
\cref{subseteq_transitive,subseteq,subseteq_closure,closure_closed_in,closure_subseteq_closed}.
$D = \emptyset$ by \cref{nonempty_inhabited,subseteq,disjoint}.
Contradiction by \cref{emptyset}.
\caseOf{$A\subseteq D$.}
$\limitPoints{D}{X}{T}$ is disjoint from $C$ by \cref{subspace_of,separation_subspace_limit_points}.
$\closure{D}{X}{T}$ is disjoint from $C$ and $D\subseteq X$ by
\cref{subseteq_transitive,subseteq,closure_union_limit_points,union_iff,disjoint}.
$C\subseteq \closure{D}{X}{T}$ by
\cref{subseteq_transitive,subseteq,subseteq_closure,closure_closed_in,closure_subseteq_closed}.
$C = \emptyset$ by \cref{nonempty_inhabited,subseteq,disjoint}.
Contradiction by \cref{emptyset}.
\end{byCase}
$B$ is connected with respect to $T_B$ by Definition 227.
LaTeX source
\begin{proof}
Let $T_B = \subspaceTopology{T}{B}$.
$T$ is a topology on $X$ and $A\subseteq X$ and $B\subseteq X$.
$T_B$ is a topology on $B$ by \cref{subspace_topology_is_topology}.
Show that there exists no $C$ such that there exists $D$ such that
$B$ is separated by $C$ and $D$ with respect to $T_B$.
\begin{subproof}
Suppose not.
Take $C$ such that there exists $D$ such that
$B$ is separated by $C$ and $D$ with respect to $T_B$.
Take $D$ such that $B$ is separated by $C$ and $D$ with respect to $T_B$.
$C$ and $D$ are open in $B$ with respect to $T_B$ and $C\neq\emptyset$ and $D\neq\emptyset$
and $C$ is disjoint from $D$ and $C\union D = B$ by \cref{separation}.
$C\subseteq B$ and $D\subseteq B$ and $A$ is a subspace of $B$ with respect to $T_B$
by \cref{open_in,topology_on,subseteq,powerset_elim,subspace_of}.
$A\subseteq C$ or $A\subseteq D$ by
\cref{subspace_subspace_topology,subspace_of,connected_subspace_in_separation}.
\begin{byCase}
\caseOf{$A\subseteq C$.}
$\limitPoints{C}{X}{T}$ is disjoint from $D$ by \cref{subspace_of,separation_subspace_limit_points}.
$\closure{C}{X}{T}$ is disjoint from $D$ and $C\subseteq X$ by
\cref{subseteq_transitive,subseteq,closure_union_limit_points,union_iff,disjoint}.
$D\subseteq \closure{C}{X}{T}$ by
\cref{subseteq_transitive,subseteq,subseteq_closure,closure_closed_in,closure_subseteq_closed}.
$D = \emptyset$ by \cref{nonempty_inhabited,subseteq,disjoint}.
Contradiction by \cref{emptyset}.
\caseOf{$A\subseteq D$.}
$\limitPoints{D}{X}{T}$ is disjoint from $C$ by \cref{subspace_of,separation_subspace_limit_points}.
$\closure{D}{X}{T}$ is disjoint from $C$ and $D\subseteq X$ by
\cref{subseteq_transitive,subseteq,closure_union_limit_points,union_iff,disjoint}.
$C\subseteq \closure{D}{X}{T}$ by
\cref{subseteq_transitive,subseteq,subseteq_closure,closure_closed_in,closure_subseteq_closed}.
$C = \emptyset$ by \cref{nonempty_inhabited,subseteq,disjoint}.
Contradiction by \cref{emptyset}.
\end{byCase}
\end{subproof}
$B$ is connected with respect to $T_B$ by \cref{connected}.
\end{proof}
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Suppose $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Assume $X$ is connected with respect to $T$.
Let $Z = \img{f}{X}$.
Let $T_Z = \subspaceTopology{T_1}{Z}$.
Then $Z$ is connected with respect to $T_Z$.
LaTeX source
\begin{theorem}
\label{connected_image_continuous}
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Suppose $f$ is continuous from $X$ to $Y$ with respect to $T$ and $T_1$.
Assume $X$ is connected with respect to $T$.
Let $Z = \img{f}{X}$.
Let $T_Z = \subspaceTopology{T_1}{Z}$.
Then $Z$ is connected with respect to $T_Z$.
\end{theorem}
Proof
Suppose not.
Take $A$ such that there exists $B$ such that $Z$ is separated by $A$ and $B$ with respect to $T_Z$.
Take $B$ such that $Z$ is separated by $A$ and $B$ with respect to $T_Z$.
$A$ and $B$ are open in $Z$ with respect to $T_Z$ and $A\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $B\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $A$ is disjoint from $B$ and $A\union B = Z$ by Definition 226.
$Z$ is a subspace of $Y$ with respect to $T_1$ and $T_Z$ is a topology on $Z$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z$ by Definition 1, Definition 101, Definition 103, Definition 147, Definition 160, Lemma 131, Proposition 6, Proposition 156, Proposition 237, Proposition 363.
$f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_Z$ by Lemma 167, Proposition 2.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Z}$ by Definition 160.
$\preimg{f}{A}$ and $\preimg{f}{B}$ are open in $X$ with respect to $T$ by Definition 160.
$\preimg{f}{A}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ and $\preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Definition 1, Proposition 10, Proposition 235, Proposition 246.
$\preimg{f}{A}$ is disjoint from $\preimg{f}{B}$ by Definition 3, Proposition 246, Proposition 349, Proposition 356.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{Z}$.
Trivial.
$\preimg{f}{A}\union\preimg{f}{B} = X$ by Definition 1, Definition 55, Definition 226, Proposition 3, Proposition 249, Proposition 250.
$X$ is separated by $\preimg{f}{A}$ and $\preimg{f}{B}$ with respect to $T$ by Definition 226.
Contradiction by Definition 226, Definition 227.
$Z$ is connected with respect to $T_Z$ by Definition 227.
LaTeX source
\begin{proof}
Suppose not.
Take $A$ such that there exists $B$ such that
$Z$ is separated by $A$ and $B$ with respect to $T_Z$.
Take $B$ such that $Z$ is separated by $A$ and $B$ with respect to $T_Z$.
$A$ and $B$ are open in $Z$ with respect to $T_Z$ and $A\neq\emptyset$ and $B\neq\emptyset$
and $A$ is disjoint from $B$ and $A\union B = Z$ by \cref{separation}.
$Z$ is a subspace of $Y$ with respect to $T_1$ and $T_Z$ is a topology on $Z$ and
$A\subseteq Z$ and $B\subseteq Z$ by
\cref{continuous,funs_ran,img_subseteq_ran,subseteq_transitive,subspace_of,subspace_topology_is_topology,open_in,topology_on,subseteq,powerset_elim}.
$f$ is continuous from $X$ to $Z$ with respect to $T$ and $T_Z$
by \cref{subseteq_refl,continuous_restrict_range}.
$f\in\funs{X}{Z}$ by \cref{continuous}.
$\preimg{f}{A}$ and $\preimg{f}{B}$ are open in $X$ with respect to $T$ by \cref{continuous}.
$\preimg{f}{A}\neq\emptyset$ and $\preimg{f}{B}\neq\emptyset$
by \cref{nonempty_inhabited,subseteq,img_iff,preimg_iff,emptyset}.
$\preimg{f}{A}$ is disjoint from $\preimg{f}{B}$ by
\cref{preimg_iff,funs_is_function,function_apply_iff,disjoint}.
Show that for all $x$ such that $x\in X$ we have $x\in\preimg{f}{Z}$.
\begin{subproof}
Trivial.
\end{subproof}
$\preimg{f}{A}\union\preimg{f}{B} = X$
by \cref{subseteq,preimg_subseteq_dom,funs,subseteq_antisymmetric,separation,preimg_union}.
$X$ is separated by $\preimg{f}{A}$ and $\preimg{f}{B}$ with respect to $T$ by \cref{separation}.
Contradiction by \cref{connected,separation}.
$Z$ is connected with respect to $T_Z$ by \cref{connected}.
\end{proof}
Assume $T$ is a topology on $X$.
Let $j = \identity{X}$.
Then $j$ is continuous from $X$ to $X$ with respect to $T$ and $T$.
LaTeX source
\begin{lemma}
\label{identity_continuous}
Assume $T$ is a topology on $X$.
Let $j = \identity{X}$.
Then $j$ is continuous from $X$ to $X$ with respect to $T$ and $T$.
\end{lemma}
Proof
Claim: For all $U$ such that $U$ is open in $X$ with respect to $T$ we have $\preimg{j}{U} = U$ and $\preimg{j}{U}$ is open in $X$ with respect to $T$.
Follows by Axiom 12, Definition 1, Definition 101, Definition 103, Proposition 3, Proposition 246, Proposition 293.
$j$ is continuous from $X$ to $X$ with respect to $T$ and $T$ by Definition 160, Proposition 406.
LaTeX source
\begin{proof}
Show that for all $U$ such that $U$ is open in $X$ with respect to $T$
we have $\preimg{j}{U} = U$ and $\preimg{j}{U}$ is open in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{preimg_iff,id_iff,subseteq,open_in,topology_on,pow_iff,subseteq_antisymmetric}.
\end{subproof}
$j$ is continuous from $X$ to $X$ with respect to $T$ and $T$ by \cref{id_elem_funs,continuous}.
\end{proof}
Suppose $c\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Let $f = \{(a,c) \mid a\class{latex-symbol-tip latex-symbol-id-in}{\in} A\}$.
Then $f$ is a function from $A$ to $B$.
LaTeX source
\begin{lemma}
\label{constant_map_function}
Suppose $c\in B$.
Let $f = \{(a,c) \mid a\in A\}$.
Then $f$ is a function from $A$ to $B$.
\end{lemma}
Proof
Claim: For all $a,b_1,b_2$ such that $(a,b_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(a,b_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ we have $b_1 = b_2$.
Trivial.
Claim: For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ there exist $x,y$ such that $w = (x,y)$.
Trivial.
$f$ is a function by Definition 12, Definition 51.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Trivial.
$f$ is a function to $B$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Trivial.
Claim: For all $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Trivial.
$\dom{f} = A$ by Definition 1, Proposition 3.
$f$ is a function from $A$ to $B$ by Definition 55, Proposition 358.
LaTeX source
\begin{proof}
Show that for all $a,b_1,b_2$ such that $(a,b_1)\in f$ and $(a,b_2)\in f$ we have $b_1 = b_2$.
\begin{subproof}
Trivial.
\end{subproof}
Show that for all $w\in f$ there exist $x,y$ such that $w = (x,y)$.
\begin{subproof}
Trivial.
\end{subproof}
$f$ is a function by \cref{relation,rightunique}.
Show that for all $x\in\dom{f}$ we have $f(x)\in B$.
\begin{subproof}
Trivial.
\end{subproof}
$f$ is a function to $B$.
Show that for all $x$ such that $x\in\dom{f}$ we have $x\in A$.
\begin{subproof}
Trivial.
\end{subproof}
Show that for all $a$ such that $a\in A$ we have $a\in\dom{f}$.
\begin{subproof}
Trivial.
\end{subproof}
$\dom{f} = A$ by \cref{subseteq,subseteq_antisymmetric}.
$f$ is a function from $A$ to $B$ by \cref{funs_intro,funs}.
\end{proof}
Assume $T_1$ is a topology on $X$.
Assume $T_2$ is a topology on $Y$.
Assume $X$ is connected with respect to $T_1$.
Assume $Y$ is connected with respect to $T_2$.
Let $T = \productTopology{T_1}{T_2}{X}{Y}$.
Then $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is connected with respect to $T$.
LaTeX source
\begin{theorem}
\label{connected_product_finite}
Assume $T_1$ is a topology on $X$.
Assume $T_2$ is a topology on $Y$.
Assume $X$ is connected with respect to $T_1$.
Assume $Y$ is connected with respect to $T_2$.
Let $T = \productTopology{T_1}{T_2}{X}{Y}$.
Then $X\times Y$ is connected with respect to $T$.
\end{theorem}
Proof
$T$ is a topology on $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 141, Lemma 76, Lemma 126.
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Proposition 116.
Claim: There exists no $U$ such that there exists $V$ such that $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is separated by $U$ and $V$ with respect to $T$.
Follows by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 226, Proposition 12.
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is connected with respect to $T$ by Definition 227.
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Proposition 117.
Claim: There exists no $U$ such that there exists $V$ such that $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is separated by $U$ and $V$ with respect to $T$.
Follows by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 226, Proposition 12.
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is connected with respect to $T$ by Definition 227.
Take $a$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Proposition 10.
Take $b$ such that $b\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ by Proposition 10.
Let $j_X = \identity{X}$.
$j_X$ is continuous from $X$ to $X$ with respect to $T_1$ and $T_1$ by Lemma 308.
Let $k = \{(x,b) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$k$ is a function from $X$ to $Y$ by Lemma 309.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $j_X(x) = x$.
Follows by Definition 160, Proposition 293, Proposition 346, Proposition 356.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(x,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} k$.
Trivial.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $k(x) = b$.
Follows by Definition 55, Proposition 346, Proposition 356.
$k$ is continuous from $X$ to $Y$ with respect to $T_1$ and $T_2$ by Lemma 163.
Let $f = \{(x,(j_X(x),k(x))) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$f$ is continuous from $X$ to $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T_1$ and $T$ by Lemma 174.
Let $Z = \img{f}{X}$.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\}$.
Follows by Axiom 6, Proposition 20, Proposition 115, Proposition 235.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Z$.
Follows by Axiom 6, Proposition 22, Proposition 121, Proposition 235, Proposition 346.
$Z = X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\}$ by Definition 1, Proposition 3.
Claim: $X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\}$ is connected with respect to $\subspaceTopology{T}{X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\}}$.
Follows by Theorem 42.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $j_Y = \identity{Y}$.
$j_Y$ is continuous from $Y$ to $Y$ with respect to $T_2$ and $T_2$ by Lemma 308.
Let $h = \{(y,x) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\}$.
$h$ is a function from $Y$ to $X$ by Lemma 309.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $j_Y(y) = y$.
Follows by Definition 160, Proposition 293, Proposition 346, Proposition 356.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ we have $h(y) = x$.
Follows by Definition 55, Proposition 346, Proposition 356.
$h$ is continuous from $Y$ to $X$ with respect to $T_2$ and $T_1$ by Lemma 163.
Let $g = \{(y,(h(y),j_Y(y))) \mid y\class{latex-symbol-tip latex-symbol-id-in}{\in} Y\}$.
$g$ is continuous from $Y$ to $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T_2$ and $T$ by Lemma 174.
Let $Z_x = \img{g}{Y}$.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_x$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} \{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$.
Follows by Axiom 6, Proposition 20, Proposition 115, Proposition 235.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} \{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_x$.
Follows by Axiom 6, Proposition 22, Proposition 121, Proposition 235, Proposition 346.
$Z_x = \{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Definition 1, Proposition 3.
$\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y}$ by Theorem 42.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)$ is connected with respect to $\subspaceTopology{T}{(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $M = \{X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\},\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\}$.
$M\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Proposition 16.
Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$.
Follows by Definition 1, Proposition 19, Proposition 22, Proposition 143, Proposition 144.
Claim: For all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $A$ is connected with respect to $\subspaceTopology{T}{A}$.
Follows by Proposition 19.
$\inters{M}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2, Proposition 16, Proposition 19, Proposition 20, Proposition 30, Proposition 115.
$(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)$ is connected with respect to $\subspaceTopology{T}{(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)}$ by Proposition 40, Theorem 40.
Claim: There exists no $C$ such that there exists $D$ such that $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is separated by $C$ and $D$ with respect to $T$.
Suppose not.
Take $C$ such that there exists $D$ such that $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is separated by $C$ and $D$ with respect to $T$.
Take $D$ such that $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is separated by $C$ and $D$ with respect to $T$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $W = (X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)$.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ by Axiom 5, Definition 1, Proposition 22, Proposition 143, Proposition 144.
$W$ is a subspace of $X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ with respect to $T$ by Definition 147.
$W$ is connected with respect to $\subspaceTopology{T}{W}$.
$W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ or $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Lemma 306.
$(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ or $(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 5, Definition 1, Definition 226, Proposition 115.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$.
Follows by Definition 1, Definition 3, Definition 226, Proposition 20, Proposition 38, Proposition 115.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Follows by Definition 1, Proposition 20, Proposition 39, Proposition 115, Proposition 121.
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
$D = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 12, Definition 1, Definition 3, Definition 101, Definition 103, Definition 226, Proposition 10.
Contradiction by Definition 226.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $(X\class{latex-symbol-tip latex-symbol-id-times}{\times}\{b\})\union(\{x\}\class{latex-symbol-tip latex-symbol-id-times}{\times} Y)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$.
Follows by Definition 1, Definition 3, Definition 226, Proposition 20, Proposition 38, Proposition 115.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in} X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Follows by Definition 1, Proposition 20, Proposition 39, Proposition 115, Proposition 121.
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D$ by Definition 1.
$C = \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 12, Definition 1, Definition 3, Definition 101, Definition 103, Definition 226, Proposition 10.
Contradiction by Definition 226.
LaTeX source
\begin{byCase}
\caseOf{$(a,b)\in C$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in C$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq C$ by \cref{subseteq}.
$D = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\caseOf{$(a,b)\in D$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in D$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq D$ by \cref{subseteq}.
$C = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\end{byCase}
$X\class{latex-symbol-tip latex-symbol-id-times}{\times} Y$ is connected with respect to $T$ by Definition 227.
LaTeX source
\begin{byCase}
\caseOf{$Y = \emptyset$.}
$X\times Y = \emptyset$ by \cref{times_empty_right}.
Show that there exists no $U$ such that there exists $V$ such that
$X\times Y$ is separated by $U$ and $V$ with respect to $T$.
\begin{subproof}
Follows by \cref{separation,open_in,topology_on,pow_iff,subseteq,subseteq_emptyset_iff}.
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\caseOf{$Y\neq\emptyset$.}
Take $a$ such that $a\in X$ by \cref{nonempty_inhabited}.
Take $b$ such that $b\in Y$ by \cref{nonempty_inhabited}.
Let $j_X = \identity{X}$.
$j_X$ is continuous from $X$ to $X$ with respect to $T_1$ and $T_1$
by \cref{identity_continuous}.
Let $k = \{(x,b) \mid x\in X\}$.
$k$ is a function from $X$ to $Y$ by \cref{constant_map_function}.
Show that for all $x$ such that $x\in X$ we have $j_X(x) = x$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,function_apply_intro,id_iff}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have $(x,b)\in k$.
\begin{subproof}
Trivial.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have $k(x) = b$.
\begin{subproof}
Follows by \cref{funs,funs_is_function,function_apply_intro}.
\end{subproof}
$k$ is continuous from $X$ to $Y$ with respect to $T_1$ and $T_2$
by \cref{constant_continuous}.
Let $f = \{(x,(j_X(x),k(x))) \mid x\in X\}$.
$f$ is continuous from $X$ to $X\times Y$ with respect to $T_1$ and $T$
by \cref{continuous_map_into_product_backward}.
Let $Z = \img{f}{X}$.
Show that for all $p$ such that $p\in Z$ we have $p\in X\times\{b\}$.
\begin{subproof}
Follows by \cref{img_iff,pair_eq_iff,singleton_intro,times_tuple_intro}.
\end{subproof}
Show that for all $p$ such that $p\in X\times\{b\}$ we have $p\in Z$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_iff,pair_eq_iff,function_apply_intro,img_iff}.
\end{subproof}
$Z = X\times\{b\}$ by \cref{subseteq,subseteq_antisymmetric}.
Show that $X\times\{b\}$ is connected with respect to $\subspaceTopology{T}{X\times\{b\}}$.
\begin{subproof}
Follows by \cref{connected_image_continuous}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have
$\{x\}\times Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\times Y}$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $j_Y = \identity{Y}$.
$j_Y$ is continuous from $Y$ to $Y$ with respect to $T_2$ and $T_2$
by \cref{identity_continuous}.
Let $h = \{(y,x) \mid y\in Y\}$.
$h$ is a function from $Y$ to $X$ by \cref{constant_map_function}.
Show that for all $y$ such that $y\in Y$ we have $j_Y(y) = y$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,function_apply_intro,id_iff}.
\end{subproof}
Show that for all $y$ such that $y\in Y$ we have $h(y) = x$.
\begin{subproof}
Follows by \cref{funs,funs_is_function,function_apply_intro}.
\end{subproof}
$h$ is continuous from $Y$ to $X$ with respect to $T_2$ and $T_1$
by \cref{constant_continuous}.
Let $g = \{(y,(h(y),j_Y(y))) \mid y\in Y\}$.
$g$ is continuous from $Y$ to $X\times Y$ with respect to $T_2$ and $T$
by \cref{continuous_map_into_product_backward}.
Let $Z_x = \img{g}{Y}$.
Show that for all $p$ such that $p\in Z_x$ we have $p\in \{x\}\times Y$.
\begin{subproof}
Follows by \cref{img_iff,pair_eq_iff,singleton_intro,times_tuple_intro}.
\end{subproof}
Show that for all $p$ such that $p\in \{x\}\times Y$ we have $p\in Z_x$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_iff,pair_eq_iff,function_apply_intro,img_iff}.
\end{subproof}
$Z_x = \{x\}\times Y$ by \cref{subseteq,subseteq_antisymmetric}.
$\{x\}\times Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\times Y}$
by \cref{connected_image_continuous}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)$ is connected with respect to
$\subspaceTopology{T}{(X\times\{b\})\union(\{x\}\times Y)}$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $M = \{X\times\{b\},\{x\}\times Y\}$.
$M\neq\emptyset$ by \cref{upair_intro_left,emptyset}.
Show that for all $A$ such that $A\in M$ we have $A\subseteq X\times Y$.
\begin{subproof}
Follows by \cref{upair_iff,singleton_iff,subseteq,times_subseteq_right,times_subseteq_left}.
\end{subproof}
Show that for all $A$ such that $A\in M$ we have
$A$ is connected with respect to $\subspaceTopology{T}{A}$.
\begin{subproof}
Follows by \cref{upair_iff}.
\end{subproof}
$\inters{M}\neq\emptyset$
by \cref{upair_intro_left,upair_iff,singleton_intro,times_tuple_intro,inters_iff_forall,emptyset}.
$(X\times\{b\})\union(\{x\}\times Y)$ is connected with respect to
$\subspaceTopology{T}{(X\times\{b\})\union(\{x\}\times Y)}$
by \cref{union_as_unions,union_connected_common_point}.
\end{subproof}
Show that there exists no $C$ such that there exists $D$ such that
$X\times Y$ is separated by $C$ and $D$ with respect to $T$.
\begin{subproof}
Suppose not.
Take $C$ such that there exists $D$ such that
$X\times Y$ is separated by $C$ and $D$ with respect to $T$.
Take $D$ such that $X\times Y$ is separated by $C$ and $D$ with respect to $T$.
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$ or
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $W = (X\times\{b\})\union(\{x\}\times Y)$.
$W\subseteq X\times Y$ by
\cref{union_iff,singleton_iff,times_subseteq_right,times_subseteq_left,subseteq}.
$W$ is a subspace of $X\times Y$ with respect to $T$ by \cref{subspace_of}.
$W$ is connected with respect to $\subspaceTopology{T}{W}$.
$W\subseteq C$ or $W\subseteq D$ by \cref{connected_subspace_in_separation}.
\end{subproof}
$(a,b)\in C$ or $(a,b)\in D$ by \cref{times_tuple_intro,separation,union_iff,subseteq}.
\begin{byCase}
\caseOf{$(a,b)\in C$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in C$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq C$ by \cref{subseteq}.
$D = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\caseOf{$(a,b)\in D$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in D$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq D$ by \cref{subseteq}.
$C = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\end{byCase}
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$X = \emptyset$.}
$X\times Y = \emptyset$ by \cref{times_empty_left}.
Show that there exists no $U$ such that there exists $V$ such that
$X\times Y$ is separated by $U$ and $V$ with respect to $T$.
\begin{subproof}
Follows by \cref{separation,open_in,topology_on,pow_iff,subseteq,subseteq_emptyset_iff}.
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\caseOf{$X\neq\emptyset$.}
\begin{byCase}
\caseOf{$Y = \emptyset$.}
$X\times Y = \emptyset$ by \cref{times_empty_right}.
Show that there exists no $U$ such that there exists $V$ such that
$X\times Y$ is separated by $U$ and $V$ with respect to $T$.
\begin{subproof}
Follows by \cref{separation,open_in,topology_on,pow_iff,subseteq,subseteq_emptyset_iff}.
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\caseOf{$Y\neq\emptyset$.}
Take $a$ such that $a\in X$ by \cref{nonempty_inhabited}.
Take $b$ such that $b\in Y$ by \cref{nonempty_inhabited}.
Let $j_X = \identity{X}$.
$j_X$ is continuous from $X$ to $X$ with respect to $T_1$ and $T_1$
by \cref{identity_continuous}.
Let $k = \{(x,b) \mid x\in X\}$.
$k$ is a function from $X$ to $Y$ by \cref{constant_map_function}.
Show that for all $x$ such that $x\in X$ we have $j_X(x) = x$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,function_apply_intro,id_iff}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have $(x,b)\in k$.
\begin{subproof}
Trivial.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have $k(x) = b$.
\begin{subproof}
Follows by \cref{funs,funs_is_function,function_apply_intro}.
\end{subproof}
$k$ is continuous from $X$ to $Y$ with respect to $T_1$ and $T_2$
by \cref{constant_continuous}.
Let $f = \{(x,(j_X(x),k(x))) \mid x\in X\}$.
$f$ is continuous from $X$ to $X\times Y$ with respect to $T_1$ and $T$
by \cref{continuous_map_into_product_backward}.
Let $Z = \img{f}{X}$.
Show that for all $p$ such that $p\in Z$ we have $p\in X\times\{b\}$.
\begin{subproof}
Follows by \cref{img_iff,pair_eq_iff,singleton_intro,times_tuple_intro}.
\end{subproof}
Show that for all $p$ such that $p\in X\times\{b\}$ we have $p\in Z$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_iff,pair_eq_iff,function_apply_intro,img_iff}.
\end{subproof}
$Z = X\times\{b\}$ by \cref{subseteq,subseteq_antisymmetric}.
Show that $X\times\{b\}$ is connected with respect to $\subspaceTopology{T}{X\times\{b\}}$.
\begin{subproof}
Follows by \cref{connected_image_continuous}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have
$\{x\}\times Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\times Y}$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $j_Y = \identity{Y}$.
$j_Y$ is continuous from $Y$ to $Y$ with respect to $T_2$ and $T_2$
by \cref{identity_continuous}.
Let $h = \{(y,x) \mid y\in Y\}$.
$h$ is a function from $Y$ to $X$ by \cref{constant_map_function}.
Show that for all $y$ such that $y\in Y$ we have $j_Y(y) = y$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,function_apply_intro,id_iff}.
\end{subproof}
Show that for all $y$ such that $y\in Y$ we have $h(y) = x$.
\begin{subproof}
Follows by \cref{funs,funs_is_function,function_apply_intro}.
\end{subproof}
$h$ is continuous from $Y$ to $X$ with respect to $T_2$ and $T_1$
by \cref{constant_continuous}.
Let $g = \{(y,(h(y),j_Y(y))) \mid y\in Y\}$.
$g$ is continuous from $Y$ to $X\times Y$ with respect to $T_2$ and $T$
by \cref{continuous_map_into_product_backward}.
Let $Z_x = \img{g}{Y}$.
Show that for all $p$ such that $p\in Z_x$ we have $p\in \{x\}\times Y$.
\begin{subproof}
Follows by \cref{img_iff,pair_eq_iff,singleton_intro,times_tuple_intro}.
\end{subproof}
Show that for all $p$ such that $p\in \{x\}\times Y$ we have $p\in Z_x$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_iff,pair_eq_iff,function_apply_intro,img_iff}.
\end{subproof}
$Z_x = \{x\}\times Y$ by \cref{subseteq,subseteq_antisymmetric}.
$\{x\}\times Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\times Y}$
by \cref{connected_image_continuous}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)$ is connected with respect to
$\subspaceTopology{T}{(X\times\{b\})\union(\{x\}\times Y)}$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $M = \{X\times\{b\},\{x\}\times Y\}$.
$M\neq\emptyset$ by \cref{upair_intro_left,emptyset}.
Show that for all $A$ such that $A\in M$ we have $A\subseteq X\times Y$.
\begin{subproof}
Follows by \cref{upair_iff,singleton_iff,subseteq,times_subseteq_right,times_subseteq_left}.
\end{subproof}
Show that for all $A$ such that $A\in M$ we have
$A$ is connected with respect to $\subspaceTopology{T}{A}$.
\begin{subproof}
Follows by \cref{upair_iff}.
\end{subproof}
$\inters{M}\neq\emptyset$
by \cref{upair_intro_left,upair_iff,singleton_intro,times_tuple_intro,inters_iff_forall,emptyset}.
$(X\times\{b\})\union(\{x\}\times Y)$ is connected with respect to
$\subspaceTopology{T}{(X\times\{b\})\union(\{x\}\times Y)}$
by \cref{union_as_unions,union_connected_common_point}.
\end{subproof}
Show that there exists no $C$ such that there exists $D$ such that
$X\times Y$ is separated by $C$ and $D$ with respect to $T$.
\begin{subproof}
Suppose not.
Take $C$ such that there exists $D$ such that
$X\times Y$ is separated by $C$ and $D$ with respect to $T$.
Take $D$ such that $X\times Y$ is separated by $C$ and $D$ with respect to $T$.
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$ or
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $W = (X\times\{b\})\union(\{x\}\times Y)$.
$W\subseteq X\times Y$ by
\cref{union_iff,singleton_iff,times_subseteq_right,times_subseteq_left,subseteq}.
$W$ is a subspace of $X\times Y$ with respect to $T$ by \cref{subspace_of}.
$W$ is connected with respect to $\subspaceTopology{T}{W}$.
$W\subseteq C$ or $W\subseteq D$ by \cref{connected_subspace_in_separation}.
\end{subproof}
$(a,b)\in C$ or $(a,b)\in D$ by \cref{times_tuple_intro,separation,union_iff,subseteq}.
\begin{byCase}
\caseOf{$(a,b)\in C$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in C$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq C$ by \cref{subseteq}.
$D = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\caseOf{$(a,b)\in D$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in D$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq D$ by \cref{subseteq}.
$C = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\end{byCase}
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\end{byCase}
\end{byCase}
LaTeX source
\begin{proof}
$T$ is a topology on $X\times Y$ by
\cref{product_basis_is_basis,basis_topology_is_topology,product_topology}.
\begin{byCase}
\caseOf{$X = \emptyset$.}
$X\times Y = \emptyset$ by \cref{times_empty_left}.
Show that there exists no $U$ such that there exists $V$ such that
$X\times Y$ is separated by $U$ and $V$ with respect to $T$.
\begin{subproof}
Follows by \cref{separation,open_in,topology_on,pow_iff,subseteq,subseteq_emptyset_iff}.
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\caseOf{$X\neq\emptyset$.}
\begin{byCase}
\caseOf{$Y = \emptyset$.}
$X\times Y = \emptyset$ by \cref{times_empty_right}.
Show that there exists no $U$ such that there exists $V$ such that
$X\times Y$ is separated by $U$ and $V$ with respect to $T$.
\begin{subproof}
Follows by \cref{separation,open_in,topology_on,pow_iff,subseteq,subseteq_emptyset_iff}.
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\caseOf{$Y\neq\emptyset$.}
Take $a$ such that $a\in X$ by \cref{nonempty_inhabited}.
Take $b$ such that $b\in Y$ by \cref{nonempty_inhabited}.
Let $j_X = \identity{X}$.
$j_X$ is continuous from $X$ to $X$ with respect to $T_1$ and $T_1$
by \cref{identity_continuous}.
Let $k = \{(x,b) \mid x\in X\}$.
$k$ is a function from $X$ to $Y$ by \cref{constant_map_function}.
Show that for all $x$ such that $x\in X$ we have $j_X(x) = x$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,function_apply_intro,id_iff}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have $(x,b)\in k$.
\begin{subproof}
Trivial.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have $k(x) = b$.
\begin{subproof}
Follows by \cref{funs,funs_is_function,function_apply_intro}.
\end{subproof}
$k$ is continuous from $X$ to $Y$ with respect to $T_1$ and $T_2$
by \cref{constant_continuous}.
Let $f = \{(x,(j_X(x),k(x))) \mid x\in X\}$.
$f$ is continuous from $X$ to $X\times Y$ with respect to $T_1$ and $T$
by \cref{continuous_map_into_product_backward}.
Let $Z = \img{f}{X}$.
Show that for all $p$ such that $p\in Z$ we have $p\in X\times\{b\}$.
\begin{subproof}
Follows by \cref{img_iff,pair_eq_iff,singleton_intro,times_tuple_intro}.
\end{subproof}
Show that for all $p$ such that $p\in X\times\{b\}$ we have $p\in Z$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_iff,pair_eq_iff,function_apply_intro,img_iff}.
\end{subproof}
$Z = X\times\{b\}$ by \cref{subseteq,subseteq_antisymmetric}.
Show that $X\times\{b\}$ is connected with respect to $\subspaceTopology{T}{X\times\{b\}}$.
\begin{subproof}
Follows by \cref{connected_image_continuous}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have
$\{x\}\times Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\times Y}$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $j_Y = \identity{Y}$.
$j_Y$ is continuous from $Y$ to $Y$ with respect to $T_2$ and $T_2$
by \cref{identity_continuous}.
Let $h = \{(y,x) \mid y\in Y\}$.
$h$ is a function from $Y$ to $X$ by \cref{constant_map_function}.
Show that for all $y$ such that $y\in Y$ we have $j_Y(y) = y$.
\begin{subproof}
Follows by \cref{continuous,funs_is_function,function_apply_intro,id_iff}.
\end{subproof}
Show that for all $y$ such that $y\in Y$ we have $h(y) = x$.
\begin{subproof}
Follows by \cref{funs,funs_is_function,function_apply_intro}.
\end{subproof}
$h$ is continuous from $Y$ to $X$ with respect to $T_2$ and $T_1$
by \cref{constant_continuous}.
Let $g = \{(y,(h(y),j_Y(y))) \mid y\in Y\}$.
$g$ is continuous from $Y$ to $X\times Y$ with respect to $T_2$ and $T$
by \cref{continuous_map_into_product_backward}.
Let $Z_x = \img{g}{Y}$.
Show that for all $p$ such that $p\in Z_x$ we have $p\in \{x\}\times Y$.
\begin{subproof}
Follows by \cref{img_iff,pair_eq_iff,singleton_intro,times_tuple_intro}.
\end{subproof}
Show that for all $p$ such that $p\in \{x\}\times Y$ we have $p\in Z_x$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_iff,pair_eq_iff,function_apply_intro,img_iff}.
\end{subproof}
$Z_x = \{x\}\times Y$ by \cref{subseteq,subseteq_antisymmetric}.
$\{x\}\times Y$ is connected with respect to $\subspaceTopology{T}{\{x\}\times Y}$
by \cref{connected_image_continuous}.
\end{subproof}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)$ is connected with respect to
$\subspaceTopology{T}{(X\times\{b\})\union(\{x\}\times Y)}$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $M = \{X\times\{b\},\{x\}\times Y\}$.
$M\neq\emptyset$ by \cref{upair_intro_left,emptyset}.
Show that for all $A$ such that $A\in M$ we have $A\subseteq X\times Y$.
\begin{subproof}
Follows by \cref{upair_iff,singleton_iff,subseteq,times_subseteq_right,times_subseteq_left}.
\end{subproof}
Show that for all $A$ such that $A\in M$ we have
$A$ is connected with respect to $\subspaceTopology{T}{A}$.
\begin{subproof}
Follows by \cref{upair_iff}.
\end{subproof}
$\inters{M}\neq\emptyset$
by \cref{upair_intro_left,upair_iff,singleton_intro,times_tuple_intro,inters_iff_forall,emptyset}.
$(X\times\{b\})\union(\{x\}\times Y)$ is connected with respect to
$\subspaceTopology{T}{(X\times\{b\})\union(\{x\}\times Y)}$
by \cref{union_as_unions,union_connected_common_point}.
\end{subproof}
Show that there exists no $C$ such that there exists $D$ such that
$X\times Y$ is separated by $C$ and $D$ with respect to $T$.
\begin{subproof}
Suppose not.
Take $C$ such that there exists $D$ such that
$X\times Y$ is separated by $C$ and $D$ with respect to $T$.
Take $D$ such that $X\times Y$ is separated by $C$ and $D$ with respect to $T$.
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$ or
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Fix $x$ such that $x\in X$.
Let $W = (X\times\{b\})\union(\{x\}\times Y)$.
$W\subseteq X\times Y$ by
\cref{union_iff,singleton_iff,times_subseteq_right,times_subseteq_left,subseteq}.
$W$ is a subspace of $X\times Y$ with respect to $T$ by \cref{subspace_of}.
$W$ is connected with respect to $\subspaceTopology{T}{W}$.
$W\subseteq C$ or $W\subseteq D$ by \cref{connected_subspace_in_separation}.
\end{subproof}
$(a,b)\in C$ or $(a,b)\in D$ by \cref{times_tuple_intro,separation,union_iff,subseteq}.
\begin{byCase}
\caseOf{$(a,b)\in C$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq C$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in C$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq C$ by \cref{subseteq}.
$D = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\caseOf{$(a,b)\in D$.}
Show that for all $x$ such that $x\in X$ we have
$(X\times\{b\})\union(\{x\}\times Y)\subseteq D$.
\begin{subproof}
Follows by \cref{singleton_intro,times_tuple_intro,union_intro_left,subseteq,separation,disjoint}.
\end{subproof}
Show that for all $p$ such that $p\in X\times Y$ we have $p\in D$.
\begin{subproof}
Follows by \cref{times_elem_is_tuple,singleton_intro,times_tuple_intro,union_intro_right,subseteq}.
\end{subproof}
$X\times Y\subseteq D$ by \cref{subseteq}.
$C = \emptyset$ by \cref{nonempty_inhabited,separation,open_in,topology_on,pow_iff,subseteq,disjoint}.
Contradiction by \cref{separation}.
\end{byCase}
\end{subproof}
$X\times Y$ is connected with respect to $T$ by \cref{connected}.
\end{byCase}
\end{byCase}
\end{proof}