Topology (Munkres)
§33 The Urysohn Lemma
$\unitRationals = \{\fst{q} \rmul \inv{\snd{q}} \mid q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus\}$.
LaTeX source
\begin{definition}
\label{unit_rationals}
$\unitRationals =
\{\fst{q} \rmul \inv{\snd{q}} \mid q\in\naturalsPlus\times\naturalsPlus\}$.
\end{definition}
$\unitRationalsZero = \unitRationals \union \{0\}$.
LaTeX source
\begin{definition}
\label{unit_rationals_zero}
$\unitRationalsZero = \unitRationals \union \{0\}$.
\end{definition}
$\urysohnAdmissible{s}{X}{T}{A}{B}{n} = \{f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}} \mid \text{for all $p\in\dom{f}$ we have $f(p)\in T$ and $f(1) = X\setminus B$ and $A\subseteq f(0)$ and $\closure{f(0)}{X}{T}\subseteq f(1)$ and for all $p\in\dom{f}$ for all $q\in\dom{f}$ if $p < q$ then $\closure{f(p)}{X}{T}\subseteq f(q)$ and for all $p\in\dom{f}$ if $1 < p$ then $f(p) = X$}\}$.
LaTeX source
\begin{definition}
\label{urysohn_admissible}
$\urysohnAdmissible{s}{X}{T}{A}{B}{n} =
\{f\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}} \mid
\text{for all $p\in\dom{f}$ we have $f(p)\in T$ and
$f(1) = X\setminus B$ and
$A\subseteq f(0)$ and
$\closure{f(0)}{X}{T}\subseteq f(1)$ and
for all $p\in\dom{f}$ for all $q\in\dom{f}$ if $p < q$ then
$\closure{f(p)}{X}{T}\subseteq f(q)$ and
for all $p\in\dom{f}$ if $1 < p$ then $f(p) = X$}\}$.
\end{definition}
$\urysohnGoodPair{s}{X}{T}{A}{B}{k}{g}$ iff $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{k}$.
LaTeX source
\begin{definition}
\label{urysohn_good_pair}
$\urysohnGoodPair{s}{X}{T}{A}{B}{k}{g}$ iff
$k\in\naturalsPlus$ and $g\in\urysohnAdmissible{s}{X}{T}{A}{B}{k}$.
\end{definition}
$\urysohnGoodPairs{s}{X}{T}{A}{B} = \{(k,g) \mid k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus, g\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{\{0,1\}\union \img{s}{\naturalsPlus}}{\pow{X}} \mid \text{$\urysohnGoodPair{s}{X}{T}{A}{B}{k}{g}$}\}$.
LaTeX source
\begin{definition}
\label{urysohn_good_pairs}
$\urysohnGoodPairs{s}{X}{T}{A}{B} =
\{(k,g) \mid k\in\naturalsPlus,
g\in\rels{\{0,1\}\union \img{s}{\naturalsPlus}}{\pow{X}} \mid
\text{$\urysohnGoodPair{s}{X}{T}{A}{B}{k}{g}$}\}$.
\end{definition}
$\urysohnLevelSet{U}{x} = \{q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(q)\}$.
LaTeX source
\begin{definition}
\label{urysohn_level_set}
$\urysohnLevelSet{U}{x} = \{q\in\unitRationalsZero \mid x\in U(q)\}$.
\end{definition}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ and $a < b$.
Then there exists $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$.
LaTeX source
\begin{lemma}
\label{unit_rationals_dense_nonneg}
Suppose $a\in\reals$ and $b\in\reals$ and $0 \leq a$ and $a < b$.
Then there exists $p$ such that $p\in\unitRationals$ and $p\in\intervalopen{a}{b}$.
\end{lemma}
Proof
Take $n, N$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Lemma 33.
Let $p = n / N$.
Then $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Axiom 10, Axiom 11, Definition 65, Definition 279, Proposition 115.
LaTeX source
\begin{proof}
Take $n, N$ such that $n\in\naturalsPlus$ and $N\in\naturalsPlus$ and $n / N\in\intervalopen{a}{b}$
by \cref{real_rationals_nonneg_interval}.
Let $p = n / N$. Then $p\in\unitRationals$ and $p\in\intervalopen{a}{b}$
by \cref{times_tuple_intro,real_div,fst_eq,snd_eq,unit_rationals}.
\end{proof}
There exists $s$ such that $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
LaTeX source
\begin{lemma}
\label{unit_rationals_sequence}
There exists $s$ such that
$s$ is a sequence in $\unitRationals$ and
for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
\end{lemma}
Proof
Take $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\inj{\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus}{\naturalsPlus}$ by Lemma 437.
Let $p_0 = (1,1)$.
Let $R = \converse{g} \union ((\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\ran{g})\class{latex-symbol-tip latex-symbol-id-times}{\times}\{p_0\})$.
Claim: For all $x,y_1,y_2$ such that $(x,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ and $(x,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $y_1 = y_2$.
Fix $x$.
Fix $y_1$.
Fix $y_2$ such that $(x,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ and $(x,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$.
We have $(x,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{g}$ and $(x,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\converse{g}$ by Axiom 5, Proposition 87, Proposition 114.
$y_1\mathrel{g} x$ and $y_2\mathrel{g} x$ by Proposition 186.
Therefore $g(y_1) = x$ and $g(y_2) = x$ by Definition 56, Proposition 346, Proposition 356.
Thus $y_1 = y_2$ by Definition 1, Definition 55, Definition 56, Proposition 199.
We have $(x,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}(\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\ran{g})\class{latex-symbol-tip latex-symbol-id-times}{\times}\{p_0\}$ and $(x,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}(\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\ran{g})\class{latex-symbol-tip latex-symbol-id-times}{\times}\{p_0\}$ by Axiom 5, Proposition 186, Proposition 208.
Therefore $y_1 = y_2$ by Proposition 22, Proposition 114.
LaTeX source
\begin{byCase}
\caseOf{$x\in\ran{g}$.}
We have $(x,y_1)\in\converse{g}$ and $(x,y_2)\in\converse{g}$
by \cref{union_iff,times_tuple_elim,setminus_elim_right}.
$y_1\mathrel{g} x$ and $y_2\mathrel{g} x$ by \cref{converse_iff}.
Therefore $g(y_1) = x$ and $g(y_2) = x$ by \cref{inj,funs_is_function,function_apply_intro}.
Thus $y_1 = y_2$ by \cref{dom_iff,funs,subseteq,inj}.
\caseOf{$x\notin\ran{g}$.}
We have $(x,y_1)\in(\naturalsPlus\setminus\ran{g})\times\{p_0\}$ and
$(x,y_2)\in(\naturalsPlus\setminus\ran{g})\times\{p_0\}$ by \cref{union_iff,converse_iff,ran_iff}.
Therefore $y_1 = y_2$ by \cref{times_tuple_elim,singleton_iff}.
\end{byCase}
$R$ is a function by Axiom 5, Definition 12, Definition 14, Definition 51, Proposition 121.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ by Axiom 5, Proposition 20, Proposition 85, Proposition 115, Proposition 186, Proposition 199, Proposition 208.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{R}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 5, Definition 55, Definition 56, Proposition 86, Proposition 114, Proposition 186, Proposition 199, Proposition 346, Proposition 356, Proposition 361.
$\dom{R} = \naturalsPlus$ by Definition 1, Proposition 3.
Let $h = \{(n, \fst{R(n)} \rmul \inv{\snd{R(n)}}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
For all $n,y_1,y_2$ such that $(n,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ and $(n,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ we have $y_1 = y_2$ by Axiom 6.
$h$ is a function by Axiom 6, Definition 12, Definition 51.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $h(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ by Axiom 5, Axiom 6, Axiom 42, Definition 1, Definition 55, Definition 56, Definition 279, Proposition 25, Proposition 114, Proposition 115, Proposition 119, Proposition 120, Proposition 186, Proposition 199, Proposition 346, Proposition 348.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Axiom 6, Proposition 199.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Proposition 199.
We have $\dom{h} = \naturalsPlus$ by Definition 1, Proposition 3.
Claim: $h$ is a sequence in $\unitRationals$.
Follows by Definition 158, Proposition 358.
Claim: For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $h(n) = p$.
There exists $s$ such that $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
LaTeX source
\begin{proof}
Take $g$ such that $g\in\inj{\naturalsPlus\times\naturalsPlus}{\naturalsPlus}$
by \cref{naturalsplus_pairing_injection}.
Let $p_0 = (1,1)$. Let $R = \converse{g} \union ((\naturalsPlus\setminus\ran{g})\times\{p_0\})$.
Show that for all $x,y_1,y_2$ such that $(x,y_1)\in R$ and $(x,y_2)\in R$ we have $y_1 = y_2$.
\begin{subproof}
Fix $x$.
Fix $y_1$.
Fix $y_2$ such that $(x,y_1)\in R$ and $(x,y_2)\in R$.
\begin{byCase}
\caseOf{$x\in\ran{g}$.}
We have $(x,y_1)\in\converse{g}$ and $(x,y_2)\in\converse{g}$
by \cref{union_iff,times_tuple_elim,setminus_elim_right}.
$y_1\mathrel{g} x$ and $y_2\mathrel{g} x$ by \cref{converse_iff}.
Therefore $g(y_1) = x$ and $g(y_2) = x$ by \cref{inj,funs_is_function,function_apply_intro}.
Thus $y_1 = y_2$ by \cref{dom_iff,funs,subseteq,inj}.
\caseOf{$x\notin\ran{g}$.}
We have $(x,y_1)\in(\naturalsPlus\setminus\ran{g})\times\{p_0\}$ and
$(x,y_2)\in(\naturalsPlus\setminus\ran{g})\times\{p_0\}$ by \cref{union_iff,converse_iff,ran_iff}.
Therefore $y_1 = y_2$ by \cref{times_tuple_elim,singleton_iff}.
\end{byCase}
\end{subproof}
$R$ is a function by \cref{union_iff,converse_relation,times_elem_is_tuple,relation,rightunique}.
For all $x\in\naturalsPlus$ we have $x\in\dom{R}$
by \cref{ran_iff,converse_iff,union_iff,setminus_intro,singleton_intro,times_tuple_intro,dom_iff}.
For all $x\in\dom{R}$ we have $x\in\naturalsPlus$
by \cref{dom_iff,union_iff,converse_iff,inj,funs,funs_is_function,funs_type_apply,function_apply_intro,times_tuple_elim,setminus_elim_left}.
$\dom{R} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
Let $h = \{(n, \fst{R(n)} \rmul \inv{\snd{R(n)}}) \mid n\in\naturalsPlus\}$.
For all $n,y_1,y_2$ such that $(n,y_1)\in h$ and $(n,y_2)\in h$ we have $y_1 = y_2$
by \cref{pair_eq_iff}.
$h$ is a function by \cref{pair_eq_iff,relation,rightunique}.
For all $n\in\dom{h}$ we have $h(n)\in\unitRationals$ by
\cref{dom_iff,pair_eq_iff,subseteq,function_apply_elim,union_iff,converse_iff,inj,funs,times_tuple_elim,real_one_in_naturals,times_tuple_intro,singleton_subset_intro,fst_type,snd_type,unit_rationals,function_apply_intro}.
For all $n\in\naturalsPlus$ we have $n\in\dom{h}$ by \cref{pair_eq_iff,dom_iff}.
For all $n\in\dom{h}$ we have $n\in\naturalsPlus$ by \cref{dom_iff,pair_eq_iff}.
We have $\dom{h} = \naturalsPlus$ by \cref{subseteq,subseteq_antisymmetric}.
Show that $h$ is a sequence in $\unitRationals$.
\begin{subproof}
Follows by \cref{funs_intro,sequence_in}.
\end{subproof}
Show that for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $h(n) = p$.
\begin{subproof}
Follows by
\cref{unit_rationals,inj,funs_is_function,funs,subseteq,funs_type_apply,function_apply_elim,converse_iff,union_iff,dom_iff,function_apply_intro,pair_eq_iff,funs_is_relation}.
\end{subproof}
There exists $s$ such that
$s$ is a sequence in $\unitRationals$ and
for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
\end{proof}
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Suppose $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Then there exist $n,f$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
LaTeX source
\begin{lemma}
\label{urysohn_good_pair_decomp}
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Suppose $z\in G$.
Then there exist $n,f$ such that
$n\in\naturalsPlus$ and
$f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$z = (n,f)$.
\end{lemma}
Proof
Take $n,f$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\urysohnGoodPair{s}{X}{T}{A}{B}{n}{f}$ and $z = (n,f)$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ by Definition 282.
LaTeX source
\begin{proof}
Take $n,f$ such that
$n\in\naturalsPlus$ and
$\urysohnGoodPair{s}{X}{T}{A}{B}{n}{f}$ and
$z = (n,f)$.
$f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ by \cref{urysohn_good_pair}.
\end{proof}
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$.
Then $(n,f)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{lemma}
\label{urysohn_good_pair_intro}
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Suppose $n\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$.
Then $(n,f)\in G$.
\end{lemma}
Proof
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ by Definition 281.
We have $\dom{f} = \{0,1\}\union \img{s}{\initialSegment{n}}$ by Proposition 359.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ by Proposition 4, Proposition 357.
$f$ is a relation by Proposition 285.
We have $\ran{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \pow{X}$ by Proposition 284.
$\initialSegment{n}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \naturalsPlus$ by Definition 1, Definition 84.
We have $\img{s}{\initialSegment{n}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{s}{\naturalsPlus}$ by Proposition 236.
$\dom{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\naturalsPlus}$ by Proposition 6, Proposition 44, Proposition 46, Proposition 47.
Therefore $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{\{0,1\}\union \img{s}{\naturalsPlus}}{\pow{X}}$ by Proposition 281.
$(n,f)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{proof}
$f\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ by \cref{urysohn_admissible}.
We have $\dom{f} = \{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{funs_elim}.
$f\in\rels{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ by \cref{funs_subseteq_rels,elem_subseteq}.
$f$ is a relation by \cref{rels_is_relation}.
We have $\ran{f}\subseteq \pow{X}$ by \cref{rels_ran_subseteq}.
$\initialSegment{n}\subseteq \naturalsPlus$ by \cref{subseteq,initial_segment_naturalsplus}.
We have $\img{s}{\initialSegment{n}}\subseteq \img{s}{\naturalsPlus}$ by \cref{img_subseteq}.
$\dom{f}\subseteq \{0,1\}\union \img{s}{\naturalsPlus}$
by \cref{union_upper_left,union_upper_right,subseteq_transitive,union_subsets_is_subset}.
Therefore $f\in\rels{\{0,1\}\union \img{s}{\naturalsPlus}}{\pow{X}}$ by \cref{rels_intro_dom_and_ran}.
$(n,f)\in G$.
\end{proof}
Assume $f$ is a function from $X$ to $Y$.
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Suppose for all $V$ such that $V$ is open in $Y$ with respect to $T_1$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ there exists $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $\img{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Then $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$.
LaTeX source
\begin{lemma}
\label{continuous_at_open}
Assume $f$ is a function from $X$ to $Y$.
Assume $T$ is a topology on $X$.
Assume $T_1$ is a topology on $Y$.
Assume $x\in X$.
Suppose for all $V$ such that $V$ is open in $Y$ with respect to $T_1$ and $f(x)\in V$ there exists $U$ such that
$U$ is open in $X$ with respect to $T$ and $x\in U$ and $\img{f}{U}\subseteq V$.
Then $f$ is continuous at $x$ from $X$ to $Y$ with respect to $T$ and $T_1$.
\end{lemma}
Proof
Follows by Definition 153, Definition 161.
LaTeX source
\begin{proof}
Follows by \cref{neighborhood,continuous_at}.
\end{proof}
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $T$ is a topology on $X$.
Assume $I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Then $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
LaTeX source
\begin{lemma}
\label{continuous_subspace_range}
Assume $f\in\funs{X}{\reals}$.
Assume $T$ is a topology on $X$.
Assume $I_0\subseteq\reals$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Assume $\img{f}{X}\subseteq I_0$.
Then $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
\end{lemma}
Proof
We have $T_0$ is a topology on $I_0$ by Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
Claim: For all $B$ such that $B$ is open in $I_0$ with respect to $T_0$ we have $\preimg{f}{B}$ is open in $X$ with respect to $T$.
Fix $B$ such that $B$ is open in $I_0$ with respect to $T_0$.
Take $U\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardTopologyR$ such that $B = I_0\inter U$ by Definition 103, Definition 146.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$.
Follows by Definition 1, Proposition 63, Proposition 246.
Claim: $\preimg{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{U}$.
Follows by Definition 1.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{U}$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1, Proposition 249.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 55.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter X$ by Proposition 61.
Therefore $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{f}{X}$ by Definition 55, Proposition 356, Proposition 364.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Definition 1.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 55, Proposition 246, Proposition 349, Proposition 356.
Thus $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0\inter U$ by Proposition 61.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\preimg{f}{B}$ by Definition 55, Proposition 246, Proposition 346, Proposition 356.
Claim: $\preimg{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \preimg{f}{B}$.
Follows by Definition 1.
We have $\preimg{f}{B} = \preimg{f}{U}$ by Proposition 3.
$\preimg{f}{B}$ is open in $X$ with respect to $T$ by Definition 103, Definition 160.
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ by Definition 1, Definition 55, Definition 160, Proposition 208, Proposition 238, Proposition 348, Proposition 356, Proposition 358, Proposition 359.
LaTeX source
\begin{proof}
We have $T_0$ is a topology on $I_0$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
Show that for all $B$ such that $B$ is open in $I_0$ with respect to $T_0$
we have $\preimg{f}{B}$ is open in $X$ with respect to $T$.
\begin{subproof}
Fix $B$ such that $B$ is open in $I_0$ with respect to $T_0$.
Take $U\in\standardTopologyR$ such that $B = I_0\inter U$ by \cref{subspace_topology,open_in}.
Show that for all $x$ such that $x\in\preimg{f}{B}$ we have $x\in\preimg{f}{U}$.
\begin{subproof}
Follows by \cref{preimg_iff,inter_elim_right,subseteq}.
\end{subproof}
Show that $\preimg{f}{B}\subseteq \preimg{f}{U}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that for all $x$ such that $x\in\preimg{f}{U}$ we have $x\in\preimg{f}{B}$.
\begin{subproof}
Fix $x$ such that $x\in\preimg{f}{U}$.
We have $x\in\dom{f}$ by \cref{preimg_subseteq_dom,subseteq}.
Hence $x\in X$ by \cref{funs,subseteq}.
Thus $x\in\dom{f}\inter X$ by \cref{inter_intro}.
Therefore $f(x)\in \img{f}{X}$ by \cref{funs,funs_is_function,img_of_function_intro}.
$f(x)\in I_0$ by \cref{subseteq}.
$f(x)\in U$ by \cref{preimg_iff,funs,funs_is_function,function_apply_iff}.
Thus $f(x)\in I_0\inter U$ by \cref{inter_intro}.
$x\in\preimg{f}{B}$ by \cref{preimg_iff,funs,funs_is_function,function_apply_intro}.
\end{subproof}
Show that $\preimg{f}{U}\subseteq \preimg{f}{B}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
We have $\preimg{f}{B} = \preimg{f}{U}$ by \cref{subseteq_antisymmetric}.
$\preimg{f}{B}$ is open in $X$ with respect to $T$ by \cref{open_in,continuous}.
\end{subproof}
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$
by \cref{funs_is_function,funs_elim,img_dom,funs,subseteq,function_apply_elim,ran_iff,funs_intro,continuous}.
\end{proof}
Assume $U_1 = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_0$.
Assume $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$.
Assume $r_1 = 1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{lemma}
\label{urysohn_u1_eq1}
Assume $U_1 = X\setminus B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\subseteq U_0$.
Assume $\closure{U_0}{X}{T}\subseteq U_1$.
Assume $r_1 = 1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\in G$.
\end{lemma}
Proof
Let $u_1 = \{(0,U_0),(1,U_1)\}$.
For all $a,b,b'$ such that $(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} u_1$ and $(a,b')\class{latex-symbol-tip latex-symbol-id-in}{\in} u_1$ we have $b = b'$ by Axiom 6, Axiom 21, Proposition 18.
$u_1$ is a function by Definition 12, Definition 51, Proposition 18.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ by Axiom 6, Proposition 16, Proposition 17, Proposition 18, Proposition 199.
Claim: $\dom{u_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}$.
Follows by Definition 1.
For all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ by Proposition 16, Proposition 17, Proposition 18, Proposition 200.
Claim: $\{0,1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{u_1}$.
Follows by Definition 1.
$\dom{u_1} = \{0,1\}$ by Proposition 3.
We have $\img{s}{\initialSegment{1}} = \{1\}$.
Claim: $\{0,1\}\union \img{s}{\initialSegment{1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}$.
Follows by Definition 1, Proposition 2, Proposition 6, Proposition 17, Proposition 25, Proposition 38, Proposition 44.
Claim: $\{0,1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\initialSegment{1}}$.
Follows by Definition 1, Proposition 2, Proposition 38.
$\{0,1\}\union \img{s}{\initialSegment{1}} = \{0,1\}$ by Proposition 3.
$\dom{u_1} = \{0,1\}\union \img{s}{\initialSegment{1}}$ by Proposition 3.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 1, Definition 101, Definition 103, Proposition 4, Proposition 16, Proposition 17, Proposition 18, Proposition 346.
$u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$ by Proposition 358.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $u_1(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(0)$ and $\closure{u_1(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $p < q$ then $\closure{u_1(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
We have $u_1$ is a function and $u_1$ is right-unique and $u_1$ is a relation by Proposition 345, Proposition 355, Proposition 356.
$u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 1, Definition 103, Proposition 16, Proposition 17, Proposition 18, Proposition 346.
$u_1(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(0)$ and $\closure{u_1(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(1)$ by Definition 1, Proposition 16, Proposition 17, Proposition 346.
Claim: For all $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ for all $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $p_1 < q_1$ then $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$.
Fix $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Fix $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Assume $p_1 < q_1$.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$.
Hence $p_1 = 0$ and $q_1 = 1$ by Axiom 17, Axiom 36, Axiom 39, Axiom 41, Axiom 42, Definition 1, Lemma 82, Lemma 83, Proposition 18, Proposition 462.
Thus $u_1(p_1) = U_0$ and $u_1(q_1) = U_1$ by Axiom 6, Proposition 16, Proposition 17, Proposition 345, Proposition 346, Proposition 355, Proposition 356.
Therefore $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$ by Definition 1.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
Follows by Axiom 17, Axiom 36, Axiom 39, Axiom 41, Axiom 42, Definition 1, Definition 1, Lemma 83, Proposition 18, Proposition 462.
$u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{1}$ by Definition 281.
$(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 42, Lemma 468.
There exists $u$ such that $(1,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{proof}
Let $u_1 = \{(0,U_0),(1,U_1)\}$.
For all $a,b,b'$ such that $(a,b)\in u_1$ and $(a,b')\in u_1$ we have $b = b'$
by \cref{upair_elim,pair_eq_iff,real_mul_ident}.
$u_1$ is a function by \cref{upair_elim,relation,rightunique}.
For all $p$ such that $p\in\dom{u_1}$ we have $p\in\{0,1\}$
by \cref{dom_iff,upair_elim,pair_eq_iff,upair_intro_left,upair_intro_right}.
Show that $\dom{u_1}\subseteq \{0,1\}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
For all $p$ such that $p\in\{0,1\}$ we have $p\in\dom{u_1}$
by \cref{upair_elim,upair_intro_left,upair_intro_right,dom_intro}.
Show that $\{0,1\}\subseteq \dom{u_1}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
$\dom{u_1} = \{0,1\}$ by \cref{subseteq_antisymmetric}.
We have $\img{s}{\initialSegment{1}} = \{1\}$.
Show that $\{0,1\}\union \img{s}{\initialSegment{1}}\subseteq \{0,1\}$.
\begin{subproof}
Follows by \cref{upair_intro_right,subseteq_refl,singleton_subset_intro,subseteq_transitive,union_subsets_is_subset,union_intro_left,subseteq}.
\end{subproof}
Show that $\{0,1\}\subseteq \{0,1\}\union \img{s}{\initialSegment{1}}$.
\begin{subproof}
Follows by \cref{subseteq_refl,union_intro_left,subseteq}.
\end{subproof}
$\{0,1\}\union \img{s}{\initialSegment{1}} = \{0,1\}$ by \cref{subseteq_antisymmetric}.
$\dom{u_1} = \{0,1\}\union \img{s}{\initialSegment{1}}$ by \cref{subseteq_antisymmetric}.
For all $p\in\dom{u_1}$ we have $u_1(p)\in\pow{X}$
by \cref{subseteq,upair_elim,upair_intro_left,upair_intro_right,function_apply_intro,open_in,topology_on,elem_subseteq}.
$u_1\in\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$ by \cref{funs_intro}.
Show that for all $p\in\dom{u_1}$ we have
$u_1(p)\in T$ and
$u_1(1) = X\setminus B$ and
$A\subseteq u_1(0)$ and
$\closure{u_1(0)}{X}{T}\subseteq u_1(1)$ and
for all $p\in\dom{u_1}$ for all $q\in\dom{u_1}$ if $p < q$ then
$\closure{u_1(p)}{X}{T}\subseteq u_1(q)$ and
for all $p\in\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
\begin{subproof}
Fix $p$ such that $p\in\dom{u_1}$.
We have $u_1$ is a function and $u_1$ is right-unique and $u_1$ is a relation
by \cref{funs_is_function,function_rightunique,funs_is_relation}.
$u_1(p)\in T$ by \cref{subseteq,upair_elim,upair_intro_left,upair_intro_right,function_apply_intro,open_in}.
$u_1(1) = X\setminus B$ and $A\subseteq u_1(0)$ and
$\closure{u_1(0)}{X}{T}\subseteq u_1(1)$
by \cref{upair_intro_right,upair_intro_left,function_apply_intro,subseteq}.
Show that for all $p_1\in\dom{u_1}$ for all $q_1\in\dom{u_1}$ if $p_1 < q_1$ then
$\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$.
\begin{subproof}
Fix $p_1\in\dom{u_1}$.
Fix $q_1\in\dom{u_1}$.
Assume $p_1 < q_1$.
We have $p_1\in\{0,1\}$ and $q_1\in\{0,1\}$.
Hence $p_1 = 0$ and $q_1 = 1$
by \cref{upair_elim,real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right,real_lt_trans}.
Thus $u_1(p_1) = U_0$ and $u_1(q_1) = U_1$
by \cref{pair_eq_iff,upair_intro_left,upair_intro_right,function_apply_intro,funs_is_function,function_rightunique,funs_is_relation}.
Therefore $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$ by \cref{subseteq}.
\end{subproof}
Show that for all $p\in\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
\begin{subproof}
Follows by \cref{subseteq,upair_elim,real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_zero_lt_one,real_lt_irreflexive,real_lt_subst_right,real_lt_trans}.
\end{subproof}
\end{subproof}
$u_1\in\urysohnAdmissible{s}{X}{T}{A}{B}{1}$ by \cref{urysohn_admissible}.
$(1,u_1)\in G$
by \cref{urysohn_good_pair_intro,real_one_in_naturals}.
There exists $u$ such that $(1,u)\in G$.
\end{proof}
Assume $U_1 = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_0$.
Assume $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$.
Assume $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $1 < r_1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{lemma}
\label{urysohn_u1_gt1}
Assume $U_1 = X\setminus B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\subseteq U_0$.
Assume $\closure{U_0}{X}{T}\subseteq U_1$.
Assume $r_1\in\reals$.
Assume $1 < r_1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\in G$.
\end{lemma}
Proof
Let $U_r = X$.
Let $u_1 = \{(0,U_0),(1,U_1)\}\union\{(r_1,U_r)\}$.
Claim: $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{1}$.
Claim: $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$.
We have $r_1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 17, Axiom 21, Axiom 36, Lemma 20, Proposition 462.
Hence $r_1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 1$ by Axiom 39, Lemma 83.
For all $a,b,b'$ such that $(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} u_1$ and $(a,b')\class{latex-symbol-tip latex-symbol-id-in}{\in} u_1$ we have $b = b'$ by Axiom 5, Axiom 6, Axiom 21, Proposition 18, Proposition 21.
$u_1$ is a function by Axiom 5, Definition 12, Definition 51, Proposition 18, Proposition 21.
Claim: $\dom{u_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union\{r_1\}$.
Claim: $\{0,1\}\union\{r_1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{u_1}$.
Hence $\dom{u_1} = \{0,1\}\union\{r_1\}$ by Proposition 3.
Claim: $\{0,1\}\union \img{s}{\initialSegment{1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union\{r_1\}$.
Follows by Definition 1, Proposition 2, Proposition 6, Proposition 17, Proposition 25, Proposition 38, Proposition 44.
Claim: $\{0,1\}\union\{r_1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\initialSegment{1}}$.
Follows by Definition 1, Proposition 2, Proposition 6, Proposition 17, Proposition 25, Proposition 39, Proposition 44.
Thus $\{0,1\}\union \img{s}{\initialSegment{1}} = \{0,1\}\union\{r_1\}$ by Proposition 3.
Hence $\dom{u_1} = \{0,1\}\union \img{s}{\initialSegment{1}}$ by Proposition 3.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Axiom 5, Definition 1, Definition 101, Definition 103, Proposition 4, Proposition 16, Proposition 17, Proposition 18, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 346.
Hence $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$ by Proposition 358.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $u_1(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(0)$ and $\closure{u_1(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $p < q$ then $\closure{u_1(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
We have $u_1$ is a function and $u_1$ is right-unique and $u_1$ is a relation by Proposition 345, Proposition 355, Proposition 356.
Claim: $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$.
Hence $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $p = 0$ or $p = 1$ by Proposition 18.
$u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103, Proposition 16, Proposition 38, Proposition 346.
$u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103, Proposition 17, Proposition 38, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$p = 0$.}
$u_1(p)\in T$ by \cref{upair_intro_left,union_intro_left,function_apply_intro,open_in}.
\caseOf{$p = 1$.}
$u_1(p)\in T$ by \cref{upair_intro_right,union_intro_left,function_apply_intro,open_in}.
\end{byCase}
$u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 101, Definition 103, Proposition 20, Proposition 21, Proposition 39, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$p\in\{0,1\}$.}
Hence $p = 0$ or $p = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p = 0$.}
$u_1(p)\in T$ by \cref{upair_intro_left,union_intro_left,function_apply_intro,open_in}.
\caseOf{$p = 1$.}
$u_1(p)\in T$ by \cref{upair_intro_right,union_intro_left,function_apply_intro,open_in}.
\end{byCase}
\caseOf{$p\in\{r_1\}$.}
$u_1(p)\in T$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro,open_in,topology_on}.
\end{byCase}
$u_1(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(0)$ and $\closure{u_1(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(1)$ by Definition 1, Proposition 16, Proposition 17, Proposition 38, Proposition 346.
Claim: For all $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ for all $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $p_1 < q_1$ then $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$.
Fix $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Fix $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Assume $p_1 < q_1$.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$.
Claim: $q_1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$.
Suppose not.
Hence $q_1 = 0$.
Hence $p_1 < 0$ by Lemma 83.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $p_1 = 0$ or $p_1 = 1$ by Proposition 18.
LaTeX source
\begin{byCase}
\caseOf{$p_1 = 0$.}
Contradiction by \cref{real_lt_subst_left,real_add_ident,real_lt_irreflexive}.
\caseOf{$p_1 = 1$.}
Hence $1 < 0$ by \cref{real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
Hence $r_1 < 0$ by Lemma 82, Proposition 21.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 21, Proposition 462.
Hence $1 < 0$ by Axiom 36.
Hence $1 < 1$ by Axiom 36.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 0$.}
Contradiction by \cref{real_lt_subst_left,real_add_ident,real_lt_irreflexive}.
\caseOf{$p_1 = 1$.}
Hence $1 < 0$ by \cref{real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $r_1 < 0$ by \cref{singleton_elim,real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 0$ by \cref{real_lt_trans}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
Claim: $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}\union\{r_1\}$.
We have $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
$q_1 = 0$ or $q_1 = 1$ by Proposition 18.
Suppose not.
Contradiction.
Hence $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}$ by Proposition 20.
Therefore $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}\union\{r_1\}$ by Proposition 38.
LaTeX source
\begin{byCase}
\caseOf{$q_1 = 0$.}
Suppose not.
Contradiction.
\caseOf{$q_1 = 1$.}
Hence $q_1\in\{1\}$ by \cref{singleton_intro}.
Therefore $q_1\in\{1\}\union\{r_1\}$ by \cref{union_intro_left}.
\end{byCase}
Hence $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}\union\{r_1\}$ by Proposition 39.
LaTeX source
\begin{byCase}
\caseOf{$q_1\in\{0,1\}$.}
$q_1 = 0$ or $q_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$q_1 = 0$.}
Suppose not.
Contradiction.
\caseOf{$q_1 = 1$.}
Hence $q_1\in\{1\}$ by \cref{singleton_intro}.
Therefore $q_1\in\{1\}\union\{r_1\}$ by \cref{union_intro_left}.
\end{byCase}
\caseOf{$q_1\in\{r_1\}$.}
Hence $q_1\in\{1\}\union\{r_1\}$ by \cref{union_intro_right}.
\end{byCase}
Hence $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}$ or $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
We have $u_1(q_1) = X$ by Proposition 20, Proposition 21, Proposition 39, Proposition 346.
We have $u_1(p_1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Axiom 12, Proposition 361.
$T$ is a topology on $X$ by Definition 103.
Hence $X$ is closed in $X$ with respect to $T$ by Lemma 139.
Hence $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$ by Definition 1, Lemma 147.
Hence $q_1 = 1$ by Proposition 21.
Claim: $p_1 = 0$.
Suppose not.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $p_1 = 0$ or $p_1 = 1$ by Proposition 18.
Hence $r_1 < 1$ by Lemma 82, Proposition 21.
Contradiction.
LaTeX source
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 1$.}
Contradiction by \cref{real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
\caseOf{$p_1 = 0$.}
Contradiction.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $r_1 < 1$ by \cref{singleton_elim,real_lt_subst_left}.
Contradiction.
\end{byCase}
Hence $p_1 = 0$.
Hence $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$ by Axiom 6, Definition 1, Proposition 16, Proposition 17, Proposition 21, Proposition 38, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$q_1\in\{r_1\}$.}
We have $u_1(q_1) = X$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
We have $u_1(p_1)\subseteq X$ by \cref{funs_type_apply,pow_iff}.
$T$ is a topology on $X$ by \cref{open_in}.
Hence $X$ is closed in $X$ with respect to $T$ by \cref{closed_whole_space}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{closure_subseteq_closed,subseteq}.
\caseOf{$q_1\in\{1\}$.}
Hence $q_1 = 1$ by \cref{singleton_elim}.
Show that $p_1 = 0$.
\begin{subproof}
Suppose not.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 1$.}
Contradiction by \cref{real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
\caseOf{$p_1 = 0$.}
Contradiction.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $r_1 < 1$ by \cref{singleton_elim,real_lt_subst_left}.
Contradiction.
\end{byCase}
\end{subproof}
Hence $p_1 = 0$.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_left,upair_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\end{byCase}
Claim: For all $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p_1$ then $u_1(p_1) = X$.
Fix $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Assume $1 < p_1$.
Suppose not.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$.
Hence $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $p_1 = 0$ or $p_1 = 1$ by Proposition 18.
LaTeX source
\begin{byCase}
\caseOf{$p_1 = 0$.}
Hence $1 < 0$ by \cref{real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$p_1 = 1$.}
Contradiction by \cref{real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
\end{byCase}
Hence $1 < r_1$ by Lemma 82, Proposition 21.
We have $u_1(p_1) = X$ by Proposition 20, Proposition 21, Proposition 39, Proposition 346.
Contradiction.
LaTeX source
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 0$.}
Hence $1 < 0$ by \cref{real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$p_1 = 1$.}
Contradiction by \cref{real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $1 < r_1$ by \cref{singleton_elim,real_lt_subst_left}.
We have $u_1(p_1) = X$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
Contradiction.
\end{byCase}
Thus $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{1}$ by Definition 281.
Therefore $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 42, Lemma 468.
There exists $u$ such that $(1,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{proof}
Let $U_r = X$.
Let $u_1 = \{(0,U_0),(1,U_1)\}\union\{(r_1,U_r)\}$.
Show that $u_1\in\urysohnAdmissible{s}{X}{T}{A}{B}{1}$.
\begin{subproof}
Show that $u_1\in\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$.
\begin{subproof}
We have $r_1 \neq 0$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one,real_lt_trans,real_pos_nonzero}.
Hence $r_1 \neq 1$ by \cref{real_lt_irreflexive,real_lt_subst_right}.
For all $a,b,b'$ such that $(a,b)\in u_1$ and $(a,b')\in u_1$ we have $b = b'$
by \cref{union_iff,upair_elim,singleton_elim,pair_eq_iff,real_mul_ident}.
$u_1$ is a function by \cref{union_iff,upair_elim,singleton_elim,relation,rightunique}.
Show that $\dom{u_1}\subseteq \{0,1\}\union\{r_1\}$.
\begin{subproof}
Follows by \cref{dom_iff,union_iff,upair_elim,singleton_elim,pair_eq_iff,upair_intro_left,upair_intro_right,singleton_intro,union_intro_left,union_intro_right,subseteq}.
\end{subproof}
Show that $\{0,1\}\union\{r_1\}\subseteq \dom{u_1}$.
\begin{subproof}
Follows by \cref{union_iff,upair_elim,singleton_elim,upair_intro_left,upair_intro_right,singleton_intro,union_intro_left,union_intro_right,dom_intro,subseteq}.
\end{subproof}
Hence $\dom{u_1} = \{0,1\}\union\{r_1\}$ by \cref{subseteq_antisymmetric}.
Show that $\{0,1\}\union \img{s}{\initialSegment{1}}\subseteq \{0,1\}\union\{r_1\}$.
\begin{subproof}
Follows by \cref{upair_intro_right,subseteq_refl,singleton_subset_intro,subseteq_transitive,union_subsets_is_subset,union_intro_left,subseteq}.
\end{subproof}
Show that $\{0,1\}\union\{r_1\}\subseteq \{0,1\}\union \img{s}{\initialSegment{1}}$.
\begin{subproof}
Follows by \cref{upair_intro_right,subseteq_refl,singleton_subset_intro,subseteq_transitive,union_subsets_is_subset,union_intro_right,subseteq}.
\end{subproof}
Thus $\{0,1\}\union \img{s}{\initialSegment{1}} = \{0,1\}\union\{r_1\}$ by \cref{subseteq_antisymmetric}.
Hence $\dom{u_1} = \{0,1\}\union \img{s}{\initialSegment{1}}$ by \cref{subseteq_antisymmetric}.
For all $p\in\dom{u_1}$ we have $u_1(p)\in\pow{X}$
by \cref{subseteq,union_iff,upair_elim,upair_intro_left,upair_intro_right,singleton_elim,singleton_intro,union_intro_left,union_intro_right,function_apply_intro,open_in,topology_on,elem_subseteq}.
Hence $u_1\in\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$ by \cref{funs_intro}.
\end{subproof}
Show that for all $p\in\dom{u_1}$ we have
$u_1(p)\in T$ and
$u_1(1) = X\setminus B$ and
$A\subseteq u_1(0)$ and
$\closure{u_1(0)}{X}{T}\subseteq u_1(1)$ and
for all $p\in\dom{u_1}$ for all $q\in\dom{u_1}$ if $p < q$ then
$\closure{u_1(p)}{X}{T}\subseteq u_1(q)$ and
for all $p\in\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
\begin{subproof}
Fix $p$ such that $p\in\dom{u_1}$.
We have $u_1$ is a function and $u_1$ is right-unique and $u_1$ is a relation
by \cref{funs_is_function,function_rightunique,funs_is_relation}.
Show that $u_1(p)\in T$.
\begin{subproof}
We have $p\in\{0,1\}\union\{r_1\}$.
Hence $p\in\{0,1\}$ or $p\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p\in\{0,1\}$.}
Hence $p = 0$ or $p = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p = 0$.}
$u_1(p)\in T$ by \cref{upair_intro_left,union_intro_left,function_apply_intro,open_in}.
\caseOf{$p = 1$.}
$u_1(p)\in T$ by \cref{upair_intro_right,union_intro_left,function_apply_intro,open_in}.
\end{byCase}
\caseOf{$p\in\{r_1\}$.}
$u_1(p)\in T$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro,open_in,topology_on}.
\end{byCase}
\end{subproof}
$u_1(1) = X\setminus B$ and $A\subseteq u_1(0)$ and
$\closure{u_1(0)}{X}{T}\subseteq u_1(1)$
by \cref{upair_intro_right,upair_intro_left,union_intro_left,function_apply_intro,subseteq}.
Show that for all $p_1\in\dom{u_1}$ for all $q_1\in\dom{u_1}$ if $p_1 < q_1$ then
$\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$.
\begin{subproof}
Fix $p_1\in\dom{u_1}$.
Fix $q_1\in\dom{u_1}$.
Assume $p_1 < q_1$.
We have $p_1\in\{0,1\}\union\{r_1\}$ and $q_1\in\{0,1\}\union\{r_1\}$.
Show that $q_1 \neq 0$.
\begin{subproof}
Suppose not.
Hence $q_1 = 0$.
Hence $p_1 < 0$ by \cref{real_lt_subst_right}.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 0$.}
Contradiction by \cref{real_lt_subst_left,real_add_ident,real_lt_irreflexive}.
\caseOf{$p_1 = 1$.}
Hence $1 < 0$ by \cref{real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $r_1 < 0$ by \cref{singleton_elim,real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 0$ by \cref{real_lt_trans}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{subproof}
Show that $q_1\in\{1\}\union\{r_1\}$.
\begin{subproof}
We have $q_1\in\{0,1\}$ or $q_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$q_1\in\{0,1\}$.}
$q_1 = 0$ or $q_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$q_1 = 0$.}
Suppose not.
Contradiction.
\caseOf{$q_1 = 1$.}
Hence $q_1\in\{1\}$ by \cref{singleton_intro}.
Therefore $q_1\in\{1\}\union\{r_1\}$ by \cref{union_intro_left}.
\end{byCase}
\caseOf{$q_1\in\{r_1\}$.}
Hence $q_1\in\{1\}\union\{r_1\}$ by \cref{union_intro_right}.
\end{byCase}
\end{subproof}
Hence $q_1\in\{1\}$ or $q_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$q_1\in\{r_1\}$.}
We have $u_1(q_1) = X$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
We have $u_1(p_1)\subseteq X$ by \cref{funs_type_apply,pow_iff}.
$T$ is a topology on $X$ by \cref{open_in}.
Hence $X$ is closed in $X$ with respect to $T$ by \cref{closed_whole_space}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{closure_subseteq_closed,subseteq}.
\caseOf{$q_1\in\{1\}$.}
Hence $q_1 = 1$ by \cref{singleton_elim}.
Show that $p_1 = 0$.
\begin{subproof}
Suppose not.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 1$.}
Contradiction by \cref{real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
\caseOf{$p_1 = 0$.}
Contradiction.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $r_1 < 1$ by \cref{singleton_elim,real_lt_subst_left}.
Contradiction.
\end{byCase}
\end{subproof}
Hence $p_1 = 0$.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_left,upair_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\end{byCase}
\end{subproof}
Show that for all $p_1\in\dom{u_1}$ if $1 < p_1$ then $u_1(p_1) = X$.
\begin{subproof}
Fix $p_1\in\dom{u_1}$.
Assume $1 < p_1$.
Suppose not.
We have $p_1\in\{0,1\}\union\{r_1\}$.
Hence $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$ or $p_1 = 1$ by \cref{upair_elim}.
\begin{byCase}
\caseOf{$p_1 = 0$.}
Hence $1 < 0$ by \cref{real_lt_subst_left}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$ by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Hence $1 < 1$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$p_1 = 1$.}
Contradiction by \cref{real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
\end{byCase}
\caseOf{$p_1\in\{r_1\}$.}
Hence $1 < r_1$ by \cref{singleton_elim,real_lt_subst_left}.
We have $u_1(p_1) = X$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
Contradiction.
\end{byCase}
\end{subproof}
\end{subproof}
Thus $u_1\in\urysohnAdmissible{s}{X}{T}{A}{B}{1}$ by \cref{urysohn_admissible}.
\end{subproof}
Therefore $(1,u_1)\in G$
by \cref{urysohn_good_pair_intro,real_one_in_naturals}.
There exists $u$ such that $(1,u)\in G$.
\end{proof}
Assume $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Then $0 < r_1$.
LaTeX source
\begin{lemma}
\label{unit_rational_pos}
Assume $r_1\in\unitRationals$.
Then $0 < r_1$.
\end{lemma}
Proof
Take $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ and $r_1 = \fst{q} \rmul \inv{\snd{q}}$ by Definition 279.
$r_1 > 0$ by Axiom 17, Axiom 21, Axiom 22, Axiom 36, Axiom 41, Axiom 43, Definition 1, Lemma 17, Lemma 20, Lemma 83, Proposition 119, Proposition 120, Proposition 462, Proposition 463.
LaTeX source
\begin{proof}
Take $q$ such that
$q\in\naturalsPlus\times\naturalsPlus$ and
$r_1 = \fst{q} \rmul \inv{\snd{q}}$
by \cref{unit_rationals}.
$r_1 > 0$
by \cref{fst_type,snd_type,real_naturals_subset_reals,subseteq,real_add_ident,real_zero_lt_one,real_mul_ident,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_pos_nonzero,real_mul_inverse,real_inv_pos,real_mul_pos_pos}.
\end{proof}
Assume $U_1 = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_0$.
Assume $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$.
Assume $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Assume $r_1 < 1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Assume $U_r$ is open in $X$ with respect to $T$.
Assume $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_r$.
Assume $\closure{U_r}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{lemma}
\label{urysohn_u1_lt1_admissible}
Assume $U_1 = X\setminus B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\subseteq U_0$.
Assume $\closure{U_0}{X}{T}\subseteq U_1$.
Assume $r_1\in\reals$.
Assume $r_1\in\unitRationals$.
Assume $r_1 < 1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Assume $U_r$ is open in $X$ with respect to $T$.
Assume $\closure{U_0}{X}{T}\subseteq U_r$.
Assume $\closure{U_r}{X}{T}\subseteq U_1$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\in G$.
\end{lemma}
Proof
Let $u_1 = \{(0,U_0),(1,U_1)\}\union\{(r_1,U_r)\}$.
Claim: $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Claim: $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{1}$.
Claim: $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$.
We have $r_1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Lemma 20, Lemma 473.
Hence $r_1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 1$ by Axiom 39, Lemma 83.
For all $a,b,b'$ such that $(a,b)\class{latex-symbol-tip latex-symbol-id-in}{\in} u_1$ and $(a,b')\class{latex-symbol-tip latex-symbol-id-in}{\in} u_1$ we have $b = b'$ by Axiom 5, Axiom 6, Axiom 21, Proposition 18, Proposition 21.
Hence $u_1$ is right-unique by Definition 51.
Therefore $u_1$ is a function by Axiom 5, Definition 12, Definition 51, Proposition 18, Proposition 21.
Claim: $\dom{u_1} = \{0,1\}\union\{r_1\}$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$ by Axiom 5, Axiom 6, Proposition 16, Proposition 17, Proposition 18, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 199.
Claim: $\dom{u_1}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union\{r_1\}$.
Follows by Definition 1.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ by Axiom 5, Proposition 16, Proposition 17, Proposition 18, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 200.
Claim: $\{0,1\}\union\{r_1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{u_1}$.
Follows by Definition 1.
Therefore $\dom{u_1} = \{0,1\}\union\{r_1\}$ by Proposition 3.
Hence $\dom{u_1} = \{0,1\}\union \img{s}{\initialSegment{1}}$.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Axiom 5, Definition 1, Definition 101, Definition 103, Proposition 4, Proposition 16, Proposition 17, Proposition 18, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 346.
Therefore $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$ by Proposition 358.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $u_1(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(0)$ and $\closure{u_1(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $p < q$ then $\closure{u_1(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
We have $u_1$ is a function and $u_1$ is right-unique and $u_1$ is a relation by Proposition 345, Proposition 355, Proposition 356.
Hence $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Axiom 5, Definition 1, Definition 103, Proposition 16, Proposition 17, Proposition 18, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 346, Proposition 359.
$u_1(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(0)$ and $\closure{u_1(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(1)$ by Definition 1, Proposition 16, Proposition 17, Proposition 38, Proposition 346.
Claim: For all $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ for all $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $p_1 < q_1$ then $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$.
Fix $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Fix $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$.
Assume $p_1 < q_1$.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union\{r_1\}$.
Hence $q_1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 5, Axiom 17, Axiom 21, Axiom 36, Axiom 39, Lemma 82, Lemma 83, Lemma 473, Proposition 18, Proposition 21, Proposition 462.
Hence $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}\union\{r_1\}$.
Hence $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{1\}$ or $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $q_1 = r_1$ by Proposition 21.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $p_1 = 0$ by Axiom 21, Axiom 36, Axiom 39, Lemma 82, Proposition 18, Proposition 21.
Hence $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$ by Axiom 6, Definition 1, Proposition 16, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 346.
Hence $q_1 = 1$ by Proposition 21.
We have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r_1\}$ by Axiom 5.
Hence $p_1 = 0$ by Axiom 21, Axiom 39, Lemma 82, Proposition 18.
Hence $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$ by Axiom 6, Definition 1, Proposition 16, Proposition 17, Proposition 38, Proposition 346.
Hence $\closure{u_1(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u_1(q_1)$ by Axiom 6, Definition 1, Proposition 17, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$
by \cref{upair_elim,real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{pair_eq_iff,union_intro_left,upair_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\caseOf{$p_1\in\{r_1\}$.}
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_right,singleton_intro,union_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$q_1\in\{r_1\}$.}
Hence $q_1 = r_1$ by \cref{singleton_elim}.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
Hence $p_1 = 0$
by \cref{upair_elim,singleton_elim,real_lt_subst_left,real_mul_ident,real_lt_trans,real_lt_irreflexive}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_left,upair_intro_left,union_intro_right,singleton_intro,function_apply_intro,subseteq}.
\caseOf{$q_1\in\{1\}$.}
Hence $q_1 = 1$ by \cref{singleton_elim}.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$
by \cref{upair_elim,real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{pair_eq_iff,union_intro_left,upair_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\caseOf{$p_1\in\{r_1\}$.}
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_right,singleton_intro,union_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\end{byCase}
\end{byCase}
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ we have $p = 0$ or $p = 1$ or $p = r_1$ by Axiom 5, Definition 1, Proposition 18, Proposition 21, Proposition 359.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{u_1}$ if $1 < p$ then $u_1(p) = X$ by Axiom 17, Axiom 21, Axiom 36, Axiom 39, Lemma 82, Proposition 462.
Hence $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{1}$ by Definition 281.
$(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 42, Lemma 468.
LaTeX source
\begin{proof}
Let $u_1 = \{(0,U_0),(1,U_1)\}\union\{(r_1,U_r)\}$.
Show that $(1,u_1)\in G$.
\begin{subproof}
Show that $u_1\in\urysohnAdmissible{s}{X}{T}{A}{B}{1}$.
\begin{subproof}
Show that $u_1\in\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$.
\begin{subproof}
We have $r_1 \neq 0$ by \cref{unit_rational_pos,real_pos_nonzero}.
Hence $r_1 \neq 1$ by \cref{real_lt_irreflexive,real_lt_subst_right}.
For all $a,b,b'$ such that $(a,b)\in u_1$ and $(a,b')\in u_1$ we have $b = b'$
by \cref{union_iff,upair_elim,singleton_elim,pair_eq_iff,real_mul_ident}.
Hence $u_1$ is right-unique by \cref{rightunique}.
Therefore $u_1$ is a function by \cref{union_iff,upair_elim,singleton_elim,relation,rightunique}.
Show that $\dom{u_1} = \{0,1\}\union\{r_1\}$.
\begin{subproof}
For all $x\in\dom{u_1}$ we have $x\in\{0,1\}\union\{r_1\}$
by \cref{dom_iff,union_iff,upair_elim,singleton_elim,pair_eq_iff,upair_intro_left,upair_intro_right,singleton_intro,union_intro_left,union_intro_right}.
Show that $\dom{u_1}\subseteq \{0,1\}\union\{r_1\}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
For all $x\in\{0,1\}\union\{r_1\}$ we have $x\in\dom{u_1}$
by \cref{union_iff,upair_elim,singleton_elim,upair_intro_left,upair_intro_right,singleton_intro,union_intro_left,union_intro_right,dom_intro}.
Show that $\{0,1\}\union\{r_1\}\subseteq \dom{u_1}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Therefore $\dom{u_1} = \{0,1\}\union\{r_1\}$ by \cref{subseteq_antisymmetric}.
\end{subproof}
Hence $\dom{u_1} = \{0,1\}\union \img{s}{\initialSegment{1}}$.
For all $p\in\dom{u_1}$ we have $u_1(p)\in\pow{X}$
by \cref{subseteq,union_iff,upair_elim,upair_intro_left,upair_intro_right,singleton_elim,singleton_intro,union_intro_left,union_intro_right,function_apply_intro,open_in,topology_on,elem_subseteq}.
Therefore $u_1\in\funs{\{0,1\}\union \img{s}{\initialSegment{1}}}{\pow{X}}$ by \cref{funs_intro}.
\end{subproof}
Show that for all $p\in\dom{u_1}$ we have
$u_1(p)\in T$ and
$u_1(1) = X\setminus B$ and
$A\subseteq u_1(0)$ and
$\closure{u_1(0)}{X}{T}\subseteq u_1(1)$ and
for all $p\in\dom{u_1}$ for all $q\in\dom{u_1}$ if $p < q$ then
$\closure{u_1(p)}{X}{T}\subseteq u_1(q)$ and
for all $p\in\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
\begin{subproof}
Fix $p$ such that $p\in\dom{u_1}$.
We have $u_1$ is a function and $u_1$ is right-unique and $u_1$ is a relation
by \cref{funs_is_function,function_rightunique,funs_is_relation}.
Hence $u_1(p)\in T$
by \cref{funs_elim,subseteq,union_iff,upair_elim,upair_intro_left,upair_intro_right,singleton_elim,singleton_intro,union_intro_left,union_intro_right,function_apply_intro,open_in}.
$u_1(1) = X\setminus B$ and $A\subseteq u_1(0)$ and
$\closure{u_1(0)}{X}{T}\subseteq u_1(1)$
by \cref{upair_intro_right,upair_intro_left,union_intro_left,function_apply_intro,subseteq}.
Show that for all $p_1\in\dom{u_1}$ for all $q_1\in\dom{u_1}$ if $p_1 < q_1$ then
$\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$.
\begin{subproof}
Fix $p_1\in\dom{u_1}$.
Fix $q_1\in\dom{u_1}$.
Assume $p_1 < q_1$.
We have $p_1\in\{0,1\}\union\{r_1\}$ and $q_1\in\{0,1\}\union\{r_1\}$.
Hence $q_1 \neq 0$
by \cref{union_iff,upair_elim,singleton_elim,real_lt_subst_right,real_lt_subst_left,real_add_ident,real_mul_ident,real_zero_lt_one,unit_rational_pos,real_lt_trans,real_lt_irreflexive}.
Hence $q_1\in\{1\}\union\{r_1\}$.
Hence $q_1\in\{1\}$ or $q_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$q_1\in\{r_1\}$.}
Hence $q_1 = r_1$ by \cref{singleton_elim}.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
Hence $p_1 = 0$
by \cref{upair_elim,singleton_elim,real_lt_subst_left,real_mul_ident,real_lt_trans,real_lt_irreflexive}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_left,upair_intro_left,union_intro_right,singleton_intro,function_apply_intro,subseteq}.
\caseOf{$q_1\in\{1\}$.}
Hence $q_1 = 1$ by \cref{singleton_elim}.
We have $p_1\in\{0,1\}$ or $p_1\in\{r_1\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{0,1\}$.}
Hence $p_1 = 0$
by \cref{upair_elim,real_lt_subst_left,real_mul_ident,real_lt_irreflexive}.
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{pair_eq_iff,union_intro_left,upair_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\caseOf{$p_1\in\{r_1\}$.}
Hence $\closure{u_1(p_1)}{X}{T}\subseteq u_1(q_1)$
by \cref{singleton_elim,pair_eq_iff,union_intro_right,singleton_intro,union_intro_left,upair_intro_right,function_apply_intro,subseteq}.
\end{byCase}
\end{byCase}
\end{subproof}
Show that for all $p\in\dom{u_1}$ if $1 < p$ then $u_1(p) = X$.
\begin{subproof}
For all $p\in\dom{u_1}$ we have $p = 0$ or $p = 1$ or $p = r_1$
by \cref{funs_elim,subseteq,union_iff,upair_elim,singleton_elim}.
For all $p\in\dom{u_1}$ if $1 < p$ then $u_1(p) = X$
by \cref{real_lt_subst_left,real_add_ident,real_mul_ident,real_zero_lt_one,real_lt_trans,real_lt_irreflexive}.
\end{subproof}
\end{subproof}
Hence $u_1\in\urysohnAdmissible{s}{X}{T}{A}{B}{1}$ by \cref{urysohn_admissible}.
\end{subproof}
$(1,u_1)\in G$ by \cref{urysohn_good_pair_intro,real_one_in_naturals}.
\end{subproof}
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $U_1 = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_0$.
Assume $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$.
Assume $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Assume $r_1 < 1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{lemma}
\label{urysohn_u1_lt1}
Assume $X$ is normal with respect to $T$.
Assume $U_1 = X\setminus B$.
Assume $U_1$ is open in $X$ with respect to $T$.
Assume $U_0$ is open in $X$ with respect to $T$.
Assume $A\subseteq U_0$.
Assume $\closure{U_0}{X}{T}\subseteq U_1$.
Assume $r_1\in\reals$.
Assume $r_1\in\unitRationals$.
Assume $r_1 < 1$.
Assume $\img{s}{\initialSegment{1}} = \{r_1\}$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\in G$.
\end{lemma}
Proof
We have $\closure{U_0}{X}{T}$ is closed in $X$ with respect to $T$ by Axiom 12, Definition 101, Definition 103, Lemma 144, Proposition 4.
Take $U_r$ such that $U_r$ is open in $X$ with respect to $T$ and $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_r$ and $\closure{U_r}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$ by Lemma 450.
There exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Lemma 474.
LaTeX source
\begin{proof}
We have $\closure{U_0}{X}{T}$ is closed in $X$ with respect to $T$ by \cref{open_in,topology_on,elem_subseteq,pow_iff,closure_closed_in}.
Take $U_r$ such that
$U_r$ is open in $X$ with respect to $T$ and
$\closure{U_0}{X}{T}\subseteq U_r$ and
$\closure{U_r}{X}{T}\subseteq U_1$
by \cref{normal_closure_neighborhood}.
There exists $u_1$ such that $(1,u_1)\in G$ by \cref{urysohn_u1_lt1_admissible}.
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Then for all $f,g$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $f\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g$ or $g\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_chain}
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Then for all $f,g$ such that $f\in F$ and $g\in F$ we have $f\subseteq g$ or $g\subseteq f$.
\end{lemma}
Proof
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(n + 1)}$ by Axiom 6, Definition 158, Proposition 361.
Let $A_0 = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $n\in\naturalsPlus$ if $n \leq m$ then $\snd{u(n)}\subseteq \snd{u(m)}$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 41, Axiom 42, Axiom 43, Definition 1, Lemma 25, Proposition 2.
Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Hence $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k + 1$ then $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k + 1)}$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k + 1$.
Hence $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k$ or $n = k + 1$ by Lemma 29.
Hence $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k)}$ by definition.
$\snd{u(k)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k + 1)}$ by Axiom 6, Definition 158, Proposition 361.
Therefore $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k + 1)}$ by Proposition 6.
We have $\snd{u(n)} = \snd{u(k + 1)}$.
Therefore $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k + 1)}$ by Proposition 2.
LaTeX source
\begin{byCase}
\caseOf{$n \leq k$.}
Hence $\snd{u(n)}\subseteq \snd{u(k)}$ by definition.
$\snd{u(k)}\subseteq \snd{u(k + 1)}$ by \cref{sequence_in,funs_type_apply,pair_eq_iff}.
Therefore $\snd{u(n)}\subseteq \snd{u(k + 1)}$ by \cref{subseteq_transitive}.
\caseOf{$n = k + 1$.}
We have $\snd{u(n)} = \snd{u(k + 1)}$.
Therefore $\snd{u(n)}\subseteq \snd{u(k + 1)}$ by \cref{subseteq_refl}.
\end{byCase}
$k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by definition.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Proposition 445.
Fix $f$.
Fix $g$ such that $f\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
Take $n$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f = \snd{u(n)}$.
Take $m$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $g = \snd{u(m)}$.
We have $n < m$ or $n = m$ or $m < n$ by Axiom 34, Axiom 41, Definition 1.
Hence $f\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g$ or $g\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f$ by Lemma 231, Proposition 2.
LaTeX source
\begin{proof}
For all $n\in\naturalsPlus$ we have $\snd{u(n)}\subseteq \snd{u(n + 1)}$
by \cref{sequence_in,funs_type_apply,pair_eq_iff}.
Let $A_0 = \{m\in\naturalsPlus \mid \text{for all $n\in\naturalsPlus$ if $n \leq m$ then
$\snd{u(n)}\subseteq \snd{u(m)}$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
We have $1\in A_0$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_one_leq_naturalsplus,real_leq_antisym,subseteq_refl}.
Show that for all $k\in A_0$ we have $k + 1\in A_0$.
\begin{subproof}
Fix $k$ such that $k\in A_0$.
We have $k\in\naturalsPlus$ by \cref{subseteq}.
Hence $k + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
Show that for all $n\in\naturalsPlus$ if $n \leq k + 1$ then $\snd{u(n)}\subseteq \snd{u(k + 1)}$.
\begin{subproof}
Fix $n\in\naturalsPlus$.
Assume $n \leq k + 1$.
Hence $n \leq k$ or $n = k + 1$ by \cref{real_naturals_leq_succ_elim}.
\begin{byCase}
\caseOf{$n \leq k$.}
Hence $\snd{u(n)}\subseteq \snd{u(k)}$ by definition.
$\snd{u(k)}\subseteq \snd{u(k + 1)}$ by \cref{sequence_in,funs_type_apply,pair_eq_iff}.
Therefore $\snd{u(n)}\subseteq \snd{u(k + 1)}$ by \cref{subseteq_transitive}.
\caseOf{$n = k + 1$.}
We have $\snd{u(n)} = \snd{u(k + 1)}$.
Therefore $\snd{u(n)}\subseteq \snd{u(k + 1)}$ by \cref{subseteq_refl}.
\end{byCase}
\end{subproof}
$k + 1\in A_0$ by definition.
\end{subproof}
For all $m\in\naturalsPlus$ we have $m\in A_0$ by \cref{real_naturals_induction}.
Fix $f$.
Fix $g$ such that $f\in F$ and $g\in F$.
Take $n$ such that $n\in\naturalsPlus$ and $f = \snd{u(n)}$.
Take $m$ such that $m\in\naturalsPlus$ and $g = \snd{u(m)}$.
We have $n < m$ or $n = m$ or $m < n$ by \cref{real_naturals_subset_reals,subseteq,real_lt_trichotomy}.
Hence $f\subseteq g$ or $g\subseteq f$ by \cref{subseteq_refl,real_lt_imp_leq}.
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Then $U$ is a function.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_union_function}
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Then $U$ is a function.
\end{lemma}
Proof
We have $U$ is a function by Axiom 11, Definition 158, Definition 281, Lemma 467, Lemma 476, Proposition 356, Proposition 361, Proposition 367.
LaTeX source
\begin{proof}
We have $U$ is a function
by \cref{sequence_in,funs_type_apply,urysohn_good_pair_decomp,snd_eq,urysohn_admissible,funs_is_function,urysohn_unit_interval_chain,unions_of_compatible_family_of_function_is_function}.
\end{proof}
Assume $s$ is a sequence in $Y$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $s(k)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{\initialSegment{k}}$.
LaTeX source
\begin{lemma}
\label{sequence_value_in_initial_image}
Assume $s$ is a sequence in $Y$.
Assume $k\in\naturalsPlus$.
Then $s(k)\in\img{s}{\initialSegment{k}}$.
\end{lemma}
Proof
$s(k)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{s}{\initialSegment{k}}$ by Definition 1, Definition 84, Definition 158, Proposition 235, Proposition 348, Proposition 356, Proposition 359.
LaTeX source
\begin{proof}
$s(k)\in\img{s}{\initialSegment{k}}$ by \cref{sequence_in,funs_is_function,funs_elim,initial_segment_naturalsplus,subseteq,function_apply_elim,img_iff}.
\end{proof}
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Then $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{lemma}
\label{unit_rational_real_aux}
Assume $r\in\unitRationals$.
Then $r\in\reals$.
\end{lemma}
Proof
Take $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ and $r = \fst{q} \rmul \inv{\snd{q}}$ by Definition 279.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Axiom 17, Axiom 21, Axiom 22, Axiom 36, Axiom 41, Axiom 43, Definition 1, Lemma 20, Lemma 83, Proposition 119, Proposition 120, Proposition 462.
LaTeX source
\begin{proof}
Take $q$ such that
$q\in\naturalsPlus\times\naturalsPlus$ and
$r = \fst{q} \rmul \inv{\snd{q}}$
by \cref{unit_rationals}.
$r\in\reals$
by \cref{fst_type,snd_type,real_naturals_subset_reals,subseteq,real_add_ident,real_mul_ident,real_zero_lt_one,real_one_leq_naturalsplus,real_lt_subst_right,real_lt_trans,real_pos_nonzero,real_mul_inverse,real_mul_closed}.
\end{proof}
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$.
Then $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{lemma}
\label{unit_rational_zero_real}
Assume $r\in\unitRationalsZero$.
Then $r\in\reals$.
\end{lemma}
Proof
We have $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 5, Axiom 17, Definition 280, Lemma 479, Proposition 21.
LaTeX source
\begin{proof}
We have $r\in\reals$
by \cref{unit_rationals_zero,union_iff,unit_rational_real_aux,singleton_elim,real_add_ident}.
\end{proof}
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnLevelSet{U}{x}$.
Then $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{lemma}
\label{urysohn_level_value_real}
Assume $r\in\urysohnLevelSet{U}{x}$.
Then $r\in\reals$.
\end{lemma}
Proof
We have $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 284, Lemma 480.
LaTeX source
\begin{proof}
We have $r\in\reals$ by \cref{urysohn_level_set,unit_rational_zero_real}.
\end{proof}
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$.
Then $y$ is an infimum of $\urysohnLevelSet{U}{x}$.
LaTeX source
\begin{lemma}
\label{urysohn_infimum_graph_elim}
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $(x,y)\in f$.
Then $y$ is an infimum of $\urysohnLevelSet{U}{x}$.
\end{lemma}
Proof
Follows by Axiom 6.
LaTeX source
\begin{proof}
Follows by \cref{pair_eq_iff}.
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Then $f$ is a function from $X$ to $\reals$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_f_funs}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Then $f$ is a function from $X$ to $\reals$.
\end{lemma}
Proof
For all $x,y_1,y_2$ such that $(x,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(x,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ we have $y_1 = y_2$ by Lemma 482, Proposition 468.
$f$ is right-unique by Definition 51.
$f$ is a function by Definition 12, Definition 51.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
Claim: $Q_x\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 21, Proposition 462.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Lemma 231.
Let $b = 1 + 1$.
We have $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 < b$ by Axiom 13, Axiom 17, Axiom 37, Lemma 82.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{1}{b}$ by Lemma 465.
$1 < p$ by Definition 76.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(k) = p$ by assumption.
$u(k)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 158, Proposition 361.
Take $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $u(k) = (n,t)$ by Lemma 467.
$k = n$ and $\snd{u(k)} = t$ by Axiom 10, Axiom 11.
We have $t$ is a function and $\dom{t} = \{0,1\}\union \img{s}{\initialSegment{k}}$ by Definition 281, Proposition 356, Proposition 359.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Definition 281, Lemma 478, Proposition 39, Proposition 359.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Definition 1, Proposition 17, Proposition 38.
We have for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ if $1 < q$ then $t(q) = X$ by Definition 281.
$t(p) = X$.
$(p,t(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Proposition 27, Proposition 348.
$U(p) = t(p)$ by Proposition 346.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(p)$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ by Definition 280, Definition 284, Proposition 38.
$Q_x\class{latex-symbol-tip latex-symbol-id-neq}{\neq} \class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Claim: $Q_x\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $Q_x$ is bounded below.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 481.
$Q_x\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ we have $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ by Axiom 5, Axiom 17, Definition 280, Definition 284, Lemma 231, Lemma 473, Proposition 21.
$0$ is a lower bound of $Q_x$ by Axiom 17, Definition 1, Definition 68.
$Q_x$ is bounded below.
Take $p$ such that $p$ is an infimum of $Q_x$ by Proposition 473.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 68, Definition 72, Proposition 200.
Claim: $X\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f}$.
Follows by Definition 1.
Claim: $\dom{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Follows by Axiom 6, Definition 1, Proposition 199.
$\dom{f} = X$ by Proposition 3.
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}\reals$ by Definition 68, Definition 72, Lemma 482, Proposition 199, Proposition 346.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ by Proposition 358.
LaTeX source
\begin{proof}
For all $x,y_1,y_2$ such that $(x,y_1)\in f$ and $(x,y_2)\in f$ we have $y_1 = y_2$
by \cref{urysohn_infimum_graph_elim,real_infimum_unique}.
$f$ is right-unique by \cref{rightunique}.
$f$ is a function by \cref{relation,rightunique}.
Show that for all $x\in X$ we have $x\in\dom{f}$.
\begin{subproof}
Fix $x\in X$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
Show that $Q_x\neq \emptyset$.
\begin{subproof}
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
$0 \leq 1$ by \cref{real_lt_imp_leq}.
Let $b = 1 + 1$.
We have $b\in\reals$ and $1 < b$
by \cref{real_add_closed,real_lt_add,real_add_ident,real_lt_subst_left}.
Take $p$ such that $p\in\unitRationals$ and $p\in\intervalopen{1}{b}$
by \cref{unit_rationals_dense_nonneg}.
$1 < p$ by \cref{intervalopen}.
Take $k\in\naturalsPlus$ such that $s(k) = p$ by assumption.
$u(k)\in G$ by \cref{sequence_in,funs_type_apply}.
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$u(k) = (n,t)$
by \cref{urysohn_good_pair_decomp}.
$k = n$ and $\snd{u(k)} = t$ by \cref{fst_eq,snd_eq}.
We have $t$ is a function and $\dom{t} = \{0,1\}\union \img{s}{\initialSegment{k}}$
by \cref{urysohn_admissible,funs_is_function,funs_elim}.
$p\in\dom{t}$ by \cref{sequence_value_in_initial_image,urysohn_admissible,funs_elim,union_intro_right}.
$1\in\dom{t}$ by \cref{upair_intro_right,union_intro_left,subseteq}.
We have for all $q\in\dom{t}$ if $1 < q$ then $t(q) = X$
by \cref{urysohn_admissible}.
$t(p) = X$.
$(p,t(p))\in U$ by \cref{function_apply_elim,unions_intro}.
$U(p) = t(p)$ by \cref{function_apply_intro}.
$x\in U(p)$.
$p\in Q_x$ by \cref{unit_rationals_zero,union_intro_left,urysohn_level_set}.
$Q_x\neq \emptyset$.
\end{subproof}
Show that $Q_x\subseteq\reals$ and $Q_x$ is bounded below.
\begin{subproof}
For all $p\in Q_x$ we have $p\in\reals$ by \cref{urysohn_level_value_real}.
$Q_x\subseteq\reals$ by \cref{subseteq}.
For all $p\in Q_x$ we have $0 \leq p$
by \cref{urysohn_level_set,unit_rationals_zero,union_iff,singleton_elim,real_add_ident,unit_rational_pos,real_lt_imp_leq}.
$0$ is a lower bound of $Q_x$
by \cref{real_add_ident,subseteq,real_lower_bound}.
$Q_x$ is bounded below.
\end{subproof}
Take $p$ such that $p$ is an infimum of $Q_x$ by \cref{real_infimum_exists}.
$x\in\dom{f}$ by \cref{real_infimum,real_lower_bound,dom_intro}.
\end{subproof}
Show that $X\subseteq\dom{f}$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that $\dom{f}\subseteq X$.
\begin{subproof}
Follows by \cref{dom_iff,pair_eq_iff,subseteq}.
\end{subproof}
$\dom{f} = X$ by \cref{subseteq_antisymmetric}.
For all $x\in\dom{f}$ we have $f(x)\in\reals$
by \cref{dom_iff,urysohn_infimum_graph_elim,real_infimum,real_lower_bound,function_apply_intro}.
$f\in\funs{X}{\reals}$ by \cref{funs_intro}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_u1}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Then there exists $u_1$ such that $(1,u_1)\in G$.
\end{lemma}
Proof
Let $U_1 = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$.
$U_1$ is open in $X$ with respect to $T$ by Definition 149.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$ by Definition 1, Definition 3, Definition 149, Proposition 85.
Take $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_0$ and $\closure{U_0}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$ by Lemma 450.
Let $r_1 = s(1)$.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\unitRationals}$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Definition 158.
$r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ by Proposition 361.
Claim: $\img{s}{\initialSegment{1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{r_1\}$.
Follows by Axiom 41, Axiom 43, Definition 1, Definition 84, Lemma 25, Proposition 20, Proposition 235, Proposition 346, Proposition 356.
Claim: $\{r_1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \img{s}{\initialSegment{1}}$.
Follows by Axiom 42, Lemma 478, Proposition 25.
$\img{s}{\initialSegment{1}} = \{r_1\}$ by Proposition 3.
Claim: There exists $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Follows by Lemma 471.
LaTeX source
\begin{byCase}
\caseOf{$r_1 = 1$.}
Show that there exists $u_1$ such that $(1,u_1)\in G$.
\begin{subproof}
Follows by \cref{urysohn_u1_eq1}.
\end{subproof}
\caseOf{$r_1 \neq 1$.}
Show that there exists $u_1$ such that $(1,u_1)\in G$.
\begin{subproof}
Follows by \cref{unit_rational_real_aux,real_mul_ident,real_lt_trichotomy,urysohn_u1_gt1,urysohn_u1_lt1}.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
Let $U_1 = X\setminus B$.
$U_1$ is open in $X$ with respect to $T$ by \cref{closed_in}.
$A\subseteq U_1$ by \cref{disjoint,closed_in,subseteq,setminus_intro}.
Take $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and
$A\subseteq U_0$ and
$\closure{U_0}{X}{T}\subseteq U_1$
by \cref{normal_closure_neighborhood}.
Let $r_1 = s(1)$.
$s\in\funs{\naturalsPlus}{\unitRationals}$ and $1\in\naturalsPlus$
by \cref{sequence_in,real_one_in_naturals}.
$r_1\in\unitRationals$ by \cref{funs_type_apply}.
Show that $\img{s}{\initialSegment{1}}\subseteq \{r_1\}$.
\begin{subproof}
Follows by \cref{img_iff,initial_segment_naturalsplus,real_one_leq_naturalsplus,real_naturals_subset_reals,subseteq,real_leq_antisym,funs_is_function,function_apply_intro,singleton_intro}.
\end{subproof}
Show that $\{r_1\}\subseteq \img{s}{\initialSegment{1}}$.
\begin{subproof}
Follows by \cref{sequence_value_in_initial_image,real_one_in_naturals,singleton_subset_intro}.
\end{subproof}
$\img{s}{\initialSegment{1}} = \{r_1\}$ by \cref{subseteq_antisymmetric}.
\begin{byCase}
\caseOf{$r_1 = 1$.}
Show that there exists $u_1$ such that $(1,u_1)\in G$.
\begin{subproof}
Follows by \cref{urysohn_u1_eq1}.
\end{subproof}
\caseOf{$r_1 \neq 1$.}
Show that there exists $u_1$ such that $(1,u_1)\in G$.
\begin{subproof}
Follows by \cref{unit_rational_real_aux,real_mul_ident,real_lt_trichotomy,urysohn_u1_gt1,urysohn_u1_lt1}.
\end{subproof}
\end{byCase}
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_fst_u}
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Then for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
\end{lemma}
Proof
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u(n)} = n\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 10, Axiom 42.
Claim: For all $k\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $k + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Follows by Axiom 6, Axiom 45, Definition 1, Definition 158, Proposition 361.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Proposition 445.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
We have $1\in A_0$ by \cref{real_one_in_naturals,fst_eq}.
Show that for all $k\in A_0$ we have $k + 1\in A_0$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,pair_eq_iff,real_naturals_closed_succ}.
\end{subproof}
For all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
For all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
\end{proof}
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $T$ is a topology on $X$.
Assume $I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Then $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_subspace}
Assume $f\in\funs{X}{\reals}$.
Assume $T$ is a topology on $X$.
Assume $I_0\subseteq\reals$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
Assume $\img{f}{X}\subseteq I_0$.
Then $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
\end{lemma}
Proof
We have $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ by Lemma 470.
LaTeX source
\begin{proof}
We have $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$
by \cref{continuous_subspace_range}.
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Then there exist $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $t$ is a function and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $U(q) = t(q)$.
LaTeX source
\begin{lemma}
\label{urysohn_union_rational_value_aux}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $q\in\unitRationals$.
Then there exist $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$t$ is a function and
$q\in\dom{t}$ and
$t\in F$ and
$U(q) = t(q)$.
\end{lemma}
Proof
Take $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $s(k) = q$ by Lemma 466.
$u(k)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 158, Proposition 361.
Take $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $u(k) = (n,t)$ by Lemma 467.
$\fst{u(k)} = n$ and $\snd{u(k)} = t$ by Axiom 10, Axiom 11.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $q = s(n)$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Definition 1.
$t$ is a function by Definition 281, Proposition 356.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Definition 281, Lemma 478, Proposition 39, Proposition 359.
$U(q) = t(q)$ by Proposition 27, Proposition 346, Proposition 348.
LaTeX source
\begin{proof}
Take $k$ such that $k\in\naturalsPlus$ and $s(k) = q$
by \cref{unit_rationals_sequence}.
$u(k)\in G$ by \cref{sequence_in,funs_type_apply}.
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$u(k) = (n,t)$
by \cref{urysohn_good_pair_decomp}.
$\fst{u(k)} = n$ and $\snd{u(k)} = t$ by \cref{fst_eq,snd_eq}.
$n\in\naturalsPlus$ and $q = s(n)$ and $t\in F$ by \cref{subseteq}.
$t$ is a function by \cref{urysohn_admissible,funs_is_function}.
$q\in\dom{t}$ by \cref{urysohn_admissible,sequence_value_in_initial_image,funs_elim,union_intro_right}.
$U(q) = t(q)$ by \cref{function_apply_elim,unions_intro,function_apply_intro}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Then $U(q)$ is open in $X$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{urysohn_union_rational_open}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $q\in\unitRationals$.
Then $U(q)$ is open in $X$ with respect to $T$.
\end{lemma}
Proof
Take $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ and $U(q) = t(q)$ by Lemma 487.
$U(q)$ is open in $X$ with respect to $T$ by Definition 1, Definition 103, Definition 277, Definition 281, Proposition 27, Proposition 346, Proposition 348.
LaTeX source
\begin{proof}
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$q\in\dom{t}$ and
$U(q) = t(q)$
by \cref{urysohn_union_rational_value_aux}.
$U(q)$ is open in $X$ with respect to $T$
by \cref{urysohn_admissible,subseteq,function_apply_elim,unions_intro,function_apply_intro,normal_space,open_in}.
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$.
Then $U(r)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
LaTeX source
\begin{lemma}
\label{urysohn_union_zero_subset_X_aux}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $r\in\unitRationalsZero$.
Then $U(r)\subseteq X$.
\end{lemma}
Proof
We have $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ or $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0\}$ by Axiom 5, Definition 280.
Take $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ and $U(r) = t(r)$ by Lemma 487.
We have $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and $\dom{t} = \{0,1\}\union \img{s}{\initialSegment{n}}$ by Definition 281, Proposition 359.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0,1\}\union \img{s}{\initialSegment{n}}$ by Definition 1.
$U(r)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Proposition 156, Proposition 361.
$r = 0$ by Proposition 21.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 17, Axiom 21, Proposition 462.
Take $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{1}$ by Lemma 465.
Take $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $s(k) = q$.
$u(k)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 158, Proposition 361.
Take $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $u(k) = (n,t)$ by Lemma 467.
$\fst{u(k)} = n$ and $\snd{u(k)} = t$ by Axiom 10, Axiom 11.
$k = n$.
$t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{k}}}{\pow{X}}$ by Definition 281.
$t$ is a function and $\dom{t} = \{0,1\}\union \img{s}{\initialSegment{k}}$ by Proposition 356, Proposition 359.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Definition 1, Proposition 16, Proposition 38.
$U(r)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Proposition 27, Proposition 156, Proposition 346, Proposition 348, Proposition 361.
LaTeX source
\begin{byCase}
\caseOf{$r\in\unitRationals$.}
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$r\in\dom{t}$ and
$U(r) = t(r)$
by \cref{urysohn_union_rational_value_aux}.
We have $t\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and
$\dom{t} = \{0,1\}\union \img{s}{\initialSegment{n}}$
by \cref{urysohn_admissible,funs_elim}.
$r\in\{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{subseteq}.
$U(r)\subseteq X$ by \cref{subseteq,funs_type_apply,powerset_elim}.
\caseOf{$r\in\{0\}$.}
$r = 0$ by \cref{singleton_elim}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Take $q$ such that $q\in\unitRationals$ and $q\in\intervalopen{0}{1}$
by \cref{unit_rationals_dense_nonneg}.
Take $k$ such that $k\in\naturalsPlus$ and $s(k) = q$.
$u(k)\in G$ by \cref{sequence_in,funs_type_apply}.
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$u(k) = (n,t)$
by \cref{urysohn_good_pair_decomp}.
$\fst{u(k)} = n$ and $\snd{u(k)} = t$ by \cref{fst_eq,snd_eq}.
$k = n$.
$t\in\funs{\{0,1\}\union \img{s}{\initialSegment{k}}}{\pow{X}}$
by \cref{urysohn_admissible}.
$t$ is a function and $\dom{t} = \{0,1\}\union \img{s}{\initialSegment{k}}$
by \cref{funs_is_function,funs_elim}.
$0\in\dom{t}$ by \cref{upair_intro_left,union_intro_left,subseteq}.
$U(r)\subseteq X$
by \cref{function_apply_elim,unions_intro,function_apply_intro,funs_type_apply,powerset_elim}.
\end{byCase}
LaTeX source
\begin{proof}
We have $r\in\unitRationals$ or $r\in\{0\}$ by \cref{unit_rationals_zero,union_iff}.
\begin{byCase}
\caseOf{$r\in\unitRationals$.}
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$r\in\dom{t}$ and
$U(r) = t(r)$
by \cref{urysohn_union_rational_value_aux}.
We have $t\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and
$\dom{t} = \{0,1\}\union \img{s}{\initialSegment{n}}$
by \cref{urysohn_admissible,funs_elim}.
$r\in\{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{subseteq}.
$U(r)\subseteq X$ by \cref{subseteq,funs_type_apply,powerset_elim}.
\caseOf{$r\in\{0\}$.}
$r = 0$ by \cref{singleton_elim}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_mul_ident,real_zero_lt_one}.
Take $q$ such that $q\in\unitRationals$ and $q\in\intervalopen{0}{1}$
by \cref{unit_rationals_dense_nonneg}.
Take $k$ such that $k\in\naturalsPlus$ and $s(k) = q$.
$u(k)\in G$ by \cref{sequence_in,funs_type_apply}.
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$u(k) = (n,t)$
by \cref{urysohn_good_pair_decomp}.
$\fst{u(k)} = n$ and $\snd{u(k)} = t$ by \cref{fst_eq,snd_eq}.
$k = n$.
$t\in\funs{\{0,1\}\union \img{s}{\initialSegment{k}}}{\pow{X}}$
by \cref{urysohn_admissible}.
$t$ is a function and $\dom{t} = \{0,1\}\union \img{s}{\initialSegment{k}}$
by \cref{funs_is_function,funs_elim}.
$0\in\dom{t}$ by \cref{upair_intro_left,union_intro_left,subseteq}.
$U(r)\subseteq X$
by \cref{function_apply_elim,unions_intro,function_apply_intro,funs_type_apply,powerset_elim}.
\end{byCase}
\end{proof}
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Assume $p < q$.
Then $\closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(q)$.
LaTeX source
\begin{lemma}
\label{urysohn_union_closure_subset}
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $p\in\unitRationalsZero$.
Assume $q\in\unitRationals$.
Assume $p < q$.
Then $\closure{U(p)}{X}{T}\subseteq U(q)$.
\end{lemma}
Proof
Take $n_q,t_q$ such that $t_q\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n_q}$ and $t_q$ is a function and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t_q}$ and $t_q\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $U(q) = t_q(q)$ by Lemma 487.
$(q,t_q(q))\class{latex-symbol-tip latex-symbol-id-in}{\in} t_q$ by Proposition 348.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ or $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{0\}$ by Axiom 5, Definition 280.
Take $n_p,t_p$ such that $t_p\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n_p}$ and $t_p$ is a function and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t_p}$ and $t_p\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ and $U(p) = t_p(p)$ by Lemma 487.
$(p,t_p(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} t_p$ by Proposition 348.
We have $t_p\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} t_q$ or $t_q\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} t_p$ by Lemma 476.
$(p,t_p(p))\class{latex-symbol-tip latex-symbol-id-in}{\in} t_q$ by Definition 1.
Hence $\closure{t_q(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} t_q(q)$ by Definition 281, Proposition 200.
We have $U(p) = t_q(p)$ by Proposition 346, Proposition 348.
Therefore $\closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(q)$.
$(q,t_q(q))\class{latex-symbol-tip latex-symbol-id-in}{\in} t_p$ by Definition 1.
Hence $\closure{t_p(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} t_p(q)$ by Definition 281, Proposition 200.
We have $U(q) = t_p(q)$ by Proposition 346, Proposition 348.
Therefore $\closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(q)$.
LaTeX source
\begin{byCase}
\caseOf{$t_p\subseteq t_q$.}
$(p,t_p(p))\in t_q$ by \cref{subseteq}.
Hence $\closure{t_q(p)}{X}{T}\subseteq t_q(q)$ by \cref{dom_intro,urysohn_admissible}.
We have $U(p) = t_q(p)$ by \cref{function_apply_elim,function_apply_intro}.
Therefore $\closure{U(p)}{X}{T}\subseteq U(q)$.
\caseOf{$t_q\subseteq t_p$.}
$(q,t_q(q))\in t_p$ by \cref{subseteq}.
Hence $\closure{t_p(p)}{X}{T}\subseteq t_p(q)$ by \cref{dom_intro,urysohn_admissible}.
We have $U(q) = t_p(q)$ by \cref{function_apply_elim,function_apply_intro}.
Therefore $\closure{U(p)}{X}{T}\subseteq U(q)$.
\end{byCase}
$p = 0$ by Proposition 21.
Claim: $\closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(q)$.
LaTeX source
\begin{byCase}
\caseOf{$p\in\unitRationals$.}
Take $n_p,t_p$ such that
$t_p\in\urysohnAdmissible{s}{X}{T}{A}{B}{n_p}$ and
$t_p$ is a function and
$p\in\dom{t_p}$ and
$t_p\in F$ and
$U(p) = t_p(p)$
by \cref{urysohn_union_rational_value_aux}.
$(p,t_p(p))\in t_p$ by \cref{function_apply_elim}.
We have $t_p\subseteq t_q$ or $t_q\subseteq t_p$
by \cref{urysohn_unit_interval_chain}.
\begin{byCase}
\caseOf{$t_p\subseteq t_q$.}
$(p,t_p(p))\in t_q$ by \cref{subseteq}.
Hence $\closure{t_q(p)}{X}{T}\subseteq t_q(q)$ by \cref{dom_intro,urysohn_admissible}.
We have $U(p) = t_q(p)$ by \cref{function_apply_elim,function_apply_intro}.
Therefore $\closure{U(p)}{X}{T}\subseteq U(q)$.
\caseOf{$t_q\subseteq t_p$.}
$(q,t_q(q))\in t_p$ by \cref{subseteq}.
Hence $\closure{t_p(p)}{X}{T}\subseteq t_p(q)$ by \cref{dom_intro,urysohn_admissible}.
We have $U(q) = t_p(q)$ by \cref{function_apply_elim,function_apply_intro}.
Therefore $\closure{U(p)}{X}{T}\subseteq U(q)$.
\end{byCase}
\caseOf{$p\in\{0\}$.}
$p = 0$ by \cref{singleton_elim}.
Show that $\closure{U(p)}{X}{T}\subseteq U(q)$.
\begin{subproof}
Follows by \cref{urysohn_admissible,funs_elim,upair_intro_left,union_intro_left,function_apply_elim,unions_intro,function_apply_intro,subseteq}.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
Take $n_q,t_q$ such that
$t_q\in\urysohnAdmissible{s}{X}{T}{A}{B}{n_q}$ and
$t_q$ is a function and
$q\in\dom{t_q}$ and
$t_q\in F$ and
$U(q) = t_q(q)$
by \cref{urysohn_union_rational_value_aux}.
$(q,t_q(q))\in t_q$ by \cref{function_apply_elim}.
We have $p\in\unitRationals$ or $p\in\{0\}$ by \cref{unit_rationals_zero,union_iff}.
\begin{byCase}
\caseOf{$p\in\unitRationals$.}
Take $n_p,t_p$ such that
$t_p\in\urysohnAdmissible{s}{X}{T}{A}{B}{n_p}$ and
$t_p$ is a function and
$p\in\dom{t_p}$ and
$t_p\in F$ and
$U(p) = t_p(p)$
by \cref{urysohn_union_rational_value_aux}.
$(p,t_p(p))\in t_p$ by \cref{function_apply_elim}.
We have $t_p\subseteq t_q$ or $t_q\subseteq t_p$
by \cref{urysohn_unit_interval_chain}.
\begin{byCase}
\caseOf{$t_p\subseteq t_q$.}
$(p,t_p(p))\in t_q$ by \cref{subseteq}.
Hence $\closure{t_q(p)}{X}{T}\subseteq t_q(q)$ by \cref{dom_intro,urysohn_admissible}.
We have $U(p) = t_q(p)$ by \cref{function_apply_elim,function_apply_intro}.
Therefore $\closure{U(p)}{X}{T}\subseteq U(q)$.
\caseOf{$t_q\subseteq t_p$.}
$(q,t_q(q))\in t_p$ by \cref{subseteq}.
Hence $\closure{t_p(p)}{X}{T}\subseteq t_p(q)$ by \cref{dom_intro,urysohn_admissible}.
We have $U(q) = t_p(q)$ by \cref{function_apply_elim,function_apply_intro}.
Therefore $\closure{U(p)}{X}{T}\subseteq U(q)$.
\end{byCase}
\caseOf{$p\in\{0\}$.}
$p = 0$ by \cref{singleton_elim}.
Show that $\closure{U(p)}{X}{T}\subseteq U(q)$.
\begin{subproof}
Follows by \cref{urysohn_admissible,funs_elim,upair_intro_left,union_intro_left,function_apply_elim,unions_intro,function_apply_intro,subseteq}.
\end{subproof}
\end{byCase}
\end{proof}
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $f(x)$ is an infimum of $\urysohnLevelSet{U}{x}$.
LaTeX source
\begin{lemma}
\label{urysohn_infimum_value}
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $x\in X$.
Then $f(x)$ is an infimum of $\urysohnLevelSet{U}{x}$.
\end{lemma}
Proof
Follows by Axiom 6, Definition 1, Proposition 348, Proposition 356, Proposition 359.
LaTeX source
\begin{proof}
Follows by \cref{funs_is_function,funs_elim,subseteq,function_apply_elim,pair_eq_iff}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $Q_x = \urysohnLevelSet{U}{x}$.
Assume $m$ is an infimum of $Q_x$.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $m < q$.
Then $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(q)$.
LaTeX source
\begin{lemma}
\label{urysohn_infimum_lt_rational_in_union}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $Q_x = \urysohnLevelSet{U}{x}$.
Assume $m$ is an infimum of $Q_x$.
Assume $q\in\unitRationals$.
Assume $q\in\reals$.
Assume $m < q$.
Then $x\in U(q)$.
\end{lemma}
Proof
$m$ is a lower bound of $Q_x$ and $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$ by Definition 68, Definition 72.
Claim: There exists $r$ such that $r\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ and $r < q$.
Suppose not.
For all $r\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ we have $q \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
$q$ is a lower bound of $Q_x$ by Definition 68.
We have $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 68, Definition 72.
Hence $q \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Definition 72.
Therefore $q < m$ or $q = m$ by Lemma 81.
LaTeX source
\begin{byCase}
\caseOf{$q < m$.}
$q < q$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$q = m$.}
$q < q$ by \cref{real_lt_subst_left}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
Take $r$ such that $r\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ and $r < q$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(r)$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ by Definition 284.
Hence $\closure{U(r)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(q)$ by Lemma 490.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(q)$ by Definition 1, Definition 277, Lemma 146, Lemma 489.
LaTeX source
\begin{proof}
$m$ is a lower bound of $Q_x$ and $m \leq q$ by \cref{real_infimum,real_lower_bound}.
Show that there exists $r$ such that $r\in Q_x$ and $r < q$.
\begin{subproof}
Suppose not.
For all $r\in Q_x$ we have $q \leq r$.
$q$ is a lower bound of $Q_x$ by \cref{real_lower_bound}.
We have $m\in\reals$ by \cref{real_infimum,real_lower_bound}.
Hence $q \leq m$ by \cref{real_infimum}.
Therefore $q < m$ or $q = m$ by \cref{real_leq_split}.
\begin{byCase}
\caseOf{$q < m$.}
$q < q$ by \cref{real_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$q = m$.}
$q < q$ by \cref{real_lt_subst_left}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{subproof}
Take $r$ such that $r\in Q_x$ and $r < q$.
$x\in U(r)$ and $r\in\unitRationalsZero$ by \cref{urysohn_level_set}.
Hence $\closure{U(r)}{X}{T}\subseteq U(q)$ by \cref{urysohn_union_closure_subset}.
Therefore $x\in U(q)$ by \cref{urysohn_union_zero_subset_X_aux,subseteq_closure,normal_space,subseteq}.
\end{proof}
Assume $X$ is normal with respect to $T$ and $A$ is closed in $X$ with respect to $T$ and $B$ is closed in $X$ with respect to $T$ and $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$ and $u(1) = a_0$ and $a_0 = (1,u_1)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$ and $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Assume $V$ is open in $\reals$ with respect to $\standardTopologyR$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Assume $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$.
Assume $\intervalopen{a}{b}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Assume $f(x) = 0$.
Then there exists $U$ such that $U$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $\img{f}{U}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_zero}
Assume $X$ is normal with respect to $T$ and $A$ is closed in $X$ with respect to $T$ and
$B$ is closed in $X$ with respect to $T$ and $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\in\unitRationals$
there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$ and for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$ and $u(1) = a_0$ and $a_0 = (1,u_1)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$ and $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $\img{f}{X}\subseteq I_0$.
Assume $x\in X$.
Assume $V$ is open in $\reals$ with respect to $\standardTopologyR$.
Assume $a\in\reals$ and $b\in\reals$ and $a < b$.
Assume $f(x)\in\intervalopen{a}{b}$.
Assume $\intervalopen{a}{b}\subseteq V$.
Assume $f(x) = 0$.
Then there exists $U$ such that
$U$ is open in $X$ with respect to $T$ and $x\in U$ and $\img{f}{U}\subseteq V$.
\end{lemma}
Proof
Let $Q_x = \urysohnLevelSet{U}{x}$.
$f(x) < b$ by Definition 76.
Hence $0 < b$ by Lemma 82.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
Take $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{b}$ by Lemma 465.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < q$ and $q < b$ by Definition 76.
Therefore $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ by Definition 280, Proposition 38.
Let $W = U(q)$.
$W$ is open in $X$ with respect to $T$ by Lemma 488.
$f(x)$ is an infimum of $Q_x$ by Lemma 491.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(q)$ by Lemma 83, Lemma 492.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
Let $Q_y = \urysohnLevelSet{U}{y}$.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_y$ by Definition 284.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $f(y)$ is an infimum of $Q_y$ by Definition 1, Definition 101, Definition 103, Lemma 491, Proposition 156.
Hence $f(y) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$ by Definition 68, Definition 72.
$f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(y)$ by Definition 1, Definition 75, Proposition 235, Proposition 348, Proposition 356, Proposition 359.
$a < 0$ by Definition 76, Lemma 83.
Hence $a < f(y)$ by Axiom 36, Lemma 81, Lemma 83.
Therefore $f(y) < b$ by Axiom 36.
Hence $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ by Definition 76.
Therefore $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
Hence $\img{f}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1, Proposition 235, Proposition 346, Proposition 356.
Therefore there exists $W_0$ such that $W_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ and $\img{f}{W_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
LaTeX source
\begin{proof}
Let $Q_x = \urysohnLevelSet{U}{x}$.
$f(x) < b$ by \cref{intervalopen}.
Hence $0 < b$ by \cref{real_lt_subst_left}.
$0\in\reals$ by \cref{real_add_ident}.
Take $q$ such that $q\in\unitRationals$ and $q\in\intervalopen{0}{b}$
by \cref{unit_rationals_dense_nonneg}.
$q\in\reals$ and $0 < q$ and $q < b$ by \cref{intervalopen}.
Therefore $q\in\unitRationalsZero$ by \cref{unit_rationals_zero,union_intro_left}.
Let $W = U(q)$.
$W$ is open in $X$ with respect to $T$
by \cref{urysohn_union_rational_open}.
$f(x)$ is an infimum of $Q_x$ by \cref{urysohn_infimum_value}.
Hence $x\in U(q)$ by \cref{urysohn_infimum_lt_rational_in_union,real_lt_subst_right}.
$x\in W$.
Show that for all $y\in W$ we have $f(y)\in V$.
\begin{subproof}
Fix $y\in W$.
Let $Q_y = \urysohnLevelSet{U}{y}$.
$q\in Q_y$ by \cref{urysohn_level_set}.
We have $y\in X$ and $f(y)$ is an infimum of $Q_y$ by
\cref{open_in,topology_on,subseteq,powerset_elim,urysohn_infimum_value}.
Hence $f(y) \leq q$ by \cref{real_infimum,real_lower_bound}.
$f(y)\in\reals$ and $0 \leq f(y)$
by \cref{funs_is_function,funs_elim,function_apply_elim,subseteq,img_iff,intervalclosed}.
$a < 0$ by \cref{intervalopen,real_lt_subst_right}.
Hence $a < f(y)$ by \cref{real_lt_subst_right,real_leq_split,real_lt_trans}.
Therefore $f(y) < b$ by \cref{real_lt_trans}.
Hence $f(y)\in\intervalopen{a}{b}$ by \cref{intervalopen}.
Therefore $f(y)\in V$ by \cref{subseteq}.
\end{subproof}
Hence $\img{f}{W}\subseteq V$
by \cref{img_iff,funs_is_function,function_apply_intro,subseteq}.
Therefore there exists $W_0$ such that
$W_0$ is open in $X$ with respect to $T$ and $x\in W_0$ and $\img{f}{W_0}\subseteq V$.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Assume $V$ is open in $\reals$ with respect to $\standardTopologyR$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Assume $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$.
Assume $\intervalopen{a}{b}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Assume $0 < f(x)$.
Then there exist $p,q,r_0,W$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{f(x)}{b}$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{p}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $W = U(q)\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T}$ and $W$ is open in $X$ with respect to $T$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_pos_open}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $\img{f}{X}\subseteq I_0$.
Assume $x\in X$.
Assume $V$ is open in $\reals$ with respect to $\standardTopologyR$.
Assume $a\in\reals$ and $b\in\reals$ and $a < b$.
Assume $f(x)\in\intervalopen{a}{b}$.
Assume $\intervalopen{a}{b}\subseteq V$.
Assume $0 < f(x)$.
Then there exist $p,q,r_0,W$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$ and
$q\in\unitRationals$ and
$q\in\intervalopen{f(x)}{b}$ and
$r_0\in\unitRationals$ and
$r_0\in\intervalopen{p}{f(x)}$ and
$p\in\unitRationalsZero$ and
$q\in\unitRationalsZero$ and
$r_0\in\unitRationalsZero$ and
$W = U(q)\setminus \closure{U(p)}{X}{T}$ and
$W$ is open in $X$ with respect to $T$.
\end{lemma}
Proof
Claim: There exists $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
Hence $a < 0$ or $a = 0$ or $0 < a$ by Axiom 34.
Take $p_0$ such that $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ by Lemma 465.
$p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < p_0$ and $p_0 < f(x)$ by Definition 76.
Hence $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ by Axiom 36, Definition 76.
Therefore there exists $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$.
Take $p_0$ such that $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ by Lemma 465.
$p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < p_0$ and $p_0 < f(x)$ by Definition 76.
Hence $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ by Definition 76, Lemma 82.
Therefore there exists $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$.
$a < f(x)$ by Definition 76.
Take $p_0$ such that $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ by Lemma 465.
$p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < p_0$ and $p_0 < f(x)$ by Definition 76.
Hence $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ by Axiom 36, Definition 76.
Therefore there exists $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$.
LaTeX source
\begin{byCase}
\caseOf{$a < 0$.}
Take $p_0$ such that $p_0\in\unitRationals$ and $p_0\in\intervalopen{0}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p_0\in\reals$ and $0 < p_0$ and $p_0 < f(x)$ by \cref{intervalopen}.
Hence $p_0\in\intervalopen{a}{f(x)}$ by \cref{intervalopen,real_lt_trans}.
Therefore there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\caseOf{$a = 0$.}
Take $p_0$ such that $p_0\in\unitRationals$ and $p_0\in\intervalopen{0}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p_0\in\reals$ and $0 < p_0$ and $p_0 < f(x)$ by \cref{intervalopen}.
Hence $p_0\in\intervalopen{a}{f(x)}$ by \cref{intervalopen,real_lt_subst_left}.
Therefore there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\caseOf{$0 < a$.}
$a < f(x)$ by \cref{intervalopen}.
Take $p_0$ such that $p_0\in\unitRationals$ and $p_0\in\intervalopen{a}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p_0\in\reals$ and $a < p_0$ and $p_0 < f(x)$ by \cref{intervalopen}.
Hence $p_0\in\intervalopen{0}{f(x)}$ by \cref{intervalopen,real_lt_trans}.
Therefore there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\end{byCase}
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $f(x) < b$ by Definition 76, Proposition 361.
Take $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{f(x)}{b}$ by Lemma 465.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < p$ and $0 < p$ and $p < f(x)$ by Definition 76.
Take $r_0$ such that $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{p}{f(x)}$ by Lemma 465.
$p < r_0$ and $r_0 < f(x)$ by Definition 76.
Therefore $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ by Definition 280, Proposition 38.
Let $W = U(q)\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T}$.
Claim: $W$ is open in $X$ with respect to $T$.
$U(q)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $U(q)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 1, Definition 101, Definition 103, Definition 277, Lemma 488, Proposition 156.
$U(p)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Lemma 489.
$T$ is a topology on $X$ by Definition 277.
We have $\closure{U(p)}{X}{T}$ is closed in $X$ with respect to $T$ by Lemma 144.
Therefore $X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103, Definition 149.
$U(q)\inter (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T})\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 101.
$\closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 149.
We have $W = U(q)\inter (X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T})$ by Proposition 111.
Hence $W\class{latex-symbol-tip latex-symbol-id-in}{\in} T$.
Thus $W$ is open in $X$ with respect to $T$ by Definition 103.
Therefore there exist $p_1,q_1,r_1,W_1$ such that $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{f(x)}{b}$ and $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{p_1}{f(x)}$ and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $r_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $W_1 = U(q_1)\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p_1)}{X}{T}$ and $W_1$ is open in $X$ with respect to $T$.
LaTeX source
\begin{proof}
Show that there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\begin{subproof}
$0\in\reals$ by \cref{real_add_ident}.
$f(x)\in\reals$ by \cref{funs_type_apply}.
Hence $a < 0$ or $a = 0$ or $0 < a$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$a < 0$.}
Take $p_0$ such that $p_0\in\unitRationals$ and $p_0\in\intervalopen{0}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p_0\in\reals$ and $0 < p_0$ and $p_0 < f(x)$ by \cref{intervalopen}.
Hence $p_0\in\intervalopen{a}{f(x)}$ by \cref{intervalopen,real_lt_trans}.
Therefore there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\caseOf{$a = 0$.}
Take $p_0$ such that $p_0\in\unitRationals$ and $p_0\in\intervalopen{0}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p_0\in\reals$ and $0 < p_0$ and $p_0 < f(x)$ by \cref{intervalopen}.
Hence $p_0\in\intervalopen{a}{f(x)}$ by \cref{intervalopen,real_lt_subst_left}.
Therefore there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\caseOf{$0 < a$.}
$a < f(x)$ by \cref{intervalopen}.
Take $p_0$ such that $p_0\in\unitRationals$ and $p_0\in\intervalopen{a}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p_0\in\reals$ and $a < p_0$ and $p_0 < f(x)$ by \cref{intervalopen}.
Hence $p_0\in\intervalopen{0}{f(x)}$ by \cref{intervalopen,real_lt_trans}.
Therefore there exists $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
\end{byCase}
\end{subproof}
Take $p$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$.
$f(x)\in\reals$ and $f(x) < b$ by \cref{funs_type_apply,intervalopen}.
Take $q$ such that $q\in\unitRationals$ and $q\in\intervalopen{f(x)}{b}$
by \cref{unit_rationals_dense_nonneg}.
$p\in\reals$ and $a < p$ and $0 < p$ and $p < f(x)$ by \cref{intervalopen}.
Take $r_0$ such that $r_0\in\unitRationals$ and $r_0\in\intervalopen{p}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p < r_0$ and $r_0 < f(x)$ by \cref{intervalopen}.
Therefore $p\in\unitRationalsZero$ and $q\in\unitRationalsZero$ and $r_0\in\unitRationalsZero$
by \cref{unit_rationals_zero,union_intro_left}.
Let $W = U(q)\setminus \closure{U(p)}{X}{T}$.
Show that $W$ is open in $X$ with respect to $T$.
\begin{subproof}
$U(q)\subseteq X$ and $U(q)\in T$
by \cref{urysohn_union_rational_open,normal_space,open_in,topology_on,subseteq,powerset_elim}.
$U(p)\subseteq X$ by \cref{urysohn_union_zero_subset_X_aux}.
$T$ is a topology on $X$ by \cref{normal_space}.
We have $\closure{U(p)}{X}{T}$ is closed in $X$ with respect to $T$
by \cref{closure_closed_in}.
Therefore $X\setminus \closure{U(p)}{X}{T}\in T$ by \cref{closed_in,open_in}.
$U(q)\inter (X\setminus \closure{U(p)}{X}{T})\in T$ by \cref{topology_on}.
$\closure{U(p)}{X}{T}\subseteq X$ by \cref{closed_in}.
We have $W = U(q)\inter (X\setminus \closure{U(p)}{X}{T})$
by \cref{setminus_eq_inter_complement}.
Hence $W\in T$.
Thus $W$ is open in $X$ with respect to $T$ by \cref{open_in}.
\end{subproof}
Therefore there exist $p_1,q_1,r_1,W_1$ such that
$p_1\in\unitRationals$ and
$p_1\in\intervalopen{a}{f(x)}$ and
$p_1\in\intervalopen{0}{f(x)}$ and
$q_1\in\unitRationals$ and
$q_1\in\intervalopen{f(x)}{b}$ and
$r_1\in\unitRationals$ and
$r_1\in\intervalopen{p_1}{f(x)}$ and
$p_1\in\unitRationalsZero$ and
$q_1\in\unitRationalsZero$ and
$r_1\in\unitRationalsZero$ and
$W_1 = U(q_1)\setminus \closure{U(p_1)}{X}{T}$ and
$W_1$ is open in $X$ with respect to $T$.
\end{proof}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Then $U(q)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
LaTeX source
\begin{lemma}
\label{urysohn_union_rational_subset_X}
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Assume $u$ is a sequence in $G$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Assume $q\in\unitRationals$.
Then $U(q)\subseteq X$.
\end{lemma}
Proof
Follows by Definition 280, Lemma 489, Proposition 38.
LaTeX source
\begin{proof}
Follows by \cref{unit_rationals_zero,union_intro_left,urysohn_union_zero_subset_X_aux}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ and $\intervalopen{a}{b}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ and $0 < f(x)$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{f(x)}{b}$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{p}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$.
Let $W = U(q)\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T}$.
Then $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_pos_x_in_W}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$ and $\img{f}{X}\subseteq I_0$.
Assume $x\in X$ and $V$ is open in $\reals$ with respect to $\standardTopologyR$ and
$a\in\reals$ and $b\in\reals$ and $a < b$ and
$f(x)\in\intervalopen{a}{b}$ and $\intervalopen{a}{b}\subseteq V$ and $0 < f(x)$.
Assume $p\in\unitRationals$ and $p\in\intervalopen{a}{f(x)}$ and $p\in\intervalopen{0}{f(x)}$ and
$q\in\unitRationals$ and $q\in\intervalopen{f(x)}{b}$ and
$r_0\in\unitRationals$ and $r_0\in\intervalopen{p}{f(x)}$ and
$p\in\unitRationalsZero$ and $q\in\unitRationalsZero$ and $r_0\in\unitRationalsZero$.
Let $W = U(q)\setminus \closure{U(p)}{X}{T}$.
Then $x\in W$.
\end{lemma}
Proof
Let $Q_x = \urysohnLevelSet{U}{x}$.
$f(x)$ is an infimum of $Q_x$ and $f(x)$ is a lower bound of $Q_x$ by Definition 72, Lemma 491.
$f(x) < q$ by Definition 76.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(q)$ by Definition 76, Lemma 492.
$p < r_0$ by Definition 76.
Hence $\closure{U(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(r_0)$ by Lemma 490.
Claim: $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} U(r_0)$.
Suppose not.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(r_0)$.
Hence $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ by Definition 284.
$f(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r_0$ by Definition 68.
Hence $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 76, Proposition 361.
We have $f(x) < r_0$ or $f(x) = r_0$ by Lemma 81.
$r_0 < f(x)$ by Definition 76.
Contradiction by Axiom 36, Axiom 39, Lemma 82.
Therefore $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\closure{U(p)}{X}{T}$ by Proposition 5.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 85.
LaTeX source
\begin{proof}
Let $Q_x = \urysohnLevelSet{U}{x}$.
$f(x)$ is an infimum of $Q_x$ and $f(x)$ is a lower bound of $Q_x$
by \cref{urysohn_infimum_value,real_infimum}.
$f(x) < q$ by \cref{intervalopen}.
Hence $x\in U(q)$ by \cref{urysohn_infimum_lt_rational_in_union,intervalopen}.
$p < r_0$ by \cref{intervalopen}.
Hence $\closure{U(p)}{X}{T}\subseteq U(r_0)$ by \cref{urysohn_union_closure_subset}.
Show that $x\notin U(r_0)$.
\begin{subproof}
Suppose not.
$x\in U(r_0)$.
Hence $r_0\in Q_x$ by \cref{urysohn_level_set}.
$f(x) \leq r_0$ by \cref{real_lower_bound}.
Hence $f(x)\in\reals$ and $r_0\in\reals$ by \cref{funs_type_apply,intervalopen}.
We have $f(x) < r_0$ or $f(x) = r_0$ by \cref{real_leq_split}.
$r_0 < f(x)$ by \cref{intervalopen}.
Contradiction by \cref{real_lt_trans,real_lt_irreflexive,real_lt_subst_left}.
\end{subproof}
Therefore $x\notin\closure{U(p)}{X}{T}$ by \cref{not_in_subseteq}.
Hence $x\in W$ by \cref{setminus_intro}.
\end{proof}
Assume $X$ is normal with respect to $T$ and $A$ is closed in $X$ with respect to $T$ and $B$ is closed in $X$ with respect to $T$ and $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$ and $u(1) = a_0$ and $a_0 = (1,u_1)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$ and $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{b}$ and $\intervalopen{a}{b}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ and $0 < f(x)$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{f(x)}{b}$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{p}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$.
Let $W = U(q)\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T}$.
Assume $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$.
Then $\img{f}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_pos_img}
Assume $X$ is normal with respect to $T$ and $A$ is closed in $X$ with respect to $T$ and
$B$ is closed in $X$ with respect to $T$ and $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\in\unitRationals$
there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$ and for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$ and $u(1) = a_0$ and $a_0 = (1,u_1)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$ and $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$ and $\img{f}{X}\subseteq I_0$.
Assume $x\in X$ and $V$ is open in $\reals$ with respect to $\standardTopologyR$ and
$a\in\reals$ and $b\in\reals$ and $a < b$ and
$f(x)\in\intervalopen{a}{b}$ and $\intervalopen{a}{b}\subseteq V$ and $0 < f(x)$.
Assume $p\in\unitRationals$ and $p\in\intervalopen{a}{f(x)}$ and $p\in\intervalopen{0}{f(x)}$ and
$q\in\unitRationals$ and $q\in\intervalopen{f(x)}{b}$ and
$r_0\in\unitRationals$ and $r_0\in\intervalopen{p}{f(x)}$ and
$p\in\unitRationalsZero$ and $q\in\unitRationalsZero$ and $r_0\in\unitRationalsZero$.
Let $W = U(q)\setminus \closure{U(p)}{X}{T}$.
Assume $W\subseteq X$.
Then $\img{f}{W}\subseteq V$.
\end{lemma}
Proof
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ we have $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} W$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Proposition 361.
Let $Q_y = \urysohnLevelSet{U}{y}$.
$y\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\closure{U(p)}{X}{T}$ by Proposition 87.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_y$ by Definition 284, Proposition 86.
Therefore $f(y) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$ by Definition 68, Definition 72, Lemma 491.
Claim: $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(y)$.
Claim: $p$ is a lower bound of $Q_y$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $Q_y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 76, Lemma 481.
Claim: For all $r\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_y$ we have $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Fix $r$ such that $r\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_y$.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U(r)$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ by Definition 284.
Claim: $p \class{latex-symbol-tip latex-symbol-id-neq}{\neq} r$.
Suppose not.
$p = r$.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U(p)$.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{U(p)}{X}{T}$ by Definition 1, Definition 277, Lemma 146, Lemma 489.
Contradiction.
Hence $p < r$ or $r < p$ by Axiom 34.
Claim: $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Follows by Lemma 231.
Claim: $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
Suppose not.
We have $\closure{U(r)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(p)$ by Lemma 490.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{U(r)}{X}{T}$ by Definition 1, Definition 277, Lemma 146, Lemma 489.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} U(p)$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\closure{U(p)}{X}{T}$ by Definition 1, Definition 277, Lemma 146, Lemma 489.
Contradiction.
LaTeX source
\begin{byCase}
\caseOf{$p < r$.}
Show that $p \leq r$.
\begin{subproof}
Follows by \cref{real_lt_imp_leq}.
\end{subproof}
\caseOf{$r < p$.}
Show that $p \leq r$.
\begin{subproof}
Suppose not.
We have $\closure{U(r)}{X}{T}\subseteq U(p)$ by \cref{urysohn_union_closure_subset}.
We have $y\in\closure{U(r)}{X}{T}$
by \cref{urysohn_union_zero_subset_X_aux,subseteq_closure,normal_space,subseteq}.
$y\in U(p)$ by \cref{subseteq}.
Therefore $y\in\closure{U(p)}{X}{T}$
by \cref{urysohn_union_zero_subset_X_aux,subseteq_closure,normal_space,subseteq}.
Contradiction.
\end{subproof}
\end{byCase}
Therefore $p$ is a lower bound of $Q_y$ by Definition 68.
Hence $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(y)$ by Definition 72, Lemma 491.
$a < f(y)$ by Axiom 36, Definition 76, Lemma 81, Lemma 83.
$f(y) < b$ by Axiom 36, Definition 76, Lemma 81, Lemma 82.
Therefore $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1, Definition 76.
Hence $\img{f}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1, Proposition 235, Proposition 346, Proposition 356.
LaTeX source
\begin{proof}
Show that for all $y\in W$ we have $f(y)\in V$.
\begin{subproof}
Fix $y$ such that $y\in W$.
$y\in X$ and $f(y)\in\reals$ by \cref{subseteq,funs_type_apply}.
Let $Q_y = \urysohnLevelSet{U}{y}$.
$y\notin\closure{U(p)}{X}{T}$ by \cref{setminus_elim_right}.
$q\in Q_y$ by \cref{setminus_elim_left,urysohn_level_set}.
Therefore $f(y) \leq q$ by \cref{urysohn_infimum_value,real_infimum,real_lower_bound}.
Show that $p \leq f(y)$.
\begin{subproof}
Show that $p$ is a lower bound of $Q_y$.
\begin{subproof}
$p\in\reals$ and $Q_y\subseteq\reals$ by \cref{intervalopen,urysohn_level_value_real,subseteq}.
Show that for all $r\in Q_y$ we have $p \leq r$.
\begin{subproof}
Fix $r$ such that $r\in Q_y$.
$r\in\reals$ by \cref{subseteq}.
Hence $y\in U(r)$ and $r\in\unitRationalsZero$ by \cref{urysohn_level_set}.
Show that $p \neq r$.
\begin{subproof}
Suppose not.
$p = r$.
Hence $y\in U(p)$.
Therefore $y\in\closure{U(p)}{X}{T}$
by \cref{urysohn_union_zero_subset_X_aux,subseteq_closure,normal_space,subseteq}.
Contradiction.
\end{subproof}
Hence $p < r$ or $r < p$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$p < r$.}
Show that $p \leq r$.
\begin{subproof}
Follows by \cref{real_lt_imp_leq}.
\end{subproof}
\caseOf{$r < p$.}
Show that $p \leq r$.
\begin{subproof}
Suppose not.
We have $\closure{U(r)}{X}{T}\subseteq U(p)$ by \cref{urysohn_union_closure_subset}.
We have $y\in\closure{U(r)}{X}{T}$
by \cref{urysohn_union_zero_subset_X_aux,subseteq_closure,normal_space,subseteq}.
$y\in U(p)$ by \cref{subseteq}.
Therefore $y\in\closure{U(p)}{X}{T}$
by \cref{urysohn_union_zero_subset_X_aux,subseteq_closure,normal_space,subseteq}.
Contradiction.
\end{subproof}
\end{byCase}
\end{subproof}
Therefore $p$ is a lower bound of $Q_y$ by \cref{real_lower_bound}.
\end{subproof}
Hence $p \leq f(y)$ by \cref{urysohn_infimum_value,real_infimum}.
\end{subproof}
$a < f(y)$ by \cref{intervalopen,real_leq_split,real_lt_subst_right,real_lt_trans}.
$f(y) < b$ by \cref{intervalopen,real_leq_split,real_lt_subst_left,real_lt_trans}.
Therefore $f(y)\in V$ by \cref{intervalopen,subseteq}.
\end{subproof}
Hence $\img{f}{W}\subseteq V$ by \cref{img_iff,funs_is_function,function_apply_intro,subseteq}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Assume $V$ is open in $\reals$ with respect to $\standardTopologyR$.
Assume $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Then there exists $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $\img{f}{U_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_at_point}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $\img{f}{X}\subseteq I_0$.
Assume $x\in X$.
Assume $V$ is open in $\reals$ with respect to $\standardTopologyR$.
Assume $f(x)\in V$.
Then there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$.
\end{lemma}
Proof
$V\class{latex-symbol-tip latex-symbol-id-in}{\in}\basisTopology{\standardBasisR}{\reals}$ by Definition 103, Definition 118.
Take $B_1$ such that $B_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardBasisR$ and $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} B_1$ and $B_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 114.
Take $a,b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $a < b$ and $B_1 = \intervalopen{a}{b}$ by Definition 117.
$a < f(x)$ and $f(x) < b$ by Definition 76.
Hence $0 < f(x)$ or $0 = f(x)$ by Axiom 17, Definition 1, Definition 75, Lemma 81, Proposition 235, Proposition 348, Proposition 356, Proposition 359, Proposition 361.
Claim: There exists $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $\img{f}{U_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ .
Follows by Lemma 493.
Claim: There exists $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $\img{f}{U_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Take $p,q,r_0,W$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{a}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{0}{f(x)}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{f(x)}{b}$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{p}{f(x)}$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $r_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $W = U(q)\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} \closure{U(p)}{X}{T}$ and $W$ is open in $X$ with respect to $T$ by Lemma 494.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Lemma 496.
We have $W\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 1, Definition 101, Definition 103, Definition 277, Proposition 156.
We have $\img{f}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Lemma 497.
Therefore there exists $U_0$ such that $U_0$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ and $\img{f}{U_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
LaTeX source
\begin{byCase}
\caseOf{$0 = f(x)$.}
Show that there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$
.
\begin{subproof}
Follows by \cref{urysohn_unit_interval_continuous_zero}.
\end{subproof}
\caseOf{$0 < f(x)$.}
Show that there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$.
\begin{subproof}
Take $p,q,r_0,W$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$ and
$q\in\unitRationals$ and
$q\in\intervalopen{f(x)}{b}$ and
$r_0\in\unitRationals$ and
$r_0\in\intervalopen{p}{f(x)}$ and
$p\in\unitRationalsZero$ and
$q\in\unitRationalsZero$ and
$r_0\in\unitRationalsZero$ and
$W = U(q)\setminus \closure{U(p)}{X}{T}$ and
$W$ is open in $X$ with respect to $T$
by \cref{urysohn_unit_interval_continuous_pos_open}.
$x\in W$ by \cref{urysohn_unit_interval_continuous_pos_x_in_W}.
We have $W\subseteq X$ by \cref{open_in,normal_space,topology_on,subseteq,powerset_elim}.
We have $\img{f}{W}\subseteq V$ by \cref{urysohn_unit_interval_continuous_pos_img}.
Therefore there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
$V\in\basisTopology{\standardBasisR}{\reals}$ by \cref{open_in,standard_topology_reals}.
Take $B_1$ such that $B_1\in\standardBasisR$ and $f(x)\in B_1$ and $B_1\subseteq V$
by \cref{topology_generated_by_basis}.
Take $a,b\in\reals$ such that $a < b$ and $B_1 = \intervalopen{a}{b}$
by \cref{standard_basis_reals}.
$a < f(x)$ and $f(x) < b$ by \cref{intervalopen}.
Hence $0 < f(x)$ or $0 = f(x)$
by \cref{funs_elim,funs_is_function,subseteq,function_apply_elim,img_iff,funs_type_apply,intervalclosed,real_add_ident,real_leq_split}.
\begin{byCase}
\caseOf{$0 = f(x)$.}
Show that there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$
.
\begin{subproof}
Follows by \cref{urysohn_unit_interval_continuous_zero}.
\end{subproof}
\caseOf{$0 < f(x)$.}
Show that there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$.
\begin{subproof}
Take $p,q,r_0,W$ such that
$p\in\unitRationals$ and
$p\in\intervalopen{a}{f(x)}$ and
$p\in\intervalopen{0}{f(x)}$ and
$q\in\unitRationals$ and
$q\in\intervalopen{f(x)}{b}$ and
$r_0\in\unitRationals$ and
$r_0\in\intervalopen{p}{f(x)}$ and
$p\in\unitRationalsZero$ and
$q\in\unitRationalsZero$ and
$r_0\in\unitRationalsZero$ and
$W = U(q)\setminus \closure{U(p)}{X}{T}$ and
$W$ is open in $X$ with respect to $T$
by \cref{urysohn_unit_interval_continuous_pos_open}.
$x\in W$ by \cref{urysohn_unit_interval_continuous_pos_x_in_W}.
We have $W\subseteq X$ by \cref{open_in,normal_space,topology_on,subseteq,powerset_elim}.
We have $\img{f}{W}\subseteq V$ by \cref{urysohn_unit_interval_continuous_pos_img}.
Therefore there exists $U_0$ such that
$U_0$ is open in $X$ with respect to $T$ and $x\in U_0$ and $\img{f}{U_0}\subseteq V$.
\end{subproof}
\end{byCase}
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Then $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_continuous_reals}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $\img{f}{X}\subseteq I_0$.
Then $f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$.
\end{lemma}
Proof
Follows by Definition 118, Definition 277, Lemma 76, Lemma 93, Lemma 162, Lemma 469, Lemma 498.
LaTeX source
\begin{proof}
Follows by \cref{urysohn_unit_interval_continuous_at_point,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,normal_space,continuous_at_open,continuous_at_implies_continuous}.
\end{proof}
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Assume $1 < p$.
Then $f(p) = X$.
LaTeX source
\begin{lemma}
\label{urysohn_admissible_above_one}
Assume $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$.
Assume $p\in\dom{f}$.
Assume $1 < p$.
Then $f(p) = X$.
\end{lemma}
Proof
Follows by Definition 281, Proposition 17, Proposition 38, Proposition 359.
LaTeX source
\begin{proof}
Follows by \cref{urysohn_admissible,funs_elim,upair_intro_right,union_intro_left}.
\end{proof}
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$.
Then $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
LaTeX source
\begin{lemma}
\label{unit_rational_real}
Assume $r\in\unitRationals$.
Then $r\in\reals$.
\end{lemma}
Proof
Follows by Lemma 479.
LaTeX source
\begin{proof}
Follows by \cref{unit_rational_real_aux}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Then there exists $w$ such that $z\mathrel{R} w$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_extend_in_dom}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Suppose $n\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\in\dom{f}$.
Then there exists $w$ such that $z\mathrel{R} w$.
\end{lemma}
Proof
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $f(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $f(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(0)$ and $\closure{f(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $p < q$ then $\closure{f(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $1 < p$ then $f(p) = X$ by Definition 281.
$\{0,1\}\union \img{s}{\initialSegment{n}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Definition 1, Lemma 121, Proposition 38, Proposition 39, Proposition 44, Proposition 236.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{s}{\initialSegment{n + 1}}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{s}{\initialSegment{n + 1}}$.
Take $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ and $(k,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ by Proposition 235.
$s(k) = y$ by Definition 158, Proposition 346, Proposition 356.
Claim: $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$.
Follows by Proposition 39, Proposition 235, Proposition 359.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Definition 84.
Hence $k = n + 1$ by Definition 84, Lemma 29.
Therefore $y = r$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
Show that $y\in\dom{f}$.
\begin{subproof}
Follows by \cref{img_iff,union_intro_right,funs_elim}.
\end{subproof}
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
Hence $k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
Therefore $y = r$ and $y\in\dom{f}$ by \cref{subseteq}.
\end{byCase}
Hence $\img{s}{\initialSegment{n + 1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{f}$ by Definition 1.
Therefore $\{0,1\}\union \img{s}{\initialSegment{n + 1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{f}$ by Definition 1, Proposition 38, Proposition 44, Proposition 359.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
Follows by Definition 1, Proposition 359.
$\dom{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Definition 1.
Therefore $\dom{f} = \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Proposition 3.
Let $w = (n + 1,f)$.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n + 1}$ by Axiom 42, Definition 281, Lemma 433, Proposition 358, Proposition 359.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{w}$ by Axiom 10, Axiom 11, Lemma 468, Proposition 2.
Therefore $z\mathrel{R} w$.
LaTeX source
\begin{proof}
$f\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and
for all $p\in\dom{f}$ we have $f(p)\in T$ and
$f(1) = X\setminus B$ and
$A\subseteq f(0)$ and
$\closure{f(0)}{X}{T}\subseteq f(1)$ and
for all $p\in\dom{f}$ for all $q\in\dom{f}$ if $p < q$ then
$\closure{f(p)}{X}{T}\subseteq f(q)$ and
for all $p\in\dom{f}$ if $1 < p$ then $f(p) = X$
by \cref{urysohn_admissible}.
$\{0,1\}\union \img{s}{\initialSegment{n}}\subseteq \{0,1\}\union \img{s}{\initialSegment{n + 1}}$
by \cref{initial_segment_subset_succ,img_subseteq,union_intro_left,union_intro_right,subseteq,union_subsets_is_subset}.
Show that for all $y\in \img{s}{\initialSegment{n + 1}}$ we have $y\in\dom{f}$.
\begin{subproof}
Fix $y$ such that $y\in \img{s}{\initialSegment{n + 1}}$.
Take $k$ such that $k\in\initialSegment{n + 1}$ and $(k,y)\in s$ by \cref{img_iff}.
$s(k) = y$ by \cref{sequence_in,funs_is_function,function_apply_intro}.
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
Show that $y\in\dom{f}$.
\begin{subproof}
Follows by \cref{img_iff,union_intro_right,funs_elim}.
\end{subproof}
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
Hence $k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
Therefore $y = r$ and $y\in\dom{f}$ by \cref{subseteq}.
\end{byCase}
\end{subproof}
Hence $\img{s}{\initialSegment{n + 1}}\subseteq \dom{f}$ by \cref{subseteq}.
Therefore $\{0,1\}\union \img{s}{\initialSegment{n + 1}}\subseteq \dom{f}$
by \cref{funs_elim,union_intro_left,subseteq,union_subsets_is_subset}.
Show that for all $y$ such that $y\in\dom{f}$ we have $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
\begin{subproof}
Follows by \cref{funs_elim,subseteq}.
\end{subproof}
$\dom{f}\subseteq \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by \cref{subseteq}.
Therefore $\dom{f} = \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by \cref{subseteq_antisymmetric}.
Let $w = (n + 1,f)$.
$n + 1\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n + 1}$
by \cref{naturalsplus_add_closed,real_one_in_naturals,funs_elim,funs_intro,urysohn_admissible}.
Hence $z\in G$ and $w\in G$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\subseteq \snd{w}$
by \cref{urysohn_good_pair_intro,fst_eq,snd_eq,subseteq_refl}.
Therefore $z\mathrel{R} w$.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\dom{f}$.
Let $U_r = X$.
Let $h = \{(r,U_r)\}$.
Let $g = f\union h$.
Then $g$ is a function.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_extend_gt1_setup}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Suppose $n\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\notin\dom{f}$.
Let $U_r = X$.
Let $h = \{(r,U_r)\}$.
Let $g = f\union h$.
Then $g$ is a function.
\end{lemma}
Proof
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter\dom{h}$ we have $f(x) = h(x)$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter\dom{h}$.
Suppose not.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Proposition 63.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 6, Proposition 20, Proposition 21, Proposition 199.
Thus $x = r$ by Proposition 21.
Therefore $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Proposition 62.
Contradiction.
Claim: $h$ is a function.
Follows by Axiom 6, Definition 12, Definition 51, Proposition 21.
Claim: $g$ is a function.
Follows by Definition 281, Lemma 170, Proposition 356.
LaTeX source
\begin{proof}
Show that for all $x$ such that $x\in\dom{f}\inter\dom{h}$ we have $f(x) = h(x)$.
\begin{subproof}
Fix $x$ such that $x\in\dom{f}\inter\dom{h}$.
Suppose not.
$x\in\dom{h}$ by \cref{inter_elim_right}.
$x\in\{r\}$ by \cref{dom_iff,singleton_elim,pair_eq_iff,singleton_intro}.
Thus $x = r$ by \cref{singleton_elim}.
Therefore $r\in\dom{f}$ by \cref{inter_elim_left}.
Contradiction.
\end{subproof}
Show that $h$ is a function.
\begin{subproof}
Follows by \cref{singleton_elim,pair_eq_iff,relation,rightunique}.
\end{subproof}
Show that $g$ is a function.
\begin{subproof}
Follows by \cref{urysohn_admissible,funs_is_function,union_compatible_functions}.
\end{subproof}
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\dom{f}$.
Assume $1 < r$.
Then there exists $w$ such that $z\mathrel{R} w$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_extend_gt1}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Suppose $n\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\notin\dom{f}$.
Assume $1 < r$.
Then there exists $w$ such that $z\mathrel{R} w$.
\end{lemma}
Proof
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $f(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $f(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(0)$ and $\closure{f(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $p < q$ then $\closure{f(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $1 < p$ then $f(p) = X$ by Definition 281.
Let $U_r = X$.
Let $h = \{(r,U_r)\}$.
Let $g = f\union h$.
$g$ is a function by Lemma 503.
$\dom{g} = \dom{f}\union\dom{h}$ by Proposition 205.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 6, Proposition 20, Proposition 21, Proposition 199.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Axiom 6, Proposition 20, Proposition 21, Proposition 200.
Hence $\dom{h} = \{r\}$ by Definition 1, Proposition 3.
Therefore $\dom{g} = \dom{f}\union\{r\}$.
$\dom{f} = \{0,1\}\union \img{s}{\initialSegment{n}}$ by Proposition 359.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 5.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{s}{\initialSegment{n}}$ by Axiom 5, Proposition 359.
Claim: $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
Follows by Proposition 38.
Take $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ and $(k,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ by Proposition 235.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Definition 1, Lemma 121, Proposition 39, Proposition 235.
LaTeX source
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
Show that $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
\begin{subproof}
Follows by \cref{union_intro_left}.
\end{subproof}
\caseOf{$y\in \img{s}{\initialSegment{n}}$.}
Take $k$ such that $k\in\initialSegment{n}$ and $(k,y)\in s$ by \cref{img_iff}.
$y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$
by \cref{initial_segment_subset_succ,subseteq,img_iff,union_intro_right}.
\end{byCase}
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Axiom 42, Definition 158, Lemma 433, Lemma 478, Proposition 21, Proposition 39.
LaTeX source
\begin{byCase}
\caseOf{$y\in\dom{f}$.}
$y\in \{0,1\}$ or $y\in \img{s}{\initialSegment{n}}$ by \cref{funs_elim,union_iff}.
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
Show that $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
\begin{subproof}
Follows by \cref{union_intro_left}.
\end{subproof}
\caseOf{$y\in \img{s}{\initialSegment{n}}$.}
Take $k$ such that $k\in\initialSegment{n}$ and $(k,y)\in s$ by \cref{img_iff}.
$y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$
by \cref{initial_segment_subset_succ,subseteq,img_iff,union_intro_right}.
\end{byCase}
\caseOf{$y\in\{r\}$.}
$y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$
by \cref{singleton_elim,naturalsplus_add_closed,real_one_in_naturals,sequence_in,sequence_value_in_initial_image,union_intro_right}.
\end{byCase}
Hence $\dom{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Definition 1.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{s}{\initialSegment{n + 1}}$ by Axiom 5.
Claim: $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Follows by Proposition 38, Proposition 359.
Take $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ and $(k,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ by Proposition 235.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Proposition 38, Proposition 39, Proposition 235, Proposition 359.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Definition 84.
Hence $k = n + 1$ by Definition 84, Lemma 29.
Thus $y = r$.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Proposition 20, Proposition 39.
LaTeX source
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
$y\in\dom{g}$ by \cref{img_iff,union_intro_right,funs_elim,union_intro_left}.
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
Hence $k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
Thus $y = r$.
Therefore $y\in\dom{g}$ by \cref{singleton_intro,union_intro_right}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
Show that $y\in\dom{g}$.
\begin{subproof}
Follows by \cref{union_intro_left,funs_elim}.
\end{subproof}
\caseOf{$y\in \img{s}{\initialSegment{n + 1}}$.}
Take $k$ such that $k\in\initialSegment{n + 1}$ and $(k,y)\in s$ by \cref{img_iff}.
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
$y\in\dom{g}$ by \cref{img_iff,union_intro_right,funs_elim,union_intro_left}.
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
Hence $k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
Thus $y = r$.
Therefore $y\in\dom{g}$ by \cref{singleton_intro,union_intro_right}.
\end{byCase}
\end{byCase}
Thus $\{0,1\}\union \img{s}{\initialSegment{n + 1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{g}$ by Definition 1.
Therefore $\dom{g} = \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Proposition 3.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$.
Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 5.
$g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 281, Proposition 38, Proposition 346, Proposition 348, Proposition 356, Proposition 361.
$g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 1, Definition 101, Definition 277, Proposition 20, Proposition 21, Proposition 39, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$p\in\dom{f}$.}
$g(p)\in\pow{X}$
by \cref{urysohn_admissible,funs_type_apply,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\caseOf{$p\in\{r\}$.}
$g(p)\in\pow{X}$
by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro,normal_space,topology_on,subseteq}.
\end{byCase}
Let $w = (n + 1,g)$.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Lemma 433.
Therefore $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n + 1}}}{\pow{X}}$ by Lemma 503, Proposition 358.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $g(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(0)$ and $\closure{g(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ if $p < q$ then $\closure{g(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ if $1 < p$ then $g(p) = X$.
Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Claim: $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Axiom 5, Proposition 205.
Claim: $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$.
Follows by Definition 281, Proposition 38, Proposition 346, Proposition 348, Proposition 356.
Take $y$ such that $(p,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Proposition 199.
Hence $(p,y) = (r,U_r)$ by Proposition 21.
Therefore $p = r$ by Axiom 6.
We have $g(p) = U_r$ by Proposition 20, Proposition 39, Proposition 346.
Therefore $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 101, Definition 277.
LaTeX source
\begin{byCase}
\caseOf{$p\in\dom{f}$.}
Show that $g(p)\in T$.
\begin{subproof}
Follows by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\end{subproof}
\caseOf{$p\in\dom{h}$.}
Take $y$ such that $(p,y)\in h$ by \cref{dom_iff}.
Hence $(p,y) = (r,U_r)$ by \cref{singleton_elim}.
Therefore $p = r$ by \cref{pair_eq_iff}.
We have $g(p) = U_r$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
Therefore $g(p)\in T$ by \cref{normal_space,topology_on}.
\end{byCase}
Hence $T$ is a topology on $X$ and $g(p)$ is open in $X$ with respect to $T$ by Definition 103, Definition 277.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 281, Proposition 17, Proposition 38, Proposition 359.
Hence $(1,f(1))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(1,f(1))\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Definition 281, Proposition 38, Proposition 348, Proposition 356.
Therefore $g(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ by Proposition 346.
$(0,f(0))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(0,f(0))\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Definition 281, Proposition 16, Proposition 38, Proposition 348, Proposition 356, Proposition 359.
Hence $g(0) = f(0)$ by Proposition 346.
We have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(0)$ and $\closure{g(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(1)$ by Definition 1.
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ if $p < q$ then $\closure{g(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$.
Fix $p_1$ such that $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Fix $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Assume $p_1 < q$.
$p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Axiom 5, Proposition 205.
We have $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h}$ by Axiom 5, Proposition 205.
Take $y$ such that $(q,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Proposition 199.
Hence $(q,y) = (r,U_r)$ by Proposition 21.
Therefore $q = r$ by Axiom 6.
$g(q) = X$ by Proposition 20, Proposition 39, Proposition 346.
We have $\closure{g(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Lemma 139, Lemma 147, Proposition 156, Proposition 361.
Therefore $\closure{g(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$ by Definition 1.
$g(p_1) = f(p_1)$ and $g(q) = f(q)$ by Proposition 38, Proposition 346, Proposition 348, Proposition 356.
Claim: $\closure{g(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$.
Follows by Definition 1, Definition 281.
Take $y$ such that $(p_1,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} h$ by Proposition 199.
Therefore $p_1 = r$ by Axiom 6, Proposition 21.
$r < q$ by Lemma 82.
We have $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 42, Definition 158, Lemma 433, Lemma 501, Proposition 361.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n}}$ by Definition 281, Proposition 359.
Hence $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 5, Axiom 17, Axiom 21, Definition 84, Definition 158, Lemma 501, Proposition 18, Proposition 235, Proposition 346, Proposition 356, Proposition 361.
We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 < q$ by Axiom 21, Axiom 36.
Therefore $f(q) = X$ by Lemma 500.
$g(q) = f(q)$ by Proposition 38, Proposition 346, Proposition 348, Proposition 356.
$g(p_1) = X$ by Proposition 20, Proposition 39, Proposition 346.
Claim: $\closure{g(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$.
$\closure{g(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Lemma 139, Lemma 147, Proposition 156, Proposition 361.
Therefore $\closure{g(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$p_1\in\dom{f}$.}
$g(p_1) = f(p_1)$ and $g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
Show that $\closure{g(p_1)}{X}{T}\subseteq g(q)$.
\begin{subproof}
Follows by \cref{urysohn_admissible,subseteq}.
\end{subproof}
\caseOf{$p_1\in\dom{h}$.}
Take $y$ such that $(p_1,y)\in h$ by \cref{dom_iff}.
Therefore $p_1 = r$ by \cref{singleton_elim,pair_eq_iff}.
$r < q$ by \cref{real_lt_subst_left}.
We have $r\in\unitRationals$ and $r\in\reals$
by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real}.
$q\in \{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{urysohn_admissible,funs_elim}.
Hence $q\in\reals$ by
\cref{union_iff,upair_elim,real_add_ident,real_mul_ident,img_iff,sequence_in,initial_segment_naturalsplus,funs_is_function,function_apply_intro,funs_type_apply,unit_rational_real}.
We have $1\in\reals$ and $1 < q$ by \cref{real_mul_ident,real_lt_trans}.
Therefore $f(q) = X$ by \cref{urysohn_admissible_above_one}.
$g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$g(p_1) = X$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
Show that $\closure{g(p_1)}{X}{T}\subseteq g(q)$.
\begin{subproof}
$\closure{g(p_1)}{X}{T}\subseteq X$
by \cref{closed_whole_space,funs_type_apply,powerset_elim,closure_subseteq_closed}.
Therefore $\closure{g(p_1)}{X}{T}\subseteq g(q)$ by \cref{subseteq}.
\end{subproof}
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$q\in\dom{h}$.}
Take $y$ such that $(q,y)\in h$ by \cref{dom_iff}.
Hence $(q,y) = (r,U_r)$ by \cref{singleton_elim}.
Therefore $q = r$ by \cref{pair_eq_iff}.
$g(q) = X$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
We have $\closure{g(p_1)}{X}{T}\subseteq X$
by \cref{closed_whole_space,funs_type_apply,powerset_elim,closure_subseteq_closed}.
Therefore $\closure{g(p_1)}{X}{T}\subseteq g(q)$ by \cref{subseteq}.
\caseOf{$q\in\dom{f}$.}
\begin{byCase}
\caseOf{$p_1\in\dom{f}$.}
$g(p_1) = f(p_1)$ and $g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
Show that $\closure{g(p_1)}{X}{T}\subseteq g(q)$.
\begin{subproof}
Follows by \cref{urysohn_admissible,subseteq}.
\end{subproof}
\caseOf{$p_1\in\dom{h}$.}
Take $y$ such that $(p_1,y)\in h$ by \cref{dom_iff}.
Therefore $p_1 = r$ by \cref{singleton_elim,pair_eq_iff}.
$r < q$ by \cref{real_lt_subst_left}.
We have $r\in\unitRationals$ and $r\in\reals$
by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real}.
$q\in \{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{urysohn_admissible,funs_elim}.
Hence $q\in\reals$ by
\cref{union_iff,upair_elim,real_add_ident,real_mul_ident,img_iff,sequence_in,initial_segment_naturalsplus,funs_is_function,function_apply_intro,funs_type_apply,unit_rational_real}.
We have $1\in\reals$ and $1 < q$ by \cref{real_mul_ident,real_lt_trans}.
Therefore $f(q) = X$ by \cref{urysohn_admissible_above_one}.
$g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$g(p_1) = X$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
Show that $\closure{g(p_1)}{X}{T}\subseteq g(q)$.
\begin{subproof}
$\closure{g(p_1)}{X}{T}\subseteq X$
by \cref{closed_whole_space,funs_type_apply,powerset_elim,closure_subseteq_closed}.
Therefore $\closure{g(p_1)}{X}{T}\subseteq g(q)$ by \cref{subseteq}.
\end{subproof}
\end{byCase}
\end{byCase}
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ if $1 < p$ then $g(p) = X$.
Fix $p_1$ such that $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Assume $1 < p_1$.
$p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 5.
$g(p_1) = X$ by Proposition 20, Proposition 21, Proposition 39, Proposition 346.
$g(p_1) = X$ by Lemma 500, Proposition 38, Proposition 346, Proposition 348, Proposition 356.
LaTeX source
\begin{byCase}
\caseOf{$p_1\in\{r\}$.}
$g(p_1) = X$ by \cref{singleton_elim,union_intro_right,singleton_intro,function_apply_intro}.
\caseOf{$p_1\in\dom{f}$.}
$g(p_1) = X$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro,urysohn_admissible_above_one}.
\end{byCase}
Therefore $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n + 1}$ by Definition 281.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{w}$ by Axiom 10, Axiom 11, Lemma 468, Proposition 46.
Thus $(z,w)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$.
Therefore $z\mathrel{R} w$.
LaTeX source
\begin{proof}
$f\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and
for all $p\in\dom{f}$ we have $f(p)\in T$ and
$f(1) = X\setminus B$ and
$A\subseteq f(0)$ and
$\closure{f(0)}{X}{T}\subseteq f(1)$ and
for all $p\in\dom{f}$ for all $q\in\dom{f}$ if $p < q$ then
$\closure{f(p)}{X}{T}\subseteq f(q)$ and
for all $p\in\dom{f}$ if $1 < p$ then $f(p) = X$
by \cref{urysohn_admissible}.
Let $U_r = X$.
Let $h = \{(r,U_r)\}$.
Let $g = f\union h$.
$g$ is a function by \cref{urysohn_unit_interval_extend_gt1_setup}.
$\dom{g} = \dom{f}\union\dom{h}$ by \cref{dom_union}.
For all $x\in\dom{h}$ we have $x\in\{r\}$ by \cref{dom_iff,singleton_elim,pair_eq_iff,singleton_intro}.
For all $x\in\{r\}$ we have $x\in\dom{h}$
by \cref{singleton_elim,singleton_intro,pair_eq_iff,dom_intro}.
Hence $\dom{h} = \{r\}$ by \cref{subseteq,subseteq_antisymmetric}.
Therefore $\dom{g} = \dom{f}\union\{r\}$.
$\dom{f} = \{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{funs_elim}.
Show that for all $y\in\dom{g}$ we have $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
\begin{subproof}
Fix $y$ such that $y\in\dom{g}$.
$y\in\dom{f}$ or $y\in\{r\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$y\in\dom{f}$.}
$y\in \{0,1\}$ or $y\in \img{s}{\initialSegment{n}}$ by \cref{funs_elim,union_iff}.
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
Show that $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
\begin{subproof}
Follows by \cref{union_intro_left}.
\end{subproof}
\caseOf{$y\in \img{s}{\initialSegment{n}}$.}
Take $k$ such that $k\in\initialSegment{n}$ and $(k,y)\in s$ by \cref{img_iff}.
$y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$
by \cref{initial_segment_subset_succ,subseteq,img_iff,union_intro_right}.
\end{byCase}
\caseOf{$y\in\{r\}$.}
$y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$
by \cref{singleton_elim,naturalsplus_add_closed,real_one_in_naturals,sequence_in,sequence_value_in_initial_image,union_intro_right}.
\end{byCase}
\end{subproof}
Hence $\dom{g}\subseteq \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by \cref{subseteq}.
Show that for all $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ we have $y\in\dom{g}$.
\begin{subproof}
Fix $y$ such that $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
$y\in \{0,1\}$ or $y\in \img{s}{\initialSegment{n + 1}}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
Show that $y\in\dom{g}$.
\begin{subproof}
Follows by \cref{union_intro_left,funs_elim}.
\end{subproof}
\caseOf{$y\in \img{s}{\initialSegment{n + 1}}$.}
Take $k$ such that $k\in\initialSegment{n + 1}$ and $(k,y)\in s$ by \cref{img_iff}.
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
$y\in\dom{g}$ by \cref{img_iff,union_intro_right,funs_elim,union_intro_left}.
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
Hence $k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
Thus $y = r$.
Therefore $y\in\dom{g}$ by \cref{singleton_intro,union_intro_right}.
\end{byCase}
\end{byCase}
\end{subproof}
Thus $\{0,1\}\union \img{s}{\initialSegment{n + 1}}\subseteq \dom{g}$ by \cref{subseteq}.
Therefore $\dom{g} = \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by \cref{subseteq_antisymmetric}.
Show that for all $p\in\dom{g}$ we have $g(p)\in\pow{X}$.
\begin{subproof}
Fix $p$ such that $p\in\dom{g}$.
$p\in\dom{f}$ or $p\in\{r\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p\in\dom{f}$.}
$g(p)\in\pow{X}$
by \cref{urysohn_admissible,funs_type_apply,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\caseOf{$p\in\{r\}$.}
$g(p)\in\pow{X}$
by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro,normal_space,topology_on,subseteq}.
\end{byCase}
\end{subproof}
Let $w = (n + 1,g)$.
$n + 1\in\naturalsPlus$ by \cref{naturalsplus_add_closed,real_one_in_naturals}.
Therefore $g\in\funs{\{0,1\}\union \img{s}{\initialSegment{n + 1}}}{\pow{X}}$
by \cref{urysohn_unit_interval_extend_gt1_setup,funs_intro}.
Show that for all $p\in\dom{g}$ we have
$g(p)\in T$ and
$g(1) = X\setminus B$ and
$A\subseteq g(0)$ and
$\closure{g(0)}{X}{T}\subseteq g(1)$ and
for all $p\in\dom{g}$ for all $q\in\dom{g}$ if $p < q$ then
$\closure{g(p)}{X}{T}\subseteq g(q)$ and
for all $p\in\dom{g}$ if $1 < p$ then $g(p) = X$.
\begin{subproof}
Fix $p$ such that $p\in\dom{g}$.
Show that $g(p)\in T$.
\begin{subproof}
$p\in\dom{f}$ or $p\in\dom{h}$ by \cref{dom_union,union_iff}.
\begin{byCase}
\caseOf{$p\in\dom{f}$.}
Show that $g(p)\in T$.
\begin{subproof}
Follows by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\end{subproof}
\caseOf{$p\in\dom{h}$.}
Take $y$ such that $(p,y)\in h$ by \cref{dom_iff}.
Hence $(p,y) = (r,U_r)$ by \cref{singleton_elim}.
Therefore $p = r$ by \cref{pair_eq_iff}.
We have $g(p) = U_r$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
Therefore $g(p)\in T$ by \cref{normal_space,topology_on}.
\end{byCase}
\end{subproof}
Hence $T$ is a topology on $X$ and $g(p)$ is open in $X$ with respect to $T$ by \cref{normal_space,open_in}.
$1\in\dom{f}$ by \cref{urysohn_admissible,funs_elim,upair_intro_right,union_intro_left}.
Hence $(1,f(1))\in f$ and $(1,f(1))\in g$
by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left}.
Therefore $g(1) = X\setminus B$ by \cref{function_apply_intro}.
$(0,f(0))\in f$ and $(0,f(0))\in g$
by \cref{urysohn_admissible,funs_is_function,funs_elim,function_apply_elim,upair_intro_left,union_intro_left}.
Hence $g(0) = f(0)$ by \cref{function_apply_intro}.
We have $A\subseteq g(0)$ and $\closure{g(0)}{X}{T}\subseteq g(1)$ by \cref{subseteq}.
Show that for all $p\in\dom{g}$ for all $q\in\dom{g}$ if $p < q$ then
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\begin{subproof}
Fix $p_1$ such that $p_1\in\dom{g}$.
Fix $q$ such that $q\in\dom{g}$.
Assume $p_1 < q$.
$p_1\in\dom{f}$ or $p_1\in\dom{h}$ by \cref{dom_union,union_iff}.
We have $q\in\dom{f}$ or $q\in\dom{h}$ by \cref{dom_union,union_iff}.
\begin{byCase}
\caseOf{$q\in\dom{h}$.}
Take $y$ such that $(q,y)\in h$ by \cref{dom_iff}.
Hence $(q,y) = (r,U_r)$ by \cref{singleton_elim}.
Therefore $q = r$ by \cref{pair_eq_iff}.
$g(q) = X$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
We have $\closure{g(p_1)}{X}{T}\subseteq X$
by \cref{closed_whole_space,funs_type_apply,powerset_elim,closure_subseteq_closed}.
Therefore $\closure{g(p_1)}{X}{T}\subseteq g(q)$ by \cref{subseteq}.
\caseOf{$q\in\dom{f}$.}
\begin{byCase}
\caseOf{$p_1\in\dom{f}$.}
$g(p_1) = f(p_1)$ and $g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
Show that $\closure{g(p_1)}{X}{T}\subseteq g(q)$.
\begin{subproof}
Follows by \cref{urysohn_admissible,subseteq}.
\end{subproof}
\caseOf{$p_1\in\dom{h}$.}
Take $y$ such that $(p_1,y)\in h$ by \cref{dom_iff}.
Therefore $p_1 = r$ by \cref{singleton_elim,pair_eq_iff}.
$r < q$ by \cref{real_lt_subst_left}.
We have $r\in\unitRationals$ and $r\in\reals$
by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real}.
$q\in \{0,1\}\union \img{s}{\initialSegment{n}}$ by \cref{urysohn_admissible,funs_elim}.
Hence $q\in\reals$ by
\cref{union_iff,upair_elim,real_add_ident,real_mul_ident,img_iff,sequence_in,initial_segment_naturalsplus,funs_is_function,function_apply_intro,funs_type_apply,unit_rational_real}.
We have $1\in\reals$ and $1 < q$ by \cref{real_mul_ident,real_lt_trans}.
Therefore $f(q) = X$ by \cref{urysohn_admissible_above_one}.
$g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$g(p_1) = X$ by \cref{union_intro_right,singleton_intro,function_apply_intro}.
Show that $\closure{g(p_1)}{X}{T}\subseteq g(q)$.
\begin{subproof}
$\closure{g(p_1)}{X}{T}\subseteq X$
by \cref{closed_whole_space,funs_type_apply,powerset_elim,closure_subseteq_closed}.
Therefore $\closure{g(p_1)}{X}{T}\subseteq g(q)$ by \cref{subseteq}.
\end{subproof}
\end{byCase}
\end{byCase}
\end{subproof}
Show that for all $p\in\dom{g}$ if $1 < p$ then $g(p) = X$.
\begin{subproof}
Fix $p_1$ such that $p_1\in\dom{g}$.
Assume $1 < p_1$.
$p_1\in\dom{f}$ or $p_1\in\{r\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p_1\in\{r\}$.}
$g(p_1) = X$ by \cref{singleton_elim,union_intro_right,singleton_intro,function_apply_intro}.
\caseOf{$p_1\in\dom{f}$.}
$g(p_1) = X$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro,urysohn_admissible_above_one}.
\end{byCase}
\end{subproof}
\end{subproof}
Therefore $g\in\urysohnAdmissible{s}{X}{T}{A}{B}{n + 1}$ by \cref{urysohn_admissible}.
Hence $z\in G$ and $w\in G$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\subseteq \snd{w}$
by \cref{urysohn_good_pair_intro,fst_eq,snd_eq,union_upper_left}.
Thus $(z,w)\in R$.
Therefore $z\mathrel{R} w$.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\dom{f}$.
Assume $r < 1$.
Let $S = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f} \mid p < r\}$.
Let $T_1 = \{q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f} \mid r < q\}$.
Then there exist $p_0,q_0,U_r,h,g$ such that $p_0$ is a largest element of $S$ with respect to $\realOrderRel$ and $q_0$ is a smallest element of $T_1$ with respect to $\realOrderRel$ and $U_r$ is open in $X$ with respect to $T$ and $\closure{f(p_0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_r$ and $\closure{U_r}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q_0)$ and $h = \{(r,U_r)\}$ and $g = f\union h$ and $g$ is a function.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_extend_lt1_setup}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Suppose $n\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\notin\dom{f}$.
Assume $r < 1$.
Let $S = \{p\in\dom{f} \mid p < r\}$.
Let $T_1 = \{q\in\dom{f} \mid r < q\}$.
Then there exist $p_0,q_0,U_r,h,g$ such that
$p_0$ is a largest element of $S$ with respect to $\realOrderRel$ and
$q_0$ is a smallest element of $T_1$ with respect to $\realOrderRel$ and
$U_r$ is open in $X$ with respect to $T$ and
$\closure{f(p_0)}{X}{T}\subseteq U_r$ and
$\closure{U_r}{X}{T}\subseteq f(q_0)$ and
$h = \{(r,U_r)\}$ and
$g = f\union h$ and
$g$ is a function.
\end{lemma}
Proof
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $f(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $f(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(0)$ and $\closure{f(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $p < q$ then $\closure{f(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $1 < p$ then $f(p) = X$ by Definition 281.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$ by Axiom 42, Definition 158, Definition 281, Lemma 433, Lemma 473, Proposition 16, Proposition 17, Proposition 38, Proposition 359, Proposition 361.
Let $D = \{0,1\}\union \img{s}{\initialSegment{n}}$.
$\dom{f} = D$ by Proposition 359.
$\{0,1\}$ is finite and $\initialSegment{n}$ is finite by Lemma 40, Lemma 208.
$s\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{\unitRationals}$ and $s$ is a function by Definition 158, Proposition 356.
Let $g_0 = \restrl{s}{\initialSegment{n}}$.
$g_0$ is a function and $\dom{s} = \naturalsPlus$ by Proposition 359, Proposition 383.
$\dom{g_0} = \dom{s}\inter \initialSegment{n}$ by Corollary 3.
Hence $\dom{g_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\initialSegment{n}$ by Proposition 269.
Thus $\initialSegment{n}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{g_0}$ by Definition 1, Definition 84, Proposition 61, Proposition 359.
Therefore $\dom{g_0} = \initialSegment{n}$ by Proposition 3.
Hence $g_0$ is a function on $\initialSegment{n}$.
Thus $\img{g_0}{\initialSegment{n}}$ is finite by Lemma 192.
Therefore $\img{s}{\initialSegment{n}}$ is finite by Definition 1, Definition 84, Proposition 67 [Idempotence of intersection], Proposition 273, Proposition 359.
Thus $D$ is finite and $\dom{f}$ is finite by Lemma 45.
We have $S\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f}$ and $T_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f}$ by Definition 1.
Hence $S$ is finite and $T_1$ is finite by Lemma 44.
$\{0,1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Proposition 18.
$\img{s}{\initialSegment{n}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 84, Definition 158, Lemma 501, Proposition 235, Proposition 346, Proposition 356, Proposition 361.
Therefore $\dom{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Proposition 44.
Thus $S\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ and $T_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Proposition 6.
$\realOrderRel$ is a simple order relation on $\reals$ by Lemma 322.
Take $p_1$ such that $p_1$ is a largest element of $S$ with respect to $\realOrderRel$ by Lemma 373.
Take $q_1$ such that $q_1$ is a smallest element of $T_1$ with respect to $\realOrderRel$ by Lemma 374.
$p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $p_1 < r$ and $q_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $r < q_1$ by Definition 1, Definition 99, Definition 128.
Hence $p_1 < q_1$ by Axiom 36, Axiom 42, Definition 1, Definition 158, Lemma 433, Lemma 501, Proposition 361.
Thus $\closure{f(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q_1)$ by Definition 281.
Claim: $\closure{f(p_1)}{X}{T}$ is closed in $X$ with respect to $T$.
Claim: $f(q_1)$ is open in $X$ with respect to $T$.
Take $U_1$ such that $U_1$ is open in $X$ with respect to $T$ and $\closure{f(p_1)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_1$ and $\closure{U_1}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q_1)$ by Lemma 450.
Let $h_1 = \{(r,U_1)\}$.
Let $g_1 = f\union h_1$.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter\dom{h_1}$ we have $f(x) = h_1(x)$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\inter\dom{h_1}$.
Suppose not.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{h_1}$ by Proposition 63.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 6, Proposition 20, Proposition 21, Proposition 199.
Thus $x = r$ by Proposition 21.
Therefore $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Proposition 62.
Contradiction.
Claim: $h_1$ is a relation.
Follows by Definition 12, Proposition 21.
Claim: $h_1$ is right-unique.
Follows by Axiom 6, Definition 51, Proposition 21.
Hence $g_1$ is a function by Definition 281, Lemma 170, Proposition 356.
Therefore there exist $p_0,q_0,U_r,h,g$ such that $p_0$ is a largest element of $S$ with respect to $\realOrderRel$ and $q_0$ is a smallest element of $T_1$ with respect to $\realOrderRel$ and $U_r$ is open in $X$ with respect to $T$ and $\closure{f(p_0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_r$ and $\closure{U_r}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q_0)$ and $h = \{(r,U_r)\}$ and $g = f\union h$ and $g$ is a function by Definition 1, Definition 99, Definition 128.
LaTeX source
\begin{proof}
$f\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and
for all $p\in\dom{f}$ we have $f(p)\in T$ and
$f(1) = X\setminus B$ and
$A\subseteq f(0)$ and
$\closure{f(0)}{X}{T}\subseteq f(1)$ and
for all $p\in\dom{f}$ for all $q\in\dom{f}$ if $p < q$ then
$\closure{f(p)}{X}{T}\subseteq f(q)$ and
for all $p\in\dom{f}$ if $1 < p$ then $f(p) = X$
by \cref{urysohn_admissible}.
$0\in S$ and $1\in T_1$
by \cref{urysohn_admissible,funs_elim,upair_intro_left,upair_intro_right,union_intro_left,sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_pos}.
Let $D = \{0,1\}\union \img{s}{\initialSegment{n}}$.
$\dom{f} = D$ by \cref{funs_elim}.
$\{0,1\}$ is finite and $\initialSegment{n}$ is finite by \cref{pair_is_finite,initial_segment_finite}.
$s\in\funs{\naturalsPlus}{\unitRationals}$ and $s$ is a function by \cref{sequence_in,funs_is_function}.
Let $g_0 = \restrl{s}{\initialSegment{n}}$.
$g_0$ is a function and $\dom{s} = \naturalsPlus$ by \cref{restrl_of_function_is_function,funs_elim}.
$\dom{g_0} = \dom{s}\inter \initialSegment{n}$ by \cref{dom_of_restrl_eq_inter}.
Hence $\dom{g_0}\subseteq\initialSegment{n}$ by \cref{restrl_dom}.
Thus $\initialSegment{n}\subseteq\dom{g_0}$
by \cref{initial_segment_naturalsplus,funs_elim,inter_intro,subseteq}.
Therefore $\dom{g_0} = \initialSegment{n}$ by \cref{subseteq_antisymmetric}.
Hence $g_0$ is a function on $\initialSegment{n}$.
Thus $\img{g_0}{\initialSegment{n}}$ is finite by \cref{finite_image_function}.
Therefore $\img{s}{\initialSegment{n}}$ is finite
by \cref{funs_elim,initial_segment_naturalsplus,subseteq,restrl_img,inter_idempotent}.
Thus $D$ is finite and $\dom{f}$ is finite by \cref{union_of_finite_is_finite}.
We have $S\subseteq\dom{f}$ and $T_1\subseteq\dom{f}$ by \cref{subseteq}.
Hence $S$ is finite and $T_1$ is finite by \cref{subseteq_finite_is_finite}.
$\{0,1\}\subseteq\reals$
by \cref{upair_elim,real_add_ident,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
$\img{s}{\initialSegment{n}}\subseteq\reals$
by \cref{img_iff,initial_segment_naturalsplus,sequence_in,funs_is_function,function_apply_intro,funs_type_apply,unit_rational_real,subseteq}.
Therefore $\dom{f}\subseteq\reals$ by \cref{union_subsets_is_subset}.
Thus $S\subseteq\reals$ and $T_1\subseteq\reals$ by \cref{subseteq_transitive}.
$\realOrderRel$ is a simple order relation on $\reals$ by \cref{real_order_relation_simple}.
Take $p_1$ such that $p_1$ is a largest element of $S$ with respect to $\realOrderRel$
by \cref{finite_inhabited_largest_element}.
Take $q_1$ such that $q_1$ is a smallest element of $T_1$ with respect to $\realOrderRel$
by \cref{finite_inhabited_smallest_element}.
$p_1\in\dom{f}$ and $p_1 < r$ and $q_1\in\dom{f}$ and $r < q_1$
by \cref{largest_element,smallest_element,subseteq}.
Hence $p_1 < q_1$
by \cref{subseteq,sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,real_lt_trans}.
Thus $\closure{f(p_1)}{X}{T}\subseteq f(q_1)$ by \cref{urysohn_admissible}.
Show that $\closure{f(p_1)}{X}{T}$ is closed in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,subseteq,real_lt_trans,normal_space,urysohn_admissible,topology_on,elem_subseteq,powerset_elim,closure_closed_in}.
\end{subproof}
Show that $f(q_1)$ is open in $X$ with respect to $T$.
\begin{subproof}
Follows by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,subseteq,real_lt_trans,normal_space,urysohn_admissible,topology_on,elem_subseteq,powerset_elim,open_in}.
\end{subproof}
Take $U_1$ such that
$U_1$ is open in $X$ with respect to $T$ and
$\closure{f(p_1)}{X}{T}\subseteq U_1$ and
$\closure{U_1}{X}{T}\subseteq f(q_1)$
by \cref{normal_closure_neighborhood}.
Let $h_1 = \{(r,U_1)\}$.
Let $g_1 = f\union h_1$.
Show that for all $x$ such that $x\in\dom{f}\inter\dom{h_1}$ we have $f(x) = h_1(x)$.
\begin{subproof}
Fix $x$ such that $x\in\dom{f}\inter\dom{h_1}$.
Suppose not.
$x\in\dom{h_1}$ by \cref{inter_elim_right}.
$x\in\{r\}$ by \cref{dom_iff,singleton_elim,pair_eq_iff,singleton_intro}.
Thus $x = r$ by \cref{singleton_elim}.
Therefore $r\in\dom{f}$ by \cref{inter_elim_left}.
Contradiction.
\end{subproof}
Show that $h_1$ is a relation.
\begin{subproof}
Follows by \cref{singleton_elim,relation}.
\end{subproof}
Show that $h_1$ is right-unique.
\begin{subproof}
Follows by \cref{singleton_elim,pair_eq_iff,rightunique}.
\end{subproof}
Hence $g_1$ is a function by \cref{urysohn_admissible,funs_is_function,union_compatible_functions}.
Therefore there exist $p_0,q_0,U_r,h,g$ such that
$p_0$ is a largest element of $S$ with respect to $\realOrderRel$ and
$q_0$ is a smallest element of $T_1$ with respect to $\realOrderRel$ and
$U_r$ is open in $X$ with respect to $T$ and
$\closure{f(p_0)}{X}{T}\subseteq U_r$ and
$\closure{U_r}{X}{T}\subseteq f(q_0)$ and
$h = \{(r,U_r)\}$ and
$g = f\union h$ and
$g$ is a function
by \cref{largest_element,smallest_element,subseteq}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\dom{f}$.
Assume $r < 1$.
Let $S = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f} \mid p < r\}$.
Let $T_1 = \{q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f} \mid r < q\}$.
Then there exists $w$ such that $z\mathrel{R} w$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_extend_lt1}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Suppose $n\in\naturalsPlus$ and $f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$.
Let $r = s(n + 1)$.
Assume $r\notin\dom{f}$.
Assume $r < 1$.
Let $S = \{p\in\dom{f} \mid p < r\}$.
Let $T_1 = \{q\in\dom{f} \mid r < q\}$.
Then there exists $w$ such that $z\mathrel{R} w$.
\end{lemma}
Proof
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ we have $f(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ and $f(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(0)$ and $\closure{f(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(1)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ for all $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $p < q$ then $\closure{f(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q)$ and for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ if $1 < p$ then $f(p) = X$ by Definition 281.
Take $p_0,q_0,U_r,h,g$ such that $p_0$ is a largest element of $S$ with respect to $\realOrderRel$ and $q_0$ is a smallest element of $T_1$ with respect to $\realOrderRel$ and $U_r$ is open in $X$ with respect to $T$ and $\closure{f(p_0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_r$ and $\closure{U_r}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q_0)$ and $h = \{(r,U_r)\}$ and $g = f\union h$ and $g$ is a function by Lemma 505.
$\dom{g} = \dom{f}\union\dom{h}$ by Proposition 205.
$\dom{h} = \{r\}$ by Axiom 6, Definition 1, Proposition 3, Proposition 20, Proposition 21, Proposition 199, Proposition 200.
$\dom{g} = \dom{f}\union\{r\}$.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
Thus $\dom{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Definition 1.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} \{0,1\}$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} \img{s}{\initialSegment{n + 1}}$ by Axiom 5.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Proposition 38, Proposition 359.
Take $k$ such that $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ and $(k,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} s$ by Proposition 235.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Proposition 38, Proposition 39, Proposition 235, Proposition 359.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k\class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Definition 84.
$k = n + 1$ by Definition 84, Lemma 29.
$y = r$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Proposition 20, Proposition 39.
LaTeX source
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
$y\in\dom{g}$ by \cref{img_iff,union_intro_right,funs_elim,union_intro_left}.
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
$k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
$y = r$.
$y\in\dom{g}$ by \cref{singleton_intro,union_intro_right}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
We have $y\in\dom{g}$ by \cref{union_intro_left,funs_elim}.
\caseOf{$y\in \img{s}{\initialSegment{n + 1}}$.}
Take $k$ such that $k\in\initialSegment{n + 1}$ and $(k,y)\in s$ by \cref{img_iff}.
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
$y\in\dom{g}$ by \cref{img_iff,union_intro_right,funs_elim,union_intro_left}.
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
$k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
$y = r$.
$y\in\dom{g}$ by \cref{singleton_intro,union_intro_right}.
\end{byCase}
\end{byCase}
Hence $\{0,1\}\union \img{s}{\initialSegment{n + 1}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \dom{g}$ by Definition 1.
Therefore $\dom{g} = \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by Proposition 3.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(p)$ is open in $X$ with respect to $T$ by Axiom 5, Axiom 6, Definition 101, Definition 103, Definition 277, Definition 281, Proposition 20, Proposition 21, Proposition 38, Proposition 39, Proposition 346, Proposition 348, Proposition 356.
Claim: For all $p,q$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ and $p < q$ we have $\closure{g(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$.
Fix $p$.
Fix $q$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ and $p < q$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\union\{r\}$ and $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\union\{r\}$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 5.
We have $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\{r\}$ by Axiom 5.
$g(p) = f(p)$ and $g(q) = f(q)$ by Proposition 38, Proposition 346, Proposition 348, Proposition 356.
$\closure{g(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$ by Definition 281, Proposition 38, Proposition 346, Proposition 348, Proposition 356.
$q = r$ by Proposition 21.
$p < r$.
$g(p) = f(p)$ by Proposition 38, Proposition 346, Proposition 348, Proposition 356.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} S$.
$\closure{f(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U_r$ by Definition 1, Definition 101, Definition 128, Definition 277, Definition 281, Lemma 146, Lemma 321, Proposition 4, Proposition 6, Proposition 156.
$g(q) = U_r$ by Proposition 20, Proposition 21, Proposition 39, Proposition 346.
$\closure{g(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$.
LaTeX source
\begin{byCase}
\caseOf{$q\in\dom{f}$.}
$g(p) = f(p)$ and $g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$\closure{g(p)}{X}{T}\subseteq g(q)$
by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\caseOf{$q\in\{r\}$.}
$q = r$ by \cref{singleton_elim}.
$p < r$.
$g(p) = f(p)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$p\in S$.
$\closure{f(p)}{X}{T}\subseteq U_r$
by \cref{real_order_relation_elim,largest_element,subseteq,urysohn_admissible,normal_space,topology_on,elem_subseteq,powerset_elim,subseteq_closure,subseteq_transitive}.
$g(q) = U_r$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\end{byCase}
$p = r$ by Proposition 21.
$r < q$.
$g(p) = U_r$ by Proposition 20, Proposition 21, Proposition 39, Proposition 346.
$g(q) = f(q)$ by Proposition 38, Proposition 346, Proposition 348, Proposition 356.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in} T_1$.
$\closure{U_r}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} f(q)$ by Definition 1, Definition 99, Definition 101, Definition 277, Definition 281, Lemma 146, Lemma 321, Proposition 4, Proposition 6, Proposition 156.
$\closure{g(p)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(q)$.
Suppose not.
$p = r$ and $q = r$ by Proposition 21.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $p < p$ by Axiom 42, Definition 158, Lemma 82, Lemma 83, Lemma 433, Lemma 501, Proposition 361.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$q\in\dom{f}$.}
$p = r$ by \cref{singleton_elim}.
$r < q$.
$g(p) = U_r$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
$g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$q\in T_1$.
$\closure{U_r}{X}{T}\subseteq f(q)$
by \cref{real_order_relation_elim,smallest_element,subseteq,urysohn_admissible,normal_space,topology_on,elem_subseteq,powerset_elim,subseteq_closure,subseteq_transitive}.
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\caseOf{$q\in\{r\}$.}
Suppose not.
$p = r$ and $q = r$ by \cref{singleton_elim}.
$p\in\reals$ and $p < p$
by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,real_lt_subst_left,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$p\in\dom{f}$.}
\begin{byCase}
\caseOf{$q\in\dom{f}$.}
$g(p) = f(p)$ and $g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$\closure{g(p)}{X}{T}\subseteq g(q)$
by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\caseOf{$q\in\{r\}$.}
$q = r$ by \cref{singleton_elim}.
$p < r$.
$g(p) = f(p)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$p\in S$.
$\closure{f(p)}{X}{T}\subseteq U_r$
by \cref{real_order_relation_elim,largest_element,subseteq,urysohn_admissible,normal_space,topology_on,elem_subseteq,powerset_elim,subseteq_closure,subseteq_transitive}.
$g(q) = U_r$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\end{byCase}
\caseOf{$p\in\{r\}$.}
\begin{byCase}
\caseOf{$q\in\dom{f}$.}
$p = r$ by \cref{singleton_elim}.
$r < q$.
$g(p) = U_r$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
$g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$q\in T_1$.
$\closure{U_r}{X}{T}\subseteq f(q)$
by \cref{real_order_relation_elim,smallest_element,subseteq,urysohn_admissible,normal_space,topology_on,elem_subseteq,powerset_elim,subseteq_closure,subseteq_transitive}.
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\caseOf{$q\in\{r\}$.}
Suppose not.
$p = r$ and $q = r$ by \cref{singleton_elim}.
$p\in\reals$ and $p < p$
by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,real_lt_subst_left,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{byCase}
Claim: For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ if $1 < p$ then $g(p) = X$.
Fix $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
Assume $1 < p$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}\union\{r\}$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ or $p = r$ by Axiom 5, Proposition 21.
$g(p) = X$ by Axiom 36, Axiom 39, Axiom 41, Axiom 42, Definition 1, Definition 158, Lemma 82, Lemma 433, Lemma 500, Lemma 501, Proposition 38, Proposition 346, Proposition 348, Proposition 356, Proposition 361.
We have for all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{X}$ by Definition 101, Definition 103, Definition 277, Proposition 4.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\{0,1\}\union \img{s}{\initialSegment{n + 1}}}{\pow{X}}$ by Lemma 505, Proposition 358.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Proposition 16, Proposition 17, Proposition 38, Proposition 359.
$g(1) = X\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} B$ and $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(0)$ and $\closure{g(0)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} g(1)$ by Definition 281, Proposition 38, Proposition 346, Proposition 348, Proposition 356.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} T$ by Definition 103.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n + 1}$ by Definition 281.
Let $w = (n + 1,g)$.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{w}$ by Axiom 10, Axiom 11, Axiom 42, Lemma 433, Lemma 468, Proposition 46.
Hence $(z,w)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$.
Therefore $z\mathrel{R} w$.
LaTeX source
\begin{proof}
We have $f\in\funs{\{0,1\}\union \img{s}{\initialSegment{n}}}{\pow{X}}$ and
for all $p\in\dom{f}$ we have $f(p)\in T$ and
$f(1) = X\setminus B$ and
$A\subseteq f(0)$ and
$\closure{f(0)}{X}{T}\subseteq f(1)$ and
for all $p\in\dom{f}$ for all $q\in\dom{f}$ if $p < q$ then
$\closure{f(p)}{X}{T}\subseteq f(q)$ and
for all $p\in\dom{f}$ if $1 < p$ then $f(p) = X$
by \cref{urysohn_admissible}.
Take $p_0,q_0,U_r,h,g$ such that
$p_0$ is a largest element of $S$ with respect to $\realOrderRel$ and
$q_0$ is a smallest element of $T_1$ with respect to $\realOrderRel$ and
$U_r$ is open in $X$ with respect to $T$ and
$\closure{f(p_0)}{X}{T}\subseteq U_r$ and
$\closure{U_r}{X}{T}\subseteq f(q_0)$ and
$h = \{(r,U_r)\}$ and
$g = f\union h$ and
$g$ is a function
by \cref{urysohn_unit_interval_extend_lt1_setup}.
$\dom{g} = \dom{f}\union\dom{h}$ by \cref{dom_union}.
$\dom{h} = \{r\}$
by \cref{dom_iff,singleton_elim,pair_eq_iff,singleton_intro,dom_intro,subseteq,subseteq_antisymmetric}.
$\dom{g} = \dom{f}\union\{r\}$.
Show that for all $y\in\dom{g}$ we have $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
\begin{subproof}
Follows by \cref{union_iff,funs_elim,initial_segment_subset_succ,subseteq,img_iff,union_intro_left,singleton_elim,naturalsplus_add_closed,real_one_in_naturals,sequence_in,sequence_value_in_initial_image,union_intro_right}.
\end{subproof}
Thus $\dom{g}\subseteq \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by \cref{subseteq}.
Show that for all $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ we have $y\in\dom{g}$.
\begin{subproof}
Fix $y$ such that $y\in \{0,1\}\union \img{s}{\initialSegment{n + 1}}$.
$y\in \{0,1\}$ or $y\in \img{s}{\initialSegment{n + 1}}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$y\in \{0,1\}$.}
We have $y\in\dom{g}$ by \cref{union_intro_left,funs_elim}.
\caseOf{$y\in \img{s}{\initialSegment{n + 1}}$.}
Take $k$ such that $k\in\initialSegment{n + 1}$ and $(k,y)\in s$ by \cref{img_iff}.
\begin{byCase}
\caseOf{$k\in\initialSegment{n}$.}
$y\in\dom{g}$ by \cref{img_iff,union_intro_right,funs_elim,union_intro_left}.
\caseOf{$k\notin\initialSegment{n}$.}
$k\in\naturalsPlus$ and $k\leq n + 1$ by \cref{initial_segment_naturalsplus}.
$k = n + 1$ by \cref{real_naturals_leq_succ_elim,initial_segment_naturalsplus}.
$y = r$.
$y\in\dom{g}$ by \cref{singleton_intro,union_intro_right}.
\end{byCase}
\end{byCase}
\end{subproof}
Hence $\{0,1\}\union \img{s}{\initialSegment{n + 1}}\subseteq \dom{g}$ by \cref{subseteq}.
Therefore $\dom{g} = \{0,1\}\union \img{s}{\initialSegment{n + 1}}$ by \cref{subseteq_antisymmetric}.
For all $p\in\dom{g}$ we have $g(p)$ is open in $X$ with respect to $T$
by \cref{union_iff,urysohn_admissible,open_in,topology_on,normal_space,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro,singleton_elim,singleton_intro,union_intro_right,pair_eq_iff}.
Show that for all $p,q$ such that $p\in\dom{g}$ and $q\in\dom{g}$ and $p < q$ we have
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\begin{subproof}
Fix $p$.
Fix $q$.
Assume $p\in\dom{g}$ and $q\in\dom{g}$ and $p < q$.
$p\in\dom{f}\union\{r\}$ and $q\in\dom{f}\union\{r\}$.
$p\in\dom{f}$ or $p\in\{r\}$ by \cref{union_iff}.
We have $q\in\dom{f}$ or $q\in\{r\}$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$p\in\dom{f}$.}
\begin{byCase}
\caseOf{$q\in\dom{f}$.}
$g(p) = f(p)$ and $g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$\closure{g(p)}{X}{T}\subseteq g(q)$
by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
\caseOf{$q\in\{r\}$.}
$q = r$ by \cref{singleton_elim}.
$p < r$.
$g(p) = f(p)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$p\in S$.
$\closure{f(p)}{X}{T}\subseteq U_r$
by \cref{real_order_relation_elim,largest_element,subseteq,urysohn_admissible,normal_space,topology_on,elem_subseteq,powerset_elim,subseteq_closure,subseteq_transitive}.
$g(q) = U_r$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\end{byCase}
\caseOf{$p\in\{r\}$.}
\begin{byCase}
\caseOf{$q\in\dom{f}$.}
$p = r$ by \cref{singleton_elim}.
$r < q$.
$g(p) = U_r$ by \cref{singleton_elim,singleton_intro,union_intro_right,function_apply_intro}.
$g(q) = f(q)$
by \cref{funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
$q\in T_1$.
$\closure{U_r}{X}{T}\subseteq f(q)$
by \cref{real_order_relation_elim,smallest_element,subseteq,urysohn_admissible,normal_space,topology_on,elem_subseteq,powerset_elim,subseteq_closure,subseteq_transitive}.
$\closure{g(p)}{X}{T}\subseteq g(q)$.
\caseOf{$q\in\{r\}$.}
Suppose not.
$p = r$ and $q = r$ by \cref{singleton_elim}.
$p\in\reals$ and $p < p$
by \cref{sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,real_lt_subst_left,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{byCase}
\end{subproof}
Show that for all $p\in\dom{g}$ if $1 < p$ then $g(p) = X$.
\begin{subproof}
Fix $p$ such that $p\in\dom{g}$.
Assume $1 < p$.
$p\in\dom{f}\union\{r\}$.
$p\in\dom{f}$ or $p = r$ by \cref{union_iff,singleton_elim}.
$g(p) = X$
by \cref{urysohn_admissible_above_one,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro,real_lt_subst_left,sequence_in,naturalsplus_add_closed,real_one_in_naturals,funs_type_apply,unit_rational_real,real_naturals_subset_reals,subseteq,real_lt_trans,real_lt_irreflexive}.
\end{subproof}
We have for all $p\in\dom{g}$ we have $g(p)\in\pow{X}$
by \cref{open_in,normal_space,topology_on,elem_subseteq}.
$g\in\funs{\{0,1\}\union \img{s}{\initialSegment{n + 1}}}{\pow{X}}$
by \cref{urysohn_unit_interval_extend_lt1_setup,funs_intro}.
$0\in\dom{f}$ and $1\in\dom{f}$
by \cref{funs_elim,upair_intro_left,upair_intro_right,union_intro_left}.
$g(1) = X\setminus B$ and $A\subseteq g(0)$ and
$\closure{g(0)}{X}{T}\subseteq g(1)$
by \cref{urysohn_admissible,funs_is_function,function_apply_elim,union_intro_left,function_apply_intro}.
For all $p\in\dom{g}$ we have $g(p)\in T$ by \cref{open_in}.
$g\in\urysohnAdmissible{s}{X}{T}{A}{B}{n + 1}$ by \cref{urysohn_admissible}.
Let $w = (n + 1,g)$.
$z\in G$ and $w\in G$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\subseteq \snd{w}$
by \cref{naturalsplus_add_closed,real_one_in_naturals,urysohn_good_pair_intro,fst_eq,snd_eq,union_upper_left}.
Hence $(z,w)\in R$.
Therefore $z\mathrel{R} w$.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Then for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ there exists $w$ such that $z\mathrel{R} w$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_extend}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Then for all $z\in G$ there exists $w$ such that $z\mathrel{R} w$.
\end{lemma}
Proof
Fix $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Take $n,f$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $z = (n,f)$ by Lemma 467.
Let $r = s(n + 1)$.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < r$ by Axiom 42, Definition 158, Lemma 433, Lemma 473, Lemma 501, Proposition 361.
Claim: There exists $w$ such that $z\mathrel{R} w$.
Follows by Lemma 502.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 281, Proposition 17, Proposition 38, Proposition 359.
$r \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 1$ by Axiom 21.
$r < 1$ or $1 < r$ by Axiom 34, Axiom 41, Axiom 42, Definition 1.
Follows by Lemma 504.
Let $S = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f} \mid p < r\}$.
Let $T_1 = \{q\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f} \mid r < q\}$.
Follows by Lemma 506.
LaTeX source
\begin{byCase}
\caseOf{$1 < r$.}
Follows by \cref{urysohn_unit_interval_extend_gt1}.
\caseOf{$r < 1$.}
Let $S = \{p\in\dom{f} \mid p < r\}$.
Let $T_1 = \{q\in\dom{f} \mid r < q\}$.
Follows by \cref{urysohn_unit_interval_extend_lt1}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$r\in\dom{f}$.}
Follows by \cref{urysohn_unit_interval_extend_in_dom}.
\caseOf{$r\notin\dom{f}$.}
$1\in\dom{f}$ by \cref{urysohn_admissible,funs_elim,upair_intro_right,union_intro_left}.
$r \neq 1$ by \cref{real_mul_ident}.
$r < 1$ or $1 < r$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_lt_trichotomy}.
\begin{byCase}
\caseOf{$1 < r$.}
Follows by \cref{urysohn_unit_interval_extend_gt1}.
\caseOf{$r < 1$.}
Let $S = \{p\in\dom{f} \mid p < r\}$.
Let $T_1 = \{q\in\dom{f} \mid r < q\}$.
Follows by \cref{urysohn_unit_interval_extend_lt1}.
\end{byCase}
\end{byCase}
LaTeX source
\begin{proof}
Fix $z$ such that $z\in G$.
Take $n,f$ such that
$n\in\naturalsPlus$ and
$f\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$z = (n,f)$
by \cref{urysohn_good_pair_decomp}.
Let $r = s(n + 1)$.
$r\in\unitRationals$ and $r\in\reals$ and $0 < r$
by \cref{sequence_in,funs_type_apply,naturalsplus_add_closed,real_one_in_naturals,unit_rational_real,unit_rational_pos}.
Show that there exists $w$ such that $z\mathrel{R} w$.
\begin{subproof}
\begin{byCase}
\caseOf{$r\in\dom{f}$.}
Follows by \cref{urysohn_unit_interval_extend_in_dom}.
\caseOf{$r\notin\dom{f}$.}
$1\in\dom{f}$ by \cref{urysohn_admissible,funs_elim,upair_intro_right,union_intro_left}.
$r \neq 1$ by \cref{real_mul_ident}.
$r < 1$ or $1 < r$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_lt_trichotomy}.
\begin{byCase}
\caseOf{$1 < r$.}
Follows by \cref{urysohn_unit_interval_extend_gt1}.
\caseOf{$r < 1$.}
Let $S = \{p\in\dom{f} \mid p < r\}$.
Let $T_1 = \{q\in\dom{f} \mid r < q\}$.
Follows by \cref{urysohn_unit_interval_extend_lt1}.
\end{byCase}
\end{byCase}
\end{subproof}
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(x) = 0$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_value_A}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $\img{f}{X}\subseteq I_0$.
Then for all $x\in A$ we have $f(x) = 0$.
\end{lemma}
Proof
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $u$ is a sequence in $G$ and $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Axiom 42, Definition 158.
Take $n,t$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $u(1) = (n,t)$ by Lemma 467, Proposition 361.
$t$ is a function and $0\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Definition 1, Definition 281, Proposition 16, Proposition 38, Proposition 356, Proposition 359.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ by Axiom 11, Definition 1, Definition 280, Definition 281, Definition 284, Proposition 20, Proposition 27, Proposition 39, Proposition 346, Proposition 348.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $(x,f(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Definition 1, Definition 149, Proposition 348, Proposition 356, Proposition 359.
$f(x)$ is an infimum of $Q_x$ by Lemma 491.
Thus $f(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 0$ by Definition 68, Definition 72.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(x)$ by Definition 1, Definition 75, Proposition 235.
Hence $f(x) = 0$ by Axiom 17, Lemma 25, Proposition 361.
LaTeX source
\begin{proof}
Fix $x\in A$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
$1\in\naturalsPlus$ and $u$ is a sequence in $G$ and $u\in\funs{\naturalsPlus}{G}$
by \cref{real_one_in_naturals,sequence_in}.
Take $n,t$ such that
$n\in\naturalsPlus$ and
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$u(1) = (n,t)$
by \cref{funs_type_apply,urysohn_good_pair_decomp}.
$t$ is a function and $0\in\dom{t}$
by \cref{urysohn_admissible,funs_is_function,funs_elim,upair_intro_left,union_intro_left,subseteq}.
$0\in Q_x$
by \cref{snd_eq,function_apply_elim,unions_intro,function_apply_intro,urysohn_admissible,subseteq,unit_rationals_zero,singleton_intro,union_intro_right,urysohn_level_set}.
$x\in X$ and $x\in\dom{f}$ and $(x,f(x))\in f$
by \cref{funs_is_function,funs_elim,closed_in,subseteq,function_apply_elim}.
$f(x)$ is an infimum of $Q_x$ by \cref{urysohn_infimum_value}.
Thus $f(x) \leq 0$ by \cref{real_infimum,real_lower_bound}.
$0 \leq f(x)$ by \cref{img_iff,subseteq,intervalclosed}.
Hence $f(x) = 0$ by \cref{real_add_ident,funs_type_apply,real_leq_antisym}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$.
Assume $\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$.
Then for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f(x) = 1$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval_value_B}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $s$ is a sequence in $\unitRationals$.
Assume for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Assume $c$ is a function on $G$.
Assume for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$.
Assume $u$ is a sequence in $G$.
Assume $u(1) = a_0$.
Assume $a_0 = (1,u_1)$.
Assume for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$.
Assume for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
Assume $U$ is a function.
Let $I_0 = \intervalclosed{0}{1}$.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
Assume $f\in\funs{X}{\reals}$.
Assume $\img{f}{X}\subseteq I_0$.
Then for all $x\in B$ we have $f(x) = 1$.
\end{lemma}
Proof
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $u$ is a sequence in $G$ and $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Axiom 42, Definition 158.
Take $n,t$ such that $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $u(1) = (n,t)$ by Lemma 467, Proposition 361.
$t$ is a function and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ by Definition 1, Definition 281, Proposition 17, Proposition 38, Proposition 356, Proposition 359.
$x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} U(1)$ by Axiom 11, Definition 1, Definition 281, Proposition 2, Proposition 27, Proposition 87, Proposition 346, Proposition 348.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ and $(x,f(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Definition 1, Definition 149, Proposition 348, Proposition 356, Proposition 359.
$f(x)$ is an infimum of $Q_x$ by Lemma 491.
$f(x)$ is a lower bound of $Q_x$ by Definition 72.
Claim: For all $q\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ we have $1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$.
Fix $q$ such that $q\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$.
We have $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(q)$ by Definition 284.
Suppose not.
$q < 1$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ by Axiom 10, Axiom 11, Axiom 21, Axiom 22, Axiom 41, Axiom 42, Definition 1, Definition 65, Definition 279, Lemma 20, Proposition 115, Proposition 462.
$\closure{U(q)}{X}{T}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U(1)$ by Lemma 490.
$U(q)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Lemma 489.
$T$ is a topology on $X$ by Definition 277.
We have $U(q)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \closure{U(q)}{X}{T}$ by Lemma 146.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(1)$ by Definition 1, Proposition 6.
Contradiction.
Thus $1$ is a lower bound of $Q_x$ by Axiom 21, Definition 1, Definition 68, Definition 284, Lemma 480.
$1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(x)$ by Definition 72.
$f(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 1, Definition 75, Proposition 235.
Hence $f(x) = 1$ by Axiom 21, Lemma 25, Proposition 361.
LaTeX source
\begin{proof}
Fix $x\in B$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
$1\in\naturalsPlus$ and $u$ is a sequence in $G$ and $u\in\funs{\naturalsPlus}{G}$
by \cref{real_one_in_naturals,sequence_in}.
Take $n,t$ such that
$n\in\naturalsPlus$ and
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$u(1) = (n,t)$
by \cref{funs_type_apply,urysohn_good_pair_decomp}.
$t$ is a function and $1\in\dom{t}$
by \cref{urysohn_admissible,funs_is_function,funs_elim,upair_intro_right,union_intro_left,subseteq}.
$x\notin U(1)$
by \cref{snd_eq,function_apply_elim,unions_intro,function_apply_intro,urysohn_admissible,subseteq_refl,subseteq,setminus_elim_right}.
$x\in X$ and $x\in\dom{f}$ and $(x,f(x))\in f$
by \cref{funs_is_function,funs_elim,closed_in,subseteq,function_apply_elim}.
$f(x)$ is an infimum of $Q_x$ by \cref{urysohn_infimum_value}.
$f(x)$ is a lower bound of $Q_x$ by \cref{real_infimum}.
Show that for all $q\in Q_x$ we have $1 \leq q$.
\begin{subproof}
Fix $q$ such that $q\in Q_x$.
We have $q\in\unitRationalsZero$ and $x\in U(q)$ by \cref{urysohn_level_set}.
Suppose not.
$q < 1$.
$1\in\unitRationals$
by \cref{times_tuple_intro,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_pos_nonzero,real_mul_inverse,real_div,real_mul_ident,fst_eq,snd_eq,unit_rationals}.
$\closure{U(q)}{X}{T}\subseteq U(1)$ by \cref{urysohn_union_closure_subset}.
$U(q)\subseteq X$ by \cref{urysohn_union_zero_subset_X_aux}.
$T$ is a topology on $X$ by \cref{normal_space}.
We have $U(q)\subseteq \closure{U(q)}{X}{T}$ by \cref{subseteq_closure}.
$x\in U(1)$ by \cref{subseteq,subseteq_transitive}.
Contradiction.
\end{subproof}
Thus $1$ is a lower bound of $Q_x$
by \cref{real_mul_ident,urysohn_level_set,unit_rational_zero_real,subseteq,real_lower_bound}.
$1 \leq f(x)$ by \cref{real_infimum}.
$f(x) \leq 1$ by \cref{img_iff,subseteq,intervalclosed}.
Hence $f(x) = 1$ by \cref{real_mul_ident,funs_type_apply,real_leq_antisym}.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Then there exists $f$ such that $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$.
LaTeX source
\begin{lemma}
\label{urysohn_unit_interval}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Then there exists $f$ such that
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
$\img{f}{A}\subseteq \{0\}$ and
$\img{f}{B}\subseteq \{1\}$.
\end{lemma}
Proof
Take $s$ such that $s$ is a sequence in $\unitRationals$ and for all $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $s(n) = p$ by Lemma 466.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\class{latex-symbol-tip latex-symbol-id-in}{\in} G, w\class{latex-symbol-tip latex-symbol-id-in}{\in} G \mid \fst{w} = \fst{z} + 1 \class{latex-symbol-tip latex-symbol-id-land}{\land} \snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}\}$.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ there exists $w$ such that $z\mathrel{R} w$.
Follows by Lemma 507.
$R$ is a relation by Definition 12.
Take $c$ such that $c$ is a function on $G$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R} \apply{c}{z}$ by Axiom 54.
Take $u_1$ such that $(1,u_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Lemma 484.
Let $a_0 = (1,u_1)$.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{c}$ we have $c(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{c}$.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Proposition 359.
$x\mathrel{R} c(x)$ by Axiom 54.
Take $z,w$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $(z,w) = (x,c(x))$ and $\fst{w} = \fst{z} + 1$ and $\snd{z}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\snd{w}$ by Definition 12.
$w = c(x)$ by Axiom 6.
$c(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 1.
$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ by Proposition 358.
Take $u$ such that $u$ is a sequence in $G$ and $u(1) = a_0$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$ by Lemma 407.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ by Lemma 485.
Let $F = \{\snd{u(n)} \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \unions{F}$.
$U$ is a function by Lemma 477.
Let $f = \{(x,y) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X, y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals \mid \text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
$f$ is a function from $X$ to $\reals$ by Lemma 483.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
We have $f(x)$ is an infimum of $Q_x$ by Lemma 491.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17.
For all $p\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ we have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ by Axiom 5, Axiom 17, Definition 280, Definition 284, Lemma 231, Lemma 473, Lemma 480, Proposition 21.
$Q_x\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1.
$0$ is a lower bound of $Q_x$ by Definition 68.
$0 < f(x)$ or $0 = f(x)$ by Definition 72.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(x)$.
Claim: $f(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$.
Suppose not.
$1 < f(x)$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 21, Proposition 462.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Lemma 231.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
Take $p$ such that $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationals$ and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalopen{1}{f(x)}$ by Lemma 465.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 76.
$p > 1$.
$p < f(x)$ by Definition 76.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in}\unitRationalsZero$ by Axiom 5, Definition 280.
Take $n,t$ such that $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and $t$ is a function and $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ and $U(p) = t(p)$ by Lemma 487.
$t(p) = X$ by Lemma 500.
$U(p) = X$ by Proposition 346.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U(p)$.
$p\class{latex-symbol-tip latex-symbol-id-in}{\in} Q_x$ by Definition 284.
$f(x)$ is a lower bound of $Q_x$ by Definition 72.
$f(x) < p$ or $f(x) = p$ by Definition 68.
$f(x) < f(x)$ by Axiom 36, Lemma 82.
Contradiction by Axiom 39.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Definition 75, Proposition 361.
Hence 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} I_0$ by Proposition 359.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ by Proposition 345, Proposition 355, Proposition 358, Proposition 359.
$\img{f}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$ by Proposition 6, Proposition 237, Proposition 363.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(x) = 0$.
Follows by Lemma 508.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f(x) = 1$.
Follows by Lemma 509.
We have $\img{f}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ by Definition 1, Proposition 20, Proposition 235, Proposition 349, Proposition 356.
Thus $\img{f}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Definition 1, Proposition 20, Proposition 235, Proposition 349, Proposition 356.
$I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 499.
$T$ is a topology on $X$ by Definition 277.
We have $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ by Lemma 483, Lemma 486.
Therefore there exists $g$ such that $g$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $\img{g}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{g}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$.
LaTeX source
\begin{proof}
Take $s$ such that
$s$ is a sequence in $\unitRationals$ and
for all $p$ such that $p\in\unitRationals$ there exists $n\in\naturalsPlus$ such that $s(n) = p$
by \cref{unit_rationals_sequence}.
Let $G = \urysohnGoodPairs{s}{X}{T}{A}{B}$.
Let $R = \{(z,w) \mid z\in G, w\in G \mid
\fst{w} = \fst{z} + 1 \land \snd{z}\subseteq\snd{w}\}$.
Show that for all $z\in G$ there exists $w$ such that $z\mathrel{R} w$.
\begin{subproof}
Follows by \cref{urysohn_unit_interval_extend}.
\end{subproof}
$R$ is a relation by \cref{relation}.
Take $c$ such that $c$ is a function on $G$ and for all $z\in G$ we have $z\mathrel{R} \apply{c}{z}$
by \cref{axiom_of_choice}.
Take $u_1$ such that $(1,u_1)\in G$ by \cref{urysohn_unit_interval_u1}.
Let $a_0 = (1,u_1)$.
Show that for all $x\in\dom{c}$ we have $c(x)\in G$.
\begin{subproof}
Fix $x$ such that $x\in\dom{c}$.
We have $x\in G$ by \cref{funs_elim}.
$x\mathrel{R} c(x)$ by \cref{axiom_of_choice}.
Take $z,w$ such that $z\in G$ and $w\in G$ and $(z,w) = (x,c(x))$ and
$\fst{w} = \fst{z} + 1$ and $\snd{z}\subseteq\snd{w}$ by \cref{relation}.
$w = c(x)$ by \cref{pair_eq_iff}.
$c(x)\in G$ by \cref{subseteq}.
\end{subproof}
$c\in\funs{G}{G}$ by \cref{funs_intro}.
Take $u$ such that
$u$ is a sequence in $G$ and
$u(1) = a_0$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{c}{u(n)}$
by \cref{iteration_sequence_naturalsplus}.
For all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$
by \cref{urysohn_unit_interval_fst_u}.
Let $F = \{\snd{u(n)} \mid n\in\naturalsPlus\}$.
Let $U = \unions{F}$.
$U$ is a function by \cref{urysohn_unit_interval_union_function}.
Let $f = \{(x,y) \mid x\in X, y\in\reals \mid
\text{$y$ is an infimum of $\urysohnLevelSet{U}{x}$}\}$.
$f$ is a function from $X$ to $\reals$ by \cref{urysohn_unit_interval_f_funs}.
Show that for all $x\in X$ we have $f(x)\in I_0$.
\begin{subproof}
Fix $x\in X$.
Let $Q_x = \urysohnLevelSet{U}{x}$.
We have $f(x)$ is an infimum of $Q_x$ by \cref{urysohn_infimum_value}.
$0\in\reals$ by \cref{real_add_ident}.
For all $p\in Q_x$ we have $p\in\reals$ and $0 \leq p$
by \cref{urysohn_level_set,unit_rational_zero_real,unit_rationals_zero,union_iff,singleton_elim,real_add_ident,unit_rational_pos,real_lt_imp_leq}.
$Q_x\subseteq\reals$ by \cref{subseteq}.
$0$ is a lower bound of $Q_x$ by \cref{real_lower_bound}.
$0 < f(x)$ or $0 = f(x)$ by \cref{real_infimum}.
$0 \leq f(x)$.
Show that $f(x) \leq 1$.
\begin{subproof}
Suppose not.
$1 < f(x)$.
$1\in\reals$ and $0 < 1$ by \cref{real_mul_ident,real_zero_lt_one}.
$0 \leq 1$ by \cref{real_lt_imp_leq}.
$f(x)\in\reals$ by \cref{funs_type_apply}.
Take $p$ such that $p\in\unitRationals$ and $p\in\intervalopen{1}{f(x)}$
by \cref{unit_rationals_dense_nonneg}.
$p\in\reals$ by \cref{intervalopen}.
$p > 1$.
$p < f(x)$ by \cref{intervalopen}.
$p\in\unitRationalsZero$ by \cref{unit_rationals_zero,union_iff}.
Take $n,t$ such that
$t\in\urysohnAdmissible{s}{X}{T}{A}{B}{n}$ and
$t$ is a function and
$p\in\dom{t}$ and
$U(p) = t(p)$
by \cref{urysohn_union_rational_value_aux}.
$t(p) = X$ by \cref{urysohn_admissible_above_one}.
$U(p) = X$ by \cref{function_apply_intro}.
$x\in U(p)$.
$p\in Q_x$ by \cref{urysohn_level_set}.
$f(x)$ is a lower bound of $Q_x$ by \cref{real_infimum}.
$f(x) < p$ or $f(x) = p$ by \cref{real_lower_bound}.
$f(x) < f(x)$ by \cref{real_lt_trans,real_lt_subst_left}.
Contradiction by \cref{real_lt_irreflexive}.
\end{subproof}
$f(x)\in I_0$ by \cref{funs_type_apply,intervalclosed}.
\end{subproof}
Hence for all $x\in\dom{f}$ we have $f(x)\in I_0$ by \cref{funs_elim}.
$f\in\funs{X}{I_0}$
by \cref{function_rightunique,funs_is_relation,funs_elim,funs_intro}.
$\img{f}{X}\subseteq I_0$ by \cref{funs_ran,img_subseteq_ran,subseteq_transitive}.
Show that for all $x\in A$ we have $f(x) = 0$.
\begin{subproof}
Follows by \cref{urysohn_unit_interval_value_A}.
\end{subproof}
Show that for all $x\in B$ we have $f(x) = 1$.
\begin{subproof}
Follows by \cref{urysohn_unit_interval_value_B}.
\end{subproof}
We have $\img{f}{A}\subseteq \{0\}$ by \cref{img_iff,funs_is_function,function_apply_iff,singleton_intro,subseteq}.
Thus $\img{f}{B}\subseteq \{1\}$ by \cref{img_iff,funs_is_function,function_apply_iff,singleton_intro,subseteq}.
$I_0\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$f$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{urysohn_unit_interval_continuous_reals}.
$T$ is a topology on $X$ by \cref{normal_space}.
We have $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$
by \cref{urysohn_unit_interval_f_funs,urysohn_unit_interval_continuous_subspace}.
Therefore there exists $g$ such that
$g$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
$\img{g}{A}\subseteq \{0\}$ and
$\img{g}{B}\subseteq \{1\}$.
\end{proof}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a < b$.
Let $I = \intervalclosed{a}{b}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then there exists $f$ such that $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(x) = a$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f(x) = b$.
LaTeX source
\begin{theorem}
\label{urysohn_lemma}
Assume $X$ is normal with respect to $T$.
Assume $A$ is closed in $X$ with respect to $T$.
Assume $B$ is closed in $X$ with respect to $T$.
Assume $A$ is disjoint from $B$.
Assume $a\in\reals$ and $b\in\reals$ and $a < b$.
Let $I = \intervalclosed{a}{b}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then there exists $f$ such that
$f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
for all $x\in A$ we have $f(x) = a$ and
for all $x\in B$ we have $f(x) = b$.
\end{theorem}
Proof
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Take $g$ such that $g$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $\img{g}{A}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{0\}$ and $\img{g}{B}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \{1\}$ by Lemma 510.
Let $c = b - a$.
Let $j = \identity{I_0}$.
Let $g_1 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} g$.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
$g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 168.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ and $g$ is a function by Definition 160, Proposition 356.
$g$ is right-unique and $g$ is a relation and $\dom{g} = X$ by Proposition 345, Proposition 355, Proposition 359.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{I_0}$ by Definition 1, Proposition 357.
$\ran{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$ by Proposition 284.
We have $\dom{j} = I_0$ by Proposition 297.
Hence $\ran{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{j}$.
$j$ is right-unique and $j$ is a relation by Proposition 296, Proposition 400.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g_1(x) = g(x)$ by Proposition 359, Proposition 373, Proposition 405.
Let $k = \{(x,a) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $h = \{(x,c) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$T$ is a topology on $X$ by Definition 277.
$c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
$a + c = b$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
$T_I$ is a topology on $I$ by Lemma 131.
$T_0$ is a topology on $I_0$ by Definition 1, Definition 75, Lemma 131.
$k$ is a function from $X$ to $\reals$ and $h$ is a function from $X$ to $\reals$ by Lemma 309.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $k(x) = a$ and $h(x) = c$ by Lemma 309, Proposition 346, Proposition 356.
$k$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 163.
Let $m = \{(x, h(x) \rmul g_1(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Let $f_0 = \{(x, k(x) + m(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
$m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 34.
$f_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 32.
$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $m$ is a function and $f_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $f_0$ is a function by Definition 160, Proposition 356.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
$g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Proposition 359, Proposition 373, Proposition 405.
$g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 75.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g_1(x)$ and $g_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 75.
$(x, h(x) \rmul g_1(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} m$.
$m(x) = h(x) \rmul g_1(x)$ by Proposition 349.
$h(x) = c$.
$m(x) = c \rmul g_1(x)$.
$g_1(x) = 0$ or $0 < g_1(x)$ by Axiom 34.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c \rmul g_1(x)$ by Axiom 20, Lemma 26, Lemma 231, Proposition 439, Proposition 454.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m(x)$.
$g_1(x) = 1$ or $g_1(x) < 1$ by Axiom 34.
$c \rmul g_1(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$ by Axiom 20, Axiom 21, Axiom 38, Axiom 41, Axiom 42, Definition 1, Lemma 26.
$m(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} c$.
$m(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14.
$(x, k(x) + m(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} f_0$.
$f_0(x) = a + m(x)$ by Proposition 349, Proposition 437.
$a + m(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + m(x)$ by Axiom 13, Axiom 16, Axiom 17, Lemma 24.
$a + m(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Axiom 16, Lemma 24.
$a + m(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75.
$f_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Proposition 346.
Thus $\img{f_0}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Definition 160, Proposition 235, Proposition 349, Proposition 356.
$f_0$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ by Lemma 167.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f_0(x) = a$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{g}{A}$ and $g(x) = 0$ and $g_1(x) = 0$ and $g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(x, h(x) \rmul g_1(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} m$ and $m(x) = 0$ and $(x, k(x) + m(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} f_0$ by Axiom 17, Axiom 20, Definition 1, Definition 149, Proposition 21, Proposition 235, Proposition 348, Proposition 349, Proposition 359, Proposition 373, Proposition 405, Proposition 439.
$f_0(x) = a$ by Axiom 16, Axiom 17, Proposition 349, Proposition 437.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f_0(x) = b$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{g}{B}$ and $g(x) = 1$ and $g_1(x) = 1$ and $g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(x, h(x) \rmul g_1(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} m$ and $m(x) = c$ and $(x, k(x) + m(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} f_0$ and $f_0(x) = a + c$ by Axiom 20, Axiom 21, Definition 1, Definition 149, Proposition 21, Proposition 235, Proposition 348, Proposition 349, Proposition 359, Proposition 373, Proposition 405, Proposition 437.
$f_0(x) = b$.
Therefore there exists $f$ such that $f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(x) = a$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f(x) = b$.
LaTeX source
\begin{proof}
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Take $g$ such that
$g$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
$\img{g}{A}\subseteq \{0\}$ and
$\img{g}{B}\subseteq \{1\}$
by \cref{urysohn_unit_interval}.
Let $c = b - a$.
Let $j = \identity{I_0}$.
Let $g_1 = j\circ g$.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$1\in\reals$ and $1 + 1\in\reals$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed}.
$I_0\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by \cref{subspace_of}.
$g_1$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous_expand_range}.
$g\in\funs{X}{I_0}$ and $g$ is a function by \cref{continuous,funs_is_function}.
$g$ is right-unique and $g$ is a relation and $\dom{g} = X$
by \cref{function_rightunique,funs_is_relation,funs_elim}.
$g\in\rels{X}{I_0}$ by \cref{funs_subseteq_rels,subseteq}.
$\ran{g}\subseteq I_0$ by \cref{rels_ran_subseteq}.
We have $\dom{j} = I_0$ by \cref{id_dom}.
Hence $\ran{g}\subseteq\dom{j}$.
$j$ is right-unique and $j$ is a relation by \cref{id_rightunique,id_is_relation}.
For all $x\in X$ we have $g_1(x) = g(x)$ by \cref{circ_apply,funs_elim,id_apply}.
Let $k = \{(x,a) \mid x\in X\}$.
Let $h = \{(x,c) \mid x\in X\}$.
$T$ is a topology on $X$ by \cref{normal_space}.
$c\in\reals$ by \cref{real_add_inverse,real_add_closed,real_sub}.
$a + c = b$ by
\cref{real_sub,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by \cref{subspace_of}.
$T_I$ is a topology on $I$ by \cref{subspace_topology_is_topology}.
$T_0$ is a topology on $I_0$ by \cref{intervalclosed,subseteq,subspace_topology_is_topology}.
$k$ is a function from $X$ to $\reals$ and $h$ is a function from $X$ to $\reals$
by \cref{constant_map_function}.
For all $x\in X$ we have $k(x) = a$ and $h(x) = c$
by \cref{constant_map_function,funs_is_function,function_apply_intro}.
$k$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
$h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{constant_continuous}.
Let $m = \{(x, h(x) \rmul g_1(x)) \mid x\in X\}$.
Let $f_0 = \{(x, k(x) + m(x)) \mid x\in X\}$.
$m$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{real_function_multiplication_continuous}.
$f_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{real_function_addition_continuous}.
$m\in\funs{X}{\reals}$ and $m$ is a function and
$f_0\in\funs{X}{\reals}$ and $f_0$ is a function
by \cref{continuous,funs_is_function}.
Show that for all $x\in X$ we have $f_0(x)\in I$.
\begin{subproof}
Fix $x\in X$.
$g_1(x)\in I_0$ by \cref{circ_apply,funs_elim,id_apply}.
$g_1(x)\in\reals$ by \cref{intervalclosed}.
$0 \leq g_1(x)$ and $g_1(x) \leq 1$ by \cref{intervalclosed}.
$(x, h(x) \rmul g_1(x))\in m$.
$m(x) = h(x) \rmul g_1(x)$ by \cref{function_apply_iff}.
$h(x) = c$.
$m(x) = c \rmul g_1(x)$.
$g_1(x) = 0$ or $0 < g_1(x)$ by \cref{real_lt_trichotomy}.
$0 \leq c \rmul g_1(x)$
by \cref{real_mul_zero,real_mul_comm,real_lt_imp_pos_diff,real_mul_pos_pos_gt,real_lt_imp_leq}.
$0 \leq m(x)$.
$g_1(x) = 1$ or $g_1(x) < 1$ by \cref{real_lt_trichotomy}.
$c \rmul g_1(x) \leq c$
by \cref{real_mul_comm,real_mul_ident,real_lt_imp_pos_diff,real_naturals_subset_reals,real_one_in_naturals,subseteq,real_lt_mul_pos}.
$m(x) \leq c$.
$m(x)\in\reals$ by \cref{real_mul_closed}.
$(x, k(x) + m(x))\in f_0$.
$f_0(x) = a + m(x)$ by \cref{function_apply_iff,real_add_eq_subst}.
$a + m(x)\in\reals$ and $a \leq a + m(x)$
by \cref{real_add_closed,real_add_ident,real_leq_add,real_add_comm}.
$a + m(x) \leq b$ by \cref{real_leq_add,real_add_comm}.
$a + m(x)\in I$ by \cref{intervalclosed}.
$f_0(x)\in I$ by \cref{function_apply_intro}.
\end{subproof}
Thus $\img{f_0}{X}\subseteq I$
by \cref{subseteq,img_iff,continuous,funs_is_function,function_apply_iff}.
$f_0$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$
by \cref{continuous_restrict_range}.
Show that for all $x\in A$ we have $f_0(x) = a$.
\begin{subproof}
Fix $x\in A$.
$x\in X$ and $g(x)\in\img{g}{A}$ and $g(x) = 0$ and $g_1(x) = 0$ and $g_1(x)\in\reals$ and
$(x, h(x) \rmul g_1(x))\in m$ and $m(x) = 0$ and $(x, k(x) + m(x))\in f_0$
by \cref{closed_in,subseteq,function_apply_elim,img_iff,singleton_elim,circ_apply,funs_elim,id_apply,real_add_ident,function_apply_iff,real_mul_comm,real_mul_zero}.
$f_0(x) = a$ by \cref{function_apply_iff,real_add_eq_subst,real_add_comm,real_add_ident}.
\end{subproof}
Show that for all $x\in B$ we have $f_0(x) = b$.
\begin{subproof}
Fix $x\in B$.
$x\in X$ and $g(x)\in\img{g}{B}$ and $g(x) = 1$ and $g_1(x) = 1$ and $g_1(x)\in\reals$ and
$(x, h(x) \rmul g_1(x))\in m$ and $m(x) = c$ and $(x, k(x) + m(x))\in f_0$ and
$f_0(x) = a + c$
by \cref{closed_in,subseteq,function_apply_elim,img_iff,singleton_elim,circ_apply,funs_elim,id_apply,real_mul_ident,function_apply_iff,real_mul_comm,real_add_eq_subst}.
$f_0(x) = b$.
\end{subproof}
Therefore there exists $f$ such that
$f$ is continuous from $X$ to $I$ with respect to $T$ and $T_I$ and
for all $x\in A$ we have $f(x) = a$ and
for all $x\in B$ we have $f(x) = b$.
\end{proof}
$A$ is functionally separable from $B$ in $X$ with respect to $T$ iff $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ and there exists $f$ such that $f$ is continuous from $X$ to $\intervalclosed{0}{1}$ with respect to $T$ and $\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(x) = 0$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f(x) = 1$.
LaTeX source
\begin{definition}
\label{separated_by_continuous_function}
$A$ is functionally separable from $B$ in $X$ with respect to $T$ iff
$A\subseteq X$ and
$B\subseteq X$ and
there exists $f$ such that
$f$ is continuous from $X$ to $\intervalclosed{0}{1}$ with respect to $T$ and
$\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}$ and
for all $x\in A$ we have $f(x) = 0$ and
for all $x\in B$ we have $f(x) = 1$.
\end{definition}
$X$ is completely regular with respect to $T$ iff $T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ and for all $x,A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $A$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $f$ such that $f$ is continuous from $X$ to $\intervalclosed{0}{1}$ with respect to $T$ and $\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}$ and $f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(y) = 0$.
LaTeX source
\begin{definition}
\label{completely_regular_space}
$X$ is completely regular with respect to $T$ iff
$T$ is a topology on $X$ and
$X$ has closed singletons with respect to $T$ and
for all $x,A$ such that $x\in X$ and $A$ is closed in $X$ with respect to $T$ and $x\notin A$
there exists $f$ such that
$f$ is continuous from $X$ to $\intervalclosed{0}{1}$ with respect to $T$ and
$\subspaceTopology{\standardTopologyR}{\intervalclosed{0}{1}}$ and
$f(x) = 1$ and
for all $y\in A$ we have $f(y) = 0$.
\end{definition}
Assume $X$ is completely regular with respect to $T$.
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Then $Y$ is completely regular with respect to $T_Y$.
LaTeX source
\begin{theorem}
\label{subspace_completely_regular}
Assume $X$ is completely regular with respect to $T$.
Assume $Y$ is a subspace of $X$ with respect to $T$.
Let $T_Y = \subspaceTopology{T}{Y}$.
Then $Y$ is completely regular with respect to $T_Y$.
\end{theorem}
Proof
$T$ is a topology on $X$ and $Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 147, Definition 286.
$T_Y$ is a topology on $Y$ and $Y$ has closed singletons with respect to $T_Y$ by Definition 147, Definition 275, Definition 286, Lemma 131, Proposition 4, Proposition 25, Proposition 69, Theorem 8.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Claim: For all $x,A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $A$ is closed in $Y$ with respect to $T_Y$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $g$ such that $g$ is continuous from $Y$ to $I_0$ with respect to $T_Y$ and $T_0$ and $g(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(y) = 0$.
Fix $x$.
Fix $A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Y$ and $A$ is closed in $Y$ with respect to $T_Y$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$.
We have $A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Y$ by Definition 149.
Let $C = \closure{A}{X}{T}$.
$\closure{A}{Y}{T_Y} = C\inter Y$ by Definition 147, Theorem 10.
$A = C\inter Y$ by Lemma 131, Lemma 149.
Claim: $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} C$.
Suppose not.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} C\inter Y$ by Proposition 61.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1.
Contradiction.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} X$ by Definition 147, Proposition 6.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1.
$C$ is closed in $X$ with respect to $T$ by Lemma 144.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Lemma 146.
Take $f$ such that $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $f(y) = 0$ by Definition 286.
Let $g = \restrl{f}{Y}$.
$g$ is continuous from $Y$ to $I_0$ with respect to $T_Y$ and $T_0$ by Lemma 166.
We have $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ by Definition 160.
$f$ is right-unique and $f$ is a relation and $\dom{f} = X$ by Definition 55, Proposition 345, Proposition 355, Proposition 356.
$Y\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f}$ by Definition 1, Definition 147.
$g(x) = f(x)$ by Definition 1, Definition 147, Proposition 384.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g(y) = 0$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 1.
$f(y) = 0$.
$g(y) = f(y)$ by Definition 1, Definition 147, Definition 149, Proposition 384.
$g(y) = 0$.
There exists $h$ such that $h$ is continuous from $Y$ to $I_0$ with respect to $T_Y$ and $T_0$ and $h(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(y) = 0$.
Thus $Y$ is completely regular with respect to $T_Y$ by Definition 286.
LaTeX source
\begin{proof}
$T$ is a topology on $X$ and $Y\subseteq X$ by \cref{completely_regular_space,subspace_of}.
$T_Y$ is a topology on $Y$ and $Y$ has closed singletons with respect to $T_Y$
by \cref{subspace_topology_is_topology,completely_regular_space,elem_subseteq,one_point_closed,singleton_subset_intro,inter_absorb_supseteq_right,closed_in_subspace_iff,subspace_of}.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Show that for all $x,A$ such that $x\in Y$ and $A$ is closed in $Y$ with respect to $T_Y$ and $x\notin A$
there exists $g$ such that
$g$ is continuous from $Y$ to $I_0$ with respect to $T_Y$ and $T_0$ and
$g(x) = 1$ and
for all $y\in A$ we have $g(y) = 0$.
\begin{subproof}
Fix $x$.
Fix $A$ such that $x\in Y$ and $A$ is closed in $Y$ with respect to $T_Y$ and $x\notin A$.
We have $A\subseteq Y$ by \cref{closed_in}.
Let $C = \closure{A}{X}{T}$.
$\closure{A}{Y}{T_Y} = C\inter Y$ by \cref{closure_in_subspace,subspace_of}.
$A = C\inter Y$ by \cref{subspace_topology_is_topology,closed_eq_closure}.
Show that $x\notin C$.
\begin{subproof}
Suppose not.
$x\in C\inter Y$ by \cref{inter_intro}.
$x\in A$ by \cref{subseteq}.
Contradiction.
\end{subproof}
$A\subseteq X$ by \cref{subseteq_transitive,subspace_of}.
$x\in X$ by \cref{subseteq}.
$C$ is closed in $X$ with respect to $T$ by \cref{closure_closed_in}.
$A\subseteq C$ by \cref{subseteq_closure}.
Take $f$ such that
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
$f(x) = 1$ and
for all $y\in C$ we have $f(y) = 0$
by \cref{completely_regular_space}.
Let $g = \restrl{f}{Y}$.
$g$ is continuous from $Y$ to $I_0$ with respect to $T_Y$ and $T_0$
by \cref{continuous_restrict_domain}.
We have $f\in\funs{X}{I_0}$ by \cref{continuous}.
$f$ is right-unique and $f$ is a relation and $\dom{f} = X$
by \cref{funs_is_function,function_rightunique,funs_is_relation,funs}.
$Y\subseteq\dom{f}$ by \cref{subspace_of,subseteq}.
$g(x) = f(x)$ by \cref{restrl_of_function_apply,subspace_of,subseteq}.
Show that for all $y\in A$ we have $g(y) = 0$.
\begin{subproof}
Fix $y\in A$.
$y\in C$ by \cref{subseteq}.
$f(y) = 0$.
$g(y) = f(y)$ by \cref{restrl_of_function_apply,subspace_of,subseteq,closed_in}.
$g(y) = 0$.
\end{subproof}
There exists $h$ such that
$h$ is continuous from $Y$ to $I_0$ with respect to $T_Y$ and $T_0$ and
$h(x) = 1$ and
for all $y\in A$ we have $h(y) = 0$.
\end{subproof}
Thus $Y$ is completely regular with respect to $T_Y$ by \cref{completely_regular_space}.
\end{proof}
Assume $X$ is completely regular with respect to $T$.
Then $X$ is regular with respect to $T$.
LaTeX source
\begin{lemma}
\label{completely_regular_implies_regular}
Assume $X$ is completely regular with respect to $T$.
Then $X$ is regular with respect to $T$.
\end{lemma}
Proof
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$ by Definition 286.
Claim: For all $x,B$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $B$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} B$ there exist $U,V$ such that $U$ is open in $X$ with respect to $T$ and $V$ is open in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ and $U$ is disjoint from $V$.
Fix $x$.
Fix $B$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ and $B$ is closed in $X$ with respect to $T$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} B$.
Take $f$ such that $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and $f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $f(y) = 0$ by Definition 286.
Let $W_1 = \intervalopen{1 / (1 + 1)}{1 + 1}$.
Let $W_2 = \intervalopen{\neg{1}}{1 / (1 + 1)}$.
Let $U = \preimg{f}{I_0\inter W_1}$.
Let $V = \preimg{f}{I_0\inter W_2}$.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1$ by Axiom 13, Axiom 17, Axiom 41, Axiom 42, Definition 1, Proposition 462.
$0 < 1 + 1$ by Axiom 17, Axiom 36, Axiom 37.
$1 < 1 + 1$ by Axiom 17, Axiom 37.
$(1 + 1)\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $\inv{(1 + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22, Lemma 20.
$0 < \inv{(1 + 1)}$ by Proposition 463.
$0 \rmul \inv{(1 + 1)} < 1 \rmul \inv{(1 + 1)}$ by Axiom 38.
$1 / (1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 14, Definition 65.
$0 \rmul \inv{(1 + 1)} = 0$ and $1 \rmul \inv{(1 + 1)} = 1 / (1 + 1)$ by Axiom 21, Definition 65, Proposition 439.
$0 < 1 / (1 + 1)$ by Lemma 82, Lemma 83.
We have $1 / (1 + 1) + 1 / (1 + 1) = 1$ by Lemma 458.
$1 / (1 + 1) < 1$ by Axiom 17, Axiom 37, Lemma 82.
$1 / (1 + 1) < 1 + 1$ by Axiom 36.
$\neg{1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 18.
$\neg{1} < 0$ by Lemma 83, Lemma 84, Proposition 465.
$\neg{1} < 1 / (1 + 1)$ by Axiom 36.
$W_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardTopologyR$ and $W_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\standardTopologyR$ by Definition 115, Definition 117, Definition 118, Lemma 77, Lemma 87, Lemma 93, Proposition 155.
$T_0$ is a topology on $I_0$ by Definition 1, Definition 75, Definition 118, Lemma 76, Lemma 93, Lemma 131.
$I_0\inter W_1\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ by Definition 146.
$I_0\inter W_2\class{latex-symbol-tip latex-symbol-id-in}{\in} T_0$ by Definition 146.
$I_0\inter W_1$ is open in $I_0$ with respect to $T_0$ by Definition 103.
$I_0\inter W_2$ is open in $I_0$ with respect to $T_0$ by Definition 103.
$U$ is open in $X$ with respect to $T$ and $V$ is open in $X$ with respect to $T$ by Definition 160.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ and $f$ is a function and $\dom{f} = X$ by Definition 55, Definition 160, Proposition 356.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Definition 76, Lemma 83, Lemma 84, Proposition 465.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0\inter W_1$ and $0\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0\inter W_2$ by Definition 75, Proposition 61.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1.
$(x,1)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 348.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Proposition 246.
Claim: $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} B$.
We have $f(y) = 0$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ by Definition 1, Definition 149.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1.
$(y,0)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 348.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Proposition 246.
$B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1.
Claim: $U$ is disjoint from $V$.
Suppose not.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 3.
$f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0\inter W_1$ and $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0\inter W_2$ by Definition 160, Proposition 246, Proposition 349, Proposition 356.
$f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} W_1$ and $f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in} W_2$ by Definition 5.
$f(y)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 75, Proposition 62.
$1 / (1 + 1) < f(y)$ and $f(y) < 1 / (1 + 1)$ by Definition 76.
Contradiction by Axiom 36, Axiom 39.
Thus $X$ is regular with respect to $T$ by Definition 275, Definition 276.
LaTeX source
\begin{proof}
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
$T$ is a topology on $X$ and $X$ has closed singletons with respect to $T$
by \cref{completely_regular_space}.
Show that for all $x,B$ such that $x\in X$ and $B$ is closed in $X$ with respect to $T$ and $x\notin B$
there exist $U,V$ such that
$U$ is open in $X$ with respect to $T$ and
$V$ is open in $X$ with respect to $T$ and
$x\in U$ and
$B\subseteq V$ and
$U$ is disjoint from $V$.
\begin{subproof}
Fix $x$.
Fix $B$ such that $x\in X$ and $B$ is closed in $X$ with respect to $T$ and $x\notin B$.
Take $f$ such that
$f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ and
$f(x) = 1$ and
for all $y\in B$ we have $f(y) = 0$
by \cref{completely_regular_space}.
Let $W_1 = \intervalopen{1 / (1 + 1)}{1 + 1}$.
Let $W_2 = \intervalopen{\neg{1}}{1 / (1 + 1)}$.
Let $U = \preimg{f}{I_0\inter W_1}$.
Let $V = \preimg{f}{I_0\inter W_2}$.
$0\in\reals$ and $1\in\reals$ and $1 + 1\in\reals$ and $0 < 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_add_ident,real_zero_lt_one}.
$0 < 1 + 1$ by \cref{real_lt_add,real_add_ident,real_lt_trans}.
$1 < 1 + 1$ by \cref{real_lt_add,real_add_ident}.
$(1 + 1)\neq 0$ and $\inv{(1 + 1)}\in\reals$
by \cref{real_pos_nonzero,real_mul_inverse}.
$0 < \inv{(1 + 1)}$ by \cref{real_inv_pos}.
$0 \rmul \inv{(1 + 1)} < 1 \rmul \inv{(1 + 1)}$
by \cref{real_lt_mul_pos}.
$1 / (1 + 1)\in\reals$ by \cref{real_div,real_mul_closed}.
$0 \rmul \inv{(1 + 1)} = 0$ and $1 \rmul \inv{(1 + 1)} = 1 / (1 + 1)$
by \cref{real_mul_zero,real_mul_ident,real_div}.
$0 < 1 / (1 + 1)$ by \cref{real_lt_subst_left,real_lt_subst_right}.
We have $1 / (1 + 1) + 1 / (1 + 1) = 1$ by \cref{real_half_plus_half}.
$1 / (1 + 1) < 1$ by \cref{real_lt_add,real_add_ident,real_lt_subst_left}.
$1 / (1 + 1) < 1 + 1$ by \cref{real_lt_trans}.
$\neg{1}\in\reals$ by \cref{real_add_inverse}.
$\neg{1} < 0$ by \cref{real_lt_neg,real_neg_zero,real_lt_subst_right}.
$\neg{1} < 1 / (1 + 1)$ by \cref{real_lt_trans}.
$W_1\in\standardTopologyR$ and $W_2\in\standardTopologyR$
by \cref{intervalopen_subset_reals,powerset_intro,standard_basis_reals,basis_elem_open_in_generated,basis_for_topology,standard_basis_is_basis,standard_topology_reals}.
$T_0$ is a topology on $I_0$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_topology_is_topology}.
$I_0\inter W_1\in T_0$ by \cref{subspace_topology}.
$I_0\inter W_2\in T_0$ by \cref{subspace_topology}.
$I_0\inter W_1$ is open in $I_0$ with respect to $T_0$ by \cref{open_in}.
$I_0\inter W_2$ is open in $I_0$ with respect to $T_0$ by \cref{open_in}.
$U$ is open in $X$ with respect to $T$ and $V$ is open in $X$ with respect to $T$
by \cref{continuous}.
$f\in\funs{X}{I_0}$ and $f$ is a function and $\dom{f} = X$
by \cref{continuous,funs_is_function,funs}.
$1\in W_1$ and $0\in W_2$
by \cref{intervalopen,real_lt_neg,real_neg_zero,real_lt_subst_right}.
$1\in I_0\inter W_1$ and $0\in I_0\inter W_2$ by \cref{intervalclosed,inter_intro}.
$x\in\dom{f}$ by \cref{subseteq}.
$(x,1)\in f$ by \cref{function_apply_elim}.
$x\in U$ by \cref{preimg_iff}.
Show that $B\subseteq V$.
\begin{subproof}
Show that for all $y$ such that $y\in B$ we have $y\in V$.
\begin{subproof}
Fix $y$ such that $y\in B$.
We have $f(y) = 0$.
$y\in X$ by \cref{closed_in,subseteq}.
$y\in\dom{f}$ by \cref{subseteq}.
$(y,0)\in f$ by \cref{function_apply_elim}.
$y\in V$ by \cref{preimg_iff}.
\end{subproof}
$B\subseteq V$ by \cref{subseteq}.
\end{subproof}
Show that $U$ is disjoint from $V$.
\begin{subproof}
Suppose not.
Take $y$ such that $y\in U$ and $y\in V$ by \cref{disjoint}.
$f(y)\in I_0\inter W_1$ and $f(y)\in I_0\inter W_2$
by \cref{preimg_iff,continuous,funs_is_function,function_apply_iff}.
$f(y)\in W_1$ and $f(y)\in W_2$ by \cref{inter}.
$f(y)\in\reals$ by \cref{inter_elim_left,intervalclosed}.
$1 / (1 + 1) < f(y)$ and $f(y) < 1 / (1 + 1)$ by \cref{intervalopen}.
Contradiction by \cref{real_lt_irreflexive,real_lt_trans}.
\end{subproof}
\end{subproof}
Thus $X$ is regular with respect to $T$ by \cref{one_point_closed,regular_space}.
\end{proof}
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $T$ is a topology on $X$.
Assume $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
Assume $g$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
Let $h = \{(x, f(x) \rmul g(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} X\}$.
Then $h$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
LaTeX source
\begin{lemma}
\label{unit_interval_product_continuous}
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_0 = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $T$ is a topology on $X$.
Assume $f$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
Assume $g$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
Let $h = \{(x, f(x) \rmul g(x)) \mid x\in X\}$.
Then $h$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$.
\end{lemma}
Proof
$I_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 118, Definition 147, Lemma 76, Lemma 93.
Let $j = \identity{I_0}$.
Let $f_0 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
Let $g_0 = j\class{latex-symbol-tip latex-symbol-id-circ}{\circ} g$.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{I_0}$ by Definition 160.
$f$ is right-unique and $f$ is a relation and $\dom{f} = X$ and $g$ is right-unique and $g$ is a relation and $\dom{g} = X$ by Definition 55, Proposition 345, Proposition 355, Proposition 356.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{I_0}$ and $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\rels{X}{I_0}$ by Definition 1, Proposition 357.
$\ran{f}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$ and $\ran{g}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$ by Proposition 284.
$\dom{j} = I_0$ and $j$ is right-unique and $j$ is a relation by Proposition 296, Proposition 297, Proposition 400.
$f_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and $g_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Lemma 168.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $f_0(x) = f(x)$ by Proposition 359, Proposition 373, Proposition 405.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $g_0(x) = g(x)$ by Proposition 359, Proposition 373, Proposition 405.
$h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ by Theorem 34.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{\reals}$ and $h$ is a function by Definition 160, Proposition 356.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$ we have $h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
We have $f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Definition 160, Proposition 361.
$f(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $g(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 75.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(x)$ and $f(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ and $0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} g(x)$ and $g(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Definition 75.
We have $(x, f(x) \rmul g(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} h$.
$h(x) = f(x) \rmul g(x)$ by Proposition 346.
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Proposition 361.
$f(x) = 0$ or $0 < f(x)$ by Axiom 34.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} f(x) \rmul g(x)$ by Axiom 20, Lemma 231, Proposition 439, Proposition 454.
$0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} h(x)$.
Claim: $h(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$.
$h(x) = 0$ by Proposition 437, Proposition 439.
$h(x) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1$ by Lemma 231, Proposition 462.
Claim: $h(x) < f(x)$ or $h(x) = f(x)$.
$g(x) = 1$ or $g(x) < 1$ by Axiom 34.
$h(x) = f(x) \rmul 1$ by Proposition 437.
$h(x) = f(x)$ by Axiom 20, Axiom 21.
LaTeX source
\begin{byCase}
\caseOf{$g(x) = 1$.}
$h(x) = f(x) \rmul 1$ by \cref{real_add_eq_subst}.
$h(x) = f(x)$ by \cref{real_mul_comm,real_mul_ident}.
\caseOf{$g(x) < 1$.}
$f(x) \rmul g(x) < f(x) \rmul 1$
by \cref{real_lt_mul_pos,real_mul_comm,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
$f(x) \rmul 1 = f(x)$ by \cref{real_mul_comm,real_mul_ident}.
$f(x) \rmul g(x) < f(x)$ by \cref{real_lt_subst_right}.
$h(x) < f(x)$ by \cref{real_lt_subst_left}.
\end{byCase}
$f(x) < 1$ or $f(x) = 1$ by Definition 75.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 21.
Claim: $h(x) < 1$ or $h(x) = 1$.
$h(x) < 1$ by Lemma 82.
$h(x) = 1$ by Proposition 437.
LaTeX source
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_subst_left}.
\caseOf{$f(x) = 1$.}
$h(x) = 1$ by \cref{real_add_eq_subst}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$h(x) < f(x)$.}
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_trans}.
\caseOf{$f(x) = 1$.}
$h(x) < 1$ by \cref{real_lt_subst_right}.
\end{byCase}
\caseOf{$h(x) = f(x)$.}
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_subst_left}.
\caseOf{$f(x) = 1$.}
$h(x) = 1$ by \cref{real_add_eq_subst}.
\end{byCase}
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$f(x) = 0$.}
$h(x) = 0$ by \cref{real_mul_zero,real_add_eq_subst}.
$h(x) \leq 1$ by \cref{real_zero_lt_one,real_lt_imp_leq}.
\caseOf{$0 < f(x)$.}
Show that $h(x) < f(x)$ or $h(x) = f(x)$.
\begin{subproof}
$g(x) = 1$ or $g(x) < 1$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$g(x) = 1$.}
$h(x) = f(x) \rmul 1$ by \cref{real_add_eq_subst}.
$h(x) = f(x)$ by \cref{real_mul_comm,real_mul_ident}.
\caseOf{$g(x) < 1$.}
$f(x) \rmul g(x) < f(x) \rmul 1$
by \cref{real_lt_mul_pos,real_mul_comm,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
$f(x) \rmul 1 = f(x)$ by \cref{real_mul_comm,real_mul_ident}.
$f(x) \rmul g(x) < f(x)$ by \cref{real_lt_subst_right}.
$h(x) < f(x)$ by \cref{real_lt_subst_left}.
\end{byCase}
\end{subproof}
$f(x) < 1$ or $f(x) = 1$ by \cref{intervalclosed}.
$1\in\reals$ by \cref{real_mul_ident}.
Show that $h(x) < 1$ or $h(x) = 1$.
\begin{subproof}
\begin{byCase}
\caseOf{$h(x) < f(x)$.}
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_trans}.
\caseOf{$f(x) = 1$.}
$h(x) < 1$ by \cref{real_lt_subst_right}.
\end{byCase}
\caseOf{$h(x) = f(x)$.}
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_subst_left}.
\caseOf{$f(x) = 1$.}
$h(x) = 1$ by \cref{real_add_eq_subst}.
\end{byCase}
\end{byCase}
\end{subproof}
\end{byCase}
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I_0$ by Definition 75.
Hence $\img{h}{X}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I_0$ by Definition 1, Definition 160, Proposition 235, Proposition 349, Proposition 356.
$h$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$ by Lemma 470.
LaTeX source
\begin{proof}
$I_0\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$I_0$ is a subspace of $\reals$ with respect to $\standardTopologyR$
by \cref{subspace_of,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
Let $j = \identity{I_0}$.
Let $f_0 = j\circ f$.
Let $g_0 = j\circ g$.
$f\in\funs{X}{I_0}$ and $g\in\funs{X}{I_0}$ by \cref{continuous}.
$f$ is right-unique and $f$ is a relation and $\dom{f} = X$ and
$g$ is right-unique and $g$ is a relation and $\dom{g} = X$
by \cref{funs_is_function,function_rightunique,funs_is_relation,funs}.
$f\in\rels{X}{I_0}$ and $g\in\rels{X}{I_0}$ by \cref{funs_subseteq_rels,subseteq}.
$\ran{f}\subseteq I_0$ and $\ran{g}\subseteq I_0$ by \cref{rels_ran_subseteq}.
$\dom{j} = I_0$ and $j$ is right-unique and $j$ is a relation
by \cref{id_dom,id_rightunique,id_is_relation}.
$f_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$ and
$g_0$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{continuous_expand_range}.
For all $x\in X$ we have $f_0(x) = f(x)$
by \cref{circ_apply,funs_elim,id_apply}.
For all $x\in X$ we have $g_0(x) = g(x)$
by \cref{circ_apply,funs_elim,id_apply}.
$h$ is continuous from $X$ to $\reals$ with respect to $T$ and $\standardTopologyR$
by \cref{real_function_multiplication_continuous}.
$h\in\funs{X}{\reals}$ and $h$ is a function by \cref{continuous,funs_is_function}.
Show that for all $x\in X$ we have $h(x)\in I_0$.
\begin{subproof}
Fix $x\in X$.
We have $f(x)\in I_0$ and $g(x)\in I_0$ by \cref{continuous,funs_type_apply}.
$f(x)\in\reals$ and $g(x)\in\reals$ by \cref{intervalclosed}.
$0 \leq f(x)$ and $f(x) \leq 1$ and $0 \leq g(x)$ and $g(x) \leq 1$
by \cref{intervalclosed}.
We have $(x, f(x) \rmul g(x))\in h$.
$h(x) = f(x) \rmul g(x)$ by \cref{function_apply_intro}.
$h(x)\in\reals$ by \cref{funs_type_apply}.
$f(x) = 0$ or $0 < f(x)$ by \cref{real_lt_trichotomy}.
$0 \leq f(x) \rmul g(x)$
by \cref{real_mul_zero,real_mul_comm,real_lt_imp_leq,real_mul_pos_pos_gt}.
$0 \leq h(x)$.
Show that $h(x) \leq 1$.
\begin{subproof}
\begin{byCase}
\caseOf{$f(x) = 0$.}
$h(x) = 0$ by \cref{real_mul_zero,real_add_eq_subst}.
$h(x) \leq 1$ by \cref{real_zero_lt_one,real_lt_imp_leq}.
\caseOf{$0 < f(x)$.}
Show that $h(x) < f(x)$ or $h(x) = f(x)$.
\begin{subproof}
$g(x) = 1$ or $g(x) < 1$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$g(x) = 1$.}
$h(x) = f(x) \rmul 1$ by \cref{real_add_eq_subst}.
$h(x) = f(x)$ by \cref{real_mul_comm,real_mul_ident}.
\caseOf{$g(x) < 1$.}
$f(x) \rmul g(x) < f(x) \rmul 1$
by \cref{real_lt_mul_pos,real_mul_comm,real_naturals_subset_reals,real_one_in_naturals,subseteq}.
$f(x) \rmul 1 = f(x)$ by \cref{real_mul_comm,real_mul_ident}.
$f(x) \rmul g(x) < f(x)$ by \cref{real_lt_subst_right}.
$h(x) < f(x)$ by \cref{real_lt_subst_left}.
\end{byCase}
\end{subproof}
$f(x) < 1$ or $f(x) = 1$ by \cref{intervalclosed}.
$1\in\reals$ by \cref{real_mul_ident}.
Show that $h(x) < 1$ or $h(x) = 1$.
\begin{subproof}
\begin{byCase}
\caseOf{$h(x) < f(x)$.}
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_trans}.
\caseOf{$f(x) = 1$.}
$h(x) < 1$ by \cref{real_lt_subst_right}.
\end{byCase}
\caseOf{$h(x) = f(x)$.}
\begin{byCase}
\caseOf{$f(x) < 1$.}
$h(x) < 1$ by \cref{real_lt_subst_left}.
\caseOf{$f(x) = 1$.}
$h(x) = 1$ by \cref{real_add_eq_subst}.
\end{byCase}
\end{byCase}
\end{subproof}
\end{byCase}
\end{subproof}
$h(x)\in I_0$ by \cref{intervalclosed}.
\end{subproof}
Hence $\img{h}{X}\subseteq I_0$
by \cref{subseteq,img_iff,continuous,funs_is_function,function_apply_iff}.
$h$ is continuous from $X$ to $I_0$ with respect to $T$ and $T_0$
by \cref{continuous_subspace_range}.
\end{proof}
$n$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ iff for all $G,g,p_1$ such that $g$ is a bijection from $n$ to $G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ and $G$ is inhabited and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G}$ there exists $h$ such that $h$ is continuous from $P$ to $\intervalclosed{0}{1}$ with respect to $T_0$ and $T_I$ and $h(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$ then $h(x) = 0$.
LaTeX source
\begin{definition}
\label{product_unit_interval_property}
$n$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ iff
for all $G,g,p_1$ such that
$g$ is a bijection from $n$ to $G$ and
$G\subseteq S$ and
$G$ is inhabited and
$p_1\in\inters{G}$
there exists $h$ such that
$h$ is continuous from $P$ to $\intervalclosed{0}{1}$ with respect to $T_0$ and $T_I$ and
$h(p_1) = 1$ and
for all $x\in P$ if $x\notin\inters{G}$ then $h(x) = 0$.
\end{definition}
Assume $f$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$.
Assume $f(p_1) = 1$.
Assume for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ then $f(x) = 0$.
Then there exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ then $h(x) = 0$.
LaTeX source
\begin{lemma}
\label{prepared_product_unit_interval_witness}
Assume $f$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$.
Assume $f(p_1) = 1$.
Assume for all $x\in P$ if $x\notin A$ then $f(x) = 0$.
Then there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p_1) = 1$ and
for all $x\in P$ if $x\notin A$ then $h(x) = 0$.
\end{lemma}
Proof
Take $h$ such that $h = f$.
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$.
$h(p_1) = 1$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ then $h(x) = 0$ by assumption.
LaTeX source
\begin{proof}
Take $h$ such that $h = f$.
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$.
$h(p_1) = 1$.
For all $x\in P$ if $x\notin A$ then $h(x) = 0$ by assumption.
\end{proof}
Assume $\phi$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$.
Assume $\phi(p_1) = 1$.
Assume for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A_0$ then $\phi(x) = 0$.
Assume $G = \{A_0\}$.
Then there exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$ then $h(x) = 0$.
LaTeX source
\begin{lemma}
\label{singleton_product_unit_interval_witness}
Assume $\phi$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$.
Assume $\phi(p_1) = 1$.
Assume for all $x\in P$ if $x\notin A_0$ then $\phi(x) = 0$.
Assume $G = \{A_0\}$.
Then there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p_1) = 1$ and
for all $x\in P$ if $x\notin\inters{G}$ then $h(x) = 0$.
\end{lemma}
Proof
Follows by Definition 1, Lemma 513, Proposition 36.
LaTeX source
\begin{proof}
Follows by \cref{inters_singleton,subseteq,prepared_product_unit_interval_witness}.
\end{proof}
Let $P = \productFamily{X}$.
Let $T_0 = \productTopologyIndexed{T}{X}$.
Let $S = \productSubbasis{T}{X}$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $X$ is a function.
Assume $T$ is a function.
Assume $\dom{T} = \dom{X}$.
Assume $\dom{X}$ is inhabited.
Suppose for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is completely regular with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$.
Suppose $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$.
Suppose $F$ is finite and inhabited.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{F}$.
Then there exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{F}$ then $h(x) = 0$.
LaTeX source
\begin{lemma}
\label{finite_unit_interval_product_continuous}
Let $P = \productFamily{X}$.
Let $T_0 = \productTopologyIndexed{T}{X}$.
Let $S = \productSubbasis{T}{X}$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
Assume $X$ is a function.
Assume $T$ is a function.
Assume $\dom{T} = \dom{X}$.
Assume $\dom{X}$ is inhabited.
Suppose for all $\alpha\in\dom{X}$ we have $\apply{X}{\alpha}$ is completely regular with respect to $\apply{T}{\alpha}$.
Suppose $F\subseteq S$.
Suppose $F$ is finite and inhabited.
Assume $p\in\inters{F}$.
Then there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p) = 1$ and
for all $x\in P$ if $x\notin\inters{F}$ then $h(x) = 0$.
\end{lemma}
Proof
Let $A = \{ n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{$\initialSegment{n}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$} \}$.
Claim: For all $G,g,p_1$ such that $g$ is a bijection from $\initialSegment{1}$ to $G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ and $G$ is inhabited and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G}$ there exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$ then $h(x) = 0$.
Fix $G$.
Fix $g$.
Fix $p_1$ such that $g$ is a bijection from $\initialSegment{1}$ to $G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ and $G$ is inhabited and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G}$.
$g$ is a function and $\dom{g} = \initialSegment{1}$ by Proposition 390, Proposition 391.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Lemma 119, Proposition 20.
Let $A_0 = g(1)$.
$(1,A_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ by Proposition 348.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\initialSegment{1}}{G}$ by Definition 58.
$\ran{g} = G$ by Corollary 7.
$A_0\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Proposition 208.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\{A_0\}$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$ such that $g(x)=z$ by Definition 57, Definition 58.
$x = 1$ by Lemma 119, Proposition 22.
$A_0 = z$.
Thus $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\{A_0\}$ by Proposition 22.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\{A_0\}$ by Definition 1.
$\{A_0\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ by Proposition 25.
$G = \{A_0\}$ by Proposition 3.
Take $\class{latex-symbol-tip latex-symbol-id-beta}{\beta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ such that $A_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{T}{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 1, Definition 172.
Take $U_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ such that $A_0 = \preimg{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}{U_0}$ by Definition 171.
$\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{P}{\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}$ by Lemma 191.
$\ran{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Proposition 363.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 1, Proposition 249, Proposition 359.
$p_1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Proposition 30.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 1, Definition 167.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ such that $p_1\mathrel{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}} y$ by Proposition 246.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ such that $(p_1,y) = (z,\apply{z}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}})$ by Definition 170.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}} = y$ by Axiom 6.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a topology on $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 286.
Let $C = \apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U_0$.
$C$ is closed in $\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 149, Proposition 70, Proposition 91, Proposition 97.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-notin}{\notin} C$ by Proposition 87.
Take $f$ such that $f$ is continuous from $\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ to $I_0$ with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ and $T_I$ and $f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}) = 1$ and for all $u\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $f(u) = 0$ by Definition 286.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}{I_0}$ and $f$ is a function and $\dom{f} = \apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 55, Definition 160, Proposition 356.
$\ran{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f}$ by Definition 1, Definition 55.
Let $\phi = f\class{latex-symbol-tip latex-symbol-id-circ}{\circ}\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$.
$\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ is continuous from $P$ to $\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ with respect to $T_0$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Lemma 366.
$\phi$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ by Lemma 165.
$\phi$ is a function by Definition 160, Proposition 356.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1, Definition 55.
$(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}, f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 348.
$(p_1,\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 170.
$(p_1, f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}))\class{latex-symbol-tip latex-symbol-id-in}{\in}\phi$ by Proposition 257.
$\phi(p_1) = f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}})$ by Proposition 346.
$\phi(p_1) = 1$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A_0$ then $\phi(x) = 0$ by Definition 1, Definition 55, Definition 160, Definition 167, Definition 170, Proposition 85, Proposition 246, Proposition 257, Proposition 346, Proposition 348, Proposition 356.
Claim: There exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$ then $h(x) = 0$.
Follows by Lemma 514.
$\initialSegment{1}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ by Definition 287.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by definition.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by definition.
Claim: For all $G,g,p_1$ such that $g$ is a bijection from $\initialSegment{n + 1}$ to $G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ and $G$ is inhabited and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G}$ there exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$ then $h(x) = 0$.
Fix $G$.
Fix $g$.
Fix $p_1$ such that $g$ is a bijection from $\initialSegment{n + 1}$ to $G$ and $G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ and $G$ is inhabited and $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G}$.
$g$ is a function and $\dom{g} = \initialSegment{n + 1}$ by Proposition 390, Proposition 391.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Axiom 45, Definition 84.
Let $A_0 = g(n + 1)$.
Let $G_1 = \img{g}{\initialSegment{n}}$.
$\initialSegment{n}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \initialSegment{n + 1}$ by Lemma 121.
We have $G_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ by Definition 1, Definition 58, Proposition 236, Proposition 238, Corollary 7.
$G_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ by Proposition 6.
$A_0\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Definition 58, Proposition 208, Proposition 348, Corollary 7.
For all $z$ such that $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\union\{A_0\}$ by Definition 57, Definition 58, Lemma 122, Proposition 20, Proposition 38, Proposition 39, Proposition 235, Proposition 348.
$G\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G_1\union\{A_0\}$ by Definition 1.
$G_1\union\{A_0\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} G$ by Proposition 25, Proposition 44.
Hence $G = G_1\union\{A_0\}$ by Proposition 3.
Take $\class{latex-symbol-tip latex-symbol-id-beta}{\beta}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ such that $A_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\productSubbasisAt{T}{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 1, Definition 172.
Take $U_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ such that $A_0 = \preimg{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}{U_0}$ by Definition 171.
$\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{P}{\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}$ by Lemma 191.
$\ran{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Proposition 363.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 1, Proposition 249, Proposition 359.
$p_1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Proposition 30.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 1, Definition 167.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$ such that $p_1\mathrel{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}} y$ by Proposition 246.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ such that $(p_1,y) = (z,\apply{z}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}})$ by Definition 170.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}} = y$ by Axiom 6.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in} U_0$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a topology on $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 286.
Let $C = \apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} U_0$.
$C$ is closed in $\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 149, Proposition 70, Proposition 91, Proposition 97.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-notin}{\notin} C$ by Proposition 87.
Take $f$ such that $f$ is continuous from $\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ to $I_0$ with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ and $T_I$ and $f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}) = 1$ and for all $u\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $f(u) = 0$ by Definition 286.
$f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}{I_0}$ and $f$ is a function and $\dom{f} = \apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 55, Definition 160, Proposition 356.
$\ran{\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{f}$ by Definition 1, Definition 55.
Let $\phi = f\class{latex-symbol-tip latex-symbol-id-circ}{\circ}\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$.
$\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ is continuous from $P$ to $\apply{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ with respect to $T_0$ and $\apply{T}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Lemma 366.
$\phi$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ by Lemma 165.
$\phi$ is a function by Definition 160, Proposition 356.
$\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{f}$ by Definition 1, Definition 55.
$(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}, f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}))\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Proposition 348.
$(p_1,\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{X}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}$ by Definition 170.
$(p_1, f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}}))\class{latex-symbol-tip latex-symbol-id-in}{\in}\phi$ by Proposition 257.
$\phi(p_1) = f(\apply{p_1}{\class{latex-symbol-tip latex-symbol-id-beta}{\beta}})$ by Proposition 346.
$\phi(p_1) = 1$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A_0$ then $\phi(x) = 0$ by Definition 1, Definition 55, Definition 160, Definition 167, Definition 170, Proposition 85, Proposition 246, Proposition 257, Proposition 346, Proposition 348, Proposition 356.
Take $x_0$ such that $x_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ by Lemma 123.
$x_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Definition 1, Lemma 121, Proposition 391.
$g(x_0)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ by Proposition 235, Proposition 348.
$G_1$ is inhabited.
For all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $p_1\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Definition 58, Proposition 30, Proposition 208, Proposition 235, Proposition 346, Proposition 348, Corollary 7.
$p_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G_1}$ by Proposition 30.
Let $q = \restrl{g}{\initialSegment{n}}$.
$q$ is a function by Proposition 383.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ by Definition 1, Lemma 121, Proposition 391.
$\initialSegment{n}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{g}$ by Definition 1.
$\dom{q} = \initialSegment{n}$ by Definition 1, Proposition 70, Corollary 3.
$q\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{n}}{G_1}$ by Proposition 4, Proposition 235, Proposition 263, Proposition 348, Proposition 358.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n}$ such that $q(x) = w$ by Proposition 235, Proposition 346, Proposition 384.
Thus $q$ is a bijection from $\initialSegment{n}$ to $G_1$ by Definition 57, Definition 58, Proposition 384, Proposition 386.
$\initialSegment{n}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ by definition.
Take $h_0$ such that $h_0$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h_0(p_1) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G_1}$ then $h_0(x) = 0$ by Definition 1, Definition 287.
Let $h = \{(x, h_0(x) \rmul \phi(x)) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} P\}$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a topology on $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 286.
$T_0$ is a topology on $P$ by Definition 115, Definition 173, Lemma 76, Lemma 177.
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ by Lemma 512.
$h$ is a function by Definition 160, Proposition 356.
$h_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{P}{I_0}$ and $\phi\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{P}{I_0}$ by Definition 160.
We have $(p_1, h_0(p_1) \rmul \phi(p_1))\class{latex-symbol-tip latex-symbol-id-in}{\in} h$.
$h(p_1) = h_0(p_1) \rmul \phi(p_1)$ by Proposition 346.
$h(p_1) = 1$ by Axiom 21.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$ then $h(x) = 0$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Assume $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G}$.
$h$ is a function by Definition 160, Proposition 356.
$h_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{P}{I_0}$ and $\phi\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{P}{I_0}$ by Definition 160.
We have $(x, h_0(x) \rmul \phi(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} h$.
$h(x) = h_0(x) \rmul \phi(x)$ by Proposition 346.
We have $h_0(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75, Proposition 361.
$\phi(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75, Proposition 361.
Claim: $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{G_1}$.
Suppose not.
For all $B$ such that $B\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ by Axiom 5, Definition 1, Proposition 22, Proposition 30.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{G}$ by Proposition 30.
Contradiction.
$h_0(x) = 0$.
$h(x) = 0$ by Proposition 439.
$\phi(x) = 0$.
$h(x) = 0$ by Axiom 20, Proposition 439.
LaTeX source
\begin{byCase}
\caseOf{$x\in A_0$.}
Show that $x\notin\inters{G_1}$.
\begin{subproof}
Suppose not.
For all $B$ such that $B\in G$ we have $x\in B$
by \cref{subseteq,union_iff,singleton_iff,inters_iff_forall}.
$x\in\inters{G}$ by \cref{inters_iff_forall}.
Contradiction.
\end{subproof}
$h_0(x) = 0$.
$h(x) = 0$ by \cref{real_mul_zero}.
\caseOf{$x\notin A_0$.}
$\phi(x) = 0$.
$h(x) = 0$ by \cref{real_mul_comm,real_mul_zero}.
\end{byCase}
Follows by definition.
$\initialSegment{n + 1}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ by Definition 287.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by definition.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that there exists a bijection from $\initialSegment{k}$ to $F$ by Definition 89.
Take $g$ such that $g$ is a bijection from $\initialSegment{k}$ to $F$.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Proposition 445.
$\initialSegment{k}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ by definition.
Therefore there exists $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(p) = 1$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{F}$ then $h(x) = 0$ by Definition 287.
LaTeX source
\begin{proof}
Let $A = \{ n\in\naturalsPlus \mid \text{$\initialSegment{n}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$} \}$.
Show that for all $G,g,p_1$ such that
$g$ is a bijection from $\initialSegment{1}$ to $G$ and
$G\subseteq S$ and
$G$ is inhabited and
$p_1\in\inters{G}$
there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p_1) = 1$ and
for all $x\in P$ if $x\notin\inters{G}$ then $h(x) = 0$.
\begin{subproof}
Fix $G$.
Fix $g$.
Fix $p_1$ such that
$g$ is a bijection from $\initialSegment{1}$ to $G$ and
$G\subseteq S$ and
$G$ is inhabited and
$p_1\in\inters{G}$.
$g$ is a function and $\dom{g} = \initialSegment{1}$ by \cref{bijection_is_function,bijections_dom}.
$1\in\dom{g}$ by \cref{initial_segment_one,singleton_intro}.
Let $A_0 = g(1)$.
$(1,A_0)\in g$ by \cref{function_apply_elim}.
$g\in\surj{\initialSegment{1}}{G}$ by \cref{bijections}.
$\ran{g} = G$ by \cref{ran_of_surj}.
$A_0\in G$ by \cref{ran_iff}.
Show that for all $z\in G$ we have $z\in\{A_0\}$.
\begin{subproof}
Fix $z\in G$.
Take $x\in\initialSegment{1}$ such that $g(x)=z$ by \cref{bijections,surj}.
$x = 1$ by \cref{initial_segment_one,singleton_iff}.
$A_0 = z$.
Thus $z\in\{A_0\}$ by \cref{singleton_iff}.
\end{subproof}
$G\subseteq\{A_0\}$ by \cref{subseteq}.
$\{A_0\}\subseteq G$ by \cref{singleton_subset_intro}.
$G = \{A_0\}$ by \cref{subseteq_antisymmetric}.
Take $\beta\in\dom{X}$ such that $A_0\in\productSubbasisAt{T}{X}{\beta}$
by \cref{subseteq,product_subbasis_union_indexed}.
Take $U_0\in\apply{T}{\beta}$ such that $A_0 = \preimg{\piIndex{X}{\beta}}{U_0}$ by \cref{product_subbasis_indexed}.
$\piIndex{X}{\beta}\in\funs{P}{\apply{X}{\beta}}$ by \cref{projection_map_indexed_function}.
$\ran{\piIndex{X}{\beta}}\subseteq \apply{X}{\beta}$ by \cref{funs_ran}.
$A_0\subseteq P$ by \cref{funs_elim,preimg_subseteq_dom,subseteq}.
$p_1\in A_0$ by \cref{inters_iff_forall}.
$\apply{p_1}{\beta}\in\apply{X}{\beta}$ by \cref{subseteq,indexed_product}.
Take $y\in U_0$ such that $p_1\mathrel{\piIndex{X}{\beta}} y$ by \cref{preimg_iff}.
Take $z\in P$ such that $(p_1,y) = (z,\apply{z}{\beta})$ by \cref{projection_map_indexed}.
$\apply{p_1}{\beta} = y$ by \cref{pair_eq_iff}.
$\apply{p_1}{\beta}\in U_0$.
For all $\alpha\in\dom{X}$ we have $\apply{T}{\alpha}$ is a topology on $\apply{X}{\alpha}$
by \cref{completely_regular_space}.
Let $C = \apply{X}{\beta}\setminus U_0$.
$C$ is closed in $\apply{X}{\beta}$ with respect to $\apply{T}{\beta}$
by \cref{open_in,topology_on,subseteq,pow_iff,setminus_subseteq,setminus_setminus,inter_absorb_supseteq_left,closed_in}.
$\apply{p_1}{\beta}\notin C$ by \cref{setminus_elim_right}.
Take $f$ such that
$f$ is continuous from $\apply{X}{\beta}$ to $I_0$ with respect to $\apply{T}{\beta}$ and $T_I$ and
$f(\apply{p_1}{\beta}) = 1$ and
for all $u\in C$ we have $f(u) = 0$
by \cref{completely_regular_space}.
$f\in\funs{\apply{X}{\beta}}{I_0}$ and $f$ is a function and $\dom{f} = \apply{X}{\beta}$
by \cref{continuous,funs_is_function,funs}.
$\ran{\piIndex{X}{\beta}}\subseteq\dom{f}$ by \cref{funs,subseteq}.
Let $\phi = f\circ\piIndex{X}{\beta}$.
$\piIndex{X}{\beta}$ is continuous from $P$ to $\apply{X}{\beta}$ with respect to $T_0$ and $\apply{T}{\beta}$
by \cref{projection_map_indexed_continuous}.
$\phi$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$
by \cref{continuous_composite}.
$\phi$ is a function by \cref{continuous,funs_is_function}.
$\apply{p_1}{\beta}\in\dom{f}$ by \cref{funs,subseteq}.
$(\apply{p_1}{\beta}, f(\apply{p_1}{\beta}))\in f$ by \cref{function_apply_elim}.
$(p_1,\apply{p_1}{\beta})\in\piIndex{X}{\beta}$ by \cref{projection_map_indexed}.
$(p_1, f(\apply{p_1}{\beta}))\in\phi$ by \cref{circ_iff}.
$\phi(p_1) = f(\apply{p_1}{\beta})$ by \cref{function_apply_intro}.
$\phi(p_1) = 1$.
For all $x\in P$ if $x\notin A_0$ then $\phi(x) = 0$
by \cref{projection_map_indexed,preimg_iff,indexed_product,setminus_intro,continuous,funs_is_function,funs,subseteq,function_apply_elim,circ_iff,function_apply_intro}.
Show that there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p_1) = 1$ and
for all $x\in P$ if $x\notin\inters{G}$ then $h(x) = 0$.
\begin{subproof}
Follows by \cref{singleton_product_unit_interval_witness}.
\end{subproof}
\end{subproof}
$\initialSegment{1}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$
by \cref{product_unit_interval_property}.
$1\in\naturalsPlus$ by \cref{real_one_in_naturals}.
$1\in A$ by definition.
Show that for all $n\in A$ we have $n + 1\in A$.
\begin{subproof}
Fix $n\in A$.
$n\in\naturalsPlus$ by definition.
Show that for all $G,g,p_1$ such that
$g$ is a bijection from $\initialSegment{n + 1}$ to $G$ and
$G\subseteq S$ and
$G$ is inhabited and
$p_1\in\inters{G}$
there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p_1) = 1$ and
for all $x\in P$ if $x\notin\inters{G}$ then $h(x) = 0$.
\begin{subproof}
Fix $G$.
Fix $g$.
Fix $p_1$ such that
$g$ is a bijection from $\initialSegment{n + 1}$ to $G$ and
$G\subseteq S$ and
$G$ is inhabited and
$p_1\in\inters{G}$.
$g$ is a function and $\dom{g} = \initialSegment{n + 1}$ by \cref{bijection_is_function,bijections_dom}.
$n + 1\in\dom{g}$ by \cref{initial_segment_naturalsplus,real_naturals_closed_succ}.
Let $A_0 = g(n + 1)$.
Let $G_1 = \img{g}{\initialSegment{n}}$.
$\initialSegment{n}\subseteq \initialSegment{n + 1}$ by \cref{initial_segment_subset_succ}.
We have $G_1\subseteq G$
by \cref{subseteq,img_subseteq,img_dom,bijections,ran_of_surj}.
$G_1\subseteq S$ by \cref{subseteq_transitive}.
$A_0\in G$ by \cref{function_apply_elim,ran_iff,bijections,ran_of_surj}.
For all $z$ such that $z\in G$ we have $z\in G_1\union\{A_0\}$
by \cref{bijections,surj,initial_segment_succ_split,function_apply_elim,img_iff,union_intro_left,union_intro_right,singleton_intro}.
$G\subseteq G_1\union\{A_0\}$ by \cref{subseteq}.
$G_1\union\{A_0\}\subseteq G$ by \cref{singleton_subset_intro,union_subsets_is_subset}.
Hence $G = G_1\union\{A_0\}$ by \cref{subseteq_antisymmetric}.
Take $\beta\in\dom{X}$ such that $A_0\in\productSubbasisAt{T}{X}{\beta}$
by \cref{subseteq,product_subbasis_union_indexed}.
Take $U_0\in\apply{T}{\beta}$ such that $A_0 = \preimg{\piIndex{X}{\beta}}{U_0}$ by \cref{product_subbasis_indexed}.
$\piIndex{X}{\beta}\in\funs{P}{\apply{X}{\beta}}$ by \cref{projection_map_indexed_function}.
$\ran{\piIndex{X}{\beta}}\subseteq \apply{X}{\beta}$ by \cref{funs_ran}.
$A_0\subseteq P$ by \cref{funs_elim,preimg_subseteq_dom,subseteq}.
$p_1\in A_0$ by \cref{inters_iff_forall}.
$\apply{p_1}{\beta}\in\apply{X}{\beta}$ by \cref{subseteq,indexed_product}.
Take $y\in U_0$ such that $p_1\mathrel{\piIndex{X}{\beta}} y$ by \cref{preimg_iff}.
Take $z\in P$ such that $(p_1,y) = (z,\apply{z}{\beta})$ by \cref{projection_map_indexed}.
$\apply{p_1}{\beta} = y$ by \cref{pair_eq_iff}.
$\apply{p_1}{\beta}\in U_0$.
For all $\alpha\in\dom{X}$ we have $\apply{T}{\alpha}$ is a topology on $\apply{X}{\alpha}$
by \cref{completely_regular_space}.
Let $C = \apply{X}{\beta}\setminus U_0$.
$C$ is closed in $\apply{X}{\beta}$ with respect to $\apply{T}{\beta}$
by \cref{open_in,topology_on,subseteq,pow_iff,setminus_subseteq,setminus_setminus,inter_absorb_supseteq_left,closed_in}.
$\apply{p_1}{\beta}\notin C$ by \cref{setminus_elim_right}.
Take $f$ such that
$f$ is continuous from $\apply{X}{\beta}$ to $I_0$ with respect to $\apply{T}{\beta}$ and $T_I$ and
$f(\apply{p_1}{\beta}) = 1$ and
for all $u\in C$ we have $f(u) = 0$
by \cref{completely_regular_space}.
$f\in\funs{\apply{X}{\beta}}{I_0}$ and $f$ is a function and $\dom{f} = \apply{X}{\beta}$
by \cref{continuous,funs_is_function,funs}.
$\ran{\piIndex{X}{\beta}}\subseteq\dom{f}$ by \cref{funs,subseteq}.
Let $\phi = f\circ\piIndex{X}{\beta}$.
$\piIndex{X}{\beta}$ is continuous from $P$ to $\apply{X}{\beta}$ with respect to $T_0$ and $\apply{T}{\beta}$
by \cref{projection_map_indexed_continuous}.
$\phi$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$
by \cref{continuous_composite}.
$\phi$ is a function by \cref{continuous,funs_is_function}.
$\apply{p_1}{\beta}\in\dom{f}$ by \cref{funs,subseteq}.
$(\apply{p_1}{\beta}, f(\apply{p_1}{\beta}))\in f$ by \cref{function_apply_elim}.
$(p_1,\apply{p_1}{\beta})\in\piIndex{X}{\beta}$ by \cref{projection_map_indexed}.
$(p_1, f(\apply{p_1}{\beta}))\in\phi$ by \cref{circ_iff}.
$\phi(p_1) = f(\apply{p_1}{\beta})$ by \cref{function_apply_intro}.
$\phi(p_1) = 1$.
For all $x\in P$ if $x\notin A_0$ then $\phi(x) = 0$
by \cref{projection_map_indexed,preimg_iff,indexed_product,setminus_intro,continuous,funs_is_function,funs,subseteq,function_apply_elim,circ_iff,function_apply_intro}.
Take $x_0$ such that $x_0\in\initialSegment{n}$ by \cref{initial_segment_inhabited}.
$x_0\in\dom{g}$ by \cref{initial_segment_subset_succ,bijections_dom,subseteq}.
$g(x_0)\in G_1$ by \cref{function_apply_elim,img_iff}.
$G_1$ is inhabited.
For all $B$ such that $B\in G_1$ we have $p_1\in B$
by \cref{img_iff,bijections,function_apply_intro,function_apply_elim,ran_iff,ran_of_surj,inters_iff_forall}.
$p_1\in\inters{G_1}$ by \cref{inters_iff_forall}.
Let $q = \restrl{g}{\initialSegment{n}}$.
$q$ is a function by \cref{restrl_of_function_is_function}.
For all $x\in\initialSegment{n}$ we have $x\in\dom{g}$ by \cref{initial_segment_subset_succ,bijections_dom,subseteq}.
$\initialSegment{n}\subseteq\dom{g}$ by \cref{subseteq}.
$\dom{q} = \initialSegment{n}$ by \cref{subseteq,dom_of_restrl_eq_inter,inter_absorb_supseteq_left}.
$q\in\funs{\initialSegment{n}}{G_1}$ by \cref{function_apply_elim,restrl_subseteq,elem_subseteq,img_iff,funs_intro}.
For all $w\in G_1$ there exists $x\in\initialSegment{n}$ such that $q(x) = w$
by \cref{img_iff,function_apply_intro,restrl_of_function_apply}.
Thus $q$ is a bijection from $\initialSegment{n}$ to $G_1$ by \cref{surj,restrl_of_function_apply,bijections,injective_function}.
$\initialSegment{n}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ by definition.
Take $h_0$ such that
$h_0$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h_0(p_1) = 1$ and
for all $x\in P$ if $x\notin\inters{G_1}$ then $h_0(x) = 0$
by \cref{subseteq,product_unit_interval_property}.
Let $h = \{(x, h_0(x) \rmul \phi(x)) \mid x\in P\}$.
For all $\alpha\in\dom{X}$ we have $\apply{T}{\alpha}$ is a topology on $\apply{X}{\alpha}$
by \cref{completely_regular_space}.
$T_0$ is a topology on $P$ by
\cref{product_subbasis_finite_intersections_basis,product_topology_indexed,basis_topology_is_topology,basis_for_topology}.
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$
by \cref{unit_interval_product_continuous}.
$h$ is a function by \cref{continuous,funs_is_function}.
$h_0\in\funs{P}{I_0}$ and $\phi\in\funs{P}{I_0}$ by \cref{continuous}.
We have $(p_1, h_0(p_1) \rmul \phi(p_1))\in h$.
$h(p_1) = h_0(p_1) \rmul \phi(p_1)$ by \cref{function_apply_intro}.
$h(p_1) = 1$ by \cref{real_mul_ident}.
Show that for all $x\in P$ if $x\notin\inters{G}$ then $h(x) = 0$.
\begin{subproof}
Fix $x\in P$.
Assume $x\notin\inters{G}$.
$h$ is a function by \cref{continuous,funs_is_function}.
$h_0\in\funs{P}{I_0}$ and $\phi\in\funs{P}{I_0}$ by \cref{continuous}.
We have $(x, h_0(x) \rmul \phi(x))\in h$.
$h(x) = h_0(x) \rmul \phi(x)$ by \cref{function_apply_intro}.
We have $h_0(x)\in\reals$ by \cref{funs_type_apply,intervalclosed,subseteq}.
$\phi(x)\in\reals$ by \cref{funs_type_apply,intervalclosed,subseteq}.
\begin{byCase}
\caseOf{$x\in A_0$.}
Show that $x\notin\inters{G_1}$.
\begin{subproof}
Suppose not.
For all $B$ such that $B\in G$ we have $x\in B$
by \cref{subseteq,union_iff,singleton_iff,inters_iff_forall}.
$x\in\inters{G}$ by \cref{inters_iff_forall}.
Contradiction.
\end{subproof}
$h_0(x) = 0$.
$h(x) = 0$ by \cref{real_mul_zero}.
\caseOf{$x\notin A_0$.}
$\phi(x) = 0$.
$h(x) = 0$ by \cref{real_mul_comm,real_mul_zero}.
\end{byCase}
\end{subproof}
Follows by definition.
\end{subproof}
$\initialSegment{n + 1}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$
by \cref{product_unit_interval_property}.
$n + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
$n + 1\in A$ by definition.
\end{subproof}
$A\subseteq\naturalsPlus$ by \cref{subseteq}.
Take $k\in\naturalsPlus$ such that there exists a bijection from $\initialSegment{k}$ to $F$ by \cref{finite}.
Take $g$ such that $g$ is a bijection from $\initialSegment{k}$ to $F$.
$k\in A$ by \cref{real_naturals_induction}.
$\initialSegment{k}$ is a product unit interval index with respect to $P$ and $T_0$ and $T_I$ and $S$ by definition.
Therefore there exists $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(p) = 1$ and
for all $x\in P$ if $x\notin\inters{F}$ then $h(x) = 0$
by \cref{product_unit_interval_property}.
\end{proof}
Assume $X$ is a function.
Assume $T$ is a function.
Assume $\dom{T} = \dom{X}$.
Assume $\dom{X}$ is inhabited.
Suppose for all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is completely regular with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$.
Then $\productFamily{X}$ is completely regular with respect to $\productTopologyIndexed{T}{X}$.
LaTeX source
\begin{theorem}
\label{product_completely_regular}
Assume $X$ is a function.
Assume $T$ is a function.
Assume $\dom{T} = \dom{X}$.
Assume $\dom{X}$ is inhabited.
Suppose for all $\alpha\in\dom{X}$ we have $\apply{X}{\alpha}$ is completely regular with respect to $\apply{T}{\alpha}$.
Then $\productFamily{X}$ is completely regular with respect to $\productTopologyIndexed{T}{X}$.
\end{theorem}
Proof
Let $P = \productFamily{X}$.
Let $T_0 = \productTopologyIndexed{T}{X}$.
Let $S = \productSubbasis{T}{X}$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is regular with respect to $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Lemma 511.
Hence $P$ is regular with respect to $T_0$ by Lemma 455.
Therefore $T_0$ is a topology on $P$ and $P$ has closed singletons with respect to $T_0$ by Definition 276.
Claim: For all $x,A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ and $A$ is closed in $P$ with respect to $T_0$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$ there exists $f$ such that $f$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $f(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $f(y) = 0$.
Fix $x$.
Fix $A$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ and $A$ is closed in $P$ with respect to $T_0$ and $x\class{latex-symbol-tip latex-symbol-id-notin}{\notin} A$.
Let $U = P\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} A$.
Hence $U$ is open in $P$ with respect to $T_0$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} U$ by Definition 149, Proposition 85.
For all $\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{X}$ we have $\apply{T}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ is a topology on $\apply{X}{\class{latex-symbol-tip latex-symbol-id-alpha}{\alpha}}$ by Definition 286.
Therefore $U\class{latex-symbol-tip latex-symbol-id-in}{\in}\basisTopology{\finiteIntersections{S}}{P}$ by Definition 103, Definition 115, Definition 126, Definition 173, Definition 286, Lemma 177.
Take $B\class{latex-symbol-tip latex-symbol-id-in}{\in}\finiteIntersections{S}$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} B$ and $B\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} U$ by Definition 114.
Take $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} S$ such that $F$ is finite and inhabited and $B = \inters{F}$ by Definition 125.
Take $h$ such that $h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and $h(x) = 1$ and for all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ if $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{F}$ then $h(y) = 0$ by Lemma 515.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $h(y) = 0$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} P$ by Definition 149.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 1.
$y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} U$ by Definition 6.
$y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} B$ by Definition 1.
$y\class{latex-symbol-tip latex-symbol-id-notin}{\notin}\inters{F}$.
$h(y) = 0$.
Follows by definition.
Hence $P$ is completely regular with respect to $T_0$ by Definition 286.
LaTeX source
\begin{proof}
Let $P = \productFamily{X}$.
Let $T_0 = \productTopologyIndexed{T}{X}$.
Let $S = \productSubbasis{T}{X}$.
Let $I_0 = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I_0}$.
For all $\alpha\in\dom{X}$ we have $\apply{X}{\alpha}$ is regular with respect to $\apply{T}{\alpha}$
by \cref{completely_regular_implies_regular}.
Hence $P$ is regular with respect to $T_0$ by \cref{product_regular}.
Therefore $T_0$ is a topology on $P$ and $P$ has closed singletons with respect to $T_0$
by \cref{regular_space}.
Show that for all $x,A$ such that $x\in P$ and $A$ is closed in $P$ with respect to $T_0$ and $x\notin A$
there exists $f$ such that
$f$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$f(x) = 1$ and
for all $y\in A$ we have $f(y) = 0$.
\begin{subproof}
Fix $x$.
Fix $A$ such that $x\in P$ and $A$ is closed in $P$ with respect to $T_0$ and $x\notin A$.
Let $U = P\setminus A$.
Hence $U$ is open in $P$ with respect to $T_0$ and $x\in U$ by \cref{closed_in,setminus_intro}.
For all $\alpha\in\dom{X}$ we have $\apply{T}{\alpha}$ is a topology on $\apply{X}{\alpha}$
by \cref{completely_regular_space}.
Therefore $U\in\basisTopology{\finiteIntersections{S}}{P}$
by \cref{open_in,product_subbasis_finite_intersections_basis,product_topology_indexed,topology_generated_by_subbasis,basis_for_topology,completely_regular_space}.
Take $B\in\finiteIntersections{S}$ such that $x\in B$ and $B\subseteq U$ by \cref{topology_generated_by_basis}.
Take $F\subseteq S$ such that $F$ is finite and inhabited and $B = \inters{F}$ by \cref{finite_intersections}.
Take $h$ such that
$h$ is continuous from $P$ to $I_0$ with respect to $T_0$ and $T_I$ and
$h(x) = 1$ and
for all $y\in P$ if $y\notin\inters{F}$ then $h(y) = 0$
by \cref{finite_unit_interval_product_continuous}.
Show that for all $y\in A$ we have $h(y) = 0$.
\begin{subproof}
Fix $y\in A$.
$A\subseteq P$ by \cref{closed_in}.
$y\in P$ by \cref{subseteq}.
$y\notin U$ by \cref{setminus}.
$y\notin B$ by \cref{subseteq}.
$y\notin\inters{F}$.
$h(y) = 0$.
\end{subproof}
Follows by definition.
\end{subproof}
Hence $P$ is completely regular with respect to $T_0$ by \cref{completely_regular_space}.
\end{proof}