Topology (Munkres)
§44 A Space-Filling Curve
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then $I$ is compact with respect to $T_I$.
LaTeX source
\begin{lemma}
\label{space_filling_domain_compact}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then $I$ is compact with respect to $T_I$.
\end{lemma}
Proof
Follows by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Lemma 365, Proposition 462.
LaTeX source
\begin{proof}
Follows by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,real_intervalclosed_compact_standard}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then $\productFamily{C}$ is Hausdorff with respect to $P$.
LaTeX source
\begin{lemma}
\label{space_filling_target_hausdorff}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\in\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\in\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then $\productFamily{C}$ is Hausdorff with respect to $P$.
\end{lemma}
Proof
We have $C$ is a function on $\initialSegment{1 + 1}$ and $S$ is a function on $\initialSegment{1 + 1}$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$I$ is Hausdorff with respect to $T_I$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Definition 75, Lemma 198, Lemma 200, Lemma 231, Lemma 395, Proposition 462, Theorem 19.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}$ we have $\apply{C}{i}$ is Hausdorff with respect to $\apply{S}{i}$ by Lemma 82, Lemma 83, Proposition 346.
Therefore $\productFamily{C}$ is Hausdorff with respect to $P$ by Axiom 42, Axiom 43, Axiom 45, Definition 84, Lemma 453, Proposition 437.
LaTeX source
\begin{proof}
We have $C$ is a function on $\initialSegment{1 + 1}$ and
$S$ is a function on $\initialSegment{1 + 1}$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$I$ is Hausdorff with respect to $T_I$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,intervalclosed,standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology,subspace_hausdorff}.
For all $i\in\initialSegment{1 + 1}$ we have $\apply{C}{i}$ is Hausdorff with respect to $\apply{S}{i}$
by \cref{function_apply_intro,real_lt_subst_left,real_lt_subst_right}.
Therefore $\productFamily{C}$ is Hausdorff with respect to $P$
by \cref{real_one_in_naturals,real_naturals_closed_succ,real_one_leq_naturalsplus,initial_segment_naturalsplus,real_add_eq_subst,product_hausdorff_31}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then $I$ is normal with respect to $T_I$.
LaTeX source
\begin{lemma}
\label{space_filling_domain_normal}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Then $I$ is normal with respect to $T_I$.
\end{lemma}
Proof
Follows by Definition 1, Definition 75, Definition 118, Definition 147, Definition 185, Lemma 76, Lemma 93, Lemma 198, Lemma 200, Lemma 516, Theorem 81.
LaTeX source
\begin{proof}
Follows by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,standard_metric_topology,standard_metric_is_metric,metrizable,intervalclosed,subseteq,subspace_of,subspace_metrizable,metrizable_normal}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $m_2 = 1 + 1$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}\}$.
Assume $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$.
Assume $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$.
Assume $y_1(1) = y_2(1)$.
Assume $y_1(m_2) = y_2(m_2)$.
Then $y_1 = y_2$.
LaTeX source
\begin{lemma}
\label{space_filling_square_point_eq}
Let $I = \intervalclosed{0}{1}$.
Let $m_2 = 1 + 1$.
Let $C = \{(i,I) \mid i\in\initialSegment{m_2}\}$.
Assume $y_1\in\productFamily{C}$.
Assume $y_2\in\productFamily{C}$.
Assume $y_1(1) = y_2(1)$.
Assume $y_1(m_2) = y_2(m_2)$.
Then $y_1 = y_2$.
\end{lemma}
Proof
Let $J = \initialSegment{m_2}$.
Therefore $C$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $i = 1$ or $i = m_2$ by Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 84, Lemma 25, Lemma 29.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $y_1(i) = y_2(i)$ by Axiom 6, Definition 1, Definition 167.
Therefore $y_1 = y_2$ by Definition 167, Lemma 438.
LaTeX source
\begin{proof}
Let $J = \initialSegment{m_2}$.
Therefore $C$ is a function on $J$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $i\in J$ we have $i = 1$ or $i = m_2$
by \cref{initial_segment_naturalsplus,real_naturals_leq_succ_elim,real_one_leq_naturalsplus,real_naturals_subset_reals,real_one_in_naturals,real_leq_antisym,subseteq}.
For all $i\in\dom{C}$ we have $y_1(i) = y_2(i)$ by \cref{indexed_product,subseteq,pair_eq_iff}.
Therefore $y_1 = y_2$ by \cref{indexed_product,functions_eq_iff}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Then $\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_product_compact_hausdorff}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Then $\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$.
\end{lemma}
Proof
$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 41, Axiom 42, Definition 1, Proposition 462.
Hence $0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 231.
Thus $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 19.
We have $T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
Therefore $I$ is Hausdorff with respect to $T_I$ by Definition 1, Definition 75, Lemma 198, Lemma 200, Lemma 395, Theorem 19.
Thus $D$ is closed in $I$ with respect to $T_I$ by Lemma 40, Lemma 44, Proposition 16, Proposition 25, Theorem 14.
Therefore $D$ is compact with respect to $T_D$ and $D$ is Hausdorff with respect to $T_D$ by Lemma 689, Theorem 19, Theorem 59.
We have $E$ is a function on $\naturalsPlus$ and $U$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{E}$ is inhabited by Axiom 42, Definition 1, Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ and $U(n) = T_D$ by Proposition 346.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $U(n)$ is a topology on $E(n)$ by Definition 1, Definition 147, Lemma 131, Proposition 346.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $E(n)$ is compact with respect to $U(n)$ and $E(n)$ is Hausdorff with respect to $U(n)$ by Definition 1, Proposition 346.
Claim: $\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$.
Follows by Axiom 42, Definition 1, Definition 55, Lemma 188, Theorem 95.
LaTeX source
\begin{proof}
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Hence $0\in I$ and $1\in I$ by \cref{intervalclosed,real_lt_imp_leq}.
Thus $D\subseteq I$ by \cref{upair_iff,subseteq}.
We have $T_I$ is a topology on $I$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
Therefore $I$ is Hausdorff with respect to $T_I$
by \cref{intervalclosed,subseteq,standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology,subspace_hausdorff}.
Thus $D$ is closed in $I$ with respect to $T_I$
by \cref{singleton_subset_intro,upair_intro_left,pair_is_finite,subseteq_finite_is_finite,finite_point_set_closed_hausdorff}.
Therefore $D$ is compact with respect to $T_D$ and $D$ is Hausdorff with respect to $T_D$
by \cref{space_filling_domain_compact,closed_subspace_compact,subspace_hausdorff}.
We have $E$ is a function on $\naturalsPlus$ and
$U$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{E}$ is inhabited by \cref{funs,real_one_in_naturals,subseteq}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ and $U(n) = T_D$ by \cref{function_apply_intro}.
For all $n\in\dom{E}$ we have $U(n)$ is a topology on $E(n)$ by \cref{function_apply_intro,subspace_topology_is_topology,subspace_of,subseteq}.
For all $n\in\dom{E}$ we have $E(n)$ is compact with respect to $U(n)$ and
$E(n)$ is Hausdorff with respect to $U(n)$
by \cref{function_apply_intro,subseteq}.
Show that $\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$.
\begin{subproof}
Follows by \cref{funs,real_one_in_naturals,subseteq,tychonoff_theorem,product_hausdorff_product}.
\end{subproof}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Then $\{0\}$ is open in $D$ with respect to $T_D$ and $\{1\}$ is open in $D$ with respect to $T_D$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_endpoint_discrete}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Then $\{0\}$ is open in $D$ with respect to $T_D$ and
$\{1\}$ is open in $D$ with respect to $T_D$.
\end{lemma}
Proof
We have $T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
$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 41, Axiom 42, Definition 1, Proposition 462.
Hence $0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 231.
Thus $0\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 16, Proposition 17.
Therefore $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 19.
Thus $I$ is Hausdorff with respect to $T_I$ by Definition 1, Definition 75, Lemma 198, Lemma 200, Lemma 395, Theorem 19.
Therefore $D$ has closed singletons with respect to $T_D$ by Definition 1, Definition 147, Definition 275, Lemma 40, Lemma 44, Lemma 131, Proposition 16, Proposition 22, Proposition 25, Theorem 14, Theorem 19.
Thus $D\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{0\}$ is open in $D$ with respect to $T_D$ and $D\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{1\}$ is open in $D$ with respect to $T_D$ by Definition 149, Definition 275, Proposition 97.
We have $D\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{0\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\{1\}$ by Definition 1, Proposition 19, Proposition 20, Proposition 21, Proposition 86, Proposition 87.
Therefore $\{1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{0\}$ by Axiom 39, Definition 1, Lemma 83, Proposition 19, Proposition 21, Proposition 22, Proposition 85.
We have $D\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{1\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\{0\}$ by Definition 1, Proposition 19, Proposition 20, Proposition 21, Proposition 86, Proposition 87.
Therefore $\{0\}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} D\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\{1\}$ by Axiom 39, Definition 1, Lemma 82, Proposition 19, Proposition 21, Proposition 22, Proposition 85.
Claim: $\{0\}$ is open in $D$ with respect to $T_D$ and $\{1\}$ is open in $D$ with respect to $T_D$.
Follows by Definition 103, Proposition 3.
LaTeX source
\begin{proof}
We have $T_I$ is a topology on $I$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Hence $0\in I$ and $1\in I$ by \cref{intervalclosed,real_lt_imp_leq}.
Thus $0\in D$ and $1\in D$ by \cref{upair_intro_left,upair_intro_right}.
Therefore $D\subseteq I$ by \cref{upair_iff,subseteq}.
Thus $I$ is Hausdorff with respect to $T_I$
by \cref{intervalclosed,subseteq,standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology,subspace_hausdorff}.
Therefore $D$ has closed singletons with respect to $T_D$
by \cref{subspace_hausdorff,subspace_topology_is_topology,subspace_of,singleton_subset_intro,pair_is_finite,singleton_iff,upair_intro_left,subseteq,subseteq_finite_is_finite,finite_point_set_closed_hausdorff,one_point_closed}.
Thus $D\setminus\{0\}$ is open in $D$ with respect to $T_D$ and
$D\setminus\{1\}$ is open in $D$ with respect to $T_D$
by \cref{one_point_closed,closed_in,setminus_subseteq}.
We have $D\setminus\{0\}\subseteq\{1\}$
by \cref{upair_iff,setminus_elim_left,setminus_elim_right,singleton_intro,singleton_elim,subseteq}.
Therefore $\{1\}\subseteq D\setminus\{0\}$
by \cref{singleton_elim,upair_iff,setminus_intro,singleton_iff,real_lt_irreflexive,real_lt_subst_right,subseteq}.
We have $D\setminus\{1\}\subseteq\{0\}$
by \cref{upair_iff,setminus_elim_left,setminus_elim_right,singleton_intro,singleton_elim,subseteq}.
Therefore $\{0\}\subseteq D\setminus\{1\}$
by \cref{singleton_elim,upair_iff,setminus_intro,singleton_iff,real_lt_irreflexive,real_lt_subst_left,subseteq}.
Show that $\{0\}$ is open in $D$ with respect to $T_D$ and
$\{1\}$ is open in $D$ with respect to $T_D$.
\begin{subproof}
Follows by \cref{subseteq_antisymmetric,open_in}.
\end{subproof}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $\preimg{\piIndex{E}{n}}{\{0\}}$ is open in $\productFamily{E}$ with respect to $P_B$ and $\preimg{\piIndex{E}{n}}{\{1\}}$ is open in $\productFamily{E}$ with respect to $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_coordinate_cylinders_open}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $n\in\naturalsPlus$.
Then $\preimg{\piIndex{E}{n}}{\{0\}}$ is open in $\productFamily{E}$ with respect to $P_B$ and
$\preimg{\piIndex{E}{n}}{\{1\}}$ is open in $\productFamily{E}$ with respect to $P_B$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ and $U$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(m) = D$ and $U(m) = T_D$ by Proposition 346.
$T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
$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 41, Axiom 42, Definition 1, Proposition 462.
Hence $0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 231.
Therefore $D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 19.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $U(m)$ is a topology on $E(m)$ by Definition 1, Definition 147, Lemma 131, Proposition 346.
Thus $\piIndex{E}{n}$ is continuous from $\productFamily{E}$ to $D$ with respect to $P_B$ and $T_D$ by Axiom 42, Definition 1, Definition 55, Lemma 366.
Claim: $\preimg{\piIndex{E}{n}}{\{0\}}$ is open in $\productFamily{E}$ with respect to $P_B$ and $\preimg{\piIndex{E}{n}}{\{1\}}$ is open in $\productFamily{E}$ with respect to $P_B$.
Follows by Definition 160, Lemma 694.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$ and
$U$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $m\in\naturalsPlus$ we have $E(m) = D$ and $U(m) = T_D$ by \cref{function_apply_intro}.
$T_I$ is a topology on $I$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Hence $0\in I$ and $1\in I$ by \cref{intervalclosed,real_lt_imp_leq}.
Therefore $D\subseteq I$ by \cref{upair_iff,subseteq}.
For all $m\in\dom{E}$ we have $U(m)$ is a topology on $E(m)$
by \cref{function_apply_intro,subspace_of,subseteq,subspace_topology_is_topology}.
Thus $\piIndex{E}{n}$ is continuous from $\productFamily{E}$ to $D$ with respect to $P_B$ and $T_D$
by \cref{funs,real_one_in_naturals,subseteq,projection_map_indexed_continuous}.
Show that $\preimg{\piIndex{E}{n}}{\{0\}}$ is open in $\productFamily{E}$ with respect to $P_B$ and
$\preimg{\piIndex{E}{n}}{\{1\}}$ is open in $\productFamily{E}$ with respect to $P_B$.
\begin{subproof}
Follows by \cref{space_filling_binary_endpoint_discrete,continuous}.
\end{subproof}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{k}}{D}$.
Then there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ we have $x(i) = a(i)$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_prefix_extension}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $k\in\naturalsPlus$.
Assume $a\in\funs{\initialSegment{k}}{D}$.
Then there exists $x\in\productFamily{E}$ such that
for all $i\in\initialSegment{k}$ we have $x(i) = a(i)$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 55, Proposition 3, Proposition 199, Proposition 200.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(m) = D$ by Proposition 346.
Let $t = \{(i,0) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\initialSegment{k}\}$.
For all $i,y_1,y_2$ such that $(i,y_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} t$ and $(i,y_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} t$ we have $y_1 = y_2$ by Axiom 6.
Hence $t$ is a function and $\dom{t} = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\initialSegment{k}$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{t}$ we have $t(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Proposition 16, Proposition 346.
Thus $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\initialSegment{k}}{D}$ by Proposition 358.
For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}\inter\dom{t}$ we have $a(u) = t(u)$ by Definition 5, Definition 55, Proposition 87.
Therefore $a$ is right-unique and $a$ is a relation and $t$ is right-unique and $t$ is a relation by Proposition 345, Proposition 355, Proposition 356.
Let $x = a\union t$.
Thus $x$ is a function by Definition 12, Definition 51, Lemma 170.
Hence $\dom{x} = \initialSegment{k}\union(\naturalsPlus\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus}\initialSegment{k})$ by Definition 55, Lemma 83, Proposition 205.
Therefore $\naturalsPlus\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{x}$ by Axiom 5, Definition 1, Proposition 85.
$\dom{a}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ and $\dom{t}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1, Definition 55, Definition 84, Proposition 86.
We have $\dom{x}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1, Proposition 44, Proposition 205.
Thus $\dom{x} = \naturalsPlus$ by Proposition 3.
Therefore $\dom{x} = \dom{E}$ by Definition 1.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{x}$ we have $x(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 5, Definition 1, Proposition 86, Proposition 205, Proposition 346, Proposition 348, Proposition 359, Proposition 361.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{D}$ by Proposition 358.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $x(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(i)$ by Definition 1, Proposition 346, Proposition 361.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{x}$ we have $x(i)\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{\ran{E}}$ by Axiom 4, Definition 1, Proposition 16, Proposition 209, Proposition 348.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{E}}{\unions{\ran{E}}}$ by Proposition 358.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ by Definition 167.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ we have $x(i) = a(i)$ by Definition 1, Definition 55, Proposition 46, Proposition 346, Proposition 348, Proposition 356.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ we have $x(i) = a(i)$ by Definition 1.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric,funs}.
For all $m\in\naturalsPlus$ we have $E(m) = D$ by \cref{function_apply_intro}.
Let $t = \{(i,0) \mid i\in\naturalsPlus\setminus\initialSegment{k}\}$.
For all $i,y_1,y_2$ such that $(i,y_1)\in t$ and $(i,y_2)\in t$ we have $y_1 = y_2$ by \cref{pair_eq_iff}.
Hence $t$ is a function and $\dom{t} = \naturalsPlus\setminus\initialSegment{k}$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $i\in\dom{t}$ we have $t(i)\in D$ by \cref{function_apply_intro,subseteq,upair_intro_left}.
Thus $t\in\funs{\naturalsPlus\setminus\initialSegment{k}}{D}$ by \cref{funs_intro}.
For all $u$ such that $u\in\dom{a}\inter\dom{t}$ we have $a(u) = t(u)$
by \cref{funs,inter,setminus_elim_right}.
Therefore $a$ is right-unique and $a$ is a relation and $t$ is right-unique and $t$ is a relation
by \cref{funs_is_function,function_rightunique,funs_is_relation}.
Let $x = a\union t$.
Thus $x$ is a function by \cref{union_compatible_functions,relation,rightunique}.
Hence $\dom{x} = \initialSegment{k}\union(\naturalsPlus\setminus\initialSegment{k})$
by \cref{dom_union,funs,real_lt_subst_right}.
Therefore $\naturalsPlus\subseteq\dom{x}$ by \cref{union_iff,setminus_intro,subseteq}.
$\dom{a}\subseteq\naturalsPlus$ and $\dom{t}\subseteq\naturalsPlus$
by \cref{funs,initial_segment_naturalsplus,setminus_elim_left,subseteq}.
We have $\dom{x}\subseteq\naturalsPlus$ by \cref{dom_union,union_subsets_is_subset,subseteq}.
Thus $\dom{x} = \naturalsPlus$ by \cref{subseteq_antisymmetric}.
Therefore $\dom{x} = \dom{E}$ by \cref{subseteq}.
For all $i\in\dom{x}$ we have $x(i)\in D$
by \cref{dom_union,union_iff,function_apply_elim,function_apply_intro,funs_elim,funs_type_apply,subseteq,setminus_elim_left}.
Thus $x\in\funs{\naturalsPlus}{D}$ by \cref{funs_intro}.
For all $i\in\dom{E}$ we have $x(i)\in E(i)$ by \cref{function_apply_intro,funs_type_apply,subseteq}.
For all $i\in\dom{x}$ we have $x(i)\in\unions{\ran{E}}$
by \cref{subseteq,function_apply_elim,ran_intro,unions_iff,upair_intro_left}.
Therefore $x\in\funs{\dom{E}}{\unions{\ran{E}}}$ by \cref{funs_intro}.
Hence $x\in\productFamily{E}$ by \cref{indexed_product}.
For all $i\in\initialSegment{k}$ we have $x(i) = a(i)$
by \cref{union_upper_left,funs,function_apply_elim,subseteq,funs_is_function,function_apply_intro}.
Thus $x\in\productFamily{E}$ and
for all $i\in\initialSegment{k}$ we have $x(i) = a(i)$ by \cref{subseteq}.
\end{proof}
$C$ is the binary prefix cylinder at $a$ in $E$ iff $C = \{x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E} \mid \text{for all $i\in\dom{a}$ we have $x(i) = a(i)$}\}$.
LaTeX source
\begin{definition}
\label{space_filling_binary_prefix_cylinder}
$C$ is the binary prefix cylinder at $a$ in $E$ iff
$C = \{x\in\productFamily{E} \mid \text{for all $i\in\dom{a}$ we have $x(i) = a(i)$}\}$.
\end{definition}
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is inhabited.
LaTeX source
\begin{lemma}
\label{space_filling_binary_prefix_cylinder_inhabited}
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $k\in\naturalsPlus$.
Assume $a\in\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is inhabited.
\end{lemma}
Proof
Follows by Definition 1, Definition 55, Definition 352, Lemma 696.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_binary_prefix_extension,funs,subseteq,space_filling_binary_prefix_cylinder}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is open in $\productFamily{E}$ with respect to $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_prefix_cylinder_open}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $k\in\naturalsPlus$.
Assume $a\in\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is open in $\productFamily{E}$ with respect to $P_B$.
\end{lemma}
Proof
$\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
Hence $P_B$ is a topology on $\productFamily{E}$ by Definition 156.
Let $g = \{(i,\preimg{\piIndex{E}{i}}{\{a(i)\}}) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}\}$.
For all $i,V_1,V_2$ such that $(i,V_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(i,V_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $V_1 = V_2$ by Axiom 6.
Thus $g$ is a function and $\dom{g} = \initialSegment{k}$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Claim: For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(i)$ is open in $\productFamily{E}$ with respect to $P_B$.
Fix $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
We have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1, Definition 84.
Thus $a(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 361.
Therefore $a(i) = 0$ or $a(i) = 1$ by Proposition 19.
We have $g(i)$ is open in $\productFamily{E}$ with respect to $P_B$ by Axiom 6, Definition 103, Lemma 695, Proposition 346.
$g(i)$ is open in $\productFamily{E}$ with respect to $P_B$ by Axiom 6, Definition 103, Lemma 695, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$a(i) = 0$.}
We have $g(i)$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_open,pair_eq_iff,function_apply_intro,open_in}.
\caseOf{$a(i) = 1$.}
$g(i)$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_open,pair_eq_iff,function_apply_intro,open_in}.
\end{byCase}
We have $\img{g}{\initialSegment{k}}$ is finite and $\img{g}{\initialSegment{k}}$ is inhabited by Axiom 42, Axiom 43, Definition 1, Definition 84, Lemma 192, Lemma 208, Proposition 235, Proposition 348.
Thus $\inters{\img{g}{\initialSegment{k}}}$ is open in $\productFamily{E}$ with respect to $P_B$ by Definition 1, Definition 103, Lemma 124, Proposition 235, Proposition 348.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{g}{\initialSegment{k}}}$ by Axiom 6, Axiom 42, Definition 1, Definition 55, Definition 84, Definition 170, Definition 352, Proposition 20, Proposition 31, Proposition 235, Proposition 246, Proposition 356.
Therefore $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \inters{\img{g}{\initialSegment{k}}}$ by Definition 1.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{g}{\initialSegment{k}}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{g}{\initialSegment{k}}}$.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in} \preimg{\piIndex{E}{1}}{\{a(1)\}}$ by Axiom 6, Axiom 42, Axiom 43, Definition 1, Definition 84, Proposition 32, Proposition 235, Proposition 346, Proposition 348.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ by Axiom 6, Definition 170, Proposition 246.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $x(i) = a(i)$ by Axiom 6, Definition 55, Definition 167, Definition 170, Proposition 21, Proposition 32, Proposition 235, Proposition 246, Proposition 349, Proposition 356.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 352.
Thus $\inters{\img{g}{\initialSegment{k}}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
Therefore $C$ is open in $\productFamily{E}$ with respect to $P_B$ by Definition 103, Proposition 3.
LaTeX source
\begin{proof}
$\productFamily{E}$ is Hausdorff with respect to $P_B$ by \cref{space_filling_binary_product_compact_hausdorff}.
Hence $P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
Let $g = \{(i,\preimg{\piIndex{E}{i}}{\{a(i)\}}) \mid i\in\initialSegment{k}\}$.
For all $i,V_1,V_2$ such that $(i,V_1)\in g$ and $(i,V_2)\in g$ we have $V_1 = V_2$ by \cref{pair_eq_iff}.
Thus $g$ is a function and $\dom{g} = \initialSegment{k}$
by \cref{relation,rightunique,pair_eq_iff,dom_intro,dom_iff,subseteq,subseteq_antisymmetric}.
Show that for all $i\in\dom{g}$ we have $g(i)$ is open in $\productFamily{E}$ with respect to $P_B$.
\begin{subproof}
Fix $i\in\dom{g}$.
We have $i\in\naturalsPlus$ by \cref{subseteq,initial_segment_naturalsplus}.
Thus $a(i)\in D$ by \cref{funs_type_apply}.
Therefore $a(i) = 0$ or $a(i) = 1$ by \cref{upair_iff}.
\begin{byCase}
\caseOf{$a(i) = 0$.}
We have $g(i)$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_open,pair_eq_iff,function_apply_intro,open_in}.
\caseOf{$a(i) = 1$.}
$g(i)$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_open,pair_eq_iff,function_apply_intro,open_in}.
\end{byCase}
\end{subproof}
We have $\img{g}{\initialSegment{k}}$ is finite and $\img{g}{\initialSegment{k}}$ is inhabited
by \cref{initial_segment_finite,finite_image_function,real_one_in_naturals,real_one_leq_naturalsplus,initial_segment_naturalsplus,subseteq,function_apply_elim,img_iff}.
Thus $\inters{\img{g}{\initialSegment{k}}}$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{img_iff,function_apply_elim,open_in,subseteq,finite_intersections_open_in_topology}.
For all $x$ such that $x\in C$ we have $x\in\inters{\img{g}{\initialSegment{k}}}$
by \cref{img_iff,pair_eq_iff,funs,subseteq,space_filling_binary_prefix_cylinder,singleton_intro,projection_map_indexed,preimg_iff,funs_is_function,initial_segment_naturalsplus,real_one_in_naturals,inters_intro}.
Therefore $C\subseteq \inters{\img{g}{\initialSegment{k}}}$ by \cref{subseteq}.
Show that for all $x$ such that $x\in\inters{\img{g}{\initialSegment{k}}}$ we have $x\in C$.
\begin{subproof}
Fix $x$ such that $x\in\inters{\img{g}{\initialSegment{k}}}$.
Thus $x\in \preimg{\piIndex{E}{1}}{\{a(1)\}}$
by \cref{real_one_in_naturals,real_one_leq_naturalsplus,initial_segment_naturalsplus,subseteq,pair_eq_iff,function_apply_intro,img_iff,function_apply_elim,inters_destr}.
We have $x\in\productFamily{E}$ by \cref{projection_map_indexed,preimg_iff,pair_eq_iff}.
For all $i\in\dom{a}$ we have $x(i) = a(i)$
by \cref{funs,pair_eq_iff,img_iff,inters_destr,projection_map_indexed,indexed_product,funs_is_function,function_apply_iff,preimg_iff,singleton_elim}.
Therefore $x\in C$ by \cref{space_filling_binary_prefix_cylinder}.
\end{subproof}
Thus $\inters{\img{g}{\initialSegment{k}}}\subseteq C$ by \cref{subseteq}.
Therefore $C$ is open in $\productFamily{E}$ with respect to $P_B$ by \cref{subseteq_antisymmetric,open_in}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $\preimg{\piIndex{E}{n}}{\{0\}}$ is closed in $\productFamily{E}$ with respect to $P_B$ and $\preimg{\piIndex{E}{n}}{\{1\}}$ is closed in $\productFamily{E}$ with respect to $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_coordinate_cylinders_closed}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $n\in\naturalsPlus$.
Then $\preimg{\piIndex{E}{n}}{\{0\}}$ is closed in $\productFamily{E}$ with respect to $P_B$ and
$\preimg{\piIndex{E}{n}}{\{1\}}$ is closed in $\productFamily{E}$ with respect to $P_B$.
\end{lemma}
Proof
Let $Z_0 = \preimg{\piIndex{E}{n}}{\{0\}}$.
Let $Z_1 = \preimg{\piIndex{E}{n}}{\{1\}}$.
We have $Z_0$ is open in $\productFamily{E}$ with respect to $P_B$ and $Z_1$ is open in $\productFamily{E}$ with respect to $P_B$ by Lemma 695.
$\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
Hence $P_B$ is a topology on $\productFamily{E}$ by Definition 156.
$Z_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{E}$ and $Z_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{E}$ by Axiom 6, Definition 1, Definition 170, Proposition 246.
We have $E$ is a function on $\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 55, Proposition 3, Proposition 199, Proposition 200.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_0$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_1$ by Axiom 6, Definition 1, Definition 167, Definition 170, Proposition 19, Proposition 20, Proposition 22, Proposition 86, Proposition 87, Proposition 246, Proposition 346.
Hence $\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z_1$ by Definition 1.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_1$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_0$ by Axiom 6, Axiom 17, Axiom 39, Axiom 41, Axiom 42, Definition 1, Definition 170, Lemma 82, Proposition 21, Proposition 22, Proposition 85, Proposition 246, Proposition 462.
Thus $Z_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_0$ by Definition 1.
Therefore $\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_0$ is open in $\productFamily{E}$ with respect to $P_B$ by Definition 103, Proposition 3.
Thus $Z_0$ is closed in $\productFamily{E}$ with respect to $P_B$ by Definition 149.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_1$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_0$ by Axiom 6, Definition 1, Definition 167, Definition 170, Proposition 19, Proposition 20, Proposition 22, Proposition 86, Proposition 87, Proposition 246, Proposition 346.
Hence $\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} Z_0$ by Definition 1.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} Z_0$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_1$ by Axiom 6, Axiom 17, Axiom 39, Axiom 41, Axiom 42, Definition 1, Definition 170, Lemma 83, Proposition 21, Proposition 22, Proposition 85, Proposition 246, Proposition 462.
Therefore $Z_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_1$ by Definition 1.
Thus $\productFamily{E}\class{latex-symbol-tip latex-symbol-id-setminus}{\setminus} Z_1$ is open in $\productFamily{E}$ with respect to $P_B$ by Definition 103, Proposition 3.
Therefore $Z_1$ is closed in $\productFamily{E}$ with respect to $P_B$ by Definition 149.
LaTeX source
\begin{proof}
Let $Z_0 = \preimg{\piIndex{E}{n}}{\{0\}}$.
Let $Z_1 = \preimg{\piIndex{E}{n}}{\{1\}}$.
We have $Z_0$ is open in $\productFamily{E}$ with respect to $P_B$ and
$Z_1$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_open}.
$\productFamily{E}$ is Hausdorff with respect to $P_B$ by \cref{space_filling_binary_product_compact_hausdorff}.
Hence $P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
$Z_0\subseteq\productFamily{E}$ and $Z_1\subseteq\productFamily{E}$
by \cref{preimg_iff,projection_map_indexed,pair_eq_iff,subseteq}.
We have $E$ is a function on $\naturalsPlus$ and $n\in\dom{E}$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric,funs}.
For all $x$ such that $x\in\productFamily{E}\setminus Z_0$ we have $x\in Z_1$
by \cref{setminus_elim_left,setminus_elim_right,indexed_product,subseteq,function_apply_intro,projection_map_indexed,preimg_iff,pair_eq_iff,upair_iff,singleton_iff,singleton_intro}.
Hence $\productFamily{E}\setminus Z_0\subseteq Z_1$ by \cref{subseteq}.
For all $x$ such that $x\in Z_1$ we have $x\in\productFamily{E}\setminus Z_0$
by \cref{preimg_iff,singleton_elim,projection_map_indexed,pair_eq_iff,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,singleton_iff,real_lt_irreflexive,real_lt_subst_left,setminus_intro}.
Thus $Z_1\subseteq\productFamily{E}\setminus Z_0$ by \cref{subseteq}.
Therefore $\productFamily{E}\setminus Z_0$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{subseteq_antisymmetric,open_in}.
Thus $Z_0$ is closed in $\productFamily{E}$ with respect to $P_B$ by \cref{closed_in}.
For all $x$ such that $x\in\productFamily{E}\setminus Z_1$ we have $x\in Z_0$
by \cref{setminus_elim_left,setminus_elim_right,indexed_product,subseteq,function_apply_intro,projection_map_indexed,preimg_iff,pair_eq_iff,upair_iff,singleton_iff,singleton_intro}.
Hence $\productFamily{E}\setminus Z_1\subseteq Z_0$ by \cref{subseteq}.
For all $x$ such that $x\in Z_0$ we have $x\in\productFamily{E}\setminus Z_1$
by \cref{preimg_iff,singleton_elim,projection_map_indexed,pair_eq_iff,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,singleton_iff,real_lt_irreflexive,real_lt_subst_right,setminus_intro}.
Therefore $Z_0\subseteq\productFamily{E}\setminus Z_1$ by \cref{subseteq}.
Thus $\productFamily{E}\setminus Z_1$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{subseteq_antisymmetric,open_in}.
Therefore $Z_1$ is closed in $\productFamily{E}$ with respect to $P_B$ by \cref{closed_in}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is closed in $\productFamily{E}$ with respect to $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_prefix_cylinder_closed}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $k\in\naturalsPlus$.
Assume $a\in\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is closed in $\productFamily{E}$ with respect to $P_B$.
\end{lemma}
Proof
$\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
Hence $P_B$ is a topology on $\productFamily{E}$ by Definition 156.
Let $g = \{(i,\preimg{\piIndex{E}{i}}{\{a(i)\}}) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}\}$.
For all $i,V_1,V_2$ such that $(i,V_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ and $(i,V_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} g$ we have $V_1 = V_2$ by Axiom 6.
Thus $g$ is a function and $\dom{g} = \initialSegment{k}$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Claim: For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$ we have $g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$.
Fix $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{g}$.
We have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1, Definition 84.
Thus $a(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Proposition 361.
Therefore $a(i) = 0$ or $a(i) = 1$ by Proposition 19.
We have $g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$ by Axiom 6, Definition 149, Lemma 699, Proposition 346.
$g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$ by Axiom 6, Definition 149, Lemma 699, Proposition 346.
LaTeX source
\begin{byCase}
\caseOf{$a(i) = 0$.}
We have $g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_closed,pair_eq_iff,function_apply_intro,closed_in}.
\caseOf{$a(i) = 1$.}
$g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_closed,pair_eq_iff,function_apply_intro,closed_in}.
\end{byCase}
For all $W\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{g}{\initialSegment{k}}$ we have $W$ is closed in $\productFamily{E}$ with respect to $P_B$ by Proposition 235, Proposition 348.
Thus $\inters{\img{g}{\initialSegment{k}}}$ is closed in $\productFamily{E}$ with respect to $P_B$ by Definition 1, Definition 149, Lemma 140, Proposition 155, Proposition 235, Proposition 348.
Claim: $C = \inters{\img{g}{\initialSegment{k}}}$.
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{g}{\initialSegment{k}}}$ by Axiom 6, Axiom 42, Definition 1, Definition 55, Definition 84, Definition 170, Definition 352, Proposition 20, Proposition 31, Proposition 235, Proposition 246, Proposition 356.
Therefore $C\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \inters{\img{g}{\initialSegment{k}}}$ by Definition 1.
Claim: For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{g}{\initialSegment{k}}}$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$.
Fix $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{\img{g}{\initialSegment{k}}}$.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in} \preimg{\piIndex{E}{1}}{\{a(1)\}}$ by Axiom 6, Axiom 42, Axiom 43, Definition 1, Definition 84, Proposition 32, Proposition 235, Proposition 346, Proposition 348.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ by Axiom 6, Definition 170, Proposition 246.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $x(i) = a(i)$ by Axiom 6, Definition 55, Definition 167, Definition 170, Proposition 21, Proposition 32, Proposition 235, Proposition 246, Proposition 349, Proposition 356.
Therefore $x\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 352.
Thus $\inters{\img{g}{\initialSegment{k}}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ by Definition 1.
Therefore $C$ is closed in $\productFamily{E}$ with respect to $P_B$ by Definition 149, Proposition 3.
LaTeX source
\begin{proof}
$\productFamily{E}$ is Hausdorff with respect to $P_B$ by \cref{space_filling_binary_product_compact_hausdorff}.
Hence $P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
Let $g = \{(i,\preimg{\piIndex{E}{i}}{\{a(i)\}}) \mid i\in\initialSegment{k}\}$.
For all $i,V_1,V_2$ such that $(i,V_1)\in g$ and $(i,V_2)\in g$ we have $V_1 = V_2$ by \cref{pair_eq_iff}.
Thus $g$ is a function and $\dom{g} = \initialSegment{k}$
by \cref{relation,rightunique,pair_eq_iff,dom_intro,dom_iff,subseteq,subseteq_antisymmetric}.
Show that for all $i\in\dom{g}$ we have $g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$.
\begin{subproof}
Fix $i\in\dom{g}$.
We have $i\in\naturalsPlus$ by \cref{subseteq,initial_segment_naturalsplus}.
Thus $a(i)\in D$ by \cref{funs_type_apply}.
Therefore $a(i) = 0$ or $a(i) = 1$ by \cref{upair_iff}.
\begin{byCase}
\caseOf{$a(i) = 0$.}
We have $g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_closed,pair_eq_iff,function_apply_intro,closed_in}.
\caseOf{$a(i) = 1$.}
$g(i)$ is closed in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_coordinate_cylinders_closed,pair_eq_iff,function_apply_intro,closed_in}.
\end{byCase}
\end{subproof}
For all $W\in\img{g}{\initialSegment{k}}$ we have $W$ is closed in $\productFamily{E}$ with respect to $P_B$
by \cref{img_iff,function_apply_elim}.
Thus $\inters{\img{g}{\initialSegment{k}}}$ is closed in $\productFamily{E}$ with respect to $P_B$
by \cref{img_iff,function_apply_elim,closed_in,subseteq,powerset_intro,closed_inters}.
Show that $C = \inters{\img{g}{\initialSegment{k}}}$.
\begin{subproof}
For all $x$ such that $x\in C$ we have $x\in\inters{\img{g}{\initialSegment{k}}}$
by \cref{img_iff,pair_eq_iff,funs,subseteq,space_filling_binary_prefix_cylinder,singleton_intro,projection_map_indexed,preimg_iff,funs_is_function,initial_segment_naturalsplus,real_one_in_naturals,inters_intro}.
Therefore $C\subseteq \inters{\img{g}{\initialSegment{k}}}$ by \cref{subseteq}.
Show that for all $x$ such that $x\in\inters{\img{g}{\initialSegment{k}}}$ we have $x\in C$.
\begin{subproof}
Fix $x$ such that $x\in\inters{\img{g}{\initialSegment{k}}}$.
Thus $x\in \preimg{\piIndex{E}{1}}{\{a(1)\}}$
by \cref{real_one_in_naturals,real_one_leq_naturalsplus,initial_segment_naturalsplus,subseteq,pair_eq_iff,function_apply_intro,img_iff,function_apply_elim,inters_destr}.
We have $x\in\productFamily{E}$ by \cref{projection_map_indexed,preimg_iff,pair_eq_iff}.
For all $i\in\dom{a}$ we have $x(i) = a(i)$
by \cref{funs,pair_eq_iff,img_iff,inters_destr,projection_map_indexed,indexed_product,funs_is_function,function_apply_iff,preimg_iff,singleton_elim}.
Therefore $x\in C$ by \cref{space_filling_binary_prefix_cylinder}.
\end{subproof}
Thus $\inters{\img{g}{\initialSegment{k}}}\subseteq C$ by \cref{subseteq}.
\end{subproof}
Therefore $C$ is closed in $\productFamily{E}$ with respect to $P_B$ by \cref{subseteq_antisymmetric,closed_in}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is compact with respect to $\subspaceTopology{P_B}{C}$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_prefix_cylinder_compact}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Assume $k\in\naturalsPlus$.
Assume $a\in\funs{\initialSegment{k}}{D}$.
Assume $C$ is the binary prefix cylinder at $a$ in $E$.
Then $C$ is compact with respect to $\subspaceTopology{P_B}{C}$.
\end{lemma}
Proof
Follows by Definition 1, Definition 156, Definition 352, Lemma 693, Lemma 700, Theorem 59.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_binary_product_compact_hausdorff,hausdorff,space_filling_binary_prefix_cylinder,subseteq,space_filling_binary_prefix_cylinder_closed,closed_subspace_compact}.
\end{proof}
Assume $T$ is a topology on $X$.
Assume $X$ is compact with respect to $T$.
Suppose $C$ has the finite intersection property.
Suppose for all $A$ such that $A\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $A$ is closed in $X$ with respect to $T$.
Then $\inters{C}$ is inhabited.
LaTeX source
\begin{lemma}
\label{space_filling_compact_fip_inhabited_intersection}
Assume $T$ is a topology on $X$.
Assume $X$ is compact with respect to $T$.
Suppose $C$ has the finite intersection property.
Suppose for all $A$ such that $A\in C$ we have $A$ is closed in $X$ with respect to $T$.
Then $\inters{C}$ is inhabited.
\end{lemma}
Proof
Follows by Proposition 10, Theorem 64.
LaTeX source
\begin{proof}
Follows by \cref{compact_iff_finite_intersection_property,nonempty_inhabited}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(a + a) / (1 + 1) = a$.
LaTeX source
\begin{lemma}
\label{space_filling_double_half_real}
Suppose $a\in\reals$.
Then $(a + a) / (1 + 1) = a$.
\end{lemma}
Proof
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (a + b) / (1 + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_left_endpoint_leq_midpoint}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Then $a \leq (a + b) / (1 + 1)$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 16, Axiom 42, Axiom 45, Lemma 24, Lemma 261, Lemma 542, Lemma 543, Lemma 703.
LaTeX source
\begin{proof}
Follows by \cref{real_one_in_naturals,real_naturals_closed_succ,real_leq_add,real_add_comm,real_leq_subst_right_local,real_add_closed,real_div_leq_same_denom,space_filling_double_half_real,real_leq_subst_left_local}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $(a + b) / (1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
LaTeX source
\begin{lemma}
\label{space_filling_midpoint_leq_right_endpoint}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Then $(a + b) / (1 + 1) \leq b$.
\end{lemma}
Proof
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{a}{(a + b) / (1 + 1)}$.
Then $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_left_half_subset_parent}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{a}{(a + b) / (1 + 1)}$.
Then $J\subseteq \intervalclosed{a}{b}$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 75, Lemma 23, Lemma 265, Lemma 705.
LaTeX source
\begin{proof}
Follows by \cref{intervalclosed,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint,real_leq_trans}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Then $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_right_half_subset_parent}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Then $J\subseteq \intervalclosed{a}{b}$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 75, Lemma 23, Lemma 265, Lemma 704.
LaTeX source
\begin{proof}
Follows by \cref{intervalclosed,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint,real_leq_trans}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Then $\intervalclosed{a}{b}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_0\union J_1$.
LaTeX source
\begin{lemma}
\label{space_filling_halves_cover_parent}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Then $\intervalclosed{a}{b}\subseteq J_0\union J_1$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 34, Axiom 42, Axiom 45, Definition 1, Definition 75, Lemma 231, Lemma 265, Proposition 38, Proposition 39.
LaTeX source
\begin{proof}
Follows by \cref{subseteq,intervalclosed,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,real_lt_trichotomy,real_lt_imp_leq,union_intro_left,union_intro_right}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Then $\intervalclosed{a}{b} = J_0\union J_1$.
LaTeX source
\begin{lemma}
\label{space_filling_parent_eq_union_halves}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Then $\intervalclosed{a}{b} = J_0\union J_1$.
\end{lemma}
Proof
Follows by Lemma 706, Lemma 707, Lemma 708, Proposition 3, Proposition 44.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_left_half_subset_parent,space_filling_right_half_subset_parent,union_subsets_is_subset,space_filling_halves_cover_parent,subseteq_antisymmetric}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$.
Then $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_0$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$.
LaTeX source
\begin{lemma}
\label{space_filling_point_in_some_half}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Assume $y\in\intervalclosed{a}{b}$.
Then $y\in J_0$ or $y\in J_1$.
\end{lemma}
Proof
Follows by Axiom 5, Definition 1, Lemma 709.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_parent_eq_union_halves,subseteq,union_iff}.
\end{proof}
Let $D = \{0,1\}$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $m = (a + b) / (1 + 1)$.
Let $J = \intervalclosed{a}{b}$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
Then there exist $d,K$ such that $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ and $K\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and if $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
LaTeX source
\begin{lemma}
\label{space_filling_choose_half_with_digit}
Let $D = \{0,1\}$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $m = (a + b) / (1 + 1)$.
Let $J = \intervalclosed{a}{b}$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
Assume $y\in J$.
Then there exist $d,K$ such that
$d\in D$ and
$y\in K$ and
$K\subseteq J$ and
if $d = 0$ then $K = J_0$ and
if $d = 1$ then $K = J_1$.
\end{lemma}
Proof
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_0$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ by Lemma 710.
Take $d,K$ such that $d = 0$ and $K = J_0$.
We have $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ and $K\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 1, Lemma 706, Proposition 16, Proposition 20.
Claim: If $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
Trivial.
Take $d,K$ such that $d = 1$ and $K = J_1$.
We have $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ and $K\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 1, Lemma 707, Proposition 17, Proposition 20.
Claim: If $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
Trivial.
LaTeX source
\begin{byCase}
\caseOf{$y\in J_0$.}
Take $d,K$ such that $d = 0$ and $K = J_0$.
We have $d\in D$ and $y\in K$ and $K\subseteq J$
by \cref{singleton_intro,upair_intro_left,subseteq,space_filling_left_half_subset_parent}.
Show that if $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$y\in J_1$.}
Take $d,K$ such that $d = 1$ and $K = J_1$.
We have $d\in D$ and $y\in K$ and $K\subseteq J$
by \cref{singleton_intro,upair_intro_right,subseteq,space_filling_right_half_subset_parent}.
Show that if $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
$y\in J_0$ or $y\in J_1$ by \cref{space_filling_point_in_some_half}.
\begin{byCase}
\caseOf{$y\in J_0$.}
Take $d,K$ such that $d = 0$ and $K = J_0$.
We have $d\in D$ and $y\in K$ and $K\subseteq J$
by \cref{singleton_intro,upair_intro_left,subseteq,space_filling_left_half_subset_parent}.
Show that if $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$y\in J_1$.}
Take $d,K$ such that $d = 1$ and $K = J_1$.
We have $d\in D$ and $y\in K$ and $K\subseteq J$
by \cref{singleton_intro,upair_intro_right,subseteq,space_filling_right_half_subset_parent}.
Show that if $d = 0$ then $K = J_0$ and if $d = 1$ then $K = J_1$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Suppose $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
Then there exist $a,b,d,H$ such that $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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $J = \intervalclosed{a}{b}$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_family_child}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Suppose $J\in K$.
Then there exist $a,b,d,H$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$d\in D$ and
$H\in K$ and
$H\subseteq J$ and
if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\end{lemma}
Proof
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 1.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_0$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ by Lemma 710.
Take $d,H$ such that $d = 0$ and $H = J_0$.
We have $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 1, Lemma 706, Proposition 16, Proposition 20.
Hence $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Lemma 265, Lemma 704, Proposition 6, Proposition 155, Proposition 156.
Claim: If $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Trivial.
Take $d,H$ such that $d = 1$ and $H = J_1$.
We have $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Definition 1, Lemma 707, Proposition 17, Proposition 20.
Hence $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Lemma 265, Lemma 705, Proposition 6, Proposition 155, Proposition 156.
Claim: If $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Trivial.
LaTeX source
\begin{byCase}
\caseOf{$y\in J_0$.}
Take $d,H$ such that $d = 0$ and $H = J_0$.
We have $d\in D$ and $H\subseteq J$
by \cref{singleton_intro,upair_intro_left,subseteq,space_filling_left_half_subset_parent}.
Hence $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$y\in J_1$.}
Take $d,H$ such that $d = 1$ and $H = J_1$.
We have $d\in D$ and $H\subseteq J$
by \cref{singleton_intro,upair_intro_right,subseteq,space_filling_right_half_subset_parent}.
Hence $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$ by \cref{subseteq}.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
$y\in J_0$ or $y\in J_1$ by \cref{space_filling_point_in_some_half}.
\begin{byCase}
\caseOf{$y\in J_0$.}
Take $d,H$ such that $d = 0$ and $H = J_0$.
We have $d\in D$ and $H\subseteq J$
by \cref{singleton_intro,upair_intro_left,subseteq,space_filling_left_half_subset_parent}.
Hence $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$y\in J_1$.}
Take $d,H$ such that $d = 1$ and $H = J_1$.
We have $d\in D$ and $H\subseteq J$
by \cref{singleton_intro,upair_intro_right,subseteq,space_filling_right_half_subset_parent}.
Hence $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Suppose $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
Then there exist $a,b,H$ such that $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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $J = \intervalclosed{a}{b}$ and $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and $H\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_family_child_disj}
Let $I = \intervalclosed{0}{1}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Suppose $J\in K$.
Then there exist $a,b,H$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\in K$ and
$H\subseteq J$ and
$H\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$.
\end{lemma}
Proof
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 1.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_0$ or $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J_1$ by Lemma 710.
Let $H = J_0$.
$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 706.
Hence $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Lemma 265, Lemma 704, Proposition 6, Proposition 155, Proposition 156.
Therefore $H\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$ by Definition 1, Proposition 16.
Let $H = J_1$.
$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 707.
Thus $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Lemma 265, Lemma 705, Proposition 6, Proposition 155, Proposition 156.
Hence $H\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$ by Definition 1, Proposition 17.
LaTeX source
\begin{byCase}
\caseOf{$y\in J_0$.}
Let $H = J_0$.
$H\subseteq J$ by \cref{space_filling_left_half_subset_parent}.
Hence $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint}.
Therefore $H\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$
by \cref{upair_intro_left,subseteq}.
\caseOf{$y\in J_1$.}
Let $H = J_1$.
$H\subseteq J$ by \cref{space_filling_right_half_subset_parent}.
Thus $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint}.
Hence $H\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$
by \cref{upair_intro_right,subseteq}.
\end{byCase}
LaTeX source
\begin{proof}
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$ by \cref{subseteq}.
Let $m = (a + b) / (1 + 1)$.
Let $J_0 = \intervalclosed{a}{m}$.
Let $J_1 = \intervalclosed{m}{b}$.
$y\in J_0$ or $y\in J_1$ by \cref{space_filling_point_in_some_half}.
\begin{byCase}
\caseOf{$y\in J_0$.}
Let $H = J_0$.
$H\subseteq J$ by \cref{space_filling_left_half_subset_parent}.
Hence $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint}.
Therefore $H\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$
by \cref{upair_intro_left,subseteq}.
\caseOf{$y\in J_1$.}
Let $H = J_1$.
$H\subseteq J$ by \cref{space_filling_right_half_subset_parent}.
Thus $H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint}.
Hence $H\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$
by \cref{upair_intro_right,subseteq}.
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Then $I\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_family_root}
Let $I = \intervalclosed{0}{1}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Then $I\in K$.
\end{lemma}
Proof
Follows by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Proposition 2, Proposition 155, Proposition 462.
LaTeX source
\begin{proof}
Follows by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,subseteq_refl,powerset_intro}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} K\class{latex-symbol-tip latex-symbol-id-times}{\times} K \mid \text{there exist $a,b$ such that $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $\fst{w} = \intervalclosed{a}{b}$ and $\snd{w}\subseteq\fst{w}$ and $\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Then there exists $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{K}$ and for all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ we have $J\mathrel{R}\apply{g}{J}$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_child_relation_selector}
Let $I = \intervalclosed{0}{1}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Let $R = \{w\in K\times K \mid \text{there exist $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$\fst{w} = \intervalclosed{a}{b}$ and
$\snd{w}\subseteq\fst{w}$ and
$\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Then there exists $g$ such that
$g\in\funs{K}{K}$ and
for all $J\in K$ we have $J\mathrel{R}\apply{g}{J}$.
\end{lemma}
Proof
For all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ there exists $H$ such that $J\mathrel{R} H$ by Axiom 6, Axiom 10, Axiom 11, Lemma 713, Proposition 115.
Take $g$ such that $g$ is a function on $K$ and for all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ we have $J\mathrel{R}\apply{g}{J}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
Hence $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{K}$ by Definition 1, Definition 12, Proposition 114, Proposition 358.
LaTeX source
\begin{proof}
For all $J\in K$ there exists $H$ such that $J\mathrel{R} H$
by \cref{space_filling_point_interval_family_child_disj,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
Take $g$ such that
$g$ is a function on $K$ and
for all $J\in K$ we have $J\mathrel{R}\apply{g}{J}$
by \cref{axiom_of_choice,relation,subseteq,times_elem_is_tuple}.
Hence $g\in\funs{K}{K}$ by \cref{relation,subseteq,times_tuple_elim,funs_intro}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{K}$.
Then there exists $u$ such that $u$ is a sequence in $K$ and $u(1) = I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_family_iteration}
Let $I = \intervalclosed{0}{1}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Suppose $g\in\funs{K}{K}$.
Then there exists $u$ such that
$u$ is a sequence in $K$ and
$u(1) = I$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
\end{lemma}
Proof
Let $I = \intervalclosed{0}{1}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} K\class{latex-symbol-tip latex-symbol-id-times}{\times} K \mid \text{there exist $a,b$ such that $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $\fst{w} = \intervalclosed{a}{b}$ and $\snd{w}\subseteq\fst{w}$ and $\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K}{K}$.
Suppose for all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ we have $J\mathrel{R}\apply{g}{J}$.
Suppose $u$ is a sequence in $K$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(n)$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_family_iteration_nested}
Let $I = \intervalclosed{0}{1}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Let $R = \{w\in K\times K \mid \text{there exist $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$\fst{w} = \intervalclosed{a}{b}$ and
$\snd{w}\subseteq\fst{w}$ and
$\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Suppose $g\in\funs{K}{K}$.
Suppose for all $J\in K$ we have $J\mathrel{R}\apply{g}{J}$.
Suppose $u$ is a sequence in $K$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n\in\naturalsPlus$ we have $u(n + 1)\subseteq u(n)$.
\end{lemma}
Proof
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Definition 158, Proposition 121, Proposition 361.
LaTeX source
\begin{proof}
Follows by \cref{relation,subseteq,times_elem_is_tuple,sequence_in,funs_type_apply,fst_eq,snd_eq,pair_eq_iff}.
\end{proof}
Suppose $u$ is a sequence in $\pow{X}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(n)$.
Then for all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $u(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(m)$.
LaTeX source
\begin{lemma}
\label{space_filling_nested_sequence_monotone}
Suppose $u$ is a sequence in $\pow{X}$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1)\subseteq u(n)$.
Then for all $m,n\in\naturalsPlus$ if $m \leq n$ then $u(n)\subseteq u(m)$.
\end{lemma}
Proof
Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $m\in\initialSegment{n}$ we have $u(n)\subseteq u(m)$}\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$ we have $u(1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(m)$ by Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 84, Lemma 25, Proposition 2.
Therefore $1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ we have $u(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(m)$.
Fix $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.
$u(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(n)$ by assumption.
We have $u(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(m)$ by Proposition 2.
We have $u(n + 1)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(m)$ by Definition 1, Definition 84, Lemma 29, Proposition 6.
LaTeX source
\begin{byCase}
\caseOf{$m = n + 1$.}
We have $u(n + 1)\subseteq u(m)$ by \cref{subseteq_refl}.
\caseOf{$m \neq n + 1$.}
We have $u(n + 1)\subseteq u(m)$
by \cref{subseteq,initial_segment_naturalsplus,real_naturals_leq_succ_elim,subseteq_transitive}.
\end{byCase}
Thus $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 45, Definition 1.
Hence 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} P$ by Proposition 445.
Fix $m$.
Fix $n$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Therefore $u(n)\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} u(m)$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
Let $P = \{n\in\naturalsPlus \mid \text{for all $m\in\initialSegment{n}$ we have $u(n)\subseteq u(m)$}\}$.
$P\subseteq\naturalsPlus$ by \cref{subseteq}.
For all $m\in\initialSegment{1}$ we have $u(1)\subseteq u(m)$
by \cref{initial_segment_naturalsplus,real_naturals_subset_reals,subseteq,real_one_in_naturals,real_one_leq_naturalsplus,real_leq_antisym,subseteq_refl}.
Therefore $1\in P$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in P$ we have $n + 1\in P$.
\begin{subproof}
Fix $n\in P$.
Show that for all $m\in\initialSegment{n + 1}$ we have $u(n + 1)\subseteq u(m)$.
\begin{subproof}
Fix $m\in\initialSegment{n + 1}$.
$u(n + 1)\subseteq u(n)$ by assumption.
\begin{byCase}
\caseOf{$m = n + 1$.}
We have $u(n + 1)\subseteq u(m)$ by \cref{subseteq_refl}.
\caseOf{$m \neq n + 1$.}
We have $u(n + 1)\subseteq u(m)$
by \cref{subseteq,initial_segment_naturalsplus,real_naturals_leq_succ_elim,subseteq_transitive}.
\end{byCase}
\end{subproof}
Thus $n + 1\in P$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
Fix $m$.
Fix $n$ such that $m\in\naturalsPlus$ and $n\in\naturalsPlus$.
Assume $m \leq n$.
Therefore $u(n)\subseteq u(m)$ by \cref{subseteq,initial_segment_naturalsplus}.
\end{proof}
$1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
LaTeX source
\begin{lemma}
\label{space_filling_three_in_naturalsplus}
$1 + 1 + 1\in\naturalsPlus$.
\end{lemma}
Proof
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(a + a + a) / (1 + 1 + 1) = a$.
LaTeX source
\begin{lemma}
\label{space_filling_triple_third_real}
Suppose $a\in\reals$.
Then $(a + a + a) / (1 + 1 + 1) = a$.
\end{lemma}
Proof
We have $1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1 + 1$ and $1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 41, Definition 1, Lemma 20, Lemma 89, Lemma 719.
Thus $\inv{(1 + 1 + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
We have $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 41, Axiom 42, Axiom 45, Definition 1.
Hence $((1 + 1) + 1) \rmul a = (a + a) + a$ by Axiom 21, Lemma 9, Proposition 437.
Therefore $(1 + 1 + 1) \rmul a = (a + a) + a$ by Axiom 15.
Thus $(1 + 1 + 1) \rmul a = a + a + a$ by Axiom 15.
We have $(a + a + a) / (1 + 1 + 1) = (((1 + 1 + 1) \rmul a) \rmul \inv{(1 + 1 + 1)})$ by Definition 65, Lemma 280.
Hence $(a + a + a) / (1 + 1 + 1) = a \rmul ((1 + 1 + 1) \rmul \inv{(1 + 1 + 1)})$ by Axiom 19, Axiom 20, Lemma 280.
Therefore $(a + a + a) / (1 + 1 + 1) = a \rmul 1$ by Axiom 20, Axiom 22, Lemma 280.
Thus $(a + a + a) / (1 + 1 + 1) = a$ by Axiom 20, Axiom 21, Lemma 280.
LaTeX source
\begin{proof}
We have $1 + 1 + 1\in\reals$ and $0 < 1 + 1 + 1$ and $1 + 1 + 1\neq 0$
by \cref{space_filling_three_in_naturalsplus,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero}.
Thus $\inv{(1 + 1 + 1)}\in\reals$ by \cref{real_mul_inverse}.
We have $1\in\reals$ and $1 + 1\in\reals$
by \cref{real_one_in_naturals,real_naturals_closed_succ,real_naturals_subset_reals,subseteq}.
Hence $((1 + 1) + 1) \rmul a = (a + a) + a$
by \cref{real_right_distrib,real_add_eq_subst,real_mul_ident}.
Therefore $(1 + 1 + 1) \rmul a = (a + a) + a$ by \cref{real_add_assoc}.
Thus $(1 + 1 + 1) \rmul a = a + a + a$ by \cref{real_add_assoc}.
We have $(a + a + a) / (1 + 1 + 1) = (((1 + 1 + 1) \rmul a) \rmul \inv{(1 + 1 + 1)})$
by \cref{real_div,real_mul_eq_subst}.
Hence $(a + a + a) / (1 + 1 + 1) = a \rmul ((1 + 1 + 1) \rmul \inv{(1 + 1 + 1)})$
by \cref{real_mul_comm,real_mul_eq_subst,real_mul_assoc}.
Therefore $(a + a + a) / (1 + 1 + 1) = a \rmul 1$
by \cref{real_mul_inverse,real_mul_comm,real_mul_eq_subst}.
Thus $(a + a + a) / (1 + 1 + 1) = a$
by \cref{real_mul_comm,real_mul_eq_subst,real_mul_ident}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Then $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_left_third_subset_parent}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Then $J\subseteq \intervalclosed{a}{b}$.
\end{lemma}
Proof
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Axiom 13, Axiom 15, Axiom 16, Definition 1, Definition 75, Lemma 23, Lemma 24, Lemma 261, Lemma 265, Lemma 543, Lemma 719, Lemma 720.
Therefore $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$ by Definition 1.
LaTeX source
\begin{proof}
For all $x$ such that $x\in J$ we have $x\in\intervalclosed{a}{b}$
by \cref{intervalclosed,subseteq,real_leq_add,real_add_comm,real_leq_subst_right_local,real_add_closed,real_leq_trans,real_add_assoc,space_filling_three_in_naturalsplus,real_div_naturalsplus_real,real_div_leq_same_denom,space_filling_triple_third_real}.
Therefore $J\subseteq \intervalclosed{a}{b}$ by \cref{subseteq}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Then $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_right_third_subset_parent}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Then $J\subseteq \intervalclosed{a}{b}$.
\end{lemma}
Proof
For all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $(a + b + b) / (1 + 1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ and $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 75.
We have $a + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + a$ by Lemma 24.
Hence $a + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + b$ by Axiom 16, Lemma 543.
We have $a + b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + b$ by Lemma 24.
We have $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Thus $a + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + b$ by Lemma 23.
Hence $(a + a) + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (b + b) + a$ by Lemma 24.
Therefore $a + a + a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + b + b$ by Axiom 15, Axiom 16.
$a + a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
We have $(a + a + a) / (1 + 1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(a + b + b) / (1 + 1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 265, Lemma 719.
Thus $(a + a + a) / (1 + 1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (a + b + b) / (1 + 1 + 1)$ by Lemma 261, Lemma 719.
Therefore $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (a + b + b) / (1 + 1 + 1)$ by Lemma 542, Lemma 720.
Thus for all $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 75, Lemma 23.
Hence $J\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \intervalclosed{a}{b}$ by Definition 1.
LaTeX source
\begin{proof}
For all $x$ such that $x\in J$ we have $(a + b + b) / (1 + 1 + 1) \leq x$ and $x \leq b$
by \cref{intervalclosed}.
We have $a + a \leq b + a$ by \cref{real_leq_add}.
Hence $a + a \leq a + b$ by \cref{real_add_comm,real_leq_subst_right_local}.
We have $a + b \leq b + b$ by \cref{real_leq_add}.
We have $a + a\in\reals$ and $a + b\in\reals$ and $b + b\in\reals$
by \cref{real_add_closed}.
Thus $a + a \leq b + b$ by \cref{real_leq_trans}.
Hence $(a + a) + a \leq (b + b) + a$ by \cref{real_leq_add}.
Therefore $a + a + a \leq a + b + b$ by \cref{real_add_assoc,real_add_comm}.
$a + a + a\in\reals$ and $a + b + b\in\reals$ by \cref{real_add_closed}.
We have $(a + a + a) / (1 + 1 + 1)\in\reals$ and $(a + b + b) / (1 + 1 + 1)\in\reals$
by \cref{space_filling_three_in_naturalsplus,real_div_naturalsplus_real}.
Thus $(a + a + a) / (1 + 1 + 1) \leq (a + b + b) / (1 + 1 + 1)$
by \cref{space_filling_three_in_naturalsplus,real_div_leq_same_denom}.
Therefore $a \leq (a + b + b) / (1 + 1 + 1)$
by \cref{space_filling_triple_third_real,real_leq_subst_left_local}.
Thus for all $x$ such that $x\in J$ we have $x\in\intervalclosed{a}{b}$
by \cref{intervalclosed,real_leq_trans}.
Hence $J\subseteq \intervalclosed{a}{b}$ by \cref{subseteq}.
\end{proof}
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 $a < b$.
Then $(a + a + b) / (1 + 1 + 1) < (a + b + b) / (1 + 1 + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_left_third_lt_right_third}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Then $(a + a + b) / (1 + 1 + 1) < (a + b + b) / (1 + 1 + 1)$.
\end{lemma}
Proof
$a + (a + b) < b + (a + b)$ by Axiom 13, Axiom 37.
Therefore $a + a + b < a + b + b$ by Axiom 15, Axiom 16, Lemma 83, Proposition 437.
$a + a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
We have $\inv{(1 + 1 + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \inv{(1 + 1 + 1)}$ by Axiom 22, Axiom 41, Definition 1, Lemma 20, Lemma 89, Lemma 719, Proposition 463.
Hence $(a + a + b) \rmul \inv{(1 + 1 + 1)} < (a + b + b) \rmul \inv{(1 + 1 + 1)}$ by Axiom 38.
Therefore $(a + a + b) / (1 + 1 + 1) < (a + b + b) / (1 + 1 + 1)$ by Definition 65, Lemma 82, Lemma 83.
LaTeX source
\begin{proof}
$a + (a + b) < b + (a + b)$ by \cref{real_add_closed,real_lt_add}.
Therefore $a + a + b < a + b + b$
by \cref{real_add_assoc,real_add_comm,real_add_eq_subst,real_lt_subst_right}.
$a + a + b\in\reals$ and $a + b + b\in\reals$ by \cref{real_add_closed}.
We have $\inv{(1 + 1 + 1)}\in\reals$ and $0 < \inv{(1 + 1 + 1)}$
by \cref{space_filling_three_in_naturalsplus,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_mul_inverse,real_inv_pos}.
Hence $(a + a + b) \rmul \inv{(1 + 1 + 1)} < (a + b + b) \rmul \inv{(1 + 1 + 1)}$
by \cref{real_lt_mul_pos}.
Therefore $(a + a + b) / (1 + 1 + 1) < (a + b + b) / (1 + 1 + 1)$
by \cref{real_div,real_lt_subst_left,real_lt_subst_right}.
\end{proof}
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 $a < b$.
Let $J_0 = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $J_1 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Then $J_0$ is disjoint from $J_1$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_thirds_disjoint}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Let $J_0 = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $J_1 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Then $J_0$ is disjoint from $J_1$.
\end{lemma}
Proof
Suppose not.
Take $x$ such that $x\class{latex-symbol-tip latex-symbol-id-in}{\in} J_0, J_1$.
We have $x \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (a + a + b) / (1 + 1 + 1)$ and $(a + b + b) / (1 + 1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} x$ by Definition 75.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
$a + a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Thus $(a + a + b) / (1 + 1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(a + b + b) / (1 + 1 + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 265, Lemma 719.
Hence $(a + b + b) / (1 + 1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (a + a + b) / (1 + 1 + 1)$ by Lemma 23.
Therefore $(a + b + b) / (1 + 1 + 1) < (a + b + b) / (1 + 1 + 1)$ by Lemma 266, Lemma 723.
Contradiction by Axiom 39.
LaTeX source
\begin{proof}
Suppose not.
Take $x$ such that $x\in J_0, J_1$.
We have $x \leq (a + a + b) / (1 + 1 + 1)$ and
$(a + b + b) / (1 + 1 + 1) \leq x$
by \cref{intervalclosed}.
Hence $x\in\reals$ by \cref{intervalclosed,subseteq}.
$a + a + b\in\reals$ and $a + b + b\in\reals$ by \cref{real_add_closed}.
Thus $(a + a + b) / (1 + 1 + 1)\in\reals$ and
$(a + b + b) / (1 + 1 + 1)\in\reals$
by \cref{space_filling_three_in_naturalsplus,real_div_naturalsplus_real}.
Hence $(a + b + b) / (1 + 1 + 1) \leq (a + a + b) / (1 + 1 + 1)$
by \cref{real_leq_trans}.
Therefore $(a + b + b) / (1 + 1 + 1) < (a + b + b) / (1 + 1 + 1)$
by \cref{real_leq_lt_trans,space_filling_left_third_lt_right_third}.
Contradiction by \cref{real_lt_irreflexive}.
\end{proof}
Let $D = \{0,1\}$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Then there exists $H$ such that $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and if $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_choose_retained_third}
Let $D = \{0,1\}$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\in D$.
Then there exists $H$ such that
$H\subseteq J$ and
if $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
\end{lemma}
Proof
Let $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
We have $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 721.
Claim: If $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Trivial.
Let $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
We have $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 722.
Claim: If $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Trivial.
LaTeX source
\begin{byCase}
\caseOf{$d = 0$.}
Let $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
We have $H\subseteq J$ by \cref{space_filling_left_third_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$d = 1$.}
Let $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
We have $H\subseteq J$ by \cref{space_filling_right_third_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
\begin{byCase}
\caseOf{$d = 0$.}
Let $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
We have $H\subseteq J$ by \cref{space_filling_left_third_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$d = 1$.}
Let $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
We have $H\subseteq J$ by \cref{space_filling_right_third_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (a + a + b) / (1 + 1 + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_left_endpoint_leq_left_third}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Then $a \leq (a + a + b) / (1 + 1 + 1)$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 15, Axiom 16, Lemma 24, Lemma 261, Lemma 542, Lemma 543, Lemma 719, Lemma 720, Proposition 437.
LaTeX source
\begin{proof}
Follows by \cref{real_leq_add,real_add_closed,real_add_assoc,real_add_comm,real_add_eq_subst,real_leq_subst_right_local,space_filling_three_in_naturalsplus,real_div_leq_same_denom,space_filling_triple_third_real,real_leq_subst_left_local}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $(a + b + b) / (1 + 1 + 1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
LaTeX source
\begin{lemma}
\label{space_filling_right_third_leq_right_endpoint}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Then $(a + b + b) / (1 + 1 + 1) \leq b$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 15, Lemma 24, Lemma 261, Lemma 543, Lemma 719, Lemma 720.
LaTeX source
\begin{proof}
Follows by \cref{real_add_closed,real_leq_add,real_add_assoc,real_leq_subst_right_local,space_filling_three_in_naturalsplus,real_div_leq_same_denom,space_filling_triple_third_real}.
\end{proof}
Let $D = \{0,1\}$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Then there exists $H$ such that $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
LaTeX source
\begin{lemma}
\label{space_filling_choose_half_from_digit}
Let $D = \{0,1\}$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\in D$.
Then there exists $H$ such that
$H\subseteq J$ and
if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\end{lemma}
Proof
Let $H = \intervalclosed{a}{(a + b) / (1 + 1)}$.
We have $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 706.
Claim: If $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Trivial.
Let $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
We have $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 707.
Claim: If $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Trivial.
LaTeX source
\begin{byCase}
\caseOf{$d = 0$.}
Let $H = \intervalclosed{a}{(a + b) / (1 + 1)}$.
We have $H\subseteq J$ by \cref{space_filling_left_half_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$d = 1$.}
Let $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
We have $H\subseteq J$ by \cref{space_filling_right_half_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
LaTeX source
\begin{proof}
\begin{byCase}
\caseOf{$d = 0$.}
Let $H = \intervalclosed{a}{(a + b) / (1 + 1)}$.
We have $H\subseteq J$ by \cref{space_filling_left_half_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\caseOf{$d = 1$.}
Let $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
We have $H\subseteq J$ by \cref{space_filling_right_half_subset_parent}.
Show that if $d = 0$ then $H = \intervalclosed{a}{(a + b) / (1 + 1)}$ and
if $d = 1$ then $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
\begin{subproof}
Trivial.
\end{subproof}
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Then $I\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
LaTeX source
\begin{lemma}
\label{space_filling_closed_interval_family_root}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Then $I\in K$.
\end{lemma}
Proof
Follows by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Proposition 2, Proposition 155, Proposition 462.
LaTeX source
\begin{proof}
Follows by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,subseteq_refl,powerset_intro}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Then there exists $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_selector}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Then there exists $g$ such that
$g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
\end{lemma}
Proof
For all $n,u,v$ such that $(n,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ and $(n,v)\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ we have $u = v$ by Axiom 6.
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Therefore $\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ there exists $w$ such that $z\mathrel{R} w$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Take $n,J$ such that $z = (n,J)$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Proposition 121.
Hence $x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 167.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$x(n) = 0$ or $x(n) = 1$ by Proposition 19.
Let $H = \intervalclosed{a}{(a + b) / (1 + 1)}$.
We have $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 706.
Hence $(x(n),H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 16.
$H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Lemma 265, Lemma 704, Proposition 6, Proposition 155, Proposition 156.
Hence $(n + 1,H)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 45, Proposition 115.
Take $w$ such that $w = (n + 1,H)$.
Therefore $z\mathrel{R} w$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115.
Let $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
We have $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 707.
Hence $(x(n),H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 17.
$H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Lemma 265, Lemma 705, Proposition 6, Proposition 155, Proposition 156.
Hence $(n + 1,H)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 45, Proposition 115.
Take $w$ such that $w = (n + 1,H)$.
Therefore $z\mathrel{R} w$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115.
LaTeX source
\begin{byCase}
\caseOf{$x(n) = 0$.}
Let $H = \intervalclosed{a}{(a + b) / (1 + 1)}$.
We have $H\subseteq J$ by \cref{space_filling_left_half_subset_parent}.
Hence $(x(n),H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by \cref{upair_intro_left,pair_eq_iff,subseteq}.
$H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint}.
Hence $(n + 1,H)\in G$ by \cref{real_naturals_closed_succ,times_tuple_intro}.
Take $w$ such that $w = (n + 1,H)$.
Therefore $z\mathrel{R} w$ by \cref{relation,subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\caseOf{$x(n) = 1$.}
Let $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
We have $H\subseteq J$ by \cref{space_filling_right_half_subset_parent}.
Hence $(x(n),H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by \cref{upair_intro_right,pair_eq_iff,subseteq}.
$H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint}.
Hence $(n + 1,H)\in G$ by \cref{real_naturals_closed_succ,times_tuple_intro}.
Take $w$ such that $w = (n + 1,H)$.
Therefore $z\mathrel{R} w$ by \cref{relation,subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\end{byCase}
Take $g$ such that $g$ 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{g}{z}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
Thus $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ by Definition 1, Definition 12, Proposition 114, Proposition 358.
LaTeX source
\begin{proof}
For all $n,u,v$ such that $(n,u)\in E$ and $(n,v)\in E$ we have $u = v$ by \cref{pair_eq_iff}.
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Therefore $\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
Show that for all $z\in G$ there exists $w$ such that $z\mathrel{R} w$.
\begin{subproof}
Fix $z\in G$.
Take $n,J$ such that $z = (n,J)$ and $n\in\naturalsPlus$ and $J\in K$
by \cref{subseteq,times_elem_is_tuple}.
Hence $x(n)\in D$ by \cref{indexed_product,subseteq}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$x(n) = 0$ or $x(n) = 1$ by \cref{upair_iff}.
\begin{byCase}
\caseOf{$x(n) = 0$.}
Let $H = \intervalclosed{a}{(a + b) / (1 + 1)}$.
We have $H\subseteq J$ by \cref{space_filling_left_half_subset_parent}.
Hence $(x(n),H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by \cref{upair_intro_left,pair_eq_iff,subseteq}.
$H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint}.
Hence $(n + 1,H)\in G$ by \cref{real_naturals_closed_succ,times_tuple_intro}.
Take $w$ such that $w = (n + 1,H)$.
Therefore $z\mathrel{R} w$ by \cref{relation,subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\caseOf{$x(n) = 1$.}
Let $H = \intervalclosed{(a + b) / (1 + 1)}{b}$.
We have $H\subseteq J$ by \cref{space_filling_right_half_subset_parent}.
Hence $(x(n),H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by \cref{upair_intro_right,pair_eq_iff,subseteq}.
$H\in K$ by \cref{subseteq,subseteq_transitive,powerset_elim,powerset_intro,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint}.
Hence $(n + 1,H)\in G$ by \cref{real_naturals_closed_succ,times_tuple_intro}.
Take $w$ such that $w = (n + 1,H)$.
Therefore $z\mathrel{R} w$ by \cref{relation,subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\end{byCase}
\end{subproof}
Take $g$ such that
$g$ is a function on $G$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$
by \cref{axiom_of_choice,relation,subseteq,times_elem_is_tuple}.
Thus $g\in\funs{G}{G}$ by \cref{funs_intro,relation,subseteq,times_tuple_elim}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Then there exists $u$ such that $u$ is a sequence in $G$ and $u(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_iteration}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Suppose $g\in\funs{G}{G}$.
Then there exists $u$ such that
$u$ is a sequence in $G$ and
$u(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
\end{lemma}
Proof
Follows by Axiom 42, Lemma 407, Lemma 729, Proposition 115.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_closed_interval_family_root,real_one_in_naturals,times_tuple_intro,iteration_sequence_naturalsplus}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{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{space_filling_dyadic_child_state_orbit_index}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{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 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{u(n)} = n$ by Definition 1.
Hence $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1, Definition 12, Definition 158, Proposition 361.
Take $k,J,H,a,b,d$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ 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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $J = \intervalclosed{a}{b}$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and $(d,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by Definition 1, Definition 12.
Thus $k = n$ and $\fst{u(n + 1)} = n + 1$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Proposition 437.
Hence $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Therefore 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.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ by Definition 1.
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,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ and $\fst{u(n)} = n$ by \cref{subseteq}.
Hence $(u(n),u(n + 1))\in R$ by \cref{sequence_in,funs_type_apply,relation,subseteq}.
Take $k,J,H,a,b,d$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$
by \cref{relation,subseteq}.
Thus $k = n$ and $\fst{u(n + 1)} = n + 1$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq,real_add_eq_subst}.
Hence $n + 1\in A_0$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
Therefore for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
Hence for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_orbit_nested}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n\in\naturalsPlus$ we have $\snd{u(n + 1)}\subseteq \snd{u(n)}$.
\end{lemma}
Proof
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Definition 158, Proposition 361.
LaTeX source
\begin{proof}
Follows by \cref{sequence_in,funs_type_apply,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_orbit_monotone}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $m,n\in\naturalsPlus$ if $m \leq n$ then $\snd{u(n)}\subseteq \snd{u(m)}$.
\end{lemma}
Proof
Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $m\in\initialSegment{n}$ we have $\snd{u(n)}\subseteq \snd{u(m)}$}\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$ we have $\snd{u(1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
Therefore $1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ we have $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
Fix $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.
$\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(n)}$ by Lemma 733.
We have $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$ by Proposition 2.
We have $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$ by Definition 1, Definition 84, Lemma 29, Proposition 6.
LaTeX source
\begin{byCase}
\caseOf{$m = n + 1$.}
We have $\snd{u(n + 1)}\subseteq \snd{u(m)}$ by \cref{subseteq_refl}.
\caseOf{$m \neq n + 1$.}
We have $\snd{u(n + 1)}\subseteq \snd{u(m)}$
by \cref{subseteq,initial_segment_naturalsplus,real_naturals_leq_succ_elim,subseteq_transitive}.
\end{byCase}
Thus $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 45, Definition 1.
Hence 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} P$ by Proposition 445.
Fix $m$.
Fix $n$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
Therefore $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
Let $P = \{n\in\naturalsPlus \mid \text{for all $m\in\initialSegment{n}$ we have $\snd{u(n)}\subseteq \snd{u(m)}$}\}$.
$P\subseteq\naturalsPlus$ by \cref{subseteq}.
For all $m\in\initialSegment{1}$ we have $\snd{u(1)}\subseteq \snd{u(m)}$.
Therefore $1\in P$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in P$ we have $n + 1\in P$.
\begin{subproof}
Fix $n\in P$.
Show that for all $m\in\initialSegment{n + 1}$ we have $\snd{u(n + 1)}\subseteq \snd{u(m)}$.
\begin{subproof}
Fix $m\in\initialSegment{n + 1}$.
$\snd{u(n + 1)}\subseteq \snd{u(n)}$ by \cref{space_filling_dyadic_child_state_orbit_nested}.
\begin{byCase}
\caseOf{$m = n + 1$.}
We have $\snd{u(n + 1)}\subseteq \snd{u(m)}$ by \cref{subseteq_refl}.
\caseOf{$m \neq n + 1$.}
We have $\snd{u(n + 1)}\subseteq \snd{u(m)}$
by \cref{subseteq,initial_segment_naturalsplus,real_naturals_leq_succ_elim,subseteq_transitive}.
\end{byCase}
\end{subproof}
Thus $n + 1\in P$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
Fix $m$.
Fix $n$ such that $m\in\naturalsPlus$ and $n\in\naturalsPlus$.
Assume $m \leq n$.
Therefore $\snd{u(n)}\subseteq \snd{u(m)}$ by \cref{subseteq,initial_segment_naturalsplus}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Then $\intervalclosed{a}{b}$ is inhabited.
LaTeX source
\begin{lemma}
\label{space_filling_intervalclosed_inhabited}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Then $\intervalclosed{a}{b}$ is inhabited.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 42, Axiom 45, Definition 75, Lemma 265, Lemma 704, Lemma 705, Proposition 10.
LaTeX source
\begin{proof}
Follows by \cref{real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint,space_filling_midpoint_leq_right_endpoint,intervalclosed,nonempty_inhabited}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Assume $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
Then $J$ is closed in $I$ with respect to $T_I$.
LaTeX source
\begin{lemma}
\label{space_filling_closed_interval_family_member_closed}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Assume $J\in K$.
Then $J$ is closed in $I$ with respect to $T_I$.
\end{lemma}
Proof
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
Therefore $J$ is closed in $I$ with respect to $T_I$ by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 524, Proposition 69, Proposition 156, Theorem 8.
LaTeX source
\begin{proof}
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
Therefore $J$ is closed in $I$ with respect to $T_I$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,real_intervalclosed_closed_standard,closed_in_subspace_iff,powerset_elim,inter_absorb_supseteq_right}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Let $v = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Then $C$ has the finite intersection property.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_orbit_fip}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Let $v = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Then $C$ has the finite intersection property.
\end{lemma}
Proof
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Definition 158.
We have $\dom{v} = \naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ we have $v(n) = \snd{u(n)}$ by Axiom 6, Definition 12, Definition 51, Proposition 346.
Thus $C$ is inhabited by Axiom 42, Definition 1, Proposition 10, Proposition 235, Proposition 348.
Claim: For all $F$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $F$ is finite and inhabited we have $\inters{F}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Fix $F$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $F$ is finite and inhabited.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} F\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus \mid \text{there exists $n\in\naturalsPlus$ such that $\snd{w} = n$ and $\fst{w} = v(n)$}\}$.
For all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $n$ such that $J\mathrel{Q} n$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115, Proposition 235.
Take $k$ such that $k$ is a function on $F$ and for all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $J\mathrel{Q}\apply{k}{J}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
Let $M = \img{k}{F}$.
$M$ is finite by Lemma 192.
Take $J_0$ such that $J_0\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 10.
Therefore $M$ is inhabited by Proposition 10, Proposition 235, Proposition 348.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Proposition 114, Proposition 235, Proposition 346.
Thus $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 41, Definition 1.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $N$ is a maximum of $M$ by Lemma 47, Lemma 323.
Therefore $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Thus $\snd{u(N)}\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 6, Axiom 11, Definition 1, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(N)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
Take $y$ such that $y = (a + b) / (1 + 1)$.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(N)}$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 75, Lemma 265, Lemma 704, Lemma 705.
Claim: For all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
Fix $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
We have $(J,k(J))\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ by Definition 12.
Take $n$ such that $(J,k(J))\class{latex-symbol-tip latex-symbol-id-in}{\in} F\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\snd{(J,k(J))} = n$ and $\fst{(J,k(J))} = v(n)$ by Definition 1.
Therefore $J = v(k(J))$ and $k(J)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Axiom 10, Axiom 11, Lemma 83, Proposition 114.
Thus $k(J)\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ by Proposition 235, Proposition 348.
Hence $k(J)\class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ by Definition 73.
Since $k(J)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k(J)\class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$, we have $\snd{u(N)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k(J))}$ by Lemma 734.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 1, Lemma 83, Proposition 346.
Thus $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{F}$ by Proposition 31.
Therefore $\inters{F}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2.
Therefore $C$ has the finite intersection property by Definition 91.
LaTeX source
\begin{proof}
$u\in\funs{\naturalsPlus}{G}$ by \cref{sequence_in}.
We have $\dom{v} = \naturalsPlus$ by \cref{relation,rightunique,pair_eq_iff,dom_intro,dom_iff,subseteq,subseteq_antisymmetric}.
For all $n\in\dom{v}$ we have $v(n) = \snd{u(n)}$ by \cref{function_apply_intro,relation,rightunique,pair_eq_iff}.
Thus $C$ is inhabited by \cref{real_one_in_naturals,function_apply_elim,subseteq,img_iff,nonempty_inhabited}.
Show that for all $F$ such that $F\subseteq C$ and $F$ is finite and inhabited
we have $\inters{F}\neq\emptyset$.
\begin{subproof}
Fix $F$ such that $F\subseteq C$ and $F$ is finite and inhabited.
Let $Q = \{w\in F\times\naturalsPlus \mid \text{there exists $n\in\naturalsPlus$ such that
$\snd{w} = n$ and
$\fst{w} = v(n)$}\}$.
For all $J\in F$ there exists $n$ such that $J\mathrel{Q} n$
by \cref{img_iff,fst_eq,snd_eq,pair_eq_iff,relation,subseteq,times_tuple_intro}.
Take $k$ such that
$k$ is a function on $F$ and
for all $J\in F$ we have $J\mathrel{Q}\apply{k}{J}$
by \cref{axiom_of_choice,relation,subseteq,times_elem_is_tuple}.
Let $M = \img{k}{F}$.
$M$ is finite by \cref{finite_image_function}.
Take $J_0$ such that $J_0\in F$ by \cref{nonempty_inhabited}.
Therefore $M$ is inhabited by \cref{img_iff,function_apply_elim,nonempty_inhabited}.
For all $m\in M$ we have $m\in\naturalsPlus$
by \cref{img_iff,function_apply_intro,pair_eq_iff,relation,subseteq,times_tuple_elim}.
Thus $M\subseteq\reals$ by \cref{real_naturals_subset_reals,subseteq}.
Take $N\in M$ such that $N$ is a maximum of $M$ by \cref{inhabited_nonempty,finite_real_maximum}.
Therefore $N\in\naturalsPlus$ by \cref{subseteq}.
Thus $\snd{u(N)}\in K$
by \cref{funs_type_apply,subseteq,times_elem_is_tuple,snd_eq,pair_eq_iff}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(N)} = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
Take $y$ such that $y = (a + b) / (1 + 1)$.
Therefore $y\in\snd{u(N)}$
by \cref{intervalclosed,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint,space_filling_midpoint_leq_right_endpoint}.
Show that for all $J\in F$ we have $y\in J$.
\begin{subproof}
Fix $J\in F$.
We have $(J,k(J))\in Q$ by \cref{relation}.
Take $n$ such that
$(J,k(J))\in F\times\naturalsPlus$ and
$n\in\naturalsPlus$ and
$\snd{(J,k(J))} = n$ and
$\fst{(J,k(J))} = v(n)$
by \cref{subseteq}.
Therefore $J = v(k(J))$ and $k(J)\in\naturalsPlus$
by \cref{fst_eq,snd_eq,pair_eq_iff,times_tuple_elim,real_lt_subst_right}.
Thus $k(J)\in M$ by \cref{img_iff,function_apply_elim}.
Hence $k(J)\leq N$ by \cref{real_maximum}.
Since $k(J)\in\naturalsPlus$ and $N\in\naturalsPlus$ and $k(J)\leq N$,
we have $\snd{u(N)}\subseteq \snd{u(k(J))}$
by \cref{space_filling_dyadic_child_state_orbit_monotone}.
Therefore $y\in J$ by \cref{function_apply_intro,subseteq,real_lt_subst_right}.
\end{subproof}
Thus $y\in\inters{F}$ by \cref{inters_intro}.
Therefore $\inters{F}\neq\emptyset$ by \cref{emptyset}.
\end{subproof}
Therefore $C$ has the finite intersection property by \cref{finite_intersection_property}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Suppose $u$ is a sequence in $G$.
Suppose for all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
Let $v = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Then $C$ has the finite intersection property.
LaTeX source
\begin{lemma}
\label{space_filling_closed_interval_state_orbit_fip_from_monotone}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Suppose $u$ is a sequence in $G$.
Suppose for all $m,n\in\naturalsPlus$ if $m \leq n$ then $\snd{u(n)}\subseteq \snd{u(m)}$.
Let $v = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Then $C$ has the finite intersection property.
\end{lemma}
Proof
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Definition 158.
For all $n,J_1,J_2$ such that $(n,J_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ and $(n,J_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ we have $J_1 = J_2$ by Axiom 6.
Therefore $v$ is a function by Axiom 6, Definition 12, Definition 51.
Thus $\dom{v} = \naturalsPlus$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ we have $v(n) = \snd{u(n)}$ by Proposition 346.
Therefore $C$ is inhabited by Axiom 42, Definition 1, Proposition 10, Proposition 235, Proposition 348.
Claim: For all $F$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $F$ is finite and inhabited we have $\inters{F}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$.
Fix $F$ such that $F\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} C$ and $F$ is finite and inhabited.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} F\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus \mid \text{there exists $n\in\naturalsPlus$ such that $\snd{w} = n$ and $\fst{w} = v(n)$}\}$.
For all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ there exists $n$ such that $J\mathrel{Q} n$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115, Proposition 235.
Take $k$ such that $k$ is a function on $F$ and for all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $J\mathrel{Q}\apply{k}{J}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
Let $M = \img{k}{F}$.
$M$ is finite by Lemma 192.
Take $J_0$ such that $J_0\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ by Proposition 10.
Thus $M$ is inhabited by Axiom 54, Proposition 10, Proposition 235, Proposition 348.
For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ we have $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 235, Proposition 346.
Therefore $M\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 41, Definition 1.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ such that $N$ is a maximum of $M$ by Lemma 47, Lemma 323.
Thus $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Therefore $\snd{u(N)}\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 6, Axiom 11, Definition 1, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(N)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
Take $y$ such that $y = (a + b) / (1 + 1)$.
Thus $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(N)}$ by Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 75, Lemma 265, Lemma 704, Lemma 705.
Claim: For all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
Fix $J\class{latex-symbol-tip latex-symbol-id-in}{\in} F$.
We have $(J,k(J))\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ by Axiom 54, Definition 12.
Take $n$ such that $(J,k(J))\class{latex-symbol-tip latex-symbol-id-in}{\in} F\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\snd{(J,k(J))} = n$ and $\fst{(J,k(J))} = v(n)$ by Definition 1.
Thus $J = v(k(J))$ and $k(J)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 6, Axiom 10, Axiom 11, Lemma 83, Proposition 114.
Therefore $k(J)\class{latex-symbol-tip latex-symbol-id-in}{\in} M$ by Axiom 54, Proposition 235, Proposition 348.
Hence $k(J)\class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ by Definition 73.
Since $k(J)\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $k(J)\class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$, we have $\snd{u(N)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(k(J))}$.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Definition 1, Lemma 83, Proposition 346.
Thus $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{F}$ by Proposition 31.
Therefore $\inters{F}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\class{latex-symbol-tip latex-symbol-id-emptyset}{\emptyset}$ by Axiom 2.
Thus $C$ has the finite intersection property by Definition 91.
LaTeX source
\begin{proof}
$u\in\funs{\naturalsPlus}{G}$ by \cref{sequence_in}.
For all $n,J_1,J_2$ such that $(n,J_1)\in v$ and $(n,J_2)\in v$ we have $J_1 = J_2$ by \cref{pair_eq_iff}.
Therefore $v$ is a function by \cref{relation,rightunique,pair_eq_iff}.
Thus $\dom{v} = \naturalsPlus$ by \cref{dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $n\in\dom{v}$ we have $v(n) = \snd{u(n)}$ by \cref{function_apply_intro}.
Therefore $C$ is inhabited by \cref{real_one_in_naturals,function_apply_elim,subseteq,img_iff,nonempty_inhabited}.
Show that for all $F$ such that $F\subseteq C$ and $F$ is finite and inhabited
we have $\inters{F}\neq\emptyset$.
\begin{subproof}
Fix $F$ such that $F\subseteq C$ and $F$ is finite and inhabited.
Let $Q = \{w\in F\times\naturalsPlus \mid \text{there exists $n\in\naturalsPlus$ such that
$\snd{w} = n$ and
$\fst{w} = v(n)$}\}$.
For all $J\in F$ there exists $n$ such that $J\mathrel{Q} n$
by \cref{img_iff,fst_eq,snd_eq,pair_eq_iff,relation,subseteq,times_tuple_intro}.
Take $k$ such that
$k$ is a function on $F$ and
for all $J\in F$ we have $J\mathrel{Q}\apply{k}{J}$
by \cref{axiom_of_choice,relation,subseteq,times_elem_is_tuple}.
Let $M = \img{k}{F}$.
$M$ is finite by \cref{finite_image_function}.
Take $J_0$ such that $J_0\in F$ by \cref{nonempty_inhabited}.
Thus $M$ is inhabited by \cref{img_iff,function_apply_elim,axiom_of_choice,nonempty_inhabited}.
For all $m\in M$ we have $m\in\naturalsPlus$
by \cref{img_iff,axiom_of_choice,function_apply_intro,pair_eq_iff,relation,subseteq,times_tuple_elim}.
Therefore $M\subseteq\reals$ by \cref{real_naturals_subset_reals,subseteq}.
Take $N\in M$ such that $N$ is a maximum of $M$ by \cref{inhabited_nonempty,finite_real_maximum}.
Thus $N\in\naturalsPlus$ by \cref{subseteq}.
Therefore $\snd{u(N)}\in K$
by \cref{funs_type_apply,subseteq,times_elem_is_tuple,snd_eq,pair_eq_iff}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(N)} = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
Take $y$ such that $y = (a + b) / (1 + 1)$.
Thus $y\in\snd{u(N)}$
by \cref{intervalclosed,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint,space_filling_midpoint_leq_right_endpoint}.
Show that for all $J\in F$ we have $y\in J$.
\begin{subproof}
Fix $J\in F$.
We have $(J,k(J))\in Q$ by \cref{axiom_of_choice,relation}.
Take $n$ such that
$(J,k(J))\in F\times\naturalsPlus$ and
$n\in\naturalsPlus$ and
$\snd{(J,k(J))} = n$ and
$\fst{(J,k(J))} = v(n)$
by \cref{subseteq}.
Thus $J = v(k(J))$ and $k(J)\in\naturalsPlus$
by \cref{fst_eq,snd_eq,pair_eq_iff,times_tuple_elim,real_lt_subst_right}.
Therefore $k(J)\in M$ by \cref{img_iff,function_apply_elim,axiom_of_choice}.
Hence $k(J)\leq N$ by \cref{real_maximum}.
Since $k(J)\in\naturalsPlus$ and $N\in\naturalsPlus$ and $k(J)\leq N$,
we have $\snd{u(N)}\subseteq \snd{u(k(J))}$.
Therefore $y\in J$ by \cref{function_apply_intro,subseteq,real_lt_subst_right}.
\end{subproof}
Thus $y\in\inters{F}$ by \cref{inters_intro}.
Therefore $\inters{F}\neq\emptyset$ by \cref{emptyset}.
\end{subproof}
Thus $C$ has the finite intersection property by \cref{finite_intersection_property}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Suppose $u$ is a sequence in $G$.
Let $v = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Assume $C$ has the finite intersection property.
Then there exists $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_closed_interval_state_orbit_common_point_from_fip}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Suppose $u$ is a sequence in $G$.
Let $v = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Assume $C$ has the finite intersection property.
Then there exists $y\in I$ such that
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{lemma}
Proof
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Definition 158.
For all $n,J_1,J_2$ such that $(n,J_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ and $(n,J_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} v$ we have $J_1 = J_2$ by Axiom 6.
Therefore $v$ is a function by Axiom 6, Definition 12, Definition 51.
Thus $\dom{v} = \naturalsPlus$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ we have $v(n) = \snd{u(n)}$ by Proposition 346.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{v}$ we have $v(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 6, Axiom 11, Definition 1, Proposition 121, Proposition 346, Proposition 361.
Therefore $v\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{K}$ by Proposition 358.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Thus $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 1, Definition 147.
For all $J$ such that $J\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $J$ is closed in $I$ with respect to $T_I$ by Definition 1, Lemma 736, Proposition 235, Proposition 361.
Therefore $\inters{C}$ is inhabited by Lemma 131, Lemma 689, Lemma 702.
Take $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\inters{C}$ by Proposition 10.
Take $J_0$ such that $J_0\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ by Definition 91.
Therefore there exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Definition 1, Proposition 32, Proposition 156, Proposition 235, Proposition 346, Proposition 348, Proposition 361.
LaTeX source
\begin{proof}
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
$u\in\funs{\naturalsPlus}{G}$ by \cref{sequence_in}.
For all $n,J_1,J_2$ such that $(n,J_1)\in v$ and $(n,J_2)\in v$ we have $J_1 = J_2$ by \cref{pair_eq_iff}.
Therefore $v$ is a function by \cref{relation,rightunique,pair_eq_iff}.
Thus $\dom{v} = \naturalsPlus$ by \cref{dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $n\in\dom{v}$ we have $v(n) = \snd{u(n)}$ by \cref{function_apply_intro}.
For all $n\in\dom{v}$ we have $v(n)\in K$
by \cref{funs_type_apply,subseteq,times_elem_is_tuple,function_apply_intro,pair_eq_iff,snd_eq}.
Therefore $v\in\funs{\naturalsPlus}{K}$ by \cref{funs_intro}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
Thus $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$
by \cref{subspace_of,subseteq}.
For all $J$ such that $J\in C$ we have $J$ is closed in $I$ with respect to $T_I$
by \cref{img_iff,subseteq,funs_type_apply,space_filling_closed_interval_family_member_closed}.
Therefore $\inters{C}$ is inhabited
by \cref{subspace_topology_is_topology,space_filling_domain_compact,space_filling_compact_fip_inhabited_intersection}.
Take $y$ such that $y\in\inters{C}$ by \cref{nonempty_inhabited}.
Take $J_0$ such that $J_0\in C$ by \cref{finite_intersection_property}.
Therefore there exists $z\in I$ such that
for all $n\in\naturalsPlus$ we have $z\in\snd{u(n)}$
by \cref{subseteq,function_apply_elim,img_iff,inters_destr,function_apply_intro,funs_type_apply,powerset_elim}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then there exists $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_orbit_common_point}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then there exists $y\in I$ such that
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{lemma}
Proof
Let $v = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Therefore there exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Lemma 737, Lemma 739.
LaTeX source
\begin{proof}
Let $v = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Therefore there exists $z\in I$ such that
for all $n\in\naturalsPlus$ we have $z\in\snd{u(n)}$
by \cref{space_filling_dyadic_child_state_orbit_fip,space_filling_closed_interval_state_orbit_common_point_from_fip}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Then there exists $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_selector}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Then there exists $g$ such that
$g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
\end{lemma}
Proof
$E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ there exists $w$ such that $z\mathrel{R} w$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$.
Take $n,J$ such that $z = (n,J)$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Proposition 121.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$x(n) = 0$ or $x(n) = 1$ by Definition 1, Definition 167, Proposition 19.
Let $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 721.
We have $(x(n),H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 19.
Hence $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Definition 1, Lemma 265, Lemma 719, Lemma 726, Proposition 6, Proposition 155, Proposition 156.
Thus $z\mathrel{R} (n + 1,H)$ by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Proposition 115.
Let $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
$H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ by Lemma 722.
We have $(x(n),H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 19.
Hence $H\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Axiom 13, Definition 1, Lemma 265, Lemma 719, Lemma 727, Proposition 6, Proposition 155, Proposition 156.
Thus $z\mathrel{R} (n + 1,H)$ by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Proposition 115.
LaTeX source
\begin{byCase}
\caseOf{$x(n) = 0$.}
Let $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
$H\subseteq J$ by \cref{space_filling_left_third_subset_parent}.
We have $(x(n),H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by \cref{upair_iff,pair_eq_iff,subseteq}.
Hence $H\in K$
by \cref{subseteq,powerset_elim,subseteq_transitive,powerset_intro,real_add_closed,space_filling_three_in_naturalsplus,real_div_naturalsplus_real,space_filling_left_endpoint_leq_left_third}.
Thus $z\mathrel{R} (n + 1,H)$
by \cref{relation,subseteq,real_naturals_closed_succ,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\caseOf{$x(n) = 1$.}
Let $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
$H\subseteq J$ by \cref{space_filling_right_third_subset_parent}.
We have $(x(n),H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by \cref{upair_iff,pair_eq_iff,subseteq}.
Hence $H\in K$
by \cref{subseteq,powerset_elim,subseteq_transitive,powerset_intro,real_add_closed,space_filling_three_in_naturalsplus,real_div_naturalsplus_real,space_filling_right_third_leq_right_endpoint}.
Thus $z\mathrel{R} (n + 1,H)$
by \cref{relation,subseteq,real_naturals_closed_succ,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\end{byCase}
Take $g$ such that $g$ 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{g}{z}$ by Axiom 54.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ by Definition 1, Definition 12, Proposition 114, Proposition 358.
LaTeX source
\begin{proof}
$E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
$R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
Show that for all $z\in G$ there exists $w$ such that $z\mathrel{R} w$.
\begin{subproof}
Fix $z\in G$.
Take $n,J$ such that $z = (n,J)$ and $n\in\naturalsPlus$ and $J\in K$
by \cref{subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$x(n) = 0$ or $x(n) = 1$ by \cref{indexed_product,subseteq,upair_iff}.
\begin{byCase}
\caseOf{$x(n) = 0$.}
Let $H = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
$H\subseteq J$ by \cref{space_filling_left_third_subset_parent}.
We have $(x(n),H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by \cref{upair_iff,pair_eq_iff,subseteq}.
Hence $H\in K$
by \cref{subseteq,powerset_elim,subseteq_transitive,powerset_intro,real_add_closed,space_filling_three_in_naturalsplus,real_div_naturalsplus_real,space_filling_left_endpoint_leq_left_third}.
Thus $z\mathrel{R} (n + 1,H)$
by \cref{relation,subseteq,real_naturals_closed_succ,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\caseOf{$x(n) = 1$.}
Let $H = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
$H\subseteq J$ by \cref{space_filling_right_third_subset_parent}.
We have $(x(n),H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by \cref{upair_iff,pair_eq_iff,subseteq}.
Hence $H\in K$
by \cref{subseteq,powerset_elim,subseteq_transitive,powerset_intro,real_add_closed,space_filling_three_in_naturalsplus,real_div_naturalsplus_real,space_filling_right_third_leq_right_endpoint}.
Thus $z\mathrel{R} (n + 1,H)$
by \cref{relation,subseteq,real_naturals_closed_succ,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
\end{byCase}
\end{subproof}
Take $g$ such that
$g$ is a function on $G$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$
by \cref{axiom_of_choice}.
$g\in\funs{G}{G}$ by \cref{funs_intro,relation,subseteq,times_tuple_elim}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_nested}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n\in\naturalsPlus$ we have $\snd{u(n + 1)}\subseteq \snd{u(n)}$.
\end{lemma}
Proof
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Definition 158, Proposition 361.
LaTeX source
\begin{proof}
Follows by \cref{sequence_in,funs_type_apply,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $m,n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ if $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ then $\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_monotone}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $m,n\in\naturalsPlus$ if $m \leq n$ then $\snd{u(n)}\subseteq \snd{u(m)}$.
\end{lemma}
Proof
Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $m\in\initialSegment{n}$ we have $\snd{u(n)}\subseteq \snd{u(m)}$}\}$.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1}$ we have $\snd{u(1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
Trivial.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} P$.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$ we have $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$.
Fix $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{n + 1}$.
$\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(n)}$ by Lemma 742.
Hence $\snd{u(n + 1)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$ by Definition 1, Definition 84, Lemma 29, Proposition 2, Proposition 6.
Thus $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Axiom 45, Definition 1.
Hence 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} P$ by Proposition 445.
Fix $m$.
Fix $n$ such that $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
$\snd{u(n)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} \snd{u(m)}$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
Let $P = \{n\in\naturalsPlus \mid \text{for all $m\in\initialSegment{n}$ we have $\snd{u(n)}\subseteq \snd{u(m)}$}\}$.
$P\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that for all $m\in\initialSegment{1}$ we have $\snd{u(1)}\subseteq \snd{u(m)}$.
\begin{subproof}
Trivial.
\end{subproof}
$1\in P$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in P$ we have $n + 1\in P$.
\begin{subproof}
Fix $n\in P$.
Show that for all $m\in\initialSegment{n + 1}$ we have $\snd{u(n + 1)}\subseteq \snd{u(m)}$.
\begin{subproof}
Fix $m\in\initialSegment{n + 1}$.
$\snd{u(n + 1)}\subseteq \snd{u(n)}$ by \cref{space_filling_retained_third_state_orbit_nested}.
Hence $\snd{u(n + 1)}\subseteq \snd{u(m)}$
by \cref{subseteq_refl,subseteq,initial_segment_naturalsplus,real_naturals_leq_succ_elim,subseteq_transitive}.
\end{subproof}
Thus $n + 1\in P$ by \cref{subseteq,real_naturals_closed_succ}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in P$ by \cref{real_naturals_induction}.
Fix $m$.
Fix $n$ such that $m\in\naturalsPlus$ and $n\in\naturalsPlus$.
Assume $m \leq n$.
$\snd{u(n)}\subseteq \snd{u(m)}$ by \cref{subseteq,initial_segment_naturalsplus}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Let $v = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Then $C$ has the finite intersection property.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_fip}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Let $v = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
Then $C$ has the finite intersection property.
\end{lemma}
Proof
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then there exists $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_common_point}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then there exists $y\in I$ such that
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{lemma}
Proof
Let $v = \{(n,\snd{u(n)}) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
There exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Lemma 739, Lemma 744.
LaTeX source
\begin{proof}
Let $v = \{(n,\snd{u(n)}) \mid n\in\naturalsPlus\}$.
Let $C = \img{v}{\naturalsPlus}$.
There exists $z\in I$ such that
for all $n\in\naturalsPlus$ we have $z\in\snd{u(n)}$
by \cref{space_filling_retained_third_state_orbit_fip,space_filling_closed_interval_state_orbit_common_point_from_fip}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{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{space_filling_retained_third_state_orbit_index}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{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.
Claim: $\fst{u(1)} = 1$.
Follows by Axiom 6, Axiom 10, Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{u(n)} = n$ by Definition 1.
Take $k,J,H,a,b,d$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ 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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $J = \intervalclosed{a}{b}$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and $(d,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Definition 1, Definition 12, Definition 158, Proposition 361.
$k = n$ and $\fst{u(n + 1)} = n + 1$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Proposition 437.
Hence $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Thus for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ by Definition 1, Proposition 445.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that $\fst{u(1)} = 1$.
\begin{subproof}
Follows by \cref{pair_eq_iff,fst_eq,subseteq}.
\end{subproof}
$1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ and $\fst{u(n)} = n$ by \cref{subseteq}.
Take $k,J,H,a,b,d$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{sequence_in,funs_type_apply,relation,subseteq}.
$k = n$ and $\fst{u(n + 1)} = n + 1$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq,real_add_eq_subst}.
Hence $n + 1\in A_0$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
Thus for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$
by \cref{real_naturals_induction,subseteq}.
\end{proof}
Let $D = \{0,1\}$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Assume $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$.
Assume if $d = 0$ then $H_1 = \intervalclosed{a}{(a + b) / (1 + 1)}$.
Assume if $d = 1$ then $H_1 = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Assume $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$.
Assume if $d = 0$ then $H_2 = \intervalclosed{a}{(a + b) / (1 + 1)}$.
Assume if $d = 1$ then $H_2 = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Then $H_1 = H_2$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_unique}
Let $D = \{0,1\}$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\in D$.
Assume $H_1\subseteq J$.
Assume if $d = 0$ then $H_1 = \intervalclosed{a}{(a + b) / (1 + 1)}$.
Assume if $d = 1$ then $H_1 = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Assume $H_2\subseteq J$.
Assume if $d = 0$ then $H_2 = \intervalclosed{a}{(a + b) / (1 + 1)}$.
Assume if $d = 1$ then $H_2 = \intervalclosed{(a + b) / (1 + 1)}{b}$.
Then $H_1 = H_2$.
\end{lemma}
Proof
Follows by Definition 1, Lemma 82, Proposition 19.
LaTeX source
\begin{proof}
Follows by \cref{upair_iff,subseteq,real_lt_subst_left}.
\end{proof}
Let $D = \{0,1\}$.
Suppose $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Suppose $(d,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$.
Suppose $(d,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$.
Then $H_1 = H_2$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_choice_unique}
Let $D = \{0,1\}$.
Suppose $d\in D$.
Suppose $(d,H_1)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$.
Suppose $(d,H_2)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$.
Then $H_1 = H_2$.
\end{lemma}
Proof
Follows by Axiom 6, Axiom 17, Axiom 39, Axiom 41, Axiom 42, Definition 1, Lemma 82, Lemma 83, Proposition 19, Proposition 462.
LaTeX source
\begin{proof}
Follows by \cref{upair_iff,subseteq,pair_eq_iff,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_zero_lt_one,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Suppose $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$.
Suppose $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$.
Suppose $\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$.
Then $a_1 = a_2$ and $b_1 = b_2$.
LaTeX source
\begin{lemma}
\label{space_filling_intervalclosed_endpoints_unique}
Suppose $a_1\in\reals$ and $b_1\in\reals$ and $a_1 \leq b_1$.
Suppose $a_2\in\reals$ and $b_2\in\reals$ and $a_2 \leq b_2$.
Suppose $\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$.
Then $a_1 = a_2$ and $b_1 = b_2$.
\end{lemma}
Proof
Follows by Definition 75, Lemma 25.
LaTeX source
\begin{proof}
Follows by \cref{intervalclosed,real_leq_antisym}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $x_1(i) = x_2(i)$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_state_orbit_prefix_agreement}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R_1 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $N\in\naturalsPlus$.
Assume for all $i\in\initialSegment{N}$ we have $x_1(i) = x_2(i)$.
Then for all $n\in\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$.
\end{lemma}
Proof
$E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
$u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Definition 158.
$R_1$ is a relation by Definition 1, Definition 12, Proposition 121.
$R_2$ is a relation by Definition 1, Definition 12, Proposition 121.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: If $1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
Follows by Axiom 6, Axiom 11, Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: If $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
Assume $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Lemma 231, Lemma 399.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
Thus $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ by Lemma 23.
$\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ by Axiom 45, Definition 84.
$x_1(n) = x_2(n)$ by Definition 1.
We have $x_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $x_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 167.
We have $u_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $u_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Proposition 361.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and $u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by assumption.
Thus $u_1(n)\mathrel{R_1}u_1(n + 1)$ and $u_2(n)\mathrel{R_2}u_2(n + 1)$ by Definition 1.
$(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 12.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and $\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + b_1) / (1 + 1)}), (1,\intervalclosed{(a_1 + b_1) / (1 + 1)}{b_1})\}$ by Definition 1.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(n),u_2(n + 1))} = (k_2,J_2)$ and $\snd{(u_2(n),u_2(n + 1))} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}), (1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$ by Definition 1.
We have $u_1(n) = (k_1,J_1)$ and $u_1(n + 1) = (k_1 + 1,H_1)$ and $u_2(n) = (k_2,J_2)$ and $u_2(n + 1) = (k_2 + 1,H_2)$ by Axiom 6, Axiom 10, Axiom 11.
$\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_2$ and $\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_2$ by Axiom 6, Axiom 10, Axiom 11.
Hence $\fst{u_1(n)} = n$ and $\fst{u_2(n)} = n$ by Lemma 732.
$k_1 = n$ and $k_2 = n$ by Definition 1.
$d_1 = x_1(n)$ and $d_2 = x_2(n)$ and $d_1 = d_2$ by Definition 1.
$\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_2$ by Axiom 6, Axiom 11.
$J_1 = J_2$ by Definition 1.
$a_1 = a_2$ and $b_1 = b_2$ by Definition 1, Lemma 749.
$(d_2,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}), (1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$ by Definition 1, Proposition 437.
Hence $H_1 = H_2$ by Definition 1, Lemma 748, Proposition 437.
$\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by Definition 1.
Thus $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Hence 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}\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
$E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
$u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ by \cref{sequence_in}.
$R_1$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
$R_2$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
Let $A_0 = \{n\in\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that if $1 \leq N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
\begin{subproof}
Follows by \cref{subseteq,snd_eq,pair_eq_iff}.
\end{subproof}
$1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ by \cref{subseteq}.
Show that if $n + 1 \leq N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
\begin{subproof}
Assume $n + 1 \leq N$.
$n \leq n + 1$ by \cref{real_naturals_lt_succ_local,real_lt_imp_leq}.
We have $n\in\reals$ and $N\in\reals$ and $n + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Thus $n \leq N$ by \cref{real_leq_trans}.
$\snd{u_1(n)} = \snd{u_2(n)}$ by \cref{subseteq}.
We have $n\in\initialSegment{N}$ and $n + 1\in\initialSegment{N}$ by \cref{initial_segment_naturalsplus,real_naturals_closed_succ}.
$x_1(n) = x_2(n)$ by \cref{subseteq}.
We have $x_1(n)\in D$ and $x_2(n)\in D$ by \cref{indexed_product,subseteq}.
We have $u_1(n)\in G$ and $u_2(n)\in G$ by \cref{funs_type_apply}.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and
$u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by assumption.
Thus $u_1(n)\mathrel{R_1}u_1(n + 1)$ and
$u_2(n)\mathrel{R_2}u_2(n + 1)$ by \cref{subseteq}.
$(u_1(n),u_1(n + 1))\in R_1$ and
$(u_2(n),u_2(n + 1))\in R_2$ by \cref{relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(n),u_1(n + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and
$\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + b_1) / (1 + 1)}),
(1,\intervalclosed{(a_1 + b_1) / (1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(n),u_2(n + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(n),u_2(n + 1))} = (k_2,J_2)$ and
$\snd{(u_2(n),u_2(n + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}),
(1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$
by \cref{subseteq}.
We have $u_1(n) = (k_1,J_1)$ and $u_1(n + 1) = (k_1 + 1,H_1)$ and
$u_2(n) = (k_2,J_2)$ and $u_2(n + 1) = (k_2 + 1,H_2)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_2$ and
$\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Hence $\fst{u_1(n)} = n$ and $\fst{u_2(n)} = n$
by \cref{space_filling_dyadic_child_state_orbit_index}.
$k_1 = n$ and $k_2 = n$ by \cref{subseteq}.
$d_1 = x_1(n)$ and $d_2 = x_2(n)$ and $d_1 = d_2$ by \cref{subseteq}.
$\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_2$ by \cref{snd_eq,pair_eq_iff}.
$J_1 = J_2$ by \cref{subseteq}.
$a_1 = a_2$ and $b_1 = b_2$ by \cref{subseteq,space_filling_intervalclosed_endpoints_unique}.
$(d_2,H_1)\in\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}),
(1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$
by \cref{subseteq,real_add_eq_subst}.
Hence $H_1 = H_2$ by \cref{space_filling_dyadic_child_choice_unique,subseteq,real_add_eq_subst}.
$\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by \cref{subseteq}.
\end{subproof}
Thus $n + 1\in A_0$ by \cref{subseteq,real_naturals_closed_succ}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
For all $n\in\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{initial_segment_naturalsplus,subseteq}.
\end{proof}
$g$ is a retained-third state selector on $G$ and $R$ iff $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
LaTeX source
\begin{definition}
\label{space_filling_retained_third_state_selector_on}
$g$ is a retained-third state selector on $G$ and $R$ iff
$g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
\end{definition}
$u$ is a retained-third state orbit of $g$ on $G$ from $I$ iff $u$ is a sequence in $G$ and $u(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
LaTeX source
\begin{definition}
\label{space_filling_retained_third_state_orbit_from}
$u$ is a retained-third state orbit of $g$ on $G$ from $I$ iff
$u$ is a sequence in $G$ and
$u(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
\end{definition}
$y$ is a retained-third code point of $x$ in $I$ and $E$ iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and there exist $K,G,R,g,u$ such that $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$ and $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g$ is a retained-third state selector on $G$ and $R$ and $u$ is a retained-third state orbit of $g$ on $G$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{definition}
\label{space_filling_retained_third_code_point}
$y$ is a retained-third code point of $x$ in $I$ and $E$ iff
$x\in\productFamily{E}$ and
$y\in I$ and
there exist $K,G,R,g,u$ such that
$K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G = \naturalsPlus\times K$ and
$R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g$ is a retained-third state selector on $G$ and $R$ and
$u$ is a retained-third state orbit of $g$ on $G$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{definition}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Then there exists $y$ such that $y$ is a retained-third code point of $x$ in $I$ and $E$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_code_point_exists}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Then there exists $y$ such that $y$ is a retained-third code point of $x$ in $I$ and $E$.
\end{lemma}
Proof
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Take $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$ by Lemma 741.
Take $u$ such that $u$ is a sequence in $G$ and $u(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$ by Lemma 731.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Lemma 745.
$y$ is a retained-third code point of $x$ in $I$ and $E$ by Definition 353, Definition 354, Definition 355.
LaTeX source
\begin{proof}
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Take $g$ such that
$g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$
by \cref{space_filling_retained_third_state_selector}.
Take $u$ such that
$u$ is a sequence in $G$ and
$u(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$
by \cref{space_filling_dyadic_child_state_iteration}.
Take $y\in I$ such that
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$
by \cref{space_filling_retained_third_state_orbit_common_point}.
$y$ is a retained-third code point of $x$ in $I$ and $E$
by \cref{space_filling_retained_third_state_selector_on,space_filling_retained_third_state_orbit_from,space_filling_retained_third_code_point}.
\end{proof}
Let $D = \{0,1\}$.
Suppose $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Suppose $(d,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$.
Suppose $(d,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$.
Then $H_1 = H_2$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_child_choice_unique}
Let $D = \{0,1\}$.
Suppose $d\in D$.
Suppose $(d,H_1)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$.
Suppose $(d,H_2)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$.
Then $H_1 = H_2$.
\end{lemma}
Proof
Follows by Axiom 6, Axiom 17, Axiom 39, Axiom 41, Axiom 42, Definition 1, Lemma 82, Lemma 83, Proposition 19, Proposition 462.
LaTeX source
\begin{proof}
Follows by \cref{upair_iff,subseteq,pair_eq_iff,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_zero_lt_one,real_lt_irreflexive,real_lt_subst_left,real_lt_subst_right}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $x_1(i) = x_2(i)$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_prefix_agreement}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R_1 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $N\in\naturalsPlus$.
Assume for all $i\in\initialSegment{N}$ we have $x_1(i) = x_2(i)$.
Then for all $n\in\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$.
\end{lemma}
Proof
$E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
$u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Definition 158.
$R_1$ is a relation by Definition 1, Definition 12, Proposition 121.
$R_2$ is a relation by Definition 1, Definition 12, Proposition 121.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: If $1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
Follows by Axiom 6, Axiom 11, Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: If $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
Assume $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Lemma 231, Lemma 399.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
Thus $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ by Lemma 23.
$\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ by Axiom 45, Definition 84.
$x_1(n) = x_2(n)$ by Definition 1.
We have $x_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $x_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 167.
We have $u_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $u_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Proposition 361.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and $u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by assumption.
Thus $u_1(n)\mathrel{R_1}u_1(n + 1)$ and $u_2(n)\mathrel{R_2}u_2(n + 1)$ by Definition 1.
$(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 12.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and $\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(n),u_2(n + 1))} = (k_2,J_2)$ and $\snd{(u_2(n),u_2(n + 1))} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
We have $u_1(n) = (k_1,J_1)$ and $u_1(n + 1) = (k_1 + 1,H_1)$ and $u_2(n) = (k_2,J_2)$ and $u_2(n + 1) = (k_2 + 1,H_2)$ by Axiom 6, Axiom 10, Axiom 11.
$\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_2$ and $\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_2$ by Axiom 6, Axiom 10, Axiom 11.
Hence $\fst{u_1(n)} = n$ by Lemma 746.
$\fst{u_2(n)} = n$ by Lemma 746.
$k_1 = n$ and $k_2 = n$ by Definition 1.
$d_1 = x_1(n)$ and $d_2 = x_2(n)$ and $d_1 = d_2$ by Definition 1.
$\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_2$ by Axiom 6, Axiom 11.
$J_1 = J_2$ by Definition 1.
$a_1 = a_2$ and $b_1 = b_2$ by Definition 1, Lemma 749.
$(d_2,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1, Proposition 437.
Hence $H_1 = H_2$ by Definition 1, Lemma 752, Proposition 437.
$\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by Definition 1.
Thus $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Hence 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}\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
$E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
$u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ by \cref{sequence_in}.
$R_1$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
$R_2$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
Let $A_0 = \{n\in\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that if $1 \leq N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
\begin{subproof}
Follows by \cref{subseteq,snd_eq,pair_eq_iff}.
\end{subproof}
$1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ by \cref{subseteq}.
Show that if $n + 1 \leq N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
\begin{subproof}
Assume $n + 1 \leq N$.
$n \leq n + 1$ by \cref{real_naturals_lt_succ_local,real_lt_imp_leq}.
We have $n\in\reals$ and $N\in\reals$ and $n + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Thus $n \leq N$ by \cref{real_leq_trans}.
$\snd{u_1(n)} = \snd{u_2(n)}$ by \cref{subseteq}.
We have $n\in\initialSegment{N}$ and $n + 1\in\initialSegment{N}$ by \cref{initial_segment_naturalsplus,real_naturals_closed_succ}.
$x_1(n) = x_2(n)$ by \cref{subseteq}.
We have $x_1(n)\in D$ and $x_2(n)\in D$ by \cref{indexed_product,subseteq}.
We have $u_1(n)\in G$ and $u_2(n)\in G$ by \cref{funs_type_apply}.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and
$u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by assumption.
Thus $u_1(n)\mathrel{R_1}u_1(n + 1)$ and
$u_2(n)\mathrel{R_2}u_2(n + 1)$ by \cref{subseteq}.
$(u_1(n),u_1(n + 1))\in R_1$ and
$(u_2(n),u_2(n + 1))\in R_2$ by \cref{relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(n),u_1(n + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and
$\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(n),u_2(n + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(n),u_2(n + 1))} = (k_2,J_2)$ and
$\snd{(u_2(n),u_2(n + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
We have $u_1(n) = (k_1,J_1)$ and $u_1(n + 1) = (k_1 + 1,H_1)$ and
$u_2(n) = (k_2,J_2)$ and $u_2(n + 1) = (k_2 + 1,H_2)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_2$ and
$\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Hence $\fst{u_1(n)} = n$ by \cref{space_filling_retained_third_state_orbit_index}.
$\fst{u_2(n)} = n$ by \cref{space_filling_retained_third_state_orbit_index}.
$k_1 = n$ and $k_2 = n$ by \cref{subseteq}.
$d_1 = x_1(n)$ and $d_2 = x_2(n)$ and $d_1 = d_2$ by \cref{subseteq}.
$\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_2$ by \cref{snd_eq,pair_eq_iff}.
$J_1 = J_2$ by \cref{subseteq}.
$a_1 = a_2$ and $b_1 = b_2$ by \cref{subseteq,space_filling_intervalclosed_endpoints_unique}.
$(d_2,H_1)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq,real_add_eq_subst}.
Hence $H_1 = H_2$ by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
$\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by \cref{subseteq}.
\end{subproof}
Thus $n + 1\in A_0$ by \cref{subseteq,real_naturals_closed_succ}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
For all $n\in\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{initial_segment_naturalsplus,subseteq}.
\end{proof}
Let $D = \{0,1\}$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$.
Assume $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$.
Assume if $d = 0$ then $H_1 = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Assume if $d = 1$ then $H_1 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Assume $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$.
Assume if $d = 0$ then $H_2 = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Assume if $d = 1$ then $H_2 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Then $H_1 = H_2$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_child_unique}
Let $D = \{0,1\}$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Let $J = \intervalclosed{a}{b}$.
Assume $d\in D$.
Assume $H_1\subseteq J$.
Assume if $d = 0$ then $H_1 = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Assume if $d = 1$ then $H_1 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Assume $H_2\subseteq J$.
Assume if $d = 0$ then $H_2 = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Assume if $d = 1$ then $H_2 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Then $H_1 = H_2$.
\end{lemma}
Proof
Follows by Definition 1, Lemma 82, Proposition 19.
LaTeX source
\begin{proof}
Follows by \cref{upair_iff,subseteq,real_lt_subst_left}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Then $R$ is right-unique.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_relation_rightunique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Then $R$ is right-unique.
\end{lemma}
Proof
$E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.
Claim: For all $z,w_1,w_2$ such that $(z,w_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ and $(z,w_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $w_1 = w_2$.
Fix $z$.
Fix $w_1$.
Fix $w_2$ such that $(z,w_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ and $(z,w_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$.
Take $n_1,J_1,H_1,a_1,b_1,d_1$ such that $(z,w_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $n_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(z,w_1)} = (n_1,J_1)$ and $\snd{(z,w_1)} = (n_1 + 1,H_1)$ and $d_1 = x(n_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $n_2,J_2,H_2,a_2,b_2,d_2$ such that $(z,w_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $n_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(z,w_2)} = (n_2,J_2)$ and $\snd{(z,w_2)} = (n_2 + 1,H_2)$ and $d_2 = x(n_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
We have $z = (n_1,J_1)$ and $w_1 = (n_1 + 1,H_1)$ by Axiom 6, Axiom 10, Axiom 11.
$z = (n_2,J_2)$ and $w_2 = (n_2 + 1,H_2)$ by Axiom 6, Axiom 10, Axiom 11.
Therefore $n_1 = n_2$ and $J_1 = J_2$ by Axiom 6.
$d_1 = d_2$ by Definition 1.
$a_1 = a_2$ and $b_1 = b_2$ by Definition 1, Lemma 749.
We have $d_1\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 55, Definition 167.
$(d_2,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1, Proposition 437.
Thus $H_1 = H_2$ by Definition 1, Lemma 752, Proposition 437.
Hence $w_1 = w_2$ by Axiom 6, Proposition 437.
Hence $R$ is right-unique by Definition 51.
LaTeX source
\begin{proof}
$E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
$R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
Show that for all $z,w_1,w_2$ such that $(z,w_1)\in R$ and $(z,w_2)\in R$ we have $w_1 = w_2$.
\begin{subproof}
Fix $z$.
Fix $w_1$.
Fix $w_2$ such that $(z,w_1)\in R$ and $(z,w_2)\in R$.
Take $n_1,J_1,H_1,a_1,b_1,d_1$ such that
$(z,w_1)\in G\times G$ and
$n_1\in\naturalsPlus$ and
$\fst{(z,w_1)} = (n_1,J_1)$ and
$\snd{(z,w_1)} = (n_1 + 1,H_1)$ and
$d_1 = x(n_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $n_2,J_2,H_2,a_2,b_2,d_2$ such that
$(z,w_2)\in G\times G$ and
$n_2\in\naturalsPlus$ and
$\fst{(z,w_2)} = (n_2,J_2)$ and
$\snd{(z,w_2)} = (n_2 + 1,H_2)$ and
$d_2 = x(n_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
We have $z = (n_1,J_1)$ and $w_1 = (n_1 + 1,H_1)$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$z = (n_2,J_2)$ and $w_2 = (n_2 + 1,H_2)$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
Therefore $n_1 = n_2$ and $J_1 = J_2$ by \cref{pair_eq_iff}.
$d_1 = d_2$ by \cref{subseteq}.
$a_1 = a_2$ and $b_1 = b_2$ by \cref{subseteq,space_filling_intervalclosed_endpoints_unique}.
We have $d_1\in D$ by \cref{indexed_product,funs,subseteq}.
$(d_2,H_1)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq,real_add_eq_subst}.
Thus $H_1 = H_2$ by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
Hence $w_1 = w_2$ by \cref{pair_eq_iff,real_add_eq_subst}.
\end{subproof}
Hence $R$ is right-unique by \cref{rightunique}.
\end{proof}
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Suppose $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$.
Suppose $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$.
Suppose $y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y_2$.
Then $y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$.
LaTeX source
\begin{lemma}
\label{space_filling_interval_width_bounds_difference}
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Suppose $y_1\in\intervalclosed{a}{b}$.
Suppose $y_2\in\intervalclosed{a}{b}$.
Suppose $y_1 \leq y_2$.
Then $y_2 - y_1 \leq b - a$.
\end{lemma}
Proof
We have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y_1$ and $y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y_2$ and $y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1, Definition 75.
$\neg{y_1}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $y_2 - y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
Thus $a + (y_2 - y_1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y_2$ by Lemma 24, Lemma 343, Lemma 543.
$a + (y_2 - y_1) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Axiom 13, Lemma 23.
Hence $(a + (y_2 - y_1)) + \neg{a} \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b + \neg{a}$ by Axiom 13, Axiom 18, Definition 64, Lemma 24.
$(a + (y_2 - y_1)) + \neg{a} = y_2 - y_1$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Proposition 437.
Therefore $y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Definition 64, Lemma 542, Lemma 543.
LaTeX source
\begin{proof}
We have $y_1\in\reals$ and $a \leq y_1$ and $y_1 \leq b$ and
$y_2\in\reals$ and $a \leq y_2$ and $y_2 \leq b$ by \cref{intervalclosed,subseteq}.
$\neg{y_1}\in\reals$ and $y_2 - y_1\in\reals$ by \cref{real_add_inverse,real_sub,real_add_closed}.
Thus $a + (y_2 - y_1) \leq y_2$
by \cref{real_leq_add,real_add_sub_cancel_right,real_leq_subst_right_local}.
$a + (y_2 - y_1) \leq b$ by \cref{real_add_closed,real_leq_trans}.
Hence $(a + (y_2 - y_1)) + \neg{a} \leq b + \neg{a}$
by \cref{real_add_inverse,real_sub,real_add_closed,real_leq_add}.
$(a + (y_2 - y_1)) + \neg{a} = y_2 - y_1$
by \cref{real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
Therefore $y_2 - y_1 \leq b - a$
by \cref{real_sub,real_leq_subst_left_local,real_leq_subst_right_local}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(((a + b) / (1 + 1)) - a) + (((a + b) / (1 + 1)) - a) = b - a$.
LaTeX source
\begin{lemma}
\label{space_filling_left_half_width_double}
Suppose $a\in\reals$ and $b\in\reals$.
Then $(((a + b) / (1 + 1)) - a) + (((a + b) / (1 + 1)) - a) = b - a$.
\end{lemma}
Proof
$1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Axiom 45.
Let $m = (a + b) / (1 + 1)$.
We have $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 265.
$m + m = a + b$ by Lemma 458.
Therefore $(m - a) + (m - a) = (a + b) + \neg{(a + a)}$ by Axiom 15, Axiom 16, Definition 64, Lemma 12, Lemma 458, Proposition 437.
Hence $(((a + b) / (1 + 1)) - a) + (((a + b) / (1 + 1)) - a) = b - a$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 1, Definition 64, Proposition 437.
LaTeX source
\begin{proof}
$1 + 1\in\naturalsPlus$ by \cref{real_one_in_naturals,real_naturals_closed_succ}.
Let $m = (a + b) / (1 + 1)$.
We have $a + b\in\reals$ and $m\in\reals$ and $\neg{a}\in\reals$ and $m - a\in\reals$ and $b - a\in\reals$
by \cref{real_add_closed,real_div_naturalsplus_real,real_add_inverse,real_sub}.
$m + m = a + b$ by \cref{real_half_plus_half}.
Therefore $(m - a) + (m - a) = (a + b) + \neg{(a + a)}$
by \cref{real_sub,real_half_plus_half,real_neg_addition,real_add_assoc,real_add_comm,real_add_eq_subst}.
Hence $(((a + b) / (1 + 1)) - a) + (((a + b) / (1 + 1)) - a) = b - a$
by \cref{real_sub,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst,subseteq}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $((a + b) / (1 + 1)) - a = b - ((a + b) / (1 + 1))$.
LaTeX source
\begin{lemma}
\label{space_filling_midpoint_symmetric_difference}
Suppose $a\in\reals$ and $b\in\reals$.
Then $((a + b) / (1 + 1)) - a = b - ((a + b) / (1 + 1))$.
\end{lemma}
Proof
$1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Axiom 45.
Let $m = (a + b) / (1 + 1)$.
We have $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{m}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Lemma 265.
Thus $m - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b - m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Definition 64.
$m + (m - a) = b$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 458, Proposition 437.
We have $m + (b - m) = b$ by Lemma 343.
$(m - a) + m = b$ and $(b - m) + m = b$ by Axiom 16, Proposition 437.
Therefore $((a + b) / (1 + 1)) - a = b - ((a + b) / (1 + 1))$ by Definition 1, Proposition 438.
LaTeX source
\begin{proof}
$1 + 1\in\naturalsPlus$ by \cref{real_one_in_naturals,real_naturals_closed_succ}.
Let $m = (a + b) / (1 + 1)$.
We have $a + b\in\reals$ and $m\in\reals$ and $\neg{a}\in\reals$ and $\neg{m}\in\reals$
by \cref{real_add_closed,real_div_naturalsplus_real,real_add_inverse}.
Thus $m - a\in\reals$ and $b - m\in\reals$ by \cref{real_sub,real_add_closed}.
$m + (m - a) = b$
by \cref{real_sub,real_half_plus_half,real_add_assoc,real_add_comm,real_add_inverse,real_add_ident,real_add_eq_subst}.
We have $m + (b - m) = b$ by \cref{real_add_sub_cancel_right}.
$(m - a) + m = b$ and $(b - m) + m = b$ by \cref{real_add_comm,real_add_eq_subst}.
Therefore $((a + b) / (1 + 1)) - a = b - ((a + b) / (1 + 1))$
by \cref{real_add_cancel,subseteq}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(b - ((a + b) / (1 + 1))) + (b - ((a + b) / (1 + 1))) = b - a$.
LaTeX source
\begin{lemma}
\label{space_filling_right_half_width_double}
Suppose $a\in\reals$ and $b\in\reals$.
Then $(b - ((a + b) / (1 + 1))) + (b - ((a + b) / (1 + 1))) = b - a$.
\end{lemma}
Proof
We have $(b - ((a + b) / (1 + 1))) + (b - ((a + b) / (1 + 1))) = b - a$ by Lemma 757, Lemma 758, Proposition 437.
LaTeX source
\begin{proof}
We have $(b - ((a + b) / (1 + 1))) + (b - ((a + b) / (1 + 1))) = b - a$
by \cref{space_filling_midpoint_symmetric_difference,space_filling_left_half_width_double,real_add_eq_subst}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + n$.
LaTeX source
\begin{lemma}
\label{space_filling_succ_leq_double}
Suppose $n\in\naturalsPlus$.
Then $n + 1 \leq n + n$.
\end{lemma}
Proof
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $1 / (n + n) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_double_reciprocal_leq_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Then $1 / (n + n) \leq 1 / (n + 1)$.
\end{lemma}
Proof
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $1 / n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_reciprocal_leq_double_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Then $1 / n \leq 1 / (n + 1) + 1 / (n + 1)$.
\end{lemma}
Proof
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 45, Definition 1.
$n \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $n + 1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 45, Definition 1, Lemma 20, Lemma 89.
Hence $\inv{n}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\inv{(n + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
Let $c = \inv{n} \rmul \inv{(n + 1)}$.
We have $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < c$ by Axiom 14, Axiom 45, Definition 1, Lemma 89, Proposition 454, Proposition 463.
Therefore $(n + 1) \rmul c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (n + n) \rmul c$ by Axiom 38, Definition 1, Lemma 81, Lemma 231, Lemma 280, Lemma 760, Proposition 448, Proposition 462.
$(n + 1) \rmul c = 1 / n$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65.
Thus $(n + n) \rmul c = 1 / (n + 1) + 1 / (n + 1)$ by Axiom 19, Axiom 21, Axiom 22, Definition 65, Lemma 9, Proposition 437.
Hence $1 / n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (n + 1)$ by Lemma 542, Lemma 543.
LaTeX source
\begin{proof}
We have $n\in\reals$ and $n + 1\in\reals$ and $n + n\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_naturals_closed_succ,real_add_closed}.
$n \neq 0$ and $n + 1 \neq 0$
by \cref{naturalsplus_positive_real,subseteq,real_naturals_closed_succ,real_pos_nonzero}.
Hence $\inv{n}\in\reals$ and $\inv{(n + 1)}\in\reals$ by \cref{real_mul_inverse}.
Let $c = \inv{n} \rmul \inv{(n + 1)}$.
We have $c\in\reals$ and $0 < c$
by \cref{naturalsplus_positive_real,subseteq,real_naturals_closed_succ,real_inv_pos,real_mul_closed,real_mul_pos_pos_gt}.
Therefore $(n + 1) \rmul c \leq (n + n) \rmul c$
by \cref{space_filling_succ_leq_double,real_zero_lt_one,real_pos_add,real_leq_split,real_lt_mul_pos,real_lt_imp_leq,real_mul_eq_subst,subseteq}.
$(n + 1) \rmul c = 1 / n$
by \cref{real_mul_assoc,real_mul_comm,real_mul_inverse,real_div,real_mul_ident}.
Thus $(n + n) \rmul c = 1 / (n + 1) + 1 / (n + 1)$
by \cref{real_right_distrib,real_mul_assoc,real_mul_inverse,real_div,real_mul_ident,real_add_eq_subst}.
Hence $1 / n \leq 1 / (n + 1) + 1 / (n + 1)$
by \cref{real_leq_subst_left_local,real_leq_subst_right_local}.
\end{proof}
Suppose $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r + r$.
Then $d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
LaTeX source
\begin{lemma}
\label{space_filling_double_leq_cancel}
Suppose $d\in\reals$ and $r\in\reals$.
Suppose $d + d \leq r + r$.
Then $d \leq r$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 42, Axiom 45, Lemma 261, Lemma 542, Lemma 543, Lemma 703.
LaTeX source
\begin{proof}
Follows by \cref{real_one_in_naturals,real_naturals_closed_succ,real_add_closed,real_div_leq_same_denom,space_filling_double_half_real,real_leq_subst_left_local,real_leq_subst_right_local}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Suppose $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$.
Then $((a + b) / (1 + 1)) - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_left_child_width_leq_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Suppose $b - a \leq 1 / n$.
Then $((a + b) / (1 + 1)) - a \leq 1 / (n + 1)$.
\end{lemma}
Proof
We have $1 / n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / (n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 45, Lemma 90.
Let $d = ((a + b) / (1 + 1)) - a$.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$ by Axiom 13, Axiom 18, Axiom 42, Axiom 45, Definition 64, Lemma 23, Lemma 90, Lemma 265, Lemma 542, Lemma 757.
Thus $d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (n + 1)$ by Axiom 13, Axiom 45, Lemma 23, Lemma 90, Lemma 762.
Hence $((a + b) / (1 + 1)) - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$ by Lemma 763.
LaTeX source
\begin{proof}
We have $1 / n\in\reals$ and $1 / (n + 1)\in\reals$
by \cref{naturalsplus_reciprocal_real,real_naturals_closed_succ}.
Let $d = ((a + b) / (1 + 1)) - a$.
$d\in\reals$ and $d + d \leq 1 / n$
by \cref{real_sub,real_add_inverse,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,naturalsplus_reciprocal_real,space_filling_left_half_width_double,real_leq_subst_left_local,real_leq_trans}.
Thus $d + d \leq 1 / (n + 1) + 1 / (n + 1)$
by \cref{real_add_closed,real_naturals_closed_succ,naturalsplus_reciprocal_real,real_leq_trans,space_filling_reciprocal_leq_double_succ_reciprocal}.
Hence $((a + b) / (1 + 1)) - a \leq 1 / (n + 1)$ by \cref{space_filling_double_leq_cancel}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Suppose $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$.
Then $b - ((a + b) / (1 + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_right_child_width_leq_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Suppose $b - a \leq 1 / n$.
Then $b - ((a + b) / (1 + 1)) \leq 1 / (n + 1)$.
\end{lemma}
Proof
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_orbit_width_bound}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / n$.
\end{lemma}
Proof
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $a,b$ if $a\in\reals$ and $b\in\reals$ and $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \leq b$ then $b - a \leq 1 / n$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / 1$.
Follows by Axiom 6, Axiom 11, Axiom 16, Axiom 17, Axiom 41, Axiom 42, Definition 1, Definition 64, Lemma 84, Lemma 231, Lemma 257, Lemma 749, Proposition 437, Proposition 462.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
Fix $a$.
Fix $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 $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
$(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1, Definition 12, Definition 158, Proposition 361.
Take $k,J,H,c,d,e$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ and $e = x(k)$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ and $J = \intervalclosed{c}{d}$ and $(e,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{c}{(c + d) / (1 + 1)}), (1,\intervalclosed{(c + d) / (1 + 1)}{d})\}$ by Definition 1.
We have $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ and $\fst{u(n)} = k$ by Axiom 6, Axiom 10, Axiom 11.
Thus $k = n$ by Definition 1, Lemma 732.
$d - c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$ by Definition 1.
$(e,H) = (0,\intervalclosed{c}{(c + d) / (1 + 1)})$ or $(e,H) = (1,\intervalclosed{(c + d) / (1 + 1)}{d})$ by Proposition 19.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$ by Axiom 6, Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 64, Lemma 265, Lemma 704, Lemma 749, Lemma 764, Proposition 437.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$ by Axiom 6, Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 64, Lemma 265, Lemma 705, Lemma 749, Lemma 765, Proposition 437.
LaTeX source
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + d) / (1 + 1)})$.}
$b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_left_child_width_leq_succ_reciprocal}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d) / (1 + 1)}{d})$.}
$b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_right_child_width_leq_succ_reciprocal}.
\end{byCase}
Hence $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Therefore 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,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$ by Definition 1.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \text{for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / n$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / 1$.
\begin{subproof}
Follows by \cref{snd_eq,pair_eq_iff,subseteq,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_zero_lt_one,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,real_neg_zero,real_add_comm,real_one_div_one}.
\end{subproof}
$1\in A_0$ by \cref{subseteq,real_one_in_naturals}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n + 1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / (n + 1)$.
\begin{subproof}
Fix $a$.
Fix $b$.
Assume $a\in\reals$ and $b\in\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \leq b$.
$(u(n),u(n + 1))\in R$ by \cref{sequence_in,funs_type_apply,relation,subseteq}.
Take $k,J,H,c,d,e$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$e = x(k)$ and
$c\in\reals$ and
$d\in\reals$ and
$c \leq d$ and
$J = \intervalclosed{c}{d}$ and
$(e,H)\in\{(0,\intervalclosed{c}{(c + d) / (1 + 1)}),
(1,\intervalclosed{(c + d) / (1 + 1)}{d})\}$
by \cref{subseteq}.
We have $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ and $\fst{u(n)} = k$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Thus $k = n$ by \cref{space_filling_dyadic_child_state_orbit_index,subseteq}.
$d - c \leq 1 / n$ by \cref{subseteq}.
$(e,H) = (0,\intervalclosed{c}{(c + d) / (1 + 1)})$ or
$(e,H) = (1,\intervalclosed{(c + d) / (1 + 1)}{d})$
by \cref{upair_iff}.
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + d) / (1 + 1)})$.}
$b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_left_endpoint_leq_midpoint,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_left_child_width_leq_succ_reciprocal}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d) / (1 + 1)}{d})$.}
$b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_one_in_naturals,real_naturals_closed_succ,real_div_naturalsplus_real,space_filling_midpoint_leq_right_endpoint,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_right_child_width_leq_succ_reciprocal}.
\end{byCase}
\end{subproof}
Hence $n + 1\in A_0$ by \cref{subseteq,real_naturals_closed_succ}.
\end{subproof}
Therefore for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
For all $n,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / n$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
Suppose $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
Then $y_1 = y_2$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_child_state_orbit_common_point_unique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y_1\in I$ and for all $n\in\naturalsPlus$ we have $y_1\in\snd{u(n)}$.
Suppose $y_2\in I$ and for all $n\in\naturalsPlus$ we have $y_2\in\snd{u(n)}$.
Then $y_1 = y_2$.
\end{lemma}
Proof
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
Suppose not.
$y_1 < y_2$ or $y_2 < y_1$ by Axiom 34.
We have $y_2 - y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < y_2 - y_1$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$ by Definition 1, Proposition 476.
Take $m,J$ such that $u(N) = (m,J)$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Definition 158, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$\snd{u(N)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11, Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Lemma 231, Lemma 756.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 766.
We have $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$1 / N < 1 / N$ by Axiom 36, Lemma 81, Lemma 83.
Contradiction by Axiom 39.
We have $y_1 - y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < y_1 - y_2$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$ by Definition 1, Proposition 476.
Take $m,J$ such that $u(N) = (m,J)$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Definition 158, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$\snd{u(N)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11, Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$y_1 - y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Lemma 231, Lemma 756.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 766.
We have $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y_1 - y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$1 / N < 1 / N$ by Axiom 36, Lemma 81, Lemma 83.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$y_1 < y_2$.}
We have $y_2 - y_1\in\reals$ and $0 < y_2 - y_1$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_2 - y_1 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_2 - y_1 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$y_2 < y_1$.}
We have $y_1 - y_2\in\reals$ and $0 < y_1 - y_2$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_1 - y_2 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_1 - y_2 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
LaTeX source
\begin{proof}
$y_1\in\reals$ and $y_2\in\reals$ by \cref{intervalclosed,subseteq}.
Suppose not.
$y_1 < y_2$ or $y_2 < y_1$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$y_1 < y_2$.}
We have $y_2 - y_1\in\reals$ and $0 < y_2 - y_1$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_2 - y_1 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_2 - y_1 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$y_2 < y_1$.}
We have $y_1 - y_2\in\reals$ and $0 < y_1 - y_2$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_1 - y_2 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_1 - y_2 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + n + n$.
LaTeX source
\begin{lemma}
\label{space_filling_succ_leq_triple}
Suppose $n\in\naturalsPlus$.
Then $n + 1 \leq n + n + n$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 15, Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 23, Lemma 24, Lemma 89, Lemma 231, Lemma 543, Lemma 760.
LaTeX source
\begin{proof}
Follows by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed,space_filling_succ_leq_double,real_add_ident,naturalsplus_positive_real,real_lt_imp_leq,real_leq_add,real_add_assoc,real_leq_subst_right_local,real_leq_trans}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $1 / (n + n + n) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_triple_reciprocal_leq_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Then $1 / (n + n + n) \leq 1 / (n + 1)$.
\end{lemma}
Proof
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $1 / n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (n + 1) + 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_reciprocal_leq_triple_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Then $1 / n \leq 1 / (n + 1) + 1 / (n + 1) + 1 / (n + 1)$.
\end{lemma}
Proof
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 45, Definition 1.
$n \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $n + 1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ by Axiom 45, Definition 1, Lemma 20, Lemma 89.
$\inv{n}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\inv{(n + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 22.
Let $c = \inv{n} \rmul \inv{(n + 1)}$.
We have $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < c$ by Axiom 14, Axiom 45, Definition 1, Lemma 89, Proposition 454, Proposition 463.
$(n + 1) \rmul c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} (n + n + n) \rmul c$ by Axiom 38, Definition 1, Lemma 81, Lemma 231, Lemma 280, Lemma 768, Proposition 448, Proposition 462.
$(n + 1) \rmul c = 1 / n$ by Axiom 19, Axiom 20, Axiom 21, Axiom 22, Definition 65.
$((n + n + n) \rmul c) = ((n + n) \rmul c) + (n \rmul c)$ by Lemma 9.
$(n + n + n) \rmul c = (1 / (n + 1) + 1 / (n + 1)) + 1 / (n + 1)$ by Axiom 19, Axiom 21, Axiom 22, Definition 65, Lemma 9, Proposition 437.
$1 / n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (n + 1) + 1 / (n + 1)$ by Lemma 542, Lemma 543.
LaTeX source
\begin{proof}
We have $n\in\reals$ and $n + 1\in\reals$ and $n + n\in\reals$ and $n + n + n\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_naturals_closed_succ,real_add_closed}.
$n \neq 0$ and $n + 1 \neq 0$
by \cref{naturalsplus_positive_real,subseteq,real_naturals_closed_succ,real_pos_nonzero}.
$\inv{n}\in\reals$ and $\inv{(n + 1)}\in\reals$ by \cref{real_mul_inverse}.
Let $c = \inv{n} \rmul \inv{(n + 1)}$.
We have $c\in\reals$ and $0 < c$
by \cref{naturalsplus_positive_real,subseteq,real_naturals_closed_succ,real_inv_pos,real_mul_closed,real_mul_pos_pos_gt}.
$(n + 1) \rmul c \leq (n + n + n) \rmul c$
by \cref{space_filling_succ_leq_triple,real_zero_lt_one,real_pos_add,real_leq_split,real_lt_mul_pos,real_lt_imp_leq,real_mul_eq_subst,subseteq}.
$(n + 1) \rmul c = 1 / n$
by \cref{real_mul_assoc,real_mul_comm,real_mul_inverse,real_div,real_mul_ident}.
$((n + n + n) \rmul c) = ((n + n) \rmul c) + (n \rmul c)$ by \cref{real_right_distrib}.
$(n + n + n) \rmul c = (1 / (n + 1) + 1 / (n + 1)) + 1 / (n + 1)$
by \cref{real_right_distrib,real_mul_assoc,real_mul_inverse,real_div,real_mul_ident,real_add_eq_subst}.
$1 / n \leq 1 / (n + 1) + 1 / (n + 1) + 1 / (n + 1)$
by \cref{real_leq_subst_left_local,real_leq_subst_right_local}.
\end{proof}
Suppose $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $d + d + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r + r + r$.
Then $d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} r$.
LaTeX source
\begin{lemma}
\label{space_filling_triple_leq_cancel}
Suppose $d\in\reals$ and $r\in\reals$.
Suppose $d + d + d \leq r + r + r$.
Then $d \leq r$.
\end{lemma}
Proof
Follows by Axiom 13, Axiom 42, Axiom 45, Lemma 261, Lemma 542, Lemma 543, Lemma 720.
LaTeX source
\begin{proof}
Follows by \cref{real_one_in_naturals,real_naturals_closed_succ,real_add_closed,real_div_leq_same_denom,space_filling_triple_third_real,real_leq_subst_left_local,real_leq_subst_right_local}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $((((a + a + b) / (1 + 1 + 1)) - a) + (((a + a + b) / (1 + 1 + 1)) - a)) + (((a + a + b) / (1 + 1 + 1)) - a) = b - a$.
LaTeX source
\begin{lemma}
\label{space_filling_left_third_width_triple}
Suppose $a\in\reals$ and $b\in\reals$.
Then $((((a + a + b) / (1 + 1 + 1)) - a) + (((a + a + b) / (1 + 1 + 1)) - a))
+ (((a + a + b) / (1 + 1 + 1)) - a) = b - a$.
\end{lemma}
Proof
We have $1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 42, Axiom 45.
$\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b + \neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(a + a + b) + (a + a + b)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $((a + a + b) + (a + a + b)) + (a + a + b)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18.
Let $m = (a + a + b) / (1 + 1 + 1)$.
Let $d = m - a$.
We have $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 265.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d + d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(d + d) + d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m + m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m + m + m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
$d + a = m$ by Axiom 16, Lemma 343, Proposition 437.
$(d + a) + (d + a) = m + m$ by Proposition 437.
$((d + a) + (d + a)) + (d + a) = (m + m) + m$ by Proposition 437.
$(d + d) + (a + a) = (d + a) + (d + a)$ by Lemma 234.
$((d + d) + (a + a)) + (d + a) = (m + m) + m$ by Proposition 437.
$(d + d) + ((a + a) + (d + a)) = (m + m) + m$ by Axiom 15.
$(d + d) + ((a + d) + (a + a)) = (m + m) + m$ by Lemma 234, Proposition 437.
$(d + d) + ((d + a) + (a + a)) = (m + m) + m$ by Axiom 16, Proposition 437.
$((d + d) + (d + a)) + (a + a) = (m + m) + m$ by Axiom 15.
$(((d + d) + d) + a) + (a + a) = (m + m) + m$ by Axiom 15, Proposition 437.
$((d + d) + d) + (a + (a + a)) = (m + m) + m$ by Axiom 15.
$((d + d) + d) + ((a + a) + a) = (m + m) + m$ by Axiom 15, Proposition 437.
$(m + m) + m = (((a + a + b) / (1 + 1 + 1)) + ((a + a + b) / (1 + 1 + 1))) + ((a + a + b) / (1 + 1 + 1))$ by Proposition 437.
$(m + m) + m = (((a + a + b) + (a + a + b)) / (1 + 1 + 1)) + ((a + a + b) / (1 + 1 + 1))$ by Lemma 262, Proposition 437.
$(m + m) + m = (((a + a + b) + (a + a + b)) + (a + a + b)) / (1 + 1 + 1)$ by Lemma 262, Proposition 437.
$((a + a + b) + (a + a + b)) + (a + a + b) = (a + a + b) + ((a + a + b) + (a + a + b))$ by Axiom 15.
$((a + a + b) + (a + a + b)) + (a + a + b) = (a + a + b) + (a + a + b) + (a + a + b)$ by Axiom 15, Proposition 437.
$(m + m) + m = a + a + b$ by Lemma 720, Proposition 437.
$((d + d) + d) + ((a + a) + a) = a + a + b$ by Proposition 437.
We have $b - a = b + \neg{a}$ by Definition 64.
$(b - a) + ((a + a) + a) = (b + \neg{a}) + ((a + a) + a)$ by Proposition 437.
$(b + \neg{a}) + ((a + a) + a) = b + (\neg{a} + ((a + a) + a))$ by Axiom 15.
$\neg{a} + ((a + a) + a) = (\neg{a} + (a + a)) + a$ by Axiom 15.
$(\neg{a} + (a + a)) + a = ((\neg{a} + a) + a) + a$ by Axiom 15.
$\neg{a} + a = 0$ by Axiom 16, Axiom 18, Proposition 437.
$(\neg{a} + a) + a = 0 + a$ by Proposition 437.
$((\neg{a} + a) + a) + a = (0 + a) + a$ by Proposition 437.
$(0 + a) + a = a + a$ by Axiom 17.
$\neg{a} + ((a + a) + a) = a + a$ by Proposition 437.
$b + (\neg{a} + ((a + a) + a)) = b + (a + a)$ by Proposition 437.
$b + (a + a) = (b + a) + a$ by Axiom 15.
$(b + a) + a = ((a + b) + a)$ by Axiom 16, Proposition 437.
$(a + b) + a = a + (b + a)$ by Axiom 15.
$a + (b + a) = a + (a + b)$ by Axiom 16, Proposition 437.
$a + (a + b) = (a + a) + b$ by Axiom 15.
$(b - a) + ((a + a) + a) = a + a + b$ by Proposition 437.
$((d + d) + d) + ((a + a) + a) = (b - a) + ((a + a) + a)$ by Proposition 437.
$(d + d) + d = b - a$ by Proposition 438.
LaTeX source
\begin{proof}
We have $1 + 1 + 1\in\naturalsPlus$ by \cref{real_one_in_naturals,real_naturals_closed_succ}.
$\neg{a}\in\reals$ and $b + \neg{a}\in\reals$ and
$a + a\in\reals$ and $a + a + b\in\reals$ and $(a + a + b) + (a + a + b)\in\reals$ and
$((a + a + b) + (a + a + b)) + (a + a + b)\in\reals$ and $a + a + a\in\reals$
by \cref{real_add_inverse,real_add_closed}.
Let $m = (a + a + b) / (1 + 1 + 1)$.
Let $d = m - a$.
We have $m\in\reals$ by \cref{real_div_naturalsplus_real}.
$d\in\reals$ and $d + d\in\reals$ and $(d + d) + d\in\reals$ and $d + a\in\reals$ and
$b - a\in\reals$ and $m + m\in\reals$ and $m + m + m\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed}.
$d + a = m$ by \cref{real_add_sub_cancel_right,real_add_comm,real_add_eq_subst}.
$(d + a) + (d + a) = m + m$ by \cref{real_add_eq_subst}.
$((d + a) + (d + a)) + (d + a) = (m + m) + m$ by \cref{real_add_eq_subst}.
$(d + d) + (a + a) = (d + a) + (d + a)$ by \cref{real_add_four_exchange}.
$((d + d) + (a + a)) + (d + a) = (m + m) + m$ by \cref{real_add_eq_subst}.
$(d + d) + ((a + a) + (d + a)) = (m + m) + m$ by \cref{real_add_assoc}.
$(d + d) + ((a + d) + (a + a)) = (m + m) + m$ by \cref{real_add_four_exchange,real_add_eq_subst}.
$(d + d) + ((d + a) + (a + a)) = (m + m) + m$
by \cref{real_add_comm,real_add_eq_subst}.
$((d + d) + (d + a)) + (a + a) = (m + m) + m$ by \cref{real_add_assoc}.
$(((d + d) + d) + a) + (a + a) = (m + m) + m$ by \cref{real_add_assoc,real_add_eq_subst}.
$((d + d) + d) + (a + (a + a)) = (m + m) + m$ by \cref{real_add_assoc}.
$((d + d) + d) + ((a + a) + a) = (m + m) + m$ by \cref{real_add_assoc,real_add_eq_subst}.
$(m + m) + m
= (((a + a + b) / (1 + 1 + 1)) + ((a + a + b) / (1 + 1 + 1)))
+ ((a + a + b) / (1 + 1 + 1))$ by \cref{real_add_eq_subst}.
$(m + m) + m
= (((a + a + b) + (a + a + b)) / (1 + 1 + 1))
+ ((a + a + b) / (1 + 1 + 1))$ by \cref{real_div_add_same_denom,real_add_eq_subst}.
$(m + m) + m
= (((a + a + b) + (a + a + b)) + (a + a + b)) / (1 + 1 + 1)$
by \cref{real_div_add_same_denom,real_add_eq_subst}.
$((a + a + b) + (a + a + b)) + (a + a + b) = (a + a + b) + ((a + a + b) + (a + a + b))$
by \cref{real_add_assoc}.
$((a + a + b) + (a + a + b)) + (a + a + b) = (a + a + b) + (a + a + b) + (a + a + b)$
by \cref{real_add_assoc,real_add_eq_subst}.
$(m + m) + m = a + a + b$ by \cref{space_filling_triple_third_real,real_add_eq_subst}.
$((d + d) + d) + ((a + a) + a) = a + a + b$ by \cref{real_add_eq_subst}.
We have $b - a = b + \neg{a}$ by \cref{real_sub}.
$(b - a) + ((a + a) + a) = (b + \neg{a}) + ((a + a) + a)$ by \cref{real_add_eq_subst}.
$(b + \neg{a}) + ((a + a) + a) = b + (\neg{a} + ((a + a) + a))$ by \cref{real_add_assoc}.
$\neg{a} + ((a + a) + a) = (\neg{a} + (a + a)) + a$ by \cref{real_add_assoc}.
$(\neg{a} + (a + a)) + a = ((\neg{a} + a) + a) + a$ by \cref{real_add_assoc}.
$\neg{a} + a = 0$ by \cref{real_add_comm,real_add_inverse,real_add_eq_subst}.
$(\neg{a} + a) + a = 0 + a$ by \cref{real_add_eq_subst}.
$((\neg{a} + a) + a) + a = (0 + a) + a$ by \cref{real_add_eq_subst}.
$(0 + a) + a = a + a$ by \cref{real_add_ident}.
$\neg{a} + ((a + a) + a) = a + a$ by \cref{real_add_eq_subst}.
$b + (\neg{a} + ((a + a) + a)) = b + (a + a)$ by \cref{real_add_eq_subst}.
$b + (a + a) = (b + a) + a$ by \cref{real_add_assoc}.
$(b + a) + a = ((a + b) + a)$ by \cref{real_add_comm,real_add_eq_subst}.
$(a + b) + a = a + (b + a)$ by \cref{real_add_assoc}.
$a + (b + a) = a + (a + b)$ by \cref{real_add_comm,real_add_eq_subst}.
$a + (a + b) = (a + a) + b$ by \cref{real_add_assoc}.
$(b - a) + ((a + a) + a) = a + a + b$ by \cref{real_add_eq_subst}.
$((d + d) + d) + ((a + a) + a) = (b - a) + ((a + a) + a)$ by \cref{real_add_eq_subst}.
$(d + d) + d = b - a$ by \cref{real_add_cancel}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $((a + a + b) / (1 + 1 + 1)) - a = b - ((a + b + b) / (1 + 1 + 1))$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_symmetric_difference}
Suppose $a\in\reals$ and $b\in\reals$.
Then $((a + a + b) / (1 + 1 + 1)) - a = b - ((a + b + b) / (1 + 1 + 1))$.
\end{lemma}
Proof
$1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Lemma 719.
We have $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\neg{a}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18.
Let $m = (a + a + b) / (1 + 1 + 1)$.
Let $n = (a + b + b) / (1 + 1 + 1)$.
$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Lemma 265.
$m - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b - n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
$m + n = ((a + a + b) + (a + b + b)) / (1 + 1 + 1)$ by Lemma 262.
$m + n = a + b$ by Axiom 15, Axiom 16, Lemma 262, Lemma 720, Proposition 437.
$n + (m - a) = b$ by Axiom 15, Axiom 16, Axiom 17, Axiom 18, Definition 64, Lemma 720, Proposition 437.
$(m - a) + n = b$ and $(b - n) + n = b$ by Axiom 16, Lemma 343, Proposition 437.
$((a + a + b) / (1 + 1 + 1)) - a = b - ((a + b + b) / (1 + 1 + 1))$ by Proposition 438.
LaTeX source
\begin{proof}
$1 + 1 + 1\in\naturalsPlus$ by \cref{space_filling_three_in_naturalsplus}.
We have $a + b\in\reals$ and $a + a + b\in\reals$ and $a + b + b\in\reals$ and $\neg{a}\in\reals$
by \cref{real_add_closed,real_add_inverse}.
Let $m = (a + a + b) / (1 + 1 + 1)$.
Let $n = (a + b + b) / (1 + 1 + 1)$.
$m\in\reals$ and $n\in\reals$ by \cref{real_div_naturalsplus_real}.
$m - a\in\reals$ and $b - n\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
$m + n = ((a + a + b) + (a + b + b)) / (1 + 1 + 1)$ by \cref{real_div_add_same_denom}.
$m + n = a + b$
by \cref{real_div_add_same_denom,real_add_assoc,real_add_comm,space_filling_triple_third_real,real_add_eq_subst}.
$n + (m - a) = b$
by \cref{real_sub,real_add_assoc,real_add_comm,space_filling_triple_third_real,real_add_inverse,real_add_ident,real_add_eq_subst}.
$(m - a) + n = b$ and $(b - n) + n = b$
by \cref{real_add_sub_cancel_right,real_add_comm,real_add_eq_subst}.
$((a + a + b) / (1 + 1 + 1)) - a = b - ((a + b + b) / (1 + 1 + 1))$ by \cref{real_add_cancel}.
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Then $(b - ((a + b + b) / (1 + 1 + 1)) + (b - ((a + b + b) / (1 + 1 + 1)))) + (b - ((a + b + b) / (1 + 1 + 1))) = b - a$.
LaTeX source
\begin{lemma}
\label{space_filling_right_third_width_triple}
Suppose $a\in\reals$ and $b\in\reals$.
Then $(b - ((a + b + b) / (1 + 1 + 1)) + (b - ((a + b + b) / (1 + 1 + 1))))
+ (b - ((a + b + b) / (1 + 1 + 1))) = b - a$.
\end{lemma}
Proof
Follows by Lemma 772, Lemma 773, Proposition 437.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_retained_third_symmetric_difference,space_filling_left_third_width_triple,real_add_eq_subst}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Suppose $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$.
Then $((a + a + b) / (1 + 1 + 1)) - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_left_third_width_leq_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Suppose $b - a \leq 1 / n$.
Then $((a + a + b) / (1 + 1 + 1)) - a \leq 1 / (n + 1)$.
\end{lemma}
Proof
We have $1 / n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / (n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 45, Lemma 90.
Let $d = ((a + a + b) / (1 + 1 + 1)) - a$.
$d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(d + d) + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$ by Axiom 13, Axiom 18, Axiom 42, Axiom 45, Definition 64, Lemma 23, Lemma 265, Lemma 542, Lemma 772.
$(d + d) + d \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1) + 1 / (n + 1) + 1 / (n + 1)$ by Axiom 13, Lemma 23, Lemma 770.
$((a + a + b) / (1 + 1 + 1)) - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$ by Lemma 771.
LaTeX source
\begin{proof}
We have $1 / n\in\reals$ and $1 / (n + 1)\in\reals$
by \cref{naturalsplus_reciprocal_real,real_naturals_closed_succ}.
Let $d = ((a + a + b) / (1 + 1 + 1)) - a$.
$d\in\reals$ and $(d + d) + d \leq 1 / n$
by \cref{real_sub,real_add_inverse,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,space_filling_left_third_width_triple,real_leq_subst_left_local,real_leq_trans}.
$(d + d) + d \leq 1 / (n + 1) + 1 / (n + 1) + 1 / (n + 1)$
by \cref{real_add_closed,real_leq_trans,space_filling_reciprocal_leq_triple_succ_reciprocal}.
$((a + a + b) / (1 + 1 + 1)) - a \leq 1 / (n + 1)$ by \cref{space_filling_triple_leq_cancel}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
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 $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Suppose $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$.
Then $b - ((a + b + b) / (1 + 1 + 1)) \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_right_third_width_leq_succ_reciprocal}
Suppose $n\in\naturalsPlus$.
Suppose $a\in\reals$ and $b\in\reals$ and $a \leq b$.
Suppose $b - a \leq 1 / n$.
Then $b - ((a + b + b) / (1 + 1 + 1)) \leq 1 / (n + 1)$.
\end{lemma}
Proof
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_width_bound}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / n$.
\end{lemma}
Proof
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $a,b$ if $a\in\reals$ and $b\in\reals$ and $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \leq b$ then $b - a \leq 1 / n$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / 1$.
Follows by Axiom 6, Axiom 11, Axiom 16, Axiom 17, Axiom 41, Axiom 42, Definition 1, Definition 64, Lemma 84, Lemma 231, Lemma 257, Lemma 749, Proposition 437, Proposition 462.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$.
Fix $a$.
Fix $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 $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
We have $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1, Definition 12, Definition 158, Proposition 361.
Take $k,J,H,c,d,e$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ and $e = x(k)$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ and $J = \intervalclosed{c}{d}$ and $(e,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}), (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})\}$ by Definition 1.
$\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ and $\fst{u(n)} = k$ by Axiom 6, Axiom 10, Axiom 11.
$k = n$ by Definition 1, Lemma 746.
$d - c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$ by Definition 1.
$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$ or $(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$ by Proposition 19.
We have $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$ by Axiom 6, Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 64, Lemma 265, Lemma 726, Lemma 749, Lemma 775, Proposition 437.
We have $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / (n + 1)$ by Axiom 6, Axiom 13, Axiom 42, Axiom 45, Definition 1, Definition 64, Lemma 265, Lemma 727, Lemma 749, Lemma 776, Proposition 437.
LaTeX source
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$.}
We have $b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,space_filling_left_endpoint_leq_left_third,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_left_third_width_leq_succ_reciprocal}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$.}
We have $b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,space_filling_right_third_leq_right_endpoint,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_right_third_width_leq_succ_reciprocal}.
\end{byCase}
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
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,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / n$ by Definition 1.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \text{for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / n$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / 1$.
\begin{subproof}
Follows by \cref{snd_eq,pair_eq_iff,subseteq,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_zero_lt_one,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,real_neg_zero,real_add_comm,real_one_div_one}.
\end{subproof}
$1\in A_0$ by \cref{subseteq,real_one_in_naturals}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
$n\in\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n + 1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / (n + 1)$.
\begin{subproof}
Fix $a$.
Fix $b$.
Assume $a\in\reals$ and $b\in\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \leq b$.
We have $(u(n),u(n + 1))\in R$ by \cref{sequence_in,funs_type_apply,relation,subseteq}.
Take $k,J,H,c,d,e$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$e = x(k)$ and
$c\in\reals$ and
$d\in\reals$ and
$c \leq d$ and
$J = \intervalclosed{c}{d}$ and
$(e,H)\in\{(0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}),
(1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})\}$
by \cref{subseteq}.
$\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ and $\fst{u(n)} = k$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$k = n$ by \cref{space_filling_retained_third_state_orbit_index,subseteq}.
$d - c \leq 1 / n$ by \cref{subseteq}.
$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$ or
$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$
by \cref{upair_iff}.
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$.}
We have $b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,space_filling_left_endpoint_leq_left_third,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_left_third_width_leq_succ_reciprocal}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$.}
We have $b - a \leq 1 / (n + 1)$
by \cref{pair_eq_iff,subseteq,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,space_filling_right_third_leq_right_endpoint,space_filling_intervalclosed_endpoints_unique,real_sub,real_add_eq_subst,space_filling_right_third_width_leq_succ_reciprocal}.
\end{byCase}
\end{subproof}
$n + 1\in A_0$ by \cref{subseteq,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,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $b - a \leq 1 / n$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
Suppose $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
Then $y_1 = y_2$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_common_point_unique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y_1\in I$ and for all $n\in\naturalsPlus$ we have $y_1\in\snd{u(n)}$.
Suppose $y_2\in I$ and for all $n\in\naturalsPlus$ we have $y_2\in\snd{u(n)}$.
Then $y_1 = y_2$.
\end{lemma}
Proof
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
Suppose not.
$y_1 < y_2$ or $y_2 < y_1$ by Axiom 34.
We have $y_2 - y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < y_2 - y_1$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$ by Definition 1, Proposition 476.
Take $m,J$ such that $u(N) = (m,J)$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Definition 158, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$\snd{u(N)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11, Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Lemma 231, Lemma 756.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 777.
We have $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$1 / N < 1 / N$ by Axiom 36, Lemma 81, Lemma 83.
Contradiction by Axiom 39.
We have $y_1 - y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < y_1 - y_2$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$ by Definition 1, Proposition 476.
Take $m,J$ such that $u(N) = (m,J)$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Definition 158, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$\snd{u(N)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11, Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$y_1 - y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Lemma 231, Lemma 756.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 777.
We have $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y_1 - y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$1 / N < 1 / N$ by Axiom 36, Lemma 81, Lemma 83.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$y_1 < y_2$.}
We have $y_2 - y_1\in\reals$ and $0 < y_2 - y_1$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_2 - y_1 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_retained_third_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_2 - y_1 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$y_2 < y_1$.}
We have $y_1 - y_2\in\reals$ and $0 < y_1 - y_2$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_1 - y_2 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_retained_third_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_1 - y_2 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
LaTeX source
\begin{proof}
$y_1\in\reals$ and $y_2\in\reals$ by \cref{intervalclosed,subseteq}.
Suppose not.
$y_1 < y_2$ or $y_2 < y_1$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$y_1 < y_2$.}
We have $y_2 - y_1\in\reals$ and $0 < y_2 - y_1$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_2 - y_1 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_retained_third_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_2 - y_1 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$y_2 < y_1$.}
We have $y_1 - y_2\in\reals$ and $0 < y_1 - y_2$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u(N) = (m,J)$ and
$J\in K$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_1 - y_2 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_retained_third_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_1 - y_2 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose $y_1$ is a retained-third code point of $x$ in $I$ and $E$.
Suppose $y_2$ is a retained-third code point of $x$ in $I$ and $E$.
Then $y_1 = y_2$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_code_point_unique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Suppose $y_1$ is a retained-third code point of $x$ in $I$ and $E$.
Suppose $y_2$ is a retained-third code point of $x$ in $I$ and $E$.
Then $y_1 = y_2$.
\end{lemma}
Proof
We have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 355.
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 355.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Definition 353.
$u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
We have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 355.
Take $K_2,G_2,R_2,g_2,u_2$ such that $K_2 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_2 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_2$ and $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2\class{latex-symbol-tip latex-symbol-id-times}{\times} G_2 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g_2$ is a retained-third state selector on $G_2$ and $R_2$ and $u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(n)}$ by Definition 355.
$g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_2}{G_2}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2$ we have $z\mathrel{R_2}\apply{g_2}{z}$ by Definition 353.
$u_2$ is a sequence in $G_2$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 354.
$K_1 = K_2$ and $G_1 = G_2$ and $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ by Definition 1, Proposition 3.
$R_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_2$ and $R_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_1$ by Definition 1.
$R_1 = R_2$ by Proposition 3.
$u_2$ is a sequence in $G_1$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 1.
$R_1$ is right-unique by Lemma 755.
$R_1$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $z,w_1,w_2$ such that $(z,w_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(z,w_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ we have $w_1 = w_2$ by Definition 51.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid u_1(n) = u_2(n)\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $u_1(n) = u_2(n)$ by Definition 1.
$u_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ by Definition 158, Proposition 361.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and $u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by assumption.
$u_2(n)\mathrel{R_1}\apply{g_2}{u_2(n)}$ by Definition 1.
$(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_1(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ by Definition 1, Definition 12.
$u_1(n + 1) = u_2(n + 1)$ by Definition 1.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u_2(n)$ by Definition 1, Proposition 445.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Axiom 6, Axiom 11, Definition 1.
$y_1 = y_2$ by Lemma 778.
LaTeX source
\begin{proof}
We have $y_1\in I$ by \cref{space_filling_retained_third_code_point}.
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y_1\in\snd{u_1(n)}$
by \cref{space_filling_retained_third_code_point}.
$g_1\in\funs{G_1}{G_1}$ and
for all $z\in G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
We have $y_2\in I$
by \cref{space_filling_retained_third_code_point}.
Take $K_2,G_2,R_2,g_2,u_2$ such that
$K_2 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_2 = \naturalsPlus\times K_2$ and
$R_2 = \{p\in G_2\times G_2 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g_2$ is a retained-third state selector on $G_2$ and $R_2$ and
$u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and
for all $n\in\naturalsPlus$ we have $y_2\in\snd{u_2(n)}$
by \cref{space_filling_retained_third_code_point}.
$g_2\in\funs{G_2}{G_2}$ and
for all $z\in G_2$ we have $z\mathrel{R_2}\apply{g_2}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_2$ is a sequence in $G_2$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
$K_1 = K_2$ and $G_1 = G_2$ and $g_2\in\funs{G_1}{G_1}$
by \cref{subseteq,subseteq_antisymmetric}.
$R_1\subseteq R_2$ and $R_2\subseteq R_1$ by \cref{subseteq}.
$R_1 = R_2$ by \cref{subseteq_antisymmetric}.
$u_2$ is a sequence in $G_1$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{subseteq}.
$R_1$ is right-unique by \cref{space_filling_retained_third_state_relation_rightunique}.
$R_1$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
For all $z,w_1,w_2$ such that $(z,w_1)\in R_1$ and $(z,w_2)\in R_1$ we have $w_1 = w_2$
by \cref{rightunique}.
Let $A_0 = \{n\in\naturalsPlus \mid u_1(n) = u_2(n)\}$.
$1\in A_0$ by \cref{real_one_in_naturals,pair_eq_iff,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ and $u_1(n) = u_2(n)$ by \cref{subseteq}.
$u_1(n)\in G_1$ and $u_2(n)\in G_1$ by \cref{sequence_in,funs_type_apply}.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and $u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$
by assumption.
$u_2(n)\mathrel{R_1}\apply{g_2}{u_2(n)}$ by \cref{subseteq}.
$(u_1(n),u_1(n + 1))\in R_1$ and $(u_1(n),u_2(n + 1))\in R_1$
by \cref{relation,subseteq}.
$u_1(n + 1) = u_2(n + 1)$ by \cref{subseteq}.
$n + 1\in A_0$ by \cref{subseteq,real_naturals_closed_succ}.
\end{subproof}
For all $n\in\naturalsPlus$ we have $u_1(n) = u_2(n)$
by \cref{real_naturals_induction,subseteq}.
For all $n\in\naturalsPlus$ we have $y_2\in\snd{u_1(n)}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1 = y_2$ by \cref{space_filling_retained_third_state_orbit_common_point_unique}.
\end{proof}
$y$ is a dyadic code point of $x$ in $I$ and $E$ iff $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and there exist $K,G,R,g,u$ such that $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$ and $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and $g$ is a retained-third state selector on $G$ and $R$ and $u$ is a retained-third state orbit of $g$ on $G$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{definition}
\label{space_filling_dyadic_code_point}
$y$ is a dyadic code point of $x$ in $I$ and $E$ iff
$x\in\productFamily{E}$ and
$y\in I$ and
there exist $K,G,R,g,u$ such that
$K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G = \naturalsPlus\times K$ and
$R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and
$g$ is a retained-third state selector on $G$ and $R$ and
$u$ is a retained-third state orbit of $g$ on $G$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{definition}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Then there exists $y$ such that $y$ is a dyadic code point of $x$ in $I$ and $E$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_code_point_exists}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Then there exists $y$ such that $y$ is a dyadic code point of $x$ in $I$ and $E$.
\end{lemma}
Proof
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Take $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$ by Lemma 730.
Take $u$ such that $u$ is a sequence in $G$ and $u(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$ by Lemma 731.
Take $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Lemma 740.
$y$ is a dyadic code point of $x$ in $I$ and $E$ by Definition 353, Definition 354, Definition 356.
LaTeX source
\begin{proof}
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Take $g$ such that
$g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$
by \cref{space_filling_dyadic_child_state_selector}.
Take $u$ such that
$u$ is a sequence in $G$ and
$u(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$
by \cref{space_filling_dyadic_child_state_iteration}.
Take $y\in I$ such that
for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$
by \cref{space_filling_dyadic_child_state_orbit_common_point}.
$y$ is a dyadic code point of $x$ in $I$ and $E$
by \cref{space_filling_retained_third_state_selector_on,space_filling_retained_third_state_orbit_from,space_filling_dyadic_code_point}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose $y_1$ is a dyadic code point of $x$ in $I$ and $E$.
Suppose $y_2$ is a dyadic code point of $x$ in $I$ and $E$.
Then $y_1 = y_2$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_code_point_unique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Suppose $y_1$ is a dyadic code point of $x$ in $I$ and $E$.
Suppose $y_2$ is a dyadic code point of $x$ in $I$ and $E$.
Then $y_1 = y_2$.
\end{lemma}
Proof
We have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 356.
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 356.
$g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Definition 353.
$u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
We have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 356.
Take $K_2,G_2,R_2,g_2,u_2$ such that $K_2 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_2 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_2$ and $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2\class{latex-symbol-tip latex-symbol-id-times}{\times} G_2 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and $g_2$ is a retained-third state selector on $G_2$ and $R_2$ and $u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(n)}$ by Definition 356.
$g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_2}{G_2}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2$ we have $z\mathrel{R_2}\apply{g_2}{z}$ by Definition 353.
$u_2$ is a sequence in $G_2$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 354.
$K_1 = K_2$ and $G_1 = G_2$ and $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ by Definition 1, Proposition 3.
$u_2$ is a sequence in $G_1$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 1.
For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_2}\apply{g_2}{z}$ by Definition 1.
$R_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_2$ and $R_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_1$ by Definition 1.
$R_1 = R_2$ by Definition 1, Proposition 3.
$R_1$ is a relation by Definition 1, Definition 12, Proposition 121.
$u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G_1}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G_1}$ by Definition 158.
For all $n,u,v$ such that $(n,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ and $(n,v)\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ we have $u = v$ by Axiom 6.
$E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
Claim: For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $\apply{g_1}{z} = \apply{g_2}{z}$.
Fix $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$.
We have $(z,\apply{g_1}{z})\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ by Definition 1, Definition 12.
$(z,\apply{g_2}{z})\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 1, Definition 12.
$(z,\apply{g_2}{z})\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ by Definition 1.
Take $n_1,J_1,H_1,a_1,b_1,d_1$ such that $(z,\apply{g_1}{z})\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $n_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(z,\apply{g_1}{z})} = (n_1,J_1)$ and $\snd{(z,\apply{g_1}{z})} = (n_1 + 1,H_1)$ and $d_1 = x(n_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + b_1) / (1 + 1)}), (1,\intervalclosed{(a_1 + b_1) / (1 + 1)}{b_1})\}$ by Definition 1.
Take $n_2,J_2,H_2,a_2,b_2,d_2$ such that $(z,\apply{g_2}{z})\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $n_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(z,\apply{g_2}{z})} = (n_2,J_2)$ and $\snd{(z,\apply{g_2}{z})} = (n_2 + 1,H_2)$ and $d_2 = x(n_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}), (1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$ by Definition 1.
$z = (n_1,J_1)$ and $\apply{g_1}{z} = (n_1 + 1,H_1)$ by Axiom 6, Axiom 10, Axiom 11.
$z = (n_2,J_2)$ and $\apply{g_2}{z} = (n_2 + 1,H_2)$ by Axiom 6, Axiom 10, Axiom 11.
$n_1 = n_2$ and $J_1 = J_2$ by Axiom 6.
$d_1 = d_2$ and $d_1\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 167, Proposition 346.
$a_1 = a_2$ and $b_1 = b_2$ by Definition 1, Lemma 749.
$H_1 = H_2$ by Lemma 748.
$\apply{g_1}{z} = \apply{g_2}{z}$ by Axiom 6, Proposition 437.
Let $A_0 = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid u_1(m) = u_2(m)\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 42, Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Follows by Axiom 45, Definition 1, Proposition 361.
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.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
Suppose not.
$y_1 < y_2$ or $y_2 < y_1$ by Axiom 34.
We have $y_2 - y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < y_2 - y_1$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$ by Definition 1, Proposition 476.
Take $m,J$ such that $u_1(N) = (m,J)$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K_1$ by Definition 1, Definition 158, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$\snd{u_1(N)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11, Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Lemma 231, Lemma 756.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 766.
We have $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y_2 - y_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$1 / N < 1 / N$ by Axiom 36, Lemma 81, Lemma 83.
Contradiction by Axiom 39.
We have $y_1 - y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < y_1 - y_2$ by Axiom 13, Axiom 18, Definition 64, Lemma 26.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$ by Definition 1, Proposition 476.
Take $m,J$ such that $u_1(N) = (m,J)$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K_1$ by Definition 1, Definition 158, Proposition 121, Proposition 361.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
$\snd{u_1(N)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11, Definition 1.
$y_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ and $y_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{a}{b}$ by Definition 1.
$y_1 - y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b - a$ by Lemma 231, Lemma 756.
$b - a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 766.
We have $b - a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y_1 - y_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$1 / N < 1 / N$ by Axiom 36, Lemma 81, Lemma 83.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$y_1 < y_2$.}
We have $y_2 - y_1\in\reals$ and $0 < y_2 - y_1$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u_1(N) = (m,J)$ and
$J\in K_1$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u_1(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_2 - y_1 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_2 - y_1 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$y_2 < y_1$.}
We have $y_1 - y_2\in\reals$ and $0 < y_1 - y_2$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u_1(N) = (m,J)$ and
$J\in K_1$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u_1(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_1 - y_2 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_1 - y_2 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
LaTeX source
\begin{proof}
We have $y_1\in I$ by \cref{space_filling_dyadic_code_point}.
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y_1\in\snd{u_1(n)}$
by \cref{space_filling_dyadic_code_point}.
$g_1\in\funs{G_1}{G_1}$ and
for all $z\in G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
We have $y_2\in I$
by \cref{space_filling_dyadic_code_point}.
Take $K_2,G_2,R_2,g_2,u_2$ such that
$K_2 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_2 = \naturalsPlus\times K_2$ and
$R_2 = \{p\in G_2\times G_2 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and
$g_2$ is a retained-third state selector on $G_2$ and $R_2$ and
$u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and
for all $n\in\naturalsPlus$ we have $y_2\in\snd{u_2(n)}$
by \cref{space_filling_dyadic_code_point}.
$g_2\in\funs{G_2}{G_2}$ and
for all $z\in G_2$ we have $z\mathrel{R_2}\apply{g_2}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_2$ is a sequence in $G_2$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
$K_1 = K_2$ and $G_1 = G_2$ and $g_2\in\funs{G_1}{G_1}$
by \cref{subseteq,subseteq_antisymmetric}.
$u_2$ is a sequence in $G_1$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{subseteq}.
For all $z\in G_1$ we have $z\mathrel{R_2}\apply{g_2}{z}$ by \cref{subseteq}.
$R_1\subseteq R_2$ and $R_2\subseteq R_1$ by \cref{subseteq}.
$R_1 = R_2$ by \cref{subseteq,subseteq_antisymmetric}.
$R_1$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
$u_1\in\funs{\naturalsPlus}{G_1}$ and $u_2\in\funs{\naturalsPlus}{G_1}$ by \cref{sequence_in}.
For all $n,u,v$ such that $(n,u)\in E$ and $(n,v)\in E$ we have $u = v$ by \cref{pair_eq_iff}.
$E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
Show that for all $z\in G_1$ we have $\apply{g_1}{z} = \apply{g_2}{z}$.
\begin{subproof}
Fix $z\in G_1$.
We have $(z,\apply{g_1}{z})\in R_1$ by \cref{subseteq,relation}.
$(z,\apply{g_2}{z})\in R_2$ by \cref{subseteq,relation}.
$(z,\apply{g_2}{z})\in R_1$ by \cref{subseteq}.
Take $n_1,J_1,H_1,a_1,b_1,d_1$ such that
$(z,\apply{g_1}{z})\in G_1\times G_1$ and
$n_1\in\naturalsPlus$ and
$\fst{(z,\apply{g_1}{z})} = (n_1,J_1)$ and
$\snd{(z,\apply{g_1}{z})} = (n_1 + 1,H_1)$ and
$d_1 = x(n_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + b_1) / (1 + 1)}),
(1,\intervalclosed{(a_1 + b_1) / (1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $n_2,J_2,H_2,a_2,b_2,d_2$ such that
$(z,\apply{g_2}{z})\in G_1\times G_1$ and
$n_2\in\naturalsPlus$ and
$\fst{(z,\apply{g_2}{z})} = (n_2,J_2)$ and
$\snd{(z,\apply{g_2}{z})} = (n_2 + 1,H_2)$ and
$d_2 = x(n_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}),
(1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$
by \cref{subseteq}.
$z = (n_1,J_1)$ and $\apply{g_1}{z} = (n_1 + 1,H_1)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$z = (n_2,J_2)$ and $\apply{g_2}{z} = (n_2 + 1,H_2)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n_1 = n_2$ and $J_1 = J_2$ by \cref{pair_eq_iff}.
$d_1 = d_2$ and $d_1\in D$
by \cref{indexed_product,function_apply_intro,subseteq}.
$a_1 = a_2$ and $b_1 = b_2$
by \cref{subseteq,space_filling_intervalclosed_endpoints_unique}.
$H_1 = H_2$ by \cref{space_filling_dyadic_child_choice_unique}.
$\apply{g_1}{z} = \apply{g_2}{z}$ by \cref{pair_eq_iff,real_add_eq_subst}.
\end{subproof}
Let $A_0 = \{m\in\naturalsPlus \mid u_1(m) = u_2(m)\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
$1\in A_0$ by \cref{real_one_in_naturals,pair_eq_iff,subseteq}.
Show that for all $m\in A_0$ we have $m + 1\in A_0$.
\begin{subproof}
Follows by \cref{subseteq,funs_type_apply,real_naturals_closed_succ}.
\end{subproof}
For all $m\in\naturalsPlus$ we have $m\in A_0$ by \cref{real_naturals_induction}.
For all $n\in\naturalsPlus$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by \cref{subseteq}.
For all $n\in\naturalsPlus$ we have $y_2\in\snd{u_1(n)}$ by \cref{subseteq}.
$y_1\in\reals$ and $y_2\in\reals$ by \cref{intervalclosed,subseteq}.
Suppose not.
$y_1 < y_2$ or $y_2 < y_1$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$y_1 < y_2$.}
We have $y_2 - y_1\in\reals$ and $0 < y_2 - y_1$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_2 - y_1$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u_1(N) = (m,J)$ and
$J\in K_1$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u_1(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_2 - y_1 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_2 - y_1 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$y_2 < y_1$.}
We have $y_1 - y_2\in\reals$ and $0 < y_1 - y_2$
by \cref{real_sub,real_add_inverse,real_add_closed,real_lt_imp_pos_diff}.
Take $N\in\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < y_1 - y_2$
by \cref{subseteq,real_small_reciprocal}.
Take $m,J$ such that
$u_1(N) = (m,J)$ and
$J\in K_1$
by \cref{sequence_in,funs_type_apply,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
$\snd{u_1(N)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$y_1\in\intervalclosed{a}{b}$ and $y_2\in\intervalclosed{a}{b}$ by \cref{subseteq}.
$y_1 - y_2 \leq b - a$
by \cref{real_lt_imp_leq,space_filling_interval_width_bounds_difference}.
$b - a \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
We have $b - a\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y_1 - y_2 \leq 1 / N$ by \cref{real_leq_trans}.
$1 / N < 1 / N$ by \cref{real_leq_split,real_lt_trans,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Then there exists $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_code_map_exists}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Then there exists $r\in\funs{\productFamily{E}}{I}$ such that
for all $x\in\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$.
\end{lemma}
Proof
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times} I \mid \text{$\snd{w}$ is a retained-third code point of $\fst{w}$ in $I$ and $E$}\}$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Definition 355, Lemma 751, Proposition 115.
Take $r$ such that $r$ is a function on $\productFamily{E}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $x\mathrel{Q}\apply{r}{x}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12.
LaTeX source
\begin{proof}
Let $Q = \{w\in\productFamily{E}\times I \mid \text{$\snd{w}$ is a retained-third code point of $\fst{w}$ in $I$ and $E$}\}$.
For all $x\in\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$
by \cref{space_filling_retained_third_code_point_exists,space_filling_retained_third_code_point,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff,relation,subseteq}.
Take $r$ such that
$r$ is a function on $\productFamily{E}$ and
for all $x\in\productFamily{E}$ we have $x\mathrel{Q}\apply{r}{x}$
by \cref{axiom_of_choice,relation,subseteq,times_elem_is_tuple}.
$r\in\funs{\productFamily{E}}{I}$ by \cref{axiom_of_choice,funs_intro,relation,subseteq,times_tuple_elim}.
For all $x\in\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$
by \cref{axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Then there exists $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_code_map_exists}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Then there exists $r\in\funs{\productFamily{E}}{I}$ such that
for all $x\in\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$.
\end{lemma}
Proof
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times} I \mid \text{$\snd{w}$ is a dyadic code point of $\fst{w}$ in $I$ and $E$}\}$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Definition 356, Lemma 780, Proposition 115.
Take $r$ such that $r$ is a function on $\productFamily{E}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $x\mathrel{Q}\apply{r}{x}$ by Axiom 54, Definition 1, Definition 12, Proposition 121.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12.
LaTeX source
\begin{proof}
Let $Q = \{w\in\productFamily{E}\times I \mid \text{$\snd{w}$ is a dyadic code point of $\fst{w}$ in $I$ and $E$}\}$.
For all $x\in\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$
by \cref{space_filling_dyadic_code_point_exists,space_filling_dyadic_code_point,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff,relation,subseteq}.
Take $r$ such that
$r$ is a function on $\productFamily{E}$ and
for all $x\in\productFamily{E}$ we have $x\mathrel{Q}\apply{r}{x}$
by \cref{axiom_of_choice,relation,subseteq,times_elem_is_tuple}.
$r\in\funs{\productFamily{E}}{I}$ by \cref{axiom_of_choice,funs_intro,relation,subseteq,times_tuple_elim}.
For all $x\in\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$
by \cref{axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Let $R = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} K\class{latex-symbol-tip latex-symbol-id-times}{\times} K \mid \text{there exist $a,b$ such that $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $\fst{w} = \intervalclosed{a}{b}$ and $\snd{w}\subseteq\fst{w}$ and $\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Suppose $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$.
Suppose $J\mathrel{R} H$.
Then there exist $a,b,d$ such that $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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $J = \intervalclosed{a}{b}$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $(d,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$.
LaTeX source
\begin{lemma}
\label{space_filling_point_interval_child_has_digit}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Assume $y\in I$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Let $R = \{w\in K\times K \mid \text{there exist $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$\fst{w} = \intervalclosed{a}{b}$ and
$\snd{w}\subseteq\fst{w}$ and
$\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Suppose $J\in K$.
Suppose $J\mathrel{R} H$.
Then there exist $a,b,d$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$d\in D$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$.
\end{lemma}
Proof
We have $(J,H)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1, Definition 12, Proposition 121.
Take $a,b$ such that $(J,H)\class{latex-symbol-tip latex-symbol-id-in}{\in} K\class{latex-symbol-tip latex-symbol-id-times}{\times} K$ 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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $\fst{(J,H)} = \intervalclosed{a}{b}$ and $\snd{(J,H)}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\fst{(J,H)}$ and $\snd{(J,H)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$ by Definition 1.
$J = \intervalclosed{a}{b}$ and $H\class{latex-symbol-tip latex-symbol-id-in}{\in}\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$ by Axiom 6, Axiom 10, Axiom 11.
$H = \intervalclosed{a}{(a + b) / (1 + 1)}$ or $H = \intervalclosed{(a + b) / (1 + 1)}{b}$ by Proposition 19.
There exists $d\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ such that $(d,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 16, Proposition 17, Proposition 19.
There exist $c,e,f$ such that $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ and $J = \intervalclosed{c}{e}$ and $f\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $(f,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{c}{(c + e) / (1 + 1)}), (1,\intervalclosed{(c + e) / (1 + 1)}{e})\}$ by Definition 1.
LaTeX source
\begin{proof}
We have $(J,H)\in R$ by \cref{relation,subseteq,times_elem_is_tuple}.
Take $a,b$ such that
$(J,H)\in K\times K$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$\fst{(J,H)} = \intervalclosed{a}{b}$ and
$\snd{(J,H)}\subseteq\fst{(J,H)}$ and
$\snd{(J,H)}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$
by \cref{subseteq}.
$J = \intervalclosed{a}{b}$ and
$H\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$H = \intervalclosed{a}{(a + b) / (1 + 1)}$ or
$H = \intervalclosed{(a + b) / (1 + 1)}{b}$
by \cref{upair_iff}.
There exists $d\in D$ such that
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,upair_iff}.
There exist $c,e,f$ such that
$c\in\reals$ and
$e\in\reals$ and
$c \leq e$ and
$J = \intervalclosed{c}{e}$ and
$f\in D$ and
$(f,H)\in\{(0,\intervalclosed{c}{(c + e) / (1 + 1)}),
(1,\intervalclosed{(c + e) / (1 + 1)}{e})\}$
by \cref{subseteq}.
\end{proof}
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 $a < b$.
Then $a < (a + a + b) / (1 + 1 + 1)$.
LaTeX source
\begin{lemma}
\label{space_filling_left_endpoint_lt_left_third}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Then $a < (a + a + b) / (1 + 1 + 1)$.
\end{lemma}
Proof
We have $a + a + a < a + a + b$ by Axiom 13, Axiom 15, Axiom 16, Axiom 37, Lemma 83.
$a + a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1 + 1$ and $1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $\inv{(1 + 1 + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \inv{(1 + 1 + 1)}$ by Axiom 22, Axiom 41, Definition 1, Lemma 20, Lemma 89, Lemma 719, Proposition 463.
$(a + a + a) \rmul \inv{(1 + 1 + 1)} < (a + a + b) \rmul \inv{(1 + 1 + 1)}$ by Axiom 38.
$(a + a + a) / (1 + 1 + 1) < (a + a + b) / (1 + 1 + 1)$ by Definition 65, Lemma 82, Lemma 83.
$a < (a + a + b) / (1 + 1 + 1)$ by Lemma 82, Lemma 720.
LaTeX source
\begin{proof}
We have $a + a + a < a + a + b$
by \cref{real_lt_add,real_add_closed,real_add_assoc,real_add_comm,real_lt_subst_right}.
$a + a + a\in\reals$ and $a + a + b\in\reals$ by \cref{real_add_closed}.
$1 + 1 + 1\in\reals$ and $0 < 1 + 1 + 1$ and $1 + 1 + 1\neq 0$ and
$\inv{(1 + 1 + 1)}\in\reals$ and $0 < \inv{(1 + 1 + 1)}$
by \cref{space_filling_three_in_naturalsplus,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_mul_inverse,real_inv_pos}.
$(a + a + a) \rmul \inv{(1 + 1 + 1)} < (a + a + b) \rmul \inv{(1 + 1 + 1)}$
by \cref{real_lt_mul_pos}.
$(a + a + a) / (1 + 1 + 1) < (a + a + b) / (1 + 1 + 1)$
by \cref{real_div,real_lt_subst_left,real_lt_subst_right}.
$a < (a + a + b) / (1 + 1 + 1)$ by \cref{space_filling_triple_third_real,real_lt_subst_left}.
\end{proof}
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 $a < b$.
Then $(a + b + b) / (1 + 1 + 1) < b$.
LaTeX source
\begin{lemma}
\label{space_filling_right_third_lt_right_endpoint}
Suppose $a\in\reals$ and $b\in\reals$ and $a < b$.
Then $(a + b + b) / (1 + 1 + 1) < b$.
\end{lemma}
Proof
We have $a + b + b < b + b + b$ by Axiom 13, Axiom 15, Axiom 37, Lemma 83.
$a + b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b + b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < 1 + 1 + 1$ and $1 + 1 + 1\class{latex-symbol-tip latex-symbol-id-neq}{\neq} 0$ and $\inv{(1 + 1 + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $0 < \inv{(1 + 1 + 1)}$ by Axiom 22, Axiom 41, Definition 1, Lemma 20, Lemma 89, Lemma 719, Proposition 463.
$(a + b + b) \rmul \inv{(1 + 1 + 1)} < (b + b + b) \rmul \inv{(1 + 1 + 1)}$ by Axiom 38.
$(a + b + b) / (1 + 1 + 1) < (b + b + b) / (1 + 1 + 1)$ by Definition 65, Lemma 82, Lemma 83.
$(a + b + b) / (1 + 1 + 1) < b$ by Lemma 83, Lemma 720.
LaTeX source
\begin{proof}
We have $a + b + b < b + b + b$ by \cref{real_add_closed,real_lt_add,real_add_assoc,real_lt_subst_right}.
$a + b + b\in\reals$ and $b + b + b\in\reals$ by \cref{real_add_closed}.
$1 + 1 + 1\in\reals$ and $0 < 1 + 1 + 1$ and $1 + 1 + 1\neq 0$ and
$\inv{(1 + 1 + 1)}\in\reals$ and $0 < \inv{(1 + 1 + 1)}$
by \cref{space_filling_three_in_naturalsplus,real_naturals_subset_reals,subseteq,naturalsplus_positive_real,real_pos_nonzero,real_mul_inverse,real_inv_pos}.
$(a + b + b) \rmul \inv{(1 + 1 + 1)} < (b + b + b) \rmul \inv{(1 + 1 + 1)}$
by \cref{real_lt_mul_pos}.
$(a + b + b) / (1 + 1 + 1) < (b + b + b) / (1 + 1 + 1)$
by \cref{real_div,real_lt_subst_left,real_lt_subst_right}.
$(a + b + b) / (1 + 1 + 1) < b$ by \cref{space_filling_triple_third_real,real_lt_subst_right}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_strict_interval}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Then for all $n,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$.
\end{lemma}
Proof
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $a,b$ if $a\in\reals$ and $b\in\reals$ and $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \leq b$ then $a < b$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$.
Follows by Axiom 6, Axiom 11, Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Lemma 749, Proposition 462.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$.
Fix $a$.
Fix $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 $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
We have $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1, Definition 12, Definition 158, Proposition 121, Proposition 361.
Take $k,J,H,c,d,e$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ and $e = x(k)$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ and $J = \intervalclosed{c}{d}$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and $(e,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}), (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})\}$ by Definition 1.
$\fst{u(n)} = k$ and $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ by Axiom 6, Axiom 10, Axiom 11.
$k = n$ by Definition 1, Lemma 746.
$c < d$ by Definition 1.
$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$ or $(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$ by Proposition 19.
We have $H = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by Axiom 6.
$\intervalclosed{a}{b} = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by Definition 1.
$a = c$ and $b = (c + c + d) / (1 + 1 + 1)$ by Axiom 13, Axiom 42, Axiom 45, Lemma 231, Lemma 265, Lemma 749, Lemma 785.
$a < b$ by Lemma 82, Lemma 83, Lemma 785.
We have $H = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by Axiom 6.
$\intervalclosed{a}{b} = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by Definition 1.
$a = (c + d + d) / (1 + 1 + 1)$ and $b = d$ by Axiom 13, Axiom 42, Axiom 45, Lemma 231, Lemma 265, Lemma 749, Lemma 786.
$a < b$ by Lemma 82, Lemma 83, Lemma 786.
LaTeX source
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$.}
We have $H = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{pair_eq_iff}.
$\intervalclosed{a}{b} = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{subseteq}.
$a = c$ and $b = (c + c + d) / (1 + 1 + 1)$
by \cref{space_filling_left_endpoint_lt_left_third,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$a < b$ by \cref{space_filling_left_endpoint_lt_left_third,real_lt_subst_left,real_lt_subst_right}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$.}
We have $H = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{pair_eq_iff}.
$\intervalclosed{a}{b} = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{subseteq}.
$a = (c + d + d) / (1 + 1 + 1)$ and $b = d$
by \cref{space_filling_right_third_lt_right_endpoint,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$a < b$ by \cref{space_filling_right_third_lt_right_endpoint,real_lt_subst_left,real_lt_subst_right}.
\end{byCase}
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
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,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$ by Definition 1.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \text{for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$.
\begin{subproof}
Follows by \cref{snd_eq,pair_eq_iff,subseteq,space_filling_intervalclosed_endpoints_unique,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_zero_lt_one,real_lt_imp_leq}.
\end{subproof}
$1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
$n\in\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n + 1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$.
\begin{subproof}
Fix $a$.
Fix $b$.
Assume $a\in\reals$ and $b\in\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \leq b$.
We have $(u(n),u(n + 1))\in R$ by \cref{sequence_in,funs_type_apply,subseteq,relation,times_elem_is_tuple}.
Take $k,J,H,c,d,e$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$e = x(k)$ and
$c\in\reals$ and
$d\in\reals$ and
$c \leq d$ and
$J = \intervalclosed{c}{d}$ and
$H\subseteq J$ and
$(e,H)\in\{(0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}),
(1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})\}$
by \cref{subseteq}.
$\fst{u(n)} = k$ and $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$k = n$ by \cref{space_filling_retained_third_state_orbit_index,subseteq}.
$c < d$ by \cref{subseteq}.
$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$ or
$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$
by \cref{upair_iff}.
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$.}
We have $H = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{pair_eq_iff}.
$\intervalclosed{a}{b} = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{subseteq}.
$a = c$ and $b = (c + c + d) / (1 + 1 + 1)$
by \cref{space_filling_left_endpoint_lt_left_third,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$a < b$ by \cref{space_filling_left_endpoint_lt_left_third,real_lt_subst_left,real_lt_subst_right}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$.}
We have $H = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{pair_eq_iff}.
$\intervalclosed{a}{b} = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{subseteq}.
$a = (c + d + d) / (1 + 1 + 1)$ and $b = d$
by \cref{space_filling_right_third_lt_right_endpoint,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$a < b$ by \cref{space_filling_right_third_lt_right_endpoint,real_lt_subst_left,real_lt_subst_right}.
\end{byCase}
\end{subproof}
$n + 1\in A_0$ by \cref{subseteq,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,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u_1(n)} = n$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u_2(n)} = n$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $x_1(i) = x_2(i)$.
Then $\snd{u_1(N + 1)} = \snd{u_2(N + 1)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_prefix_agreement_succ}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R_1 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose for all $n\in\naturalsPlus$ we have $\fst{u_1(n)} = n$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Suppose for all $n\in\naturalsPlus$ we have $\fst{u_2(n)} = n$.
Assume $N\in\naturalsPlus$.
Assume for all $i\in\initialSegment{N}$ we have $x_1(i) = x_2(i)$.
Then $\snd{u_1(N + 1)} = \snd{u_2(N + 1)}$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Hence $\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
We have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Lemma 753.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ by Definition 84.
Hence $\snd{u_1(N)} = \snd{u_2(N)}$ by Definition 1.
$u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ by Definition 158.
We have $(u_1(N),u_1(N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(N),u_2(N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Axiom 45, Definition 1, Definition 12, Proposition 361.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(N),u_1(N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(N),u_1(N + 1))} = (k_1,J_1)$ and $\snd{(u_1(N),u_1(N + 1))} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(N),u_2(N + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(N),u_2(N + 1))} = (k_2,J_2)$ and $\snd{(u_2(N),u_2(N + 1))} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
We have $k_1 = N$ and $k_2 = N$ and $\snd{u_1(N)} = J_1$ and $\snd{u_2(N)} = J_2$ and $\snd{u_1(N + 1)} = H_1$ and $\snd{u_2(N + 1)} = H_2$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
$d_1 = x_1(N)$ and $d_2 = x_2(N)$ and $J_1 = J_2$ by Definition 1.
We have $x_1(N)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $x_2(N)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 167, Proposition 346.
Hence $d_1 = d_2$ and $d_2\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
$\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$ by Definition 1.
Therefore $a_1 = a_2$ and $b_1 = b_2$ by Lemma 749.
We have $(d_2,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1, Proposition 437.
Thus $H_1 = H_2$ by Definition 1, Lemma 752, Proposition 437.
Therefore $\snd{u_1(N + 1)} = \snd{u_2(N + 1)}$ by Definition 1.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
We have for all $n\in\initialSegment{N}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_prefix_agreement}.
$N\in\initialSegment{N}$ by \cref{initial_segment_naturalsplus}.
Hence $\snd{u_1(N)} = \snd{u_2(N)}$ by \cref{subseteq}.
$u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ by \cref{sequence_in}.
We have $(u_1(N),u_1(N + 1))\in R_1$ and
$(u_2(N),u_2(N + 1))\in R_2$
by \cref{funs_type_apply,real_naturals_closed_succ,subseteq,relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(N),u_1(N + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(N),u_1(N + 1))} = (k_1,J_1)$ and
$\snd{(u_1(N),u_1(N + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(N),u_2(N + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(N),u_2(N + 1))} = (k_2,J_2)$ and
$\snd{(u_2(N),u_2(N + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
We have $k_1 = N$ and $k_2 = N$ and
$\snd{u_1(N)} = J_1$ and $\snd{u_2(N)} = J_2$ and
$\snd{u_1(N + 1)} = H_1$ and $\snd{u_2(N + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
$d_1 = x_1(N)$ and $d_2 = x_2(N)$ and $J_1 = J_2$ by \cref{subseteq}.
We have $x_1(N)\in D$ and $x_2(N)\in D$ by \cref{indexed_product,function_apply_intro,subseteq}.
Hence $d_1 = d_2$ and $d_2\in D$ by \cref{subseteq}.
$\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$ by \cref{subseteq}.
Therefore $a_1 = a_2$ and $b_1 = b_2$ by \cref{space_filling_intervalclosed_endpoints_unique}.
We have $(d_2,H_1)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq,real_add_eq_subst}.
Thus $H_1 = H_2$ by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
Therefore $\snd{u_1(N + 1)} = \snd{u_2(N + 1)}$ by \cref{subseteq}.
\end{proof}
Proof
We have $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $(N + 1) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45, Definition 158.
$(u_1(N + 1),u_1((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(N + 1),u_2((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 1, Definition 12, Proposition 361.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(N + 1),u_1((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1,J_1)$ and $\snd{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(N + 1),u_2((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2,J_2)$ and $\snd{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
We have $k_1 = N + 1$ and $k_2 = N + 1$ and $\snd{u_1(N + 1)} = J_1$ and $\snd{u_2(N + 1)} = J_2$ and $\snd{u_1((N + 1) + 1)} = H_1$ and $\snd{u_2((N + 1) + 1)} = H_2$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
$d_1 = x_1(N + 1)$ and $d_2 = x_2(N + 1)$ by Definition 1.
We have $d_1 = 0$ and $d_2 = 1$ by Definition 1.
$\intervalclosed{a_1}{b_1} = \intervalclosed{a}{b}$ and $\intervalclosed{a_2}{b_2} = \intervalclosed{a}{b}$ by Definition 1.
We have $a_1 = a$ and $b_1 = b$ by Lemma 231, Lemma 749.
$a_2 = a$ and $b_2 = b$ by Lemma 231, Lemma 749.
We have $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Definition 1, Proposition 437.
$(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Definition 1, Proposition 437.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
We have $d_1\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $d_2\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Proposition 16, Proposition 17.
$(d_1,L)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and $(d_2,R)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 16, Proposition 17.
Hence $H_1 = L$ and $H_2 = R$ by Definition 1, Lemma 752, Proposition 437.
$L$ is disjoint from $R$ by Lemma 724.
Suppose not.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1.
Contradiction by Definition 3.
LaTeX source
\begin{proof}
We have $u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ and
$N + 1\in\naturalsPlus$ and $(N + 1) + 1\in\naturalsPlus$
by \cref{sequence_in,real_naturals_closed_succ}.
$(u_1(N + 1),u_1((N + 1) + 1))\in R_1$ and
$(u_2(N + 1),u_2((N + 1) + 1))\in R_2$
by \cref{funs_type_apply,subseteq,relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(N + 1),u_1((N + 1) + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1,J_1)$ and
$\snd{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(N + 1),u_2((N + 1) + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2,J_2)$ and
$\snd{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
We have $k_1 = N + 1$ and $k_2 = N + 1$ and
$\snd{u_1(N + 1)} = J_1$ and $\snd{u_2(N + 1)} = J_2$ and
$\snd{u_1((N + 1) + 1)} = H_1$ and $\snd{u_2((N + 1) + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
$d_1 = x_1(N + 1)$ and $d_2 = x_2(N + 1)$ by \cref{subseteq}.
We have $d_1 = 0$ and $d_2 = 1$ by \cref{subseteq}.
$\intervalclosed{a_1}{b_1} = \intervalclosed{a}{b}$ and
$\intervalclosed{a_2}{b_2} = \intervalclosed{a}{b}$ by \cref{subseteq}.
We have $a_1 = a$ and $b_1 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$a_2 = a$ and $b_2 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
We have $(d_1,H_1)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{subseteq,real_add_eq_subst}.
$(d_2,H_2)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{subseteq,real_add_eq_subst}.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
We have $d_1\in D$ and $d_2\in D$ by \cref{upair_intro_left,upair_intro_right,subseteq}.
$(d_1,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_2,R)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_1 = L$ and $H_2 = R$
by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
$L$ is disjoint from $R$ by \cref{space_filling_retained_thirds_disjoint}.
Suppose not.
We have $y\in L$ and $y\in R$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Then there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that $y$ is a dyadic code point of $x$ in $I$ and $E$.
LaTeX source
\begin{lemma}
\label{space_filling_point_has_dyadic_code}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $y\in I$.
Then there exists $x\in\productFamily{E}$ such that
$y$ is a dyadic code point of $x$ in $I$ and $E$.
\end{lemma}
Proof
Let $K_0 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$ and $y\in J$}\}$.
Let $R_0 = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in} K_0\class{latex-symbol-tip latex-symbol-id-times}{\times} K_0 \mid \text{there exist $a,b$ such that $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $\fst{w} = \intervalclosed{a}{b}$ and $\snd{w}\subseteq\fst{w}$ and $\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Take $g_0$ such that $g_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{K_0}{K_0}$ and for all $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K_0$ we have $J\mathrel{R_0}\apply{g_0}{J}$ by Lemma 715.
Take $u_0$ such that $u_0$ is a sequence in $K_0$ and $u_0(1) = I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_0(n + 1) = \apply{g_0}{u_0(n)}$ by Lemma 716.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \text{there exist $a,b$ such that $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $u_0(\fst{w}) = \intervalclosed{a}{b}$ and $(\snd{w},u_0(\fst{w} + 1))\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
$Q$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_0(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} K_0$ and $u_0(n)\mathrel{R_0}u_0(n + 1)$ by Axiom 45, Definition 1, Definition 158, Proposition 361.
Thus for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $d$ such that $n\mathrel{Q} d$ by Axiom 6, Axiom 10, Axiom 11, Definition 12, Lemma 784, Proposition 115.
Take $x$ such that $x$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\mathrel{Q}\apply{x}{n}$ by Axiom 54.
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{D}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(n)$ by Axiom 54, Definition 1, Proposition 346, Proposition 361.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{x}$ we have $x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in}\unions{\ran{E}}$ by Axiom 4, Definition 1, Proposition 209, Proposition 346, Proposition 348, Proposition 359.
We have $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{E}}{\unions{\ran{E}}}$ by Proposition 358.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ by Definition 167.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Take $g$ such that $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$ by Lemma 730.
Take $u$ such that $u$ is a sequence in $G$ and $u(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$ by Lemma 731.
We have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u(n)} = n$ by Lemma 732.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \snd{u(n)} = u_0(n)\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 11, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
We have $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\snd{u(n)} = u_0(n)$ by Definition 1.
$(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361.
Take $k,J,H,a,b,d$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ and $d = x(k)$ 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 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ and $J = \intervalclosed{a}{b}$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and $(d,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by Definition 1.
$\fst{u(n)} = k$ and $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ by Axiom 6, Axiom 10, Axiom 11.
We have $(n,x(n))\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ by Axiom 54, Definition 12.
Take $c,e$ such that $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} e$ and $u_0(n) = \intervalclosed{c}{e}$ and $(x(n),u_0(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{c}{(c + e) / (1 + 1)}), (1,\intervalclosed{(c + e) / (1 + 1)}{e})\}$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
$a = c$ and $b = e$ by Definition 1, Lemma 749.
We have $(x(n),u_0(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by Definition 1, Proposition 437.
Hence $H = u_0(n + 1)$ by Definition 1, Lemma 748, Proposition 437.
Therefore $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
We have 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.
Therefore for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Definition 1, Definition 158, Proposition 361.
$y$ is a dyadic code point of $x$ in $I$ and $E$ by Definition 353, Definition 354, Definition 356.
Therefore there exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that $y$ is a dyadic code point of $z$ in $I$ and $E$ by Definition 1.
LaTeX source
\begin{proof}
Let $K_0 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$ and
$y\in J$}\}$.
Let $R_0 = \{w\in K_0\times K_0 \mid \text{there exist $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$\fst{w} = \intervalclosed{a}{b}$ and
$\snd{w}\subseteq\fst{w}$ and
$\snd{w}\in\{\intervalclosed{a}{(a + b) / (1 + 1)}, \intervalclosed{(a + b) / (1 + 1)}{b}\}$}\}$.
Take $g_0$ such that
$g_0\in\funs{K_0}{K_0}$ and
for all $J\in K_0$ we have $J\mathrel{R_0}\apply{g_0}{J}$
by \cref{space_filling_point_interval_child_relation_selector}.
Take $u_0$ such that
$u_0$ is a sequence in $K_0$ and
$u_0(1) = I$ and
for all $n\in\naturalsPlus$ we have $u_0(n + 1) = \apply{g_0}{u_0(n)}$
by \cref{space_filling_point_interval_family_iteration}.
Let $Q = \{w\in\naturalsPlus\times D \mid \text{there exist $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$u_0(\fst{w}) = \intervalclosed{a}{b}$ and
$(\snd{w},u_0(\fst{w} + 1))\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
$Q$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
For all $n\in\naturalsPlus$ we have $u_0(n)\in K_0$ and $u_0(n)\mathrel{R_0}u_0(n + 1)$
by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ,subseteq}.
Thus for all $n\in\naturalsPlus$ there exists $d$ such that $n\mathrel{Q} d$
by \cref{space_filling_point_interval_child_has_digit,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff,relation}.
Take $x$ such that
$x$ is a function on $\naturalsPlus$ and
for all $n\in\naturalsPlus$ we have $n\mathrel{Q}\apply{x}{n}$
by \cref{axiom_of_choice}.
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
Hence $x\in\funs{\naturalsPlus}{D}$ by \cref{axiom_of_choice,relation,subseteq,times_tuple_elim,funs_intro}.
For all $n\in\dom{E}$ we have $x(n)\in E(n)$ by \cref{axiom_of_choice,function_apply_intro,subseteq,funs_type_apply}.
For all $n\in\dom{x}$ we have $x(n)\in\unions{\ran{E}}$
by \cref{funs_elim,function_apply_elim,ran_intro,unions_iff,function_apply_intro,subseteq}.
We have $x\in\funs{\dom{E}}{\unions{\ran{E}}}$ by \cref{funs_intro}.
Hence $x\in\productFamily{E}$ by \cref{indexed_product}.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Take $g$ such that
$g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$
by \cref{space_filling_dyadic_child_state_selector}.
Take $u$ such that
$u$ is a sequence in $G$ and
$u(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$
by \cref{space_filling_dyadic_child_state_iteration}.
We have for all $n\in\naturalsPlus$ we have $\fst{u(n)} = n$
by \cref{space_filling_dyadic_child_state_orbit_index}.
Let $A_0 = \{n\in\naturalsPlus \mid \snd{u(n)} = u_0(n)\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
$1\in A_0$ by \cref{snd_eq,pair_eq_iff,real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
We have $n\in\naturalsPlus$ and $\snd{u(n)} = u_0(n)$ by \cref{subseteq}.
$(u(n),u(n + 1))\in R$
by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ,relation,subseteq}.
Take $k,J,H,a,b,d$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$d = x(k)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$
by \cref{subseteq}.
$\fst{u(n)} = k$ and $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
We have $(n,x(n))\in Q$ by \cref{axiom_of_choice,relation}.
Take $c,e$ such that
$c\in\reals$ and
$e\in\reals$ and
$c \leq e$ and
$u_0(n) = \intervalclosed{c}{e}$ and
$(x(n),u_0(n + 1))\in\{(0,\intervalclosed{c}{(c + e) / (1 + 1)}),
(1,\intervalclosed{(c + e) / (1 + 1)}{e})\}$
by \cref{subseteq,fst_eq,snd_eq,pair_eq_iff}.
$a = c$ and $b = e$ by \cref{subseteq,space_filling_intervalclosed_endpoints_unique}.
We have $(x(n),u_0(n + 1))\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$ by \cref{subseteq,real_add_eq_subst}.
Hence $H = u_0(n + 1)$ by \cref{space_filling_dyadic_child_choice_unique,subseteq,real_add_eq_subst}.
Therefore $n + 1\in A_0$ by \cref{subseteq,real_naturals_closed_succ}.
\end{subproof}
We have for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
Therefore for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$
by \cref{sequence_in,funs_type_apply,subseteq}.
$y$ is a dyadic code point of $x$ in $I$ and $E$
by \cref{space_filling_retained_third_state_selector_on,space_filling_retained_third_state_orbit_from,space_filling_dyadic_code_point}.
Therefore there exists $z\in\productFamily{E}$ such that
$y$ is a dyadic code point of $z$ in $I$ and $E$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose $y$ is a retained-third code point of $x_1$ in $I$ and $E$.
Suppose $y$ is a retained-third code point of $x_2$ in $I$ and $E$.
Assume $x_1(1) = 0$.
Assume $x_2(1) = 1$.
Then $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} I$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_first_digit_separation}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Suppose $y$ is a retained-third code point of $x_1$ in $I$ and $E$.
Suppose $y$ is a retained-third code point of $x_2$ in $I$ and $E$.
Assume $x_1(1) = 0$.
Assume $x_2(1) = 1$.
Then $y\notin I$.
\end{lemma}
Proof
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 355.
We have $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Definition 353.
$u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
We have $(u_1(1),\apply{g_1}{u_1(1)})\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ by Axiom 42, Definition 1, Definition 12, Definition 158, Proposition 121, Proposition 361.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(1),\apply{g_1}{u_1(1)})\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(1),\apply{g_1}{u_1(1)})} = (k_1,J_1)$ and $\snd{(u_1(1),\apply{g_1}{u_1(1)})} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
$u_1(1) = (k_1,J_1)$ and $\snd{\apply{g_1}{u_1(1)}} = H_1$ by Axiom 6, Axiom 10, Axiom 11.
We have $k_1 = 1$ and $J_1 = I$ by Axiom 6, Definition 1.
$d_1 = 0$ by Definition 1.
We have $a_1 = 0$ and $b_1 = 1$ by Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Lemma 749, Proposition 462.
$(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{0}{(0 + 0 + 1) / (1 + 1 + 1)}), (1,\intervalclosed{(0 + 1 + 1) / (1 + 1 + 1)}{1})\}$ by Definition 1, Proposition 437.
Let $L = \intervalclosed{0}{(0 + 0 + 1) / (1 + 1 + 1)}$.
Hence $H_1 = L$ by Axiom 6, Definition 1, Lemma 752, Proposition 16, Proposition 437.
Take $K_2,G_2,R_2,g_2,u_2$ such that $K_2 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_2 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_2$ and $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2\class{latex-symbol-tip latex-symbol-id-times}{\times} G_2 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g_2$ is a retained-third state selector on $G_2$ and $R_2$ and $u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(n)}$ by Definition 355.
We have $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_2}{G_2}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2$ we have $z\mathrel{R_2}\apply{g_2}{z}$ by Definition 353.
$u_2$ is a sequence in $G_2$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 354.
We have $(u_2(1),\apply{g_2}{u_2(1)})\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Axiom 42, Definition 1, Definition 12, Definition 158, Proposition 121, Proposition 361.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(1),\apply{g_2}{u_2(1)})\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2\class{latex-symbol-tip latex-symbol-id-times}{\times} G_2$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(1),\apply{g_2}{u_2(1)})} = (k_2,J_2)$ and $\snd{(u_2(1),\apply{g_2}{u_2(1)})} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
$u_2(1) = (k_2,J_2)$ and $\snd{\apply{g_2}{u_2(1)}} = H_2$ by Axiom 6, Axiom 10, Axiom 11.
We have $k_2 = 1$ and $J_2 = I$ by Axiom 6, Definition 1.
$d_2 = 1$ by Definition 1.
We have $a_2 = 0$ and $b_2 = 1$ by Definition 1, Lemma 749.
$(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{0}{(0 + 0 + 1) / (1 + 1 + 1)}), (1,\intervalclosed{(0 + 1 + 1) / (1 + 1 + 1)}{1})\}$ by Definition 1, Proposition 437.
Let $R = \intervalclosed{(0 + 1 + 1) / (1 + 1 + 1)}{1}$.
Hence $H_2 = R$ by Axiom 6, Definition 1, Lemma 752, Proposition 17, Proposition 437.
$L$ is disjoint from $R$ by Lemma 724, Proposition 462.
Suppose not.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(1 + 1)}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(1 + 1)}$ by Axiom 42, Axiom 45, Definition 1.
$u_1(1 + 1) = \apply{g_1}{u_1(1)}$ and $u_2(1 + 1) = \apply{g_2}{u_2(1)}$ by Axiom 42, Definition 1.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1.
Contradiction by Definition 3.
LaTeX source
\begin{proof}
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u_1(n)}$
by \cref{space_filling_retained_third_code_point}.
We have $g_1\in\funs{G_1}{G_1}$ and
for all $z\in G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
We have $(u_1(1),\apply{g_1}{u_1(1)})\in R_1$
by \cref{sequence_in,funs_type_apply,real_one_in_naturals,relation,subseteq,times_elem_is_tuple}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(1),\apply{g_1}{u_1(1)})\in G_1\times G_1$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(1),\apply{g_1}{u_1(1)})} = (k_1,J_1)$ and
$\snd{(u_1(1),\apply{g_1}{u_1(1)})} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
$u_1(1) = (k_1,J_1)$ and $\snd{\apply{g_1}{u_1(1)}} = H_1$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
We have $k_1 = 1$ and $J_1 = I$ by \cref{pair_eq_iff,subseteq}.
$d_1 = 0$ by \cref{subseteq}.
We have $a_1 = 0$ and $b_1 = 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$(d_1,H_1)\in\{(0,\intervalclosed{0}{(0 + 0 + 1) / (1 + 1 + 1)}),
(1,\intervalclosed{(0 + 1 + 1) / (1 + 1 + 1)}{1})\}$
by \cref{subseteq,real_add_eq_subst}.
Let $L = \intervalclosed{0}{(0 + 0 + 1) / (1 + 1 + 1)}$.
Hence $H_1 = L$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,pair_eq_iff,subseteq,real_add_eq_subst}.
Take $K_2,G_2,R_2,g_2,u_2$ such that
$K_2 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_2 = \naturalsPlus\times K_2$ and
$R_2 = \{p\in G_2\times G_2 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g_2$ is a retained-third state selector on $G_2$ and $R_2$ and
$u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u_2(n)}$
by \cref{space_filling_retained_third_code_point}.
We have $g_2\in\funs{G_2}{G_2}$ and
for all $z\in G_2$ we have $z\mathrel{R_2}\apply{g_2}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_2$ is a sequence in $G_2$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
We have $(u_2(1),\apply{g_2}{u_2(1)})\in R_2$
by \cref{sequence_in,funs_type_apply,real_one_in_naturals,relation,subseteq,times_elem_is_tuple}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(1),\apply{g_2}{u_2(1)})\in G_2\times G_2$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(1),\apply{g_2}{u_2(1)})} = (k_2,J_2)$ and
$\snd{(u_2(1),\apply{g_2}{u_2(1)})} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
$u_2(1) = (k_2,J_2)$ and $\snd{\apply{g_2}{u_2(1)}} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
We have $k_2 = 1$ and $J_2 = I$ by \cref{pair_eq_iff,subseteq}.
$d_2 = 1$ by \cref{subseteq}.
We have $a_2 = 0$ and $b_2 = 1$ by \cref{subseteq,space_filling_intervalclosed_endpoints_unique}.
$(d_2,H_2)\in\{(0,\intervalclosed{0}{(0 + 0 + 1) / (1 + 1 + 1)}),
(1,\intervalclosed{(0 + 1 + 1) / (1 + 1 + 1)}{1})\}$
by \cref{subseteq,real_add_eq_subst}.
Let $R = \intervalclosed{(0 + 1 + 1) / (1 + 1 + 1)}{1}$.
Hence $H_2 = R$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
$L$ is disjoint from $R$ by \cref{space_filling_retained_thirds_disjoint,real_zero_lt_one}.
Suppose not.
We have $y\in\snd{u_1(1 + 1)}$ and $y\in\snd{u_2(1 + 1)}$ by \cref{subseteq,real_one_in_naturals,real_naturals_closed_succ}.
$u_1(1 + 1) = \apply{g_1}{u_1(1)}$ and $u_2(1 + 1) = \apply{g_2}{u_2(1)}$
by \cref{subseteq,real_one_in_naturals}.
Hence $y\in L$ and $y\in R$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u_2(n)$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_unique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Then for all $n\in\naturalsPlus$ we have $u_1(n) = u_2(n)$.
\end{lemma}
Proof
We have $R$ is right-unique by Lemma 755.
For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $\apply{g_1}{z} = \apply{g_2}{z}$.
Let $A_0 = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid u_1(m) = u_2(m)\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 42, Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Follows by Axiom 45, Definition 1, Definition 158, Proposition 361.
Therefore for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u_2(n)$ by Definition 1, Proposition 445.
LaTeX source
\begin{proof}
We have $R$ is right-unique by \cref{space_filling_retained_third_state_relation_rightunique}.
For all $z\in G$ we have $\apply{g_1}{z} = \apply{g_2}{z}$.
Let $A_0 = \{m\in\naturalsPlus \mid u_1(m) = u_2(m)\}$.
$1\in A_0$ by \cref{real_one_in_naturals,pair_eq_iff,subseteq}.
Show that for all $m\in A_0$ we have $m + 1\in A_0$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,real_naturals_closed_succ}.
\end{subproof}
Therefore for all $n\in\naturalsPlus$ we have $u_1(n) = u_2(n)$
by \cref{real_naturals_induction,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y$ is a retained-third code point of $x$ in $I$ and $E$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_code_point_on_standard_orbit}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y$ is a retained-third code point of $x$ in $I$ and $E$.
Then for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{lemma}
Proof
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 355.
We have $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Definition 353.
$u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
$K_1 = K$ by Definition 1, Proposition 3.
$G_1 = G$ by Definition 1.
$R_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R$ and $R\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_1$ by Definition 1.
$R_1 = R$ by Proposition 3.
Therefore $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g_1}{z}$ by Definition 1.
$u_1$ is a sequence in $G$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 1.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u(n)$ by Lemma 792.
Thus for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Definition 1.
LaTeX source
\begin{proof}
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u_1(n)}$
by \cref{space_filling_retained_third_code_point}.
We have $g_1\in\funs{G_1}{G_1}$ and
for all $z\in G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
$K_1 = K$ by \cref{subseteq,subseteq_antisymmetric}.
$G_1 = G$ by \cref{subseteq}.
$R_1\subseteq R$ and $R\subseteq R_1$ by \cref{subseteq}.
$R_1 = R$ by \cref{subseteq_antisymmetric}.
Therefore $g_1\in\funs{G}{G}$ and for all $z\in G$ we have $z\mathrel{R}\apply{g_1}{z}$ by \cref{subseteq}.
$u_1$ is a sequence in $G$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{subseteq}.
Hence for all $n\in\naturalsPlus$ we have $u_1(n) = u(n)$
by \cref{space_filling_retained_third_state_orbit_unique}.
Thus for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Then $R$ is right-unique.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_state_relation_rightunique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Then $R$ is right-unique.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
Claim: For all $z,w_1,w_2$ such that $(z,w_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ and $(z,w_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ we have $w_1 = w_2$.
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 167, Lemma 748, Lemma 749, Proposition 437.
Therefore $R$ is right-unique by Definition 51.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
Show that for all $z,w_1,w_2$ such that $(z,w_1)\in R$ and $(z,w_2)\in R$ we have $w_1 = w_2$.
\begin{subproof}
Follows by \cref{subseteq,fst_eq,snd_eq,pair_eq_iff,indexed_product,space_filling_intervalclosed_endpoints_unique,space_filling_dyadic_child_choice_unique,real_add_eq_subst}.
\end{subproof}
Therefore $R$ is right-unique by \cref{rightunique}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u_2(n)$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_state_orbit_unique}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Then for all $n\in\naturalsPlus$ we have $u_1(n) = u_2(n)$.
\end{lemma}
Proof
We have $R$ is right-unique by Lemma 794.
For all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $\apply{g_1}{z} = \apply{g_2}{z}$.
Let $A_0 = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid u_1(m) = u_2(m)\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 42, Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Follows by Axiom 45, Definition 1, Definition 158, Proposition 361.
Therefore for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u_2(n)$ by Definition 1, Proposition 445.
LaTeX source
\begin{proof}
We have $R$ is right-unique by \cref{space_filling_dyadic_state_relation_rightunique}.
For all $z\in G$ we have $\apply{g_1}{z} = \apply{g_2}{z}$.
Let $A_0 = \{m\in\naturalsPlus \mid u_1(m) = u_2(m)\}$.
$1\in A_0$ by \cref{real_one_in_naturals,pair_eq_iff,subseteq}.
Show that for all $m\in A_0$ we have $m + 1\in A_0$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,real_naturals_closed_succ}.
\end{subproof}
Therefore for all $n\in\naturalsPlus$ we have $u_1(n) = u_2(n)$
by \cref{real_naturals_induction,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y$ is a dyadic code point of $x$ in $I$ and $E$.
Then for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_code_point_on_standard_orbit}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Suppose $y$ is a dyadic code point of $x$ in $I$ and $E$.
Then for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$.
\end{lemma}
Proof
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 356.
We have $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Definition 353.
$u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
$K_1 = K$ by Definition 1, Proposition 3.
$G_1 = G$ by Definition 1.
$R_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R$ and $R\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_1$ by Definition 1.
$R_1 = R$ by Proposition 3.
Therefore $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g_1}{z}$ by Definition 1.
$u_1$ is a sequence in $G$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 1.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n) = u(n)$ by Lemma 795.
Thus for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u(n)}$ by Definition 1.
LaTeX source
\begin{proof}
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u_1(n)}$
by \cref{space_filling_dyadic_code_point}.
We have $g_1\in\funs{G_1}{G_1}$ and
for all $z\in G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
$K_1 = K$ by \cref{subseteq,subseteq_antisymmetric}.
$G_1 = G$ by \cref{subseteq}.
$R_1\subseteq R$ and $R\subseteq R_1$ by \cref{subseteq}.
$R_1 = R$ by \cref{subseteq_antisymmetric}.
Therefore $g_1\in\funs{G}{G}$ and for all $z\in G$ we have $z\mathrel{R}\apply{g_1}{z}$ by \cref{subseteq}.
$u_1$ is a sequence in $G$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{subseteq}.
Hence for all $n\in\naturalsPlus$ we have $u_1(n) = u(n)$
by \cref{space_filling_dyadic_state_orbit_unique}.
Thus for all $n\in\naturalsPlus$ we have $y\in\snd{u(n)}$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
Then $\snd{u_1(p)} = \snd{u_2(p)}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_state_orbit_prefix_stage_local}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R_1 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $p\in\naturalsPlus$.
Assume for all $i\in\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
Then $\snd{u_1(p)} = \snd{u_2(p)}$.
\end{lemma}
Proof
We have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Lemma 750.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
We have for all $n\in\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{space_filling_dyadic_state_orbit_prefix_agreement}.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$
by \cref{initial_segment_naturalsplus,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $\fst{u(p)} = p$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_state_orbit_stage_index_local}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Assume $p\in\naturalsPlus$.
Then $\fst{u(p)} = p$.
\end{lemma}
Proof
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u(n)} = n\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Follows by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
Therefore $\fst{u(p)} = p$ by Definition 1, Proposition 445.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
$1\in A_0$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,relation,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
Therefore $\fst{u(p)} = p$ by \cref{real_naturals_induction,subseteq}.
\end{proof}
Suppose $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$.
Suppose $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m}$.
Then $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$.
LaTeX source
\begin{lemma}
\label{space_filling_initial_segment_transitive}
Suppose $k\in\naturalsPlus$.
Suppose $m\in\initialSegment{k}$.
Suppose $i\in\initialSegment{m}$.
Then $i\in\initialSegment{k}$.
\end{lemma}
Proof
We have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ by Axiom 41, Definition 1, Definition 84, Lemma 23.
LaTeX source
\begin{proof}
We have $i\in\initialSegment{k}$
by \cref{initial_segment_naturalsplus,real_naturals_subset_reals,real_leq_trans,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Assume $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $q\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Assume $\snd{u(N)} = \intervalclosed{p}{q}$.
Assume $p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q$.
Then $q - p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_stage_interval_width_leq_local}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Assume $N\in\naturalsPlus$.
Assume $p\in\reals$.
Assume $q\in\reals$.
Assume $\snd{u(N)} = \intervalclosed{p}{q}$.
Assume $p \leq q$.
Then $q - p \leq 1 / N$.
\end{lemma}
Proof
We have $q - p \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 766.
LaTeX source
\begin{proof}
We have $q - p \leq 1 / N$ by \cref{space_filling_dyadic_child_state_orbit_width_bound}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $\fst{u(p)} = p$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_stage_index_local}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$.
Suppose $u$ is a sequence in $G$.
Suppose $u(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$.
Assume $p\in\naturalsPlus$.
Then $\fst{u(p)} = p$.
\end{lemma}
Proof
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u(n)} = n\}$.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Follows by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
Therefore $\fst{u(p)} = p$ by Definition 1, Proposition 445.
LaTeX source
\begin{proof}
Let $A_0 = \{n\in\naturalsPlus \mid \fst{u(n)} = n\}$.
$1\in A_0$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,relation,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
Therefore $\fst{u(p)} = p$ by \cref{real_naturals_induction,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$.
Suppose for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Assume for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
Then $\snd{u_1(p)} = \snd{u_2(p)}$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_prefix_stage_local}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R_1 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g_1\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_1}\apply{g_1}{z}$.
Suppose $u_1$ is a sequence in $G$.
Suppose $u_1(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$.
Suppose $g_2\in\funs{G}{G}$.
Suppose for all $z\in G$ we have $z\mathrel{R_2}\apply{g_2}{z}$.
Suppose $u_2$ is a sequence in $G$.
Suppose $u_2(1) = (1,I)$.
Suppose for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$.
Assume $p\in\naturalsPlus$.
Assume for all $i\in\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
Then $\snd{u_1(p)} = \snd{u_2(p)}$.
\end{lemma}
Proof
We have for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Lemma 753.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$ by Definition 1, Definition 84.
LaTeX source
\begin{proof}
We have for all $n\in\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_prefix_agreement}.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$
by \cref{initial_segment_naturalsplus,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g$ is a retained-third state selector on $G$ and $R$.
Suppose $u$ is a retained-third state orbit of $g$ on $G$ from $I$.
Then for all $n,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_state_orbit_succ_interval_strict_local}
Let $I = \intervalclosed{0}{1}$.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Suppose $g$ is a retained-third state selector on $G$ and $R$.
Suppose $u$ is a retained-third state orbit of $g$ on $G$ from $I$.
Then for all $n,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$.
\end{lemma}
Proof
We have $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R}\apply{g}{z}$ by Definition 353.
$u$ is a sequence in $G$ and $u(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$ by Definition 354.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{for all $a,b$ if $a\in\reals$ and $b\in\reals$ and $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \leq b$ then $a < b$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$.
Follows by Axiom 6, Axiom 11, Axiom 17, Axiom 41, Axiom 42, Definition 1, Lemma 231, Lemma 749, Proposition 462.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Hence $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: For all $a,b$ if $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$.
Fix $a$.
Fix $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 $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$.
Hence $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1, Definition 12, Definition 158, Proposition 361.
Take $k,J,H,c,d,e$ such that $(u(n),u(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u(n),u(n + 1))} = (k,J)$ and $\snd{(u(n),u(n + 1))} = (k + 1,H)$ and $c\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $d\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $c \class{latex-symbol-tip latex-symbol-id-leq}{\leq} d$ and $J = \intervalclosed{c}{d}$ and $H\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J$ and $(e,H)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}), (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})\}$ by Definition 1.
Therefore $\fst{u(n)} = k$ and $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$ by Axiom 6, Axiom 10, Axiom 11.
Hence $k = n$ by Definition 1, Lemma 801.
Thus $c < d$ by Definition 1.
$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$ or $(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$ by Proposition 19.
We have $H = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by Axiom 6.
Therefore $\intervalclosed{a}{b} = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by Definition 1.
Hence $a = c$ and $b = (c + c + d) / (1 + 1 + 1)$ by Axiom 13, Axiom 42, Axiom 45, Lemma 231, Lemma 265, Lemma 749, Lemma 785.
Therefore $a < b$ by Lemma 82, Lemma 83, Lemma 785.
We have $H = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by Axiom 6.
Therefore $\intervalclosed{a}{b} = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by Definition 1.
Hence $a = (c + d + d) / (1 + 1 + 1)$ and $b = d$ by Axiom 13, Axiom 42, Axiom 45, Lemma 231, Lemma 265, Lemma 749, Lemma 786.
Therefore $a < b$ by Lemma 82, Lemma 83, Lemma 786.
LaTeX source
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$.}
We have $H = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{pair_eq_iff}.
Therefore $\intervalclosed{a}{b} = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{subseteq}.
Hence $a = c$ and $b = (c + c + d) / (1 + 1 + 1)$
by \cref{space_filling_left_endpoint_lt_left_third,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Therefore $a < b$ by \cref{space_filling_left_endpoint_lt_left_third,real_lt_subst_left,real_lt_subst_right}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$.}
We have $H = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{pair_eq_iff}.
Therefore $\intervalclosed{a}{b} = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{subseteq}.
Hence $a = (c + d + d) / (1 + 1 + 1)$ and $b = d$
by \cref{space_filling_right_third_lt_right_endpoint,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Therefore $a < b$ by \cref{space_filling_right_third_lt_right_endpoint,real_lt_subst_left,real_lt_subst_right}.
\end{byCase}
Therefore $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Hence 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.
Therefore for all $n,a,b$ if $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ 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 $\snd{u(n)} = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ then $a < b$ by Definition 1.
LaTeX source
\begin{proof}
We have $g\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R}\apply{g}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
$u$ is a sequence in $G$ and
$u(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u(n + 1) = \apply{g}{u(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
Let $A_0 = \{n\in\naturalsPlus \mid \text{for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$.
\begin{subproof}
Follows by \cref{snd_eq,pair_eq_iff,subseteq,space_filling_intervalclosed_endpoints_unique,real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_zero_lt_one,real_lt_imp_leq}.
\end{subproof}
Hence $1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
Hence $n\in\naturalsPlus$ by \cref{subseteq}.
Show that for all $a,b$ if
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n + 1)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$.
\begin{subproof}
Fix $a$.
Fix $b$.
Assume $a\in\reals$ and $b\in\reals$ and $\snd{u(n + 1)} = \intervalclosed{a}{b}$ and $a \leq b$.
Hence $(u(n),u(n + 1))\in R$ by \cref{sequence_in,funs_type_apply,subseteq,relation}.
Take $k,J,H,c,d,e$ such that
$(u(n),u(n + 1))\in G\times G$ and
$k\in\naturalsPlus$ and
$\fst{(u(n),u(n + 1))} = (k,J)$ and
$\snd{(u(n),u(n + 1))} = (k + 1,H)$ and
$c\in\reals$ and
$d\in\reals$ and
$c \leq d$ and
$J = \intervalclosed{c}{d}$ and
$H\subseteq J$ and
$(e,H)\in\{(0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}),
(1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})\}$
by \cref{subseteq}.
Therefore $\fst{u(n)} = k$ and $\snd{u(n)} = J$ and $\snd{u(n + 1)} = H$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Hence $k = n$ by \cref{space_filling_retained_third_state_orbit_stage_index_local,subseteq}.
Thus $c < d$ by \cref{subseteq}.
$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$ or
$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$
by \cref{upair_iff}.
\begin{byCase}
\caseOf{$(e,H) = (0,\intervalclosed{c}{(c + c + d) / (1 + 1 + 1)})$.}
We have $H = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{pair_eq_iff}.
Therefore $\intervalclosed{a}{b} = \intervalclosed{c}{(c + c + d) / (1 + 1 + 1)}$ by \cref{subseteq}.
Hence $a = c$ and $b = (c + c + d) / (1 + 1 + 1)$
by \cref{space_filling_left_endpoint_lt_left_third,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Therefore $a < b$ by \cref{space_filling_left_endpoint_lt_left_third,real_lt_subst_left,real_lt_subst_right}.
\caseOf{$(e,H) = (1,\intervalclosed{(c + d + d) / (1 + 1 + 1)}{d})$.}
We have $H = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{pair_eq_iff}.
Therefore $\intervalclosed{a}{b} = \intervalclosed{(c + d + d) / (1 + 1 + 1)}{d}$ by \cref{subseteq}.
Hence $a = (c + d + d) / (1 + 1 + 1)$ and $b = d$
by \cref{space_filling_right_third_lt_right_endpoint,real_add_closed,real_div_naturalsplus_real,real_one_in_naturals,real_naturals_closed_succ,real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Therefore $a < b$ by \cref{space_filling_right_third_lt_right_endpoint,real_lt_subst_left,real_lt_subst_right}.
\end{byCase}
\end{subproof}
Therefore $n + 1\in A_0$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
Therefore for all $n,a,b$ if
$n\in\naturalsPlus$ and
$a\in\reals$ and
$b\in\reals$ and
$\snd{u(n)} = \intervalclosed{a}{b}$ and
$a \leq b$
then $a < b$ by \cref{subseteq}.
\end{proof}
Proof
We have $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $N + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $(N + 1) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45, Definition 158.
Therefore $(u_1(N + 1),u_1((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(N + 1),u_2((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 1, Definition 12, Proposition 361.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(N + 1),u_1((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1,J_1)$ and $\snd{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(N + 1),u_2((N + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2,J_2)$ and $\snd{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
Hence $k_1 = N + 1$ and $k_2 = N + 1$ and $\snd{u_1(N + 1)} = J_1$ and $\snd{u_2(N + 1)} = J_2$ and $\snd{u_1((N + 1) + 1)} = H_1$ and $\snd{u_2((N + 1) + 1)} = H_2$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
Therefore $d_1 = x_1(N + 1)$ and $d_2 = x_2(N + 1)$ by Definition 1.
$d_1 = 0$ and $d_2 = 1$ by Definition 1.
Thus $\intervalclosed{a_1}{b_1} = \intervalclosed{a}{b}$ and $\intervalclosed{a_2}{b_2} = \intervalclosed{a}{b}$ by Definition 1.
$a_1 = a$ and $b_1 = b$ by Lemma 231, Lemma 749.
We have $a_2 = a$ and $b_2 = b$ by Lemma 231, Lemma 749.
$(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Definition 1, Proposition 437.
We have $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Definition 1, Proposition 437.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
$(d_1,L)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and $(d_2,R)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 16, Proposition 17.
Therefore $H_1 = L$ and $H_2 = R$ by Axiom 6, Definition 1, Lemma 752, Proposition 16, Proposition 17, Proposition 437.
$L$ is disjoint from $R$ by Lemma 724.
Suppose not.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Definition 1.
Contradiction by Definition 3.
LaTeX source
\begin{proof}
We have $u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ and
$N + 1\in\naturalsPlus$ and $(N + 1) + 1\in\naturalsPlus$
by \cref{sequence_in,real_naturals_closed_succ}.
Therefore $(u_1(N + 1),u_1((N + 1) + 1))\in R_1$ and
$(u_2(N + 1),u_2((N + 1) + 1))\in R_2$
by \cref{funs_type_apply,subseteq,relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(N + 1),u_1((N + 1) + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1,J_1)$ and
$\snd{(u_1(N + 1),u_1((N + 1) + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(N + 1),u_2((N + 1) + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2,J_2)$ and
$\snd{(u_2(N + 1),u_2((N + 1) + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
Hence $k_1 = N + 1$ and $k_2 = N + 1$ and
$\snd{u_1(N + 1)} = J_1$ and $\snd{u_2(N + 1)} = J_2$ and
$\snd{u_1((N + 1) + 1)} = H_1$ and $\snd{u_2((N + 1) + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
Therefore $d_1 = x_1(N + 1)$ and $d_2 = x_2(N + 1)$ by \cref{subseteq}.
$d_1 = 0$ and $d_2 = 1$ by \cref{subseteq}.
Thus $\intervalclosed{a_1}{b_1} = \intervalclosed{a}{b}$ and
$\intervalclosed{a_2}{b_2} = \intervalclosed{a}{b}$ by \cref{subseteq}.
$a_1 = a$ and $b_1 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
We have $a_2 = a$ and $b_2 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
$(d_1,H_1)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{subseteq,real_add_eq_subst}.
We have $(d_2,H_2)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{subseteq,real_add_eq_subst}.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
$(d_1,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_2,R)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Therefore $H_1 = L$ and $H_2 = R$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
$L$ is disjoint from $R$ by \cref{space_filling_retained_thirds_disjoint}.
Suppose not.
Therefore $y\in L$ and $y\in R$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{proof}
Proof
Suppose not.
Hence $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} I$ by Lemma 804.
Contradiction by Definition 1.
LaTeX source
\begin{proof}
Suppose not.
Hence $y\in I$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_shared_interval_digit_separation_local}.
Contradiction by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Suppose $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$.
Then $r$ is injective.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_code_map_injective}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Suppose $r\in\funs{\productFamily{E}}{I}$.
Suppose for all $x\in\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$.
Then $r$ is injective.
\end{lemma}
Proof
Claim: For all $x_1,x_2$ such that $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $r(x_1) = r(x_2)$ we have $x_1 = x_2$.
Fix $x_1$.
Fix $x_2$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $r(x_1) = r(x_2)$.
Let $y = r(x_1)$.
Hence $y$ is a retained-third code point of $x_1$ in $I$ and $E$ and $y$ is a retained-third code point of $x_2$ in $I$ and $E$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 355.
For all $n,u,v$ such that $(n,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ and $(n,v)\class{latex-symbol-tip latex-symbol-id-in}{\in} E$ we have $u = v$ by Axiom 6.
Therefore $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 55, Proposition 3, Proposition 199, Proposition 200.
Suppose not.
Take $w$ such that either $w\class{latex-symbol-tip latex-symbol-id-in}{\in} x_1$ and $w\class{latex-symbol-tip latex-symbol-id-notin}{\notin} x_2$ or $w\class{latex-symbol-tip latex-symbol-id-notin}{\notin} x_1$ and $w\class{latex-symbol-tip latex-symbol-id-in}{\in} x_2$ by Proposition 1 [Witness for disequality].
We have $x_1$ is a function and $\dom{x_1} = \dom{E}$ and $x_2$ is a function and $\dom{x_2} = \dom{E}$ by Definition 167, Proposition 359.
Therefore there exists $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ such that $\apply{x_1}{n}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\apply{x_2}{n}$ by Axiom 6, Proposition 347, Proposition 348.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ such that $\apply{x_1}{k}\class{latex-symbol-tip latex-symbol-id-neq}{\neq}\apply{x_2}{k}$ by Definition 1.
Thus $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Let $P = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k} \mid x_1(n) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2(n)\}$.
$k\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ by Axiom 43, Definition 84.
Hence $k\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 1.
Therefore $P$ is inhabited.
$P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\initialSegment{k}$ by Definition 1.
Therefore $P\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 41, Definition 1, Definition 84, Proposition 6.
Thus $P$ is finite by Definition 1, Lemma 44, Lemma 208.
Take $m$ such that $m$ is a smallest element of $P$ with respect to $\realOrderRel$ by Lemma 322, Lemma 374.
Therefore $m\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 99.
Hence $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ and $x_1(m) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2(m)$ by Definition 1.
Thus $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1, Definition 84.
Hence $x_1(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(m)$ and $x_2(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(m)$ by Definition 1, Definition 167.
Therefore $x_1(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $x_2(m)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Proposition 346.
Thus $x_1(m) = 0$ or $x_1(m) = 1$ by Proposition 19.
Therefore $x_2(m) = 0$ or $x_2(m) = 1$ by Proposition 19.
Let $K = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$.
Let $G = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_1(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x_2(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Take $g_1$ such that $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Lemma 741.
Therefore $g_1$ is a retained-third state selector on $G$ and $R$ by Definition 1, Definition 353.
Take $u_1$ such that $u_1$ is a sequence in $G$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Lemma 731.
Thus $u_1$ is a retained-third state orbit of $g_1$ on $G$ from $I$ by Definition 354.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Lemma 793.
Take $g_2$ such that $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G}{G}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ we have $z\mathrel{R_2}\apply{g_2}{z}$ by Lemma 741.
Therefore $g_2$ is a retained-third state selector on $G$ and $R$ by Definition 1, Definition 353.
Take $u_2$ such that $u_2$ is a sequence in $G$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Lemma 731.
Thus $u_2$ is a retained-third state orbit of $g_2$ on $G$ from $I$ by Definition 354.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(n)}$ by Lemma 793.
$m = 1$ or there exists $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m = p + 1$ by Lemma 31.
We have $x_1(1) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2(1)$ by Definition 1.
We have $x_2(1) = 1$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} I$ by Lemma 791.
Contradiction by Definition 355.
We have $x_2(1) = 0$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-notin}{\notin} I$ by Lemma 791.
Contradiction by Definition 355.
LaTeX source
\begin{byCase}
\caseOf{$x_1(1) = 0$.}
We have $x_2(1) = 1$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_first_digit_separation}.
Contradiction by \cref{space_filling_retained_third_code_point}.
\caseOf{$x_1(1) = 1$.}
We have $x_2(1) = 0$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_first_digit_separation}.
Contradiction by \cref{space_filling_retained_third_code_point}.
\end{byCase}
Take $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m = p + 1$ by Definition 1.
Claim: For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
Fix $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$.
Hence $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m}$ by Definition 1, Lemma 121.
Suppose not.
Therefore $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ by Definition 1.
Hence $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{k}$ by Lemma 799.
Thus $i\class{latex-symbol-tip latex-symbol-id-in}{\in} P$ by Definition 1.
Hence $m\mathrel{\realOrderRel} i$ or $m = i$ by Definition 99.
We have $m < i$ by Lemma 321.
Hence $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} i$ by Lemma 231.
Thus $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $i \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Definition 1, Definition 84.
We have $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
Therefore $m = i$ by Lemma 25.
$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ by Definition 1.
Therefore $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ by Definition 1, Definition 84.
Hence $p + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ by Definition 1.
Thus $p < p + 1$ by Lemma 399.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $p + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
Therefore $p + 1 < p + 1$ by Lemma 266.
Contradiction by Axiom 39.
$m\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ by Definition 1.
Therefore $m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ by Definition 1, Definition 84.
$p + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} p$ by Definition 1.
Thus $p < p + 1$ by Lemma 399.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $p + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
Therefore $p + 1 < p + 1$ by Lemma 266.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$m\mathrel{\realOrderRel} i$.}
We have $m < i$ by \cref{real_order_relation_elim}.
Hence $m \leq i$ by \cref{real_lt_imp_leq}.
Thus $i\in\naturalsPlus$ and $i \leq m$ by \cref{initial_segment_naturalsplus,subseteq}.
We have $m\in\reals$ and $i\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
Therefore $m = i$ by \cref{real_leq_antisym}.
$m\in\initialSegment{p}$ by \cref{subseteq}.
Therefore $m \leq p$ by \cref{initial_segment_naturalsplus,subseteq}.
Hence $p + 1 \leq p$ by \cref{subseteq}.
Thus $p < p + 1$ by \cref{real_naturals_lt_succ_local}.
We have $p\in\reals$ and $p + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Therefore $p + 1 < p + 1$ by \cref{real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$m = i$.}
$m\in\initialSegment{p}$ by \cref{subseteq}.
Therefore $m \leq p$ by \cref{initial_segment_naturalsplus,subseteq}.
$p + 1 \leq p$ by \cref{subseteq}.
Thus $p < p + 1$ by \cref{real_naturals_lt_succ_local}.
We have $p\in\reals$ and $p + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Therefore $p + 1 < p + 1$ by \cref{real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$ by Lemma 753.
We have $p\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{p}$ by Definition 84.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$ by Definition 1.
Let $A_1 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u_1(n)} = n\}$.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1$ by Axiom 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1$.
Follows by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
Therefore $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A_1$ by Definition 1, Proposition 445.
Thus $\fst{u_1(p)} = p$ by Definition 1.
Let $A_2 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u_2(n)} = n\}$.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_2$ by Axiom 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_2$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_2$.
Follows by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
Therefore $p\class{latex-symbol-tip latex-symbol-id-in}{\in} A_2$ by Definition 1, Proposition 445.
Thus $\fst{u_2(p)} = p$ by Definition 1.
We have $u_1(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $u_1(p + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $u_2(p)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ and $u_2(p + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 45, Definition 158, Proposition 361.
Therefore $(u_1(p),u_1(p + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(p),u_2(p + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 1, Definition 12.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(p),u_1(p + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(p),u_1(p + 1))} = (k_1,J_1)$ and $\snd{(u_1(p),u_1(p + 1))} = (k_1 + 1,H_1)$ and $d_1 = x_1(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that $(u_2(p),u_2(p + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(p),u_2(p + 1))} = (k_2,J_2)$ and $\snd{(u_2(p),u_2(p + 1))} = (k_2 + 1,H_2)$ and $d_2 = x_2(k_2)$ and $a_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_2 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_2$ and $J_2 = \intervalclosed{a_2}{b_2}$ and $H_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_2$ and $(d_2,H_2)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1.
Therefore $u_1(p) = (k_1,J_1)$ and $u_1(p + 1) = (k_1 + 1,H_1)$ and $u_2(p) = (k_2,J_2)$ and $u_2(p + 1) = (k_2 + 1,H_2)$ by Axiom 6, Axiom 10, Axiom 11.
Thus $\fst{u_1(p)} = k_1$ and $\fst{u_2(p)} = k_2$ and $\snd{u_1(p)} = J_1$ and $\snd{u_2(p)} = J_2$ and $\snd{u_1(p + 1)} = H_1$ and $\snd{u_2(p + 1)} = H_2$ by Axiom 6, Axiom 10, Axiom 11.
Hence $k_1 = p$ and $k_2 = p$ by Definition 1.
$d_1 = x_1(p)$ and $d_2 = x_2(p)$ by Definition 1.
Therefore $x_1(p) = x_2(p)$ by Definition 1, Definition 84.
Hence $d_1 = d_2$ by Definition 1.
Thus $J_1 = J_2$ by Definition 1.
Hence $\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$ by Definition 1.
Thus $a_1 = a_2$ and $b_1 = b_2$ by Lemma 749.
Therefore $(d_2,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$ by Definition 1, Proposition 437.
Thus $d_2\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 6, Definition 1, Proposition 19.
Hence $H_1 = H_2$ by Definition 1, Lemma 752, Proposition 437.
Therefore $\snd{u_1(p + 1)} = \snd{u_2(p + 1)}$ by Definition 1.
Thus $u_1(p + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G$ by Axiom 45, Definition 158, Proposition 361.
Take $t,J$ such that $u_1(p + 1) = (t,J)$ and $t\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $J\class{latex-symbol-tip latex-symbol-id-in}{\in} K$ by Definition 1, Proposition 121.
Hence $u_1(p + 1) = (k_1 + 1,H_1)$ by Definition 1.
Therefore $t = k_1 + 1$ and $J = H_1$ by Axiom 6.
Thus $t = p + 1$ by Definition 1, Proposition 437.
Take $a,b$ such that $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J = \intervalclosed{a}{b}$ and $a \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b$ by Definition 1.
Hence $u_1(p + 1) = (t,\intervalclosed{a}{b})$ by Definition 1.
Therefore $\snd{u_1(p + 1)} = \intervalclosed{a}{b}$ by Axiom 6, Axiom 11.
Thus $\snd{u_2(p + 1)} = \intervalclosed{a}{b}$ by Definition 1.
Hence $u_1(p + 1) = (p + 1,\intervalclosed{a}{b})$ by Definition 1.
Therefore $u_2(p + 1) = (p + 1,\intervalclosed{a}{b})$ by Definition 1, Proposition 437.
Thus $\fst{u_1(p + 1)} = p + 1$ and $\fst{u_2(p + 1)} = p + 1$ by Axiom 6, Axiom 10.
Hence $p + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Therefore $a < b$ by Definition 1, Lemma 803.
Thus $x_1(p + 1) \class{latex-symbol-tip latex-symbol-id-neq}{\neq} x_2(p + 1)$ by Definition 1.
We have $u_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $u_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{G}$ and $(p + 1) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45, Definition 158.
Therefore $(u_1(p + 1),u_1((p + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(p + 1),u_2((p + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 1, Definition 12, Proposition 361.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that $(u_1(p + 1),u_1((p + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(p + 1),u_1((p + 1) + 1))} = (k_3,J_3)$ and $\snd{(u_1(p + 1),u_1((p + 1) + 1))} = (k_3 + 1,H_3)$ and $d_3 = x_1(k_3)$ and $a_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_3 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_3$ and $J_3 = \intervalclosed{a_3}{b_3}$ and $H_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_3$ and $(d_3,H_3)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}), (1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$ by Definition 1.
Take $k_4,J_4,H_4,a_4,b_4,d_4$ such that $(u_2(p + 1),u_2((p + 1) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G\class{latex-symbol-tip latex-symbol-id-times}{\times} G$ and $k_4\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(p + 1),u_2((p + 1) + 1))} = (k_4,J_4)$ and $\snd{(u_2(p + 1),u_2((p + 1) + 1))} = (k_4 + 1,H_4)$ and $d_4 = x_2(k_4)$ and $a_4\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_4\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_4 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_4$ and $J_4 = \intervalclosed{a_4}{b_4}$ and $H_4\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_4$ and $(d_4,H_4)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_4}{(a_4 + a_4 + b_4) / (1 + 1 + 1)}), (1,\intervalclosed{(a_4 + b_4 + b_4) / (1 + 1 + 1)}{b_4})\}$ by Definition 1.
Therefore $k_3 = p + 1$ and $k_4 = p + 1$ and $\snd{u_1(p + 1)} = J_3$ and $\snd{u_2(p + 1)} = J_4$ and $\snd{u_1((p + 1) + 1)} = H_3$ and $\snd{u_2((p + 1) + 1)} = H_4$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
Thus $d_3 = x_1(p + 1)$ and $d_4 = x_2(p + 1)$ by Definition 1.
Hence $\intervalclosed{a_3}{b_3} = \intervalclosed{a}{b}$ and $\intervalclosed{a_4}{b_4} = \intervalclosed{a}{b}$ by Definition 1.
Thus $a_3 = a$ and $b_3 = b$ by Lemma 231, Lemma 749.
Hence $a_4 = a$ and $b_4 = b$ by Lemma 231, Lemma 749.
Therefore $(d_3,H_3)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and $(d_4,H_4)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Definition 1, Proposition 437.
We have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1((p + 1) + 1)}$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2((p + 1) + 1)}$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} H_3$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} H_4$ by Definition 1.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R_0 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Thus $L$ is disjoint from $R_0$ by Lemma 724.
We have $x_1(p + 1) = 0$ and $x_2(p + 1) = 1$ by Definition 1.
Thus $d_3 = 0$ and $d_4 = 1$ by Definition 1.
Therefore $(d_3,L)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and $(d_4,R_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 16, Proposition 17.
Hence $H_3 = L$ and $H_4 = R_0$ by Axiom 6, Definition 1, Lemma 752, Proposition 16, Proposition 17, Proposition 437.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} R_0$ by Definition 1.
Contradiction by Definition 3.
We have $x_2(p + 1) = 0$ and $x_1(p + 1) = 1$ by Definition 1.
Thus $d_4 = 0$ and $d_3 = 1$ by Definition 1.
Therefore $(d_4,L)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and $(d_3,R_0)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ by Axiom 6, Definition 1, Proposition 16, Proposition 17.
Hence $H_4 = L$ and $H_3 = R_0$ by Axiom 6, Definition 1, Lemma 752, Proposition 16, Proposition 17, Proposition 437.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in} L$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} R_0$ by Definition 1.
Contradiction by Definition 3.
LaTeX source
\begin{byCase}
\caseOf{$x_1(m) = 0$.}
We have $x_1(p + 1) = 0$ and $x_2(p + 1) = 1$ by \cref{subseteq}.
Thus $d_3 = 0$ and $d_4 = 1$ by \cref{subseteq}.
Therefore $(d_3,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_4,R_0)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_3 = L$ and $H_4 = R_0$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
Therefore $y\in L$ and $y\in R_0$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\caseOf{$x_1(m) = 1$.}
We have $x_2(p + 1) = 0$ and $x_1(p + 1) = 1$ by \cref{subseteq}.
Thus $d_4 = 0$ and $d_3 = 1$ by \cref{subseteq}.
Therefore $(d_4,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_3,R_0)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_4 = L$ and $H_3 = R_0$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
Therefore $y\in L$ and $y\in R_0$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$m = 1$.}
We have $x_1(1) \neq x_2(1)$ by \cref{subseteq}.
\begin{byCase}
\caseOf{$x_1(1) = 0$.}
We have $x_2(1) = 1$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_first_digit_separation}.
Contradiction by \cref{space_filling_retained_third_code_point}.
\caseOf{$x_1(1) = 1$.}
We have $x_2(1) = 0$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_first_digit_separation}.
Contradiction by \cref{space_filling_retained_third_code_point}.
\end{byCase}
\caseOf{there exists $p\in\naturalsPlus$ such that $m = p + 1$.}
Take $p\in\naturalsPlus$ such that $m = p + 1$ by \cref{subseteq}.
Show that for all $i\in\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
\begin{subproof}
Fix $i\in\initialSegment{p}$.
Hence $i\in\initialSegment{m}$ by \cref{initial_segment_subset_succ,subseteq}.
Suppose not.
Therefore $m\in\initialSegment{k}$ by \cref{subseteq}.
Hence $i\in\initialSegment{k}$ by \cref{space_filling_initial_segment_transitive}.
Thus $i\in P$ by \cref{subseteq}.
Hence $m\mathrel{\realOrderRel} i$ or $m = i$ by \cref{smallest_element}.
\begin{byCase}
\caseOf{$m\mathrel{\realOrderRel} i$.}
We have $m < i$ by \cref{real_order_relation_elim}.
Hence $m \leq i$ by \cref{real_lt_imp_leq}.
Thus $i\in\naturalsPlus$ and $i \leq m$ by \cref{initial_segment_naturalsplus,subseteq}.
We have $m\in\reals$ and $i\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
Therefore $m = i$ by \cref{real_leq_antisym}.
$m\in\initialSegment{p}$ by \cref{subseteq}.
Therefore $m \leq p$ by \cref{initial_segment_naturalsplus,subseteq}.
Hence $p + 1 \leq p$ by \cref{subseteq}.
Thus $p < p + 1$ by \cref{real_naturals_lt_succ_local}.
We have $p\in\reals$ and $p + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Therefore $p + 1 < p + 1$ by \cref{real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$m = i$.}
$m\in\initialSegment{p}$ by \cref{subseteq}.
Therefore $m \leq p$ by \cref{initial_segment_naturalsplus,subseteq}.
$p + 1 \leq p$ by \cref{subseteq}.
Thus $p < p + 1$ by \cref{real_naturals_lt_succ_local}.
We have $p\in\reals$ and $p + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Therefore $p + 1 < p + 1$ by \cref{real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{subproof}
Hence for all $n\in\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_prefix_agreement}.
We have $p\in\initialSegment{p}$ by \cref{initial_segment_naturalsplus}.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$ by \cref{subseteq}.
Let $A_1 = \{n\in\naturalsPlus \mid \fst{u_1(n)} = n\}$.
Hence $1\in A_1$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_1$ we have $n + 1\in A_1$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,relation,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
Therefore $p\in A_1$ by \cref{real_naturals_induction,subseteq}.
Thus $\fst{u_1(p)} = p$ by \cref{subseteq}.
Let $A_2 = \{n\in\naturalsPlus \mid \fst{u_2(n)} = n\}$.
Hence $1\in A_2$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_2$ we have $n + 1\in A_2$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,relation,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
Therefore $p\in A_2$ by \cref{real_naturals_induction,subseteq}.
Thus $\fst{u_2(p)} = p$ by \cref{subseteq}.
We have $u_1(p)\in G$ and $u_1(p + 1)\in G$ and
$u_2(p)\in G$ and $u_2(p + 1)\in G$
by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ}.
Therefore $(u_1(p),u_1(p + 1))\in R_1$ and
$(u_2(p),u_2(p + 1))\in R_2$
by \cref{subseteq,relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(p),u_1(p + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(p),u_1(p + 1))} = (k_1,J_1)$ and
$\snd{(u_1(p),u_1(p + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(p),u_2(p + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(p),u_2(p + 1))} = (k_2,J_2)$ and
$\snd{(u_2(p),u_2(p + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
Therefore $u_1(p) = (k_1,J_1)$ and $u_1(p + 1) = (k_1 + 1,H_1)$ and
$u_2(p) = (k_2,J_2)$ and $u_2(p + 1) = (k_2 + 1,H_2)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Thus $\fst{u_1(p)} = k_1$ and $\fst{u_2(p)} = k_2$ and
$\snd{u_1(p)} = J_1$ and $\snd{u_2(p)} = J_2$ and
$\snd{u_1(p + 1)} = H_1$ and $\snd{u_2(p + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Hence $k_1 = p$ and $k_2 = p$ by \cref{subseteq}.
$d_1 = x_1(p)$ and $d_2 = x_2(p)$ by \cref{subseteq}.
Therefore $x_1(p) = x_2(p)$ by \cref{initial_segment_naturalsplus,subseteq}.
Hence $d_1 = d_2$ by \cref{subseteq}.
Thus $J_1 = J_2$ by \cref{subseteq}.
Hence $\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$ by \cref{subseteq}.
Thus $a_1 = a_2$ and $b_1 = b_2$ by \cref{space_filling_intervalclosed_endpoints_unique}.
Therefore $(d_2,H_1)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq,real_add_eq_subst}.
Thus $d_2\in D$ by \cref{upair_iff,subseteq,pair_eq_iff}.
Hence $H_1 = H_2$ by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
Therefore $\snd{u_1(p + 1)} = \snd{u_2(p + 1)}$ by \cref{subseteq}.
Thus $u_1(p + 1)\in G$ by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ}.
Take $t,J$ such that
$u_1(p + 1) = (t,J)$ and
$t\in\naturalsPlus$ and
$J\in K$
by \cref{subseteq,times_elem_is_tuple}.
Hence $u_1(p + 1) = (k_1 + 1,H_1)$ by \cref{subseteq}.
Therefore $t = k_1 + 1$ and $J = H_1$ by \cref{pair_eq_iff}.
Thus $t = p + 1$ by \cref{subseteq,real_add_eq_subst}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
Hence $u_1(p + 1) = (t,\intervalclosed{a}{b})$ by \cref{subseteq}.
Therefore $\snd{u_1(p + 1)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff}.
Thus $\snd{u_2(p + 1)} = \intervalclosed{a}{b}$ by \cref{subseteq}.
Hence $u_1(p + 1) = (p + 1,\intervalclosed{a}{b})$ by \cref{subseteq}.
Therefore $u_2(p + 1) = (p + 1,\intervalclosed{a}{b})$ by \cref{subseteq,real_add_eq_subst}.
Thus $\fst{u_1(p + 1)} = p + 1$ and $\fst{u_2(p + 1)} = p + 1$
by \cref{fst_eq,pair_eq_iff}.
Hence $p + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
Therefore $a < b$ by \cref{space_filling_retained_third_state_orbit_succ_interval_strict_local,subseteq}.
Thus $x_1(p + 1) \neq x_2(p + 1)$ by \cref{subseteq}.
We have $u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ and
$(p + 1) + 1\in\naturalsPlus$
by \cref{sequence_in,real_naturals_closed_succ}.
Therefore $(u_1(p + 1),u_1((p + 1) + 1))\in R_1$ and
$(u_2(p + 1),u_2((p + 1) + 1))\in R_2$
by \cref{funs_type_apply,subseteq,relation}.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that
$(u_1(p + 1),u_1((p + 1) + 1))\in G\times G$ and
$k_3\in\naturalsPlus$ and
$\fst{(u_1(p + 1),u_1((p + 1) + 1))} = (k_3,J_3)$ and
$\snd{(u_1(p + 1),u_1((p + 1) + 1))} = (k_3 + 1,H_3)$ and
$d_3 = x_1(k_3)$ and
$a_3\in\reals$ and
$b_3\in\reals$ and
$a_3 \leq b_3$ and
$J_3 = \intervalclosed{a_3}{b_3}$ and
$H_3\subseteq J_3$ and
$(d_3,H_3)\in\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$
by \cref{subseteq}.
Take $k_4,J_4,H_4,a_4,b_4,d_4$ such that
$(u_2(p + 1),u_2((p + 1) + 1))\in G\times G$ and
$k_4\in\naturalsPlus$ and
$\fst{(u_2(p + 1),u_2((p + 1) + 1))} = (k_4,J_4)$ and
$\snd{(u_2(p + 1),u_2((p + 1) + 1))} = (k_4 + 1,H_4)$ and
$d_4 = x_2(k_4)$ and
$a_4\in\reals$ and
$b_4\in\reals$ and
$a_4 \leq b_4$ and
$J_4 = \intervalclosed{a_4}{b_4}$ and
$H_4\subseteq J_4$ and
$(d_4,H_4)\in\{(0,\intervalclosed{a_4}{(a_4 + a_4 + b_4) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_4 + b_4 + b_4) / (1 + 1 + 1)}{b_4})\}$
by \cref{subseteq}.
Therefore $k_3 = p + 1$ and $k_4 = p + 1$ and
$\snd{u_1(p + 1)} = J_3$ and $\snd{u_2(p + 1)} = J_4$ and
$\snd{u_1((p + 1) + 1)} = H_3$ and $\snd{u_2((p + 1) + 1)} = H_4$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
Thus $d_3 = x_1(p + 1)$ and $d_4 = x_2(p + 1)$ by \cref{subseteq}.
Hence $\intervalclosed{a_3}{b_3} = \intervalclosed{a}{b}$ and
$\intervalclosed{a_4}{b_4} = \intervalclosed{a}{b}$ by \cref{subseteq}.
Thus $a_3 = a$ and $b_3 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Hence $a_4 = a$ and $b_4 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Therefore $(d_3,H_3)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_4,H_4)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{subseteq,real_add_eq_subst}.
We have $y\in\snd{u_1((p + 1) + 1)}$ and $y\in\snd{u_2((p + 1) + 1)}$ by \cref{subseteq}.
Therefore $y\in H_3$ and $y\in H_4$ by \cref{subseteq}.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R_0 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Thus $L$ is disjoint from $R_0$ by \cref{space_filling_retained_thirds_disjoint}.
\begin{byCase}
\caseOf{$x_1(m) = 0$.}
We have $x_1(p + 1) = 0$ and $x_2(p + 1) = 1$ by \cref{subseteq}.
Thus $d_3 = 0$ and $d_4 = 1$ by \cref{subseteq}.
Therefore $(d_3,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_4,R_0)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_3 = L$ and $H_4 = R_0$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
Therefore $y\in L$ and $y\in R_0$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\caseOf{$x_1(m) = 1$.}
We have $x_2(p + 1) = 0$ and $x_1(p + 1) = 1$ by \cref{subseteq}.
Thus $d_4 = 0$ and $d_3 = 1$ by \cref{subseteq}.
Therefore $(d_4,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_3,R_0)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_4 = L$ and $H_3 = R_0$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
Therefore $y\in L$ and $y\in R_0$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{byCase}
\end{byCase}
We have $r$ is a function and $\dom{r} = \productFamily{E}$ by Proposition 356, Proposition 359.
Therefore $r$ is injective by Proposition 356, Proposition 386.
LaTeX source
\begin{proof}
Show that for all $x_1,x_2$ such that
$x_1\in\productFamily{E}$ and
$x_2\in\productFamily{E}$ and
$r(x_1) = r(x_2)$
we have $x_1 = x_2$.
\begin{subproof}
Fix $x_1$.
Fix $x_2$.
Assume $x_1\in\productFamily{E}$ and
$x_2\in\productFamily{E}$ and
$r(x_1) = r(x_2)$.
Let $y = r(x_1)$.
Hence $y$ is a retained-third code point of $x_1$ in $I$ and $E$ and
$y$ is a retained-third code point of $x_2$ in $I$ and $E$
by \cref{subseteq}.
Therefore $y\in I$ by \cref{space_filling_retained_third_code_point}.
For all $n,u,v$ such that $(n,u)\in E$ and $(n,v)\in E$ we have $u = v$ by \cref{pair_eq_iff}.
Therefore $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric,funs}.
Suppose not.
Take $w$ such that either $w\in x_1$ and $w\notin x_2$ or $w\notin x_1$ and $w\in x_2$
by \cref{neq_witness}.
We have $x_1$ is a function and $\dom{x_1} = \dom{E}$ and
$x_2$ is a function and $\dom{x_2} = \dom{E}$ by \cref{indexed_product,funs_elim}.
Therefore there exists $n\in\dom{E}$ such that $\apply{x_1}{n}\neq\apply{x_2}{n}$
by \cref{function_member_elim,function_apply_elim,pair_eq_iff}.
Take $k\in\dom{E}$ such that $\apply{x_1}{k}\neq\apply{x_2}{k}$ by \cref{subseteq}.
Thus $k\in\naturalsPlus$ by \cref{subseteq}.
Let $P = \{n\in\initialSegment{k} \mid x_1(n) \neq x_2(n)\}$.
$k\in\initialSegment{k}$ by \cref{initial_segment_naturalsplus,real_one_leq_naturalsplus}.
Hence $k\in P$ by \cref{subseteq}.
Therefore $P$ is inhabited.
$P\subseteq\initialSegment{k}$ by \cref{subseteq}.
Therefore $P\subseteq\reals$
by \cref{subseteq,initial_segment_naturalsplus,real_naturals_subset_reals,subseteq_transitive}.
Thus $P$ is finite by \cref{initial_segment_finite,subseteq_finite_is_finite,subseteq}.
Take $m$ such that $m$ is a smallest element of $P$ with respect to $\realOrderRel$
by \cref{finite_inhabited_smallest_element,real_order_relation_simple}.
Therefore $m\in P$ by \cref{smallest_element}.
Hence $m\in\initialSegment{k}$ and $x_1(m) \neq x_2(m)$ by \cref{subseteq}.
Thus $m\in\naturalsPlus$ by \cref{initial_segment_naturalsplus,subseteq}.
Hence $x_1(m)\in E(m)$ and $x_2(m)\in E(m)$ by \cref{indexed_product,subseteq}.
Therefore $x_1(m)\in D$ and $x_2(m)\in D$ by \cref{subseteq,function_apply_intro}.
Thus $x_1(m) = 0$ or $x_1(m) = 1$ by \cref{upair_iff}.
Therefore $x_2(m) = 0$ or $x_2(m) = 1$ by \cref{upair_iff}.
Let $K = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$.
Let $G = \naturalsPlus\times K$.
Let $R = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_1 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_1(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Let $R_2 = \{p\in G\times G \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x_2(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$.
Take $g_1$ such that
$g_1\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector}.
Therefore $g_1$ is a retained-third state selector on $G$ and $R$
by \cref{subseteq,space_filling_retained_third_state_selector_on}.
Take $u_1$ such that
$u_1$ is a sequence in $G$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_dyadic_child_state_iteration}.
Thus $u_1$ is a retained-third state orbit of $g_1$ on $G$ from $I$
by \cref{space_filling_retained_third_state_orbit_from}.
Hence for all $n\in\naturalsPlus$ we have $y\in\snd{u_1(n)}$
by \cref{space_filling_retained_third_code_point_on_standard_orbit}.
Take $g_2$ such that
$g_2\in\funs{G}{G}$ and
for all $z\in G$ we have $z\mathrel{R_2}\apply{g_2}{z}$
by \cref{space_filling_retained_third_state_selector}.
Therefore $g_2$ is a retained-third state selector on $G$ and $R$
by \cref{subseteq,space_filling_retained_third_state_selector_on}.
Take $u_2$ such that
$u_2$ is a sequence in $G$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{space_filling_dyadic_child_state_iteration}.
Thus $u_2$ is a retained-third state orbit of $g_2$ on $G$ from $I$
by \cref{space_filling_retained_third_state_orbit_from}.
Hence for all $n\in\naturalsPlus$ we have $y\in\snd{u_2(n)}$
by \cref{space_filling_retained_third_code_point_on_standard_orbit}.
$m = 1$ or there exists $p\in\naturalsPlus$ such that $m = p + 1$
by \cref{real_naturals_predecessor}.
\begin{byCase}
\caseOf{$m = 1$.}
We have $x_1(1) \neq x_2(1)$ by \cref{subseteq}.
\begin{byCase}
\caseOf{$x_1(1) = 0$.}
We have $x_2(1) = 1$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_first_digit_separation}.
Contradiction by \cref{space_filling_retained_third_code_point}.
\caseOf{$x_1(1) = 1$.}
We have $x_2(1) = 0$ by \cref{subseteq}.
Therefore $y\notin I$ by \cref{space_filling_retained_third_first_digit_separation}.
Contradiction by \cref{space_filling_retained_third_code_point}.
\end{byCase}
\caseOf{there exists $p\in\naturalsPlus$ such that $m = p + 1$.}
Take $p\in\naturalsPlus$ such that $m = p + 1$ by \cref{subseteq}.
Show that for all $i\in\initialSegment{p}$ we have $x_1(i) = x_2(i)$.
\begin{subproof}
Fix $i\in\initialSegment{p}$.
Hence $i\in\initialSegment{m}$ by \cref{initial_segment_subset_succ,subseteq}.
Suppose not.
Therefore $m\in\initialSegment{k}$ by \cref{subseteq}.
Hence $i\in\initialSegment{k}$ by \cref{space_filling_initial_segment_transitive}.
Thus $i\in P$ by \cref{subseteq}.
Hence $m\mathrel{\realOrderRel} i$ or $m = i$ by \cref{smallest_element}.
\begin{byCase}
\caseOf{$m\mathrel{\realOrderRel} i$.}
We have $m < i$ by \cref{real_order_relation_elim}.
Hence $m \leq i$ by \cref{real_lt_imp_leq}.
Thus $i\in\naturalsPlus$ and $i \leq m$ by \cref{initial_segment_naturalsplus,subseteq}.
We have $m\in\reals$ and $i\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
Therefore $m = i$ by \cref{real_leq_antisym}.
$m\in\initialSegment{p}$ by \cref{subseteq}.
Therefore $m \leq p$ by \cref{initial_segment_naturalsplus,subseteq}.
Hence $p + 1 \leq p$ by \cref{subseteq}.
Thus $p < p + 1$ by \cref{real_naturals_lt_succ_local}.
We have $p\in\reals$ and $p + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Therefore $p + 1 < p + 1$ by \cref{real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$m = i$.}
$m\in\initialSegment{p}$ by \cref{subseteq}.
Therefore $m \leq p$ by \cref{initial_segment_naturalsplus,subseteq}.
$p + 1 \leq p$ by \cref{subseteq}.
Thus $p < p + 1$ by \cref{real_naturals_lt_succ_local}.
We have $p\in\reals$ and $p + 1\in\reals$
by \cref{real_naturals_subset_reals,subseteq,real_one_in_naturals,real_add_closed}.
Therefore $p + 1 < p + 1$ by \cref{real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{subproof}
Hence for all $n\in\initialSegment{p}$ we have $\snd{u_1(n)} = \snd{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_prefix_agreement}.
We have $p\in\initialSegment{p}$ by \cref{initial_segment_naturalsplus}.
Therefore $\snd{u_1(p)} = \snd{u_2(p)}$ by \cref{subseteq}.
Let $A_1 = \{n\in\naturalsPlus \mid \fst{u_1(n)} = n\}$.
Hence $1\in A_1$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_1$ we have $n + 1\in A_1$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,relation,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
Therefore $p\in A_1$ by \cref{real_naturals_induction,subseteq}.
Thus $\fst{u_1(p)} = p$ by \cref{subseteq}.
Let $A_2 = \{n\in\naturalsPlus \mid \fst{u_2(n)} = n\}$.
Hence $1\in A_2$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $n\in A_2$ we have $n + 1\in A_2$.
\begin{subproof}
Follows by \cref{subseteq,sequence_in,funs_type_apply,relation,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
Therefore $p\in A_2$ by \cref{real_naturals_induction,subseteq}.
Thus $\fst{u_2(p)} = p$ by \cref{subseteq}.
We have $u_1(p)\in G$ and $u_1(p + 1)\in G$ and
$u_2(p)\in G$ and $u_2(p + 1)\in G$
by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ}.
Therefore $(u_1(p),u_1(p + 1))\in R_1$ and
$(u_2(p),u_2(p + 1))\in R_2$
by \cref{subseteq,relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(p),u_1(p + 1))\in G\times G$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(p),u_1(p + 1))} = (k_1,J_1)$ and
$\snd{(u_1(p),u_1(p + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x_1(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_2,J_2,H_2,a_2,b_2,d_2$ such that
$(u_2(p),u_2(p + 1))\in G\times G$ and
$k_2\in\naturalsPlus$ and
$\fst{(u_2(p),u_2(p + 1))} = (k_2,J_2)$ and
$\snd{(u_2(p),u_2(p + 1))} = (k_2 + 1,H_2)$ and
$d_2 = x_2(k_2)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J_2 = \intervalclosed{a_2}{b_2}$ and
$H_2\subseteq J_2$ and
$(d_2,H_2)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq}.
Therefore $u_1(p) = (k_1,J_1)$ and $u_1(p + 1) = (k_1 + 1,H_1)$ and
$u_2(p) = (k_2,J_2)$ and $u_2(p + 1) = (k_2 + 1,H_2)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Thus $\fst{u_1(p)} = k_1$ and $\fst{u_2(p)} = k_2$ and
$\snd{u_1(p)} = J_1$ and $\snd{u_2(p)} = J_2$ and
$\snd{u_1(p + 1)} = H_1$ and $\snd{u_2(p + 1)} = H_2$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
Hence $k_1 = p$ and $k_2 = p$ by \cref{subseteq}.
$d_1 = x_1(p)$ and $d_2 = x_2(p)$ by \cref{subseteq}.
Therefore $x_1(p) = x_2(p)$ by \cref{initial_segment_naturalsplus,subseteq}.
Hence $d_1 = d_2$ by \cref{subseteq}.
Thus $J_1 = J_2$ by \cref{subseteq}.
Hence $\intervalclosed{a_1}{b_1} = \intervalclosed{a_2}{b_2}$ by \cref{subseteq}.
Thus $a_1 = a_2$ and $b_1 = b_2$ by \cref{space_filling_intervalclosed_endpoints_unique}.
Therefore $(d_2,H_1)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$
by \cref{subseteq,real_add_eq_subst}.
Thus $d_2\in D$ by \cref{upair_iff,subseteq,pair_eq_iff}.
Hence $H_1 = H_2$ by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
Therefore $\snd{u_1(p + 1)} = \snd{u_2(p + 1)}$ by \cref{subseteq}.
Thus $u_1(p + 1)\in G$ by \cref{sequence_in,funs_type_apply,real_naturals_closed_succ}.
Take $t,J$ such that
$u_1(p + 1) = (t,J)$ and
$t\in\naturalsPlus$ and
$J\in K$
by \cref{subseteq,times_elem_is_tuple}.
Hence $u_1(p + 1) = (k_1 + 1,H_1)$ by \cref{subseteq}.
Therefore $t = k_1 + 1$ and $J = H_1$ by \cref{pair_eq_iff}.
Thus $t = p + 1$ by \cref{subseteq,real_add_eq_subst}.
Take $a,b$ such that
$a\in\reals$ and
$b\in\reals$ and
$J = \intervalclosed{a}{b}$ and
$a \leq b$
by \cref{subseteq}.
Hence $u_1(p + 1) = (t,\intervalclosed{a}{b})$ by \cref{subseteq}.
Therefore $\snd{u_1(p + 1)} = \intervalclosed{a}{b}$ by \cref{snd_eq,pair_eq_iff}.
Thus $\snd{u_2(p + 1)} = \intervalclosed{a}{b}$ by \cref{subseteq}.
Hence $u_1(p + 1) = (p + 1,\intervalclosed{a}{b})$ by \cref{subseteq}.
Therefore $u_2(p + 1) = (p + 1,\intervalclosed{a}{b})$ by \cref{subseteq,real_add_eq_subst}.
Thus $\fst{u_1(p + 1)} = p + 1$ and $\fst{u_2(p + 1)} = p + 1$
by \cref{fst_eq,pair_eq_iff}.
Hence $p + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
Therefore $a < b$ by \cref{space_filling_retained_third_state_orbit_succ_interval_strict_local,subseteq}.
Thus $x_1(p + 1) \neq x_2(p + 1)$ by \cref{subseteq}.
We have $u_1\in\funs{\naturalsPlus}{G}$ and $u_2\in\funs{\naturalsPlus}{G}$ and
$(p + 1) + 1\in\naturalsPlus$
by \cref{sequence_in,real_naturals_closed_succ}.
Therefore $(u_1(p + 1),u_1((p + 1) + 1))\in R_1$ and
$(u_2(p + 1),u_2((p + 1) + 1))\in R_2$
by \cref{funs_type_apply,subseteq,relation}.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that
$(u_1(p + 1),u_1((p + 1) + 1))\in G\times G$ and
$k_3\in\naturalsPlus$ and
$\fst{(u_1(p + 1),u_1((p + 1) + 1))} = (k_3,J_3)$ and
$\snd{(u_1(p + 1),u_1((p + 1) + 1))} = (k_3 + 1,H_3)$ and
$d_3 = x_1(k_3)$ and
$a_3\in\reals$ and
$b_3\in\reals$ and
$a_3 \leq b_3$ and
$J_3 = \intervalclosed{a_3}{b_3}$ and
$H_3\subseteq J_3$ and
$(d_3,H_3)\in\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$
by \cref{subseteq}.
Take $k_4,J_4,H_4,a_4,b_4,d_4$ such that
$(u_2(p + 1),u_2((p + 1) + 1))\in G\times G$ and
$k_4\in\naturalsPlus$ and
$\fst{(u_2(p + 1),u_2((p + 1) + 1))} = (k_4,J_4)$ and
$\snd{(u_2(p + 1),u_2((p + 1) + 1))} = (k_4 + 1,H_4)$ and
$d_4 = x_2(k_4)$ and
$a_4\in\reals$ and
$b_4\in\reals$ and
$a_4 \leq b_4$ and
$J_4 = \intervalclosed{a_4}{b_4}$ and
$H_4\subseteq J_4$ and
$(d_4,H_4)\in\{(0,\intervalclosed{a_4}{(a_4 + a_4 + b_4) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_4 + b_4 + b_4) / (1 + 1 + 1)}{b_4})\}$
by \cref{subseteq}.
Therefore $k_3 = p + 1$ and $k_4 = p + 1$ and
$\snd{u_1(p + 1)} = J_3$ and $\snd{u_2(p + 1)} = J_4$ and
$\snd{u_1((p + 1) + 1)} = H_3$ and $\snd{u_2((p + 1) + 1)} = H_4$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
Thus $d_3 = x_1(p + 1)$ and $d_4 = x_2(p + 1)$ by \cref{subseteq}.
Hence $\intervalclosed{a_3}{b_3} = \intervalclosed{a}{b}$ and
$\intervalclosed{a_4}{b_4} = \intervalclosed{a}{b}$ by \cref{subseteq}.
Thus $a_3 = a$ and $b_3 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Hence $a_4 = a$ and $b_4 = b$
by \cref{real_lt_imp_leq,space_filling_intervalclosed_endpoints_unique}.
Therefore $(d_3,H_3)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_4,H_4)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{subseteq,real_add_eq_subst}.
We have $y\in\snd{u_1((p + 1) + 1)}$ and $y\in\snd{u_2((p + 1) + 1)}$ by \cref{subseteq}.
Therefore $y\in H_3$ and $y\in H_4$ by \cref{subseteq}.
Let $L = \intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}$.
Let $R_0 = \intervalclosed{(a + b + b) / (1 + 1 + 1)}{b}$.
Thus $L$ is disjoint from $R_0$ by \cref{space_filling_retained_thirds_disjoint}.
\begin{byCase}
\caseOf{$x_1(m) = 0$.}
We have $x_1(p + 1) = 0$ and $x_2(p + 1) = 1$ by \cref{subseteq}.
Thus $d_3 = 0$ and $d_4 = 1$ by \cref{subseteq}.
Therefore $(d_3,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_4,R_0)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_3 = L$ and $H_4 = R_0$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
Therefore $y\in L$ and $y\in R_0$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\caseOf{$x_1(m) = 1$.}
We have $x_2(p + 1) = 0$ and $x_1(p + 1) = 1$ by \cref{subseteq}.
Thus $d_4 = 0$ and $d_3 = 1$ by \cref{subseteq}.
Therefore $(d_4,L)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$ and
$(d_3,R_0)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$
by \cref{upair_intro_left,upair_intro_right,pair_eq_iff,subseteq}.
Hence $H_4 = L$ and $H_3 = R_0$
by \cref{space_filling_retained_third_child_choice_unique,upair_intro_left,upair_intro_right,pair_eq_iff,subseteq,real_add_eq_subst}.
Therefore $y\in L$ and $y\in R_0$ by \cref{subseteq}.
Contradiction by \cref{disjoint}.
\end{byCase}
\end{byCase}
\end{subproof}
We have $r$ is a function and $\dom{r} = \productFamily{E}$ by \cref{funs_elim,funs_is_function}.
Therefore $r$ is injective by \cref{funs_is_function,injective_function}.
\end{proof}
Suppose $d = \standardMetricR$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$.
Suppose $x < y$ and $y - x < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
Then $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$.
LaTeX source
\begin{lemma}
\label{space_filling_standard_metric_lt_from_ordered_difference_local}
Suppose $d = \standardMetricR$.
Suppose $x\in\reals$ and $y\in\reals$ and $\epsilon\in\reals$.
Suppose $x < y$ and $y - x < \epsilon$.
Then $d((x,y)) < \epsilon$.
\end{lemma}
Proof
We have $y - x\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
Hence $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 17, Axiom 36, Lemma 26.
Thus $x - \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon} < y$ by Axiom 13, Axiom 18, Axiom 36, Definition 64, Lemma 27.
Therefore $y < x + \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Axiom 16, Axiom 37, Lemma 82, Lemma 83, Lemma 343.
Hence $\abs{x - y} < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 212.
Therefore $d((x,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 82, Lemma 274.
LaTeX source
\begin{proof}
We have $y - x\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
Hence $0 < \epsilon$ by \cref{real_lt_imp_pos_diff,real_add_ident,real_lt_trans}.
Thus $x - \epsilon < y$
by \cref{real_sub,real_add_inverse,real_add_closed,real_sub_pos_lt,real_lt_trans}.
Therefore $y < x + \epsilon$
by \cref{real_lt_add,real_add_comm,real_lt_subst_left,real_lt_subst_right,real_add_sub_cancel_right}.
Hence $\abs{x - y} < \epsilon$ by \cref{real_abs_lt_from_interval}.
Therefore $d((x,y)) < \epsilon$ by \cref{standard_metric_value,real_lt_subst_left}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Suppose $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$.
Then $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_code_map_continuous}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Suppose $r\in\funs{\productFamily{E}}{I}$.
Suppose for all $x\in\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$.
Then $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$.
\end{lemma}
Proof
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
Therefore $T_I$ is a topology on $I$ by Lemma 131.
$\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
Hence $P_B$ is a topology on $\productFamily{E}$ by Definition 156.
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
Therefore $\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
Hence $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\reals}$ by Definition 1, Proposition 360.
Therefore $r$ is a function and $\dom{r} = \productFamily{E}$ by Proposition 356, Proposition 359.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $y = r(x)$.
Hence $y$ is a dyadic code point of $x$ in $I$ and $E$ by Definition 1.
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}), (1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 356.
Therefore $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $z\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$ by Definition 353.
Hence $u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
Claim: For all $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ there exists $W$ such that $W$ is open in $\productFamily{E}$ with respect to $P_B$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $\img{r}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Fix $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Let $d = \standardMetricR$.
$\metricTopology{d}{\reals} = \standardTopologyR$ by Lemma 200.
Therefore $V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 118, Lemma 76, Lemma 93.
$d$ is a metric on $\reals$ by Lemma 198.
Take $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 153, Lemma 195, Lemma 200.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Proposition 476.
Hence $u_1(N)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ by Definition 158, Proposition 361.
Take $m_0,J_0$ such that $u_1(N) = (m_0,J_0)$ and $m_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $J_0\class{latex-symbol-tip latex-symbol-id-in}{\in} K_1$ by Definition 1, Proposition 121.
Take $p_0,q_0$ such that $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $q_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J_0 = \intervalclosed{p_0}{q_0}$ and $p_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q_0$ by Definition 1.
Therefore $\snd{u_1(N)} = \intervalclosed{p_0}{q_0}$ by Axiom 6, Axiom 11, Definition 1.
Hence $q_0 - p_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 800.
Thus $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{p_0}{q_0}$ by Definition 1.
Therefore $x$ is a function and $\dom{x} = \dom{E}$ by Definition 167, Proposition 359.
Let $a = \restrl{x}{\initialSegment{N}}$.
$a$ is a function by Proposition 383.
Hence $\dom{a} = \dom{x}\inter\initialSegment{N}$ by Corollary 3.
Therefore $\dom{x} = \naturalsPlus$ by Definition 1.
Hence $\initialSegment{N}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{x}$ by Definition 1, Definition 84.
Therefore $\dom{a} = \initialSegment{N}$ by Proposition 70.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ by Definition 1.
Hence for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1, Definition 84.
Therefore for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ by Definition 1.
Hence for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $x(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(i)$ by Definition 1, Definition 167.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $E(i) = D$ by Definition 1, Proposition 346.
Therefore for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $x(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $a(i) = x(i)$ by Definition 1, Proposition 384.
Hence for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $a(i)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
Therefore $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{N}}{D}$ by Proposition 358.
Let $W = \{z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E} \mid \text{for all $i\in\dom{a}$ we have $z(i) = a(i)$}\}$.
Hence $W$ is the binary prefix cylinder at $a$ in $E$ by Definition 352.
Therefore $W$ is open in $\productFamily{E}$ with respect to $P_B$ by Lemma 698.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 1, Proposition 384.
Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{r}{W}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Fix $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{r}{W}$.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{r}\inter W$ such that $u = r(z)$ by Proposition 365.
Therefore $z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 63.
Hence $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $z(i) = a(i)$ by Definition 1.
Hence for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $z(i) = x(i)$ by Definition 1, Proposition 384.
Therefore $u$ is a dyadic code point of $z$ in $I$ and $E$ by Definition 1.
Let $K_2 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a_2,b_2\in\reals$ such that $J = \intervalclosed{a_2}{b_2}$ and $a_2 \leq b_2$}\}$.
Let $G_2 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_2$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2\class{latex-symbol-tip latex-symbol-id-times}{\times} G_2 \mid \text{there exist $n,J,H,a_2,b_2,d_2$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d_2 = z(n)$ and $a_2\in\reals$ and $b_2\in\reals$ and $a_2 \leq b_2$ and $J = \intervalclosed{a_2}{b_2}$ and $H\subseteq J$ and $(d_2,H)\in\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}), (1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$}\}$.
Take $g_2$ such that $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_2}{G_2}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2$ we have $w\mathrel{R_2}\apply{g_2}{w}$ by Lemma 730.
Take $u_2$ such that $u_2$ is a sequence in $G_2$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Lemma 731.
Take $K_3,G_3,R_5,g_3,v_3$ such that $K_3 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a_3,b_3\in\reals$ such that $J = \intervalclosed{a_3}{b_3}$ and $a_3 \leq b_3$}\}$ and $G_3 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_3$ and $R_5 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_3\class{latex-symbol-tip latex-symbol-id-times}{\times} G_3 \mid \text{there exist $n,J,H,a_3,b_3,d_3$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d_3 = z(n)$ and $a_3\in\reals$ and $b_3\in\reals$ and $a_3 \leq b_3$ and $J = \intervalclosed{a_3}{b_3}$ and $H\subseteq J$ and $(d_3,H)\in\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}), (1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$}\}$ and $g_3$ is a retained-third state selector on $G_3$ and $R_5$ and $v_3$ is a retained-third state orbit of $g_3$ on $G_3$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{v_3(n)}$ by Definition 356.
Therefore $g_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_3}{G_3}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_3$ we have $w\mathrel{R_5}\apply{g_3}{w}$ by Definition 353.
Hence $v_3$ is a sequence in $G_3$ and $v_3(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $v_3(n + 1) = \apply{g_3}{v_3(n)}$ by Definition 354.
Therefore $K_3 = K_2$ by Definition 1, Proposition 3.
Hence $G_3 = G_2$ by Definition 1.
$R_5\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_2$ and $R_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_5$ by Definition 1.
Therefore $R_5 = R_2$ by Proposition 3.
Hence $g_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_2}{G_2}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2$ we have $w\mathrel{R_2}\apply{g_3}{w}$ by Definition 1.
Therefore $v_3$ is a sequence in $G_2$ and $v_3(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $v_3(n + 1) = \apply{g_3}{v_3(n)}$ by Definition 1.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $v_3(n) = u_2(n)$ by Lemma 795.
Therefore for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(n)}$ by Definition 1.
We have $K_2 = K_1$ by Definition 1, Proposition 3.
Hence $G_2 = G_1$ by Definition 1.
Therefore $u_2$ is a sequence in $G_1$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 1.
Let $R_3 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a_3,b_3,d_3$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d_3 = z(n)$ and $a_3\in\reals$ and $b_3\in\reals$ and $a_3 \leq b_3$ and $J = \intervalclosed{a_3}{b_3}$ and $H\subseteq J$ and $(d_3,H)\in\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}), (1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$}\}$.
$R_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_3$ by Definition 1.
$R_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} R_2$ by Definition 1.
Therefore $R_2 = R_3$ by Proposition 3.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $w\mathrel{R_2}\apply{g_2}{w}$ by Definition 1.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $w\mathrel{R_3}\apply{g_2}{w}$ by Definition 1.
Let $R_4 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a_4,b_4,d_4$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $a_4\in\reals$ and $b_4\in\reals$ and $a_4 \leq b_4$ and $J = \intervalclosed{a_4}{b_4}$ and $H\subseteq J$ and $(d_4,H)\in\{(0,\intervalclosed{a_4}{(a_4 + b_4) / (1 + 1)}), (1,\intervalclosed{(a_4 + b_4) / (1 + 1)}{b_4})\}$}\}$.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $w\mathrel{R_4}\apply{g_1}{w}$ by Definition 1.
For all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $w\mathrel{R_4}\apply{g_2}{w}$ by Definition 1.
Therefore for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u_1(n)} = n$ by Lemma 798.
Hence for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u_2(n)} = n$ by Lemma 798.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: If $1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
Follows by Axiom 6, Axiom 11, Definition 1.
Therefore $1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Hence $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: If $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
Assume $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$.
Therefore $n < n + 1$ by Lemma 399.
Hence $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Lemma 231.
Therefore $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
Therefore $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
Hence $n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ by Lemma 23.
Therefore $\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1.
Hence $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ by Axiom 45, Definition 84.
Therefore $z(n) = x(n)$ by Definition 1.
Hence $x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(n)$ and $z(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(n)$ by Definition 1, Definition 167.
Therefore $E(n) = D$ by Definition 1, Proposition 346.
Hence $x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $z(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
Therefore $u_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_1(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_2(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ by Axiom 45, Definition 158, Proposition 361.
Hence $u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and $u_2(n)\mathrel{R_3}\apply{g_2}{u_2(n)}$ by Definition 1.
Therefore $u_1(n)\mathrel{R_1}u_1(n + 1)$ and $u_2(n)\mathrel{R_3}u_2(n + 1)$ by Definition 1.
Hence $(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_3$ by Definition 1, Definition 12, Proposition 121.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and $\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and $d_1 = x(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + b_1) / (1 + 1)}), (1,\intervalclosed{(a_1 + b_1) / (1 + 1)}{b_1})\}$ by Definition 1.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $k_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(n),u_2(n + 1))} = (k_3,J_3)$ and $\snd{(u_2(n),u_2(n + 1))} = (k_3 + 1,H_3)$ and $d_3 = z(k_3)$ and $a_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_3 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_3$ and $J_3 = \intervalclosed{a_3}{b_3}$ and $H_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_3$ and $(d_3,H_3)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}), (1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$ by Definition 1.
Therefore $\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_3$ and $\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_3$ and $\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_3$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
Hence $\fst{u_1(n)} = n$ and $\fst{u_2(n)} = n$ by Definition 1.
Therefore $k_1 = n$ and $k_3 = n$ by Definition 1.
Hence $d_1 = x(n)$ and $d_3 = z(n)$ by Definition 1.
Therefore $d_3 = d_1$ by Definition 1.
Hence $J_1 = J_3$ by Definition 1.
Therefore $a_1 = a_3$ and $b_1 = b_3$ by Definition 1, Lemma 749.
Hence $d_1\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
Therefore $(d_3,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}), (1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$ by Definition 1, Proposition 437.
Hence $H_1 = H_3$ by Definition 1, Lemma 748, Proposition 437.
Therefore $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by Definition 1.
Therefore $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
Hence 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.
Therefore $N\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Definition 1.
Hence $\snd{u_1(N)} = \snd{u_2(N)}$ by Definition 1.
Therefore $\snd{u_2(N)} = J_0$ by Axiom 6, Axiom 11, Definition 1.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{p_0}{q_0}$ by Definition 1.
Therefore $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
$u < y$ or $u = y$ or $y < u$ by Axiom 34.
We have $u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y$ by Lemma 231.
Thus $y - u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q_0 - p_0$ by Lemma 756.
Hence $y - u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
Therefore $q_0 - p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
Thus $y - u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
Hence $y - u < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
Therefore $d((u,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 807.
Thus $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 177, Definition 179, Definition 180, Lemma 82.
Therefore $u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
We have $d((y,u)) = 0$ by Definition 176, Definition 179, Lemma 198.
Thus $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 180, Lemma 82.
Therefore $u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
We have $y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u$ by Lemma 231.
Therefore $u - y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q_0 - p_0$ by Lemma 756.
Thus $u - y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
Hence $q_0 - p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
Therefore $u - y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
Thus $u - y < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
Hence $d((y,u)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 807.
Therefore $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 180.
Hence $u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$u < y$.}
We have $u \leq y$ by \cref{real_lt_imp_leq}.
Thus $y - u \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
Hence $y - u\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
Therefore $q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
Thus $y - u \leq 1 / N$ by \cref{real_leq_trans}.
Hence $y - u < \epsilon$ by \cref{real_leq_lt_trans}.
Therefore $d((u,y)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
Thus $u\in\metricBall{d}{\reals}{y}{\epsilon}$
by \cref{metric_symmetric,metric_on,real_lt_subst_left,metric_ball}.
Therefore $u\in V$ by \cref{subseteq}.
\caseOf{$u = y$.}
We have $d((y,u)) = 0$ by \cref{standard_metric_is_metric,metric_on,metric_zero_characterization}.
Thus $u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{real_lt_subst_left,metric_ball}.
Therefore $u\in V$ by \cref{subseteq}.
\caseOf{$y < u$.}
We have $y \leq u$ by \cref{real_lt_imp_leq}.
Therefore $u - y \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
Thus $u - y\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
Hence $q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
Therefore $u - y \leq 1 / N$ by \cref{real_leq_trans}.
Thus $u - y < \epsilon$ by \cref{real_leq_lt_trans}.
Hence $d((y,u)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
Therefore $u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{metric_ball}.
Hence $u\in V$ by \cref{subseteq}.
\end{byCase}
Therefore there exists $W_0$ such that $W_0$ is open in $\productFamily{E}$ with respect to $P_B$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ and $\img{r}{W_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1.
Therefore $r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 469.
Hence $r$ is continuous from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 162.
We have $\img{r}{\productFamily{E}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Proposition 6, Proposition 237, Proposition 363.
Therefore $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ by Lemma 470.
LaTeX source
\begin{proof}
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by \cref{subspace_of}.
Therefore $T_I$ is a topology on $I$ by \cref{subspace_topology_is_topology}.
$\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$
by \cref{space_filling_binary_product_compact_hausdorff}.
Hence $P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Therefore $\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
Hence $r\in\funs{\productFamily{E}}{\reals}$ by \cref{funs_weaken_codom,subseteq}.
Therefore $r$ is a function and $\dom{r} = \productFamily{E}$ by \cref{funs_elim,funs_is_function}.
Show that for all $x\in\productFamily{E}$ we have
$r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$.
\begin{subproof}
Fix $x\in\productFamily{E}$.
Let $y = r(x)$.
Hence $y$ is a dyadic code point of $x$ in $I$ and $E$ by \cref{subseteq}.
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + b) / (1 + 1)}),
(1,\intervalclosed{(a + b) / (1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u_1(n)}$
by \cref{space_filling_dyadic_code_point}.
Therefore $g_1\in\funs{G_1}{G_1}$ and
for all $z\in G_1$ we have $z\mathrel{R_1}\apply{g_1}{z}$
by \cref{space_filling_retained_third_state_selector_on}.
Hence $u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
Show that for all $V$ such that
$V$ is open in $\reals$ with respect to $\standardTopologyR$ and
$y\in V$
there exists $W$ such that
$W$ is open in $\productFamily{E}$ with respect to $P_B$ and
$x\in W$ and
$\img{r}{W}\subseteq V$.
\begin{subproof}
Fix $V$ such that
$V$ is open in $\reals$ with respect to $\standardTopologyR$ and
$y\in V$.
Let $d = \standardMetricR$.
$\metricTopology{d}{\reals} = \standardTopologyR$ by \cref{standard_metric_topology}.
Therefore $V\subseteq\reals$ by \cref{open_in,topology_on,subseteq,pow_iff,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$d$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
Take $\epsilon\in\reals$ such that
$0 < \epsilon$ and
$\metricBall{d}{\reals}{y}{\epsilon}\subseteq V$
by \cref{standard_metric_topology,metric_open_iff,neighborhood}.
Take $N\in\naturalsPlus$ such that
$0 < 1 / N$ and
$1 / N < \epsilon$
by \cref{real_small_reciprocal}.
Hence $u_1(N)\in G_1$ by \cref{sequence_in,funs_type_apply}.
Take $m_0,J_0$ such that
$u_1(N) = (m_0,J_0)$ and
$m_0\in\naturalsPlus$ and
$J_0\in K_1$
by \cref{subseteq,times_elem_is_tuple}.
Take $p_0,q_0$ such that
$p_0\in\reals$ and
$q_0\in\reals$ and
$J_0 = \intervalclosed{p_0}{q_0}$ and
$p_0 \leq q_0$
by \cref{subseteq}.
Therefore $\snd{u_1(N)} = \intervalclosed{p_0}{q_0}$ by \cref{snd_eq,pair_eq_iff,subseteq}.
Hence $q_0 - p_0 \leq 1 / N$ by \cref{space_filling_dyadic_stage_interval_width_leq_local}.
Thus $y\in\intervalclosed{p_0}{q_0}$ by \cref{subseteq}.
Therefore $x$ is a function and $\dom{x} = \dom{E}$ by \cref{indexed_product,funs_elim}.
Let $a = \restrl{x}{\initialSegment{N}}$.
$a$ is a function by \cref{restrl_of_function_is_function}.
Hence $\dom{a} = \dom{x}\inter\initialSegment{N}$ by \cref{dom_of_restrl_eq_inter}.
Therefore $\dom{x} = \naturalsPlus$ by \cref{subseteq}.
Hence $\initialSegment{N}\subseteq\dom{x}$ by \cref{initial_segment_naturalsplus,subseteq}.
Therefore $\dom{a} = \initialSegment{N}$ by \cref{inter_absorb_supseteq_left}.
For all $i\in\dom{a}$ we have $i\in\initialSegment{N}$ by \cref{subseteq}.
Hence for all $i\in\dom{a}$ we have $i\in\naturalsPlus$ by \cref{initial_segment_naturalsplus,subseteq}.
Therefore for all $i\in\dom{a}$ we have $i\in\dom{E}$ by \cref{subseteq}.
Hence for all $i\in\dom{a}$ we have $x(i)\in E(i)$ by \cref{indexed_product,subseteq}.
For all $i\in\dom{a}$ we have $E(i) = D$ by \cref{function_apply_intro,subseteq}.
Therefore for all $i\in\dom{a}$ we have $x(i)\in D$ by \cref{subseteq}.
For all $i\in\dom{a}$ we have $a(i) = x(i)$ by \cref{restrl_of_function_apply,subseteq}.
Hence for all $i\in\dom{a}$ we have $a(i)\in D$ by \cref{subseteq}.
Therefore $a\in\funs{\initialSegment{N}}{D}$ by \cref{funs_intro}.
Let $W = \{z\in\productFamily{E} \mid \text{for all $i\in\dom{a}$ we have $z(i) = a(i)$}\}$.
Hence $W$ is the binary prefix cylinder at $a$ in $E$ by \cref{space_filling_binary_prefix_cylinder}.
Therefore $W$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_prefix_cylinder_open}.
Hence $x\in W$ by \cref{subseteq,restrl_of_function_apply}.
Show that for all $u$ such that $u\in\img{r}{W}$ we have $u\in V$.
\begin{subproof}
Fix $u$ such that $u\in\img{r}{W}$.
Take $z\in\dom{r}\inter W$ such that $u = r(z)$ by \cref{img_of_function_elim}.
Therefore $z\in W$ by \cref{inter_elim_right}.
Hence $z\in\productFamily{E}$ and
for all $i\in\dom{a}$ we have $z(i) = a(i)$ by \cref{subseteq}.
Hence for all $i\in\initialSegment{N}$ we have $z(i) = x(i)$
by \cref{subseteq,restrl_of_function_apply}.
Therefore $u$ is a dyadic code point of $z$ in $I$ and $E$ by \cref{subseteq}.
Let $K_2 = \{J\in\pow{I} \mid \text{there exist $a_2,b_2\in\reals$ such that
$J = \intervalclosed{a_2}{b_2}$ and
$a_2 \leq b_2$}\}$.
Let $G_2 = \naturalsPlus\times K_2$.
Let $R_2 = \{p\in G_2\times G_2 \mid \text{there exist $n,J,H,a_2,b_2,d_2$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d_2 = z(n)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J = \intervalclosed{a_2}{b_2}$ and
$H\subseteq J$ and
$(d_2,H)\in\{(0,\intervalclosed{a_2}{(a_2 + b_2) / (1 + 1)}),
(1,\intervalclosed{(a_2 + b_2) / (1 + 1)}{b_2})\}$}\}$.
Take $g_2$ such that
$g_2\in\funs{G_2}{G_2}$ and
for all $w\in G_2$ we have $w\mathrel{R_2}\apply{g_2}{w}$
by \cref{space_filling_dyadic_child_state_selector}.
Take $u_2$ such that
$u_2$ is a sequence in $G_2$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{space_filling_dyadic_child_state_iteration}.
Take $K_3,G_3,R_5,g_3,v_3$ such that
$K_3 = \{J\in\pow{I} \mid \text{there exist $a_3,b_3\in\reals$ such that
$J = \intervalclosed{a_3}{b_3}$ and
$a_3 \leq b_3$}\}$ and
$G_3 = \naturalsPlus\times K_3$ and
$R_5 = \{p\in G_3\times G_3 \mid \text{there exist $n,J,H,a_3,b_3,d_3$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d_3 = z(n)$ and
$a_3\in\reals$ and
$b_3\in\reals$ and
$a_3 \leq b_3$ and
$J = \intervalclosed{a_3}{b_3}$ and
$H\subseteq J$ and
$(d_3,H)\in\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}),
(1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$}\}$ and
$g_3$ is a retained-third state selector on $G_3$ and $R_5$ and
$v_3$ is a retained-third state orbit of $g_3$ on $G_3$ from $I$ and
for all $n\in\naturalsPlus$ we have $u\in\snd{v_3(n)}$
by \cref{space_filling_dyadic_code_point}.
Therefore $g_3\in\funs{G_3}{G_3}$ and
for all $w\in G_3$ we have $w\mathrel{R_5}\apply{g_3}{w}$
by \cref{space_filling_retained_third_state_selector_on}.
Hence $v_3$ is a sequence in $G_3$ and
$v_3(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $v_3(n + 1) = \apply{g_3}{v_3(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
Therefore $K_3 = K_2$ by \cref{subseteq_antisymmetric,subseteq}.
Hence $G_3 = G_2$ by \cref{subseteq}.
$R_5\subseteq R_2$ and $R_2\subseteq R_5$ by \cref{subseteq}.
Therefore $R_5 = R_2$ by \cref{subseteq_antisymmetric}.
Hence $g_3\in\funs{G_2}{G_2}$ and
for all $w\in G_2$ we have $w\mathrel{R_2}\apply{g_3}{w}$
by \cref{subseteq}.
Therefore $v_3$ is a sequence in $G_2$ and
$v_3(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $v_3(n + 1) = \apply{g_3}{v_3(n)}$
by \cref{subseteq}.
Hence for all $n\in\naturalsPlus$ we have $v_3(n) = u_2(n)$
by \cref{space_filling_dyadic_state_orbit_unique}.
Therefore for all $n\in\naturalsPlus$ we have $u\in\snd{u_2(n)}$
by \cref{subseteq}.
We have $K_2 = K_1$ by \cref{subseteq_antisymmetric,subseteq}.
Hence $G_2 = G_1$ by \cref{subseteq}.
Therefore $u_2$ is a sequence in $G_1$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{subseteq}.
Let $R_3 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a_3,b_3,d_3$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d_3 = z(n)$ and
$a_3\in\reals$ and
$b_3\in\reals$ and
$a_3 \leq b_3$ and
$J = \intervalclosed{a_3}{b_3}$ and
$H\subseteq J$ and
$(d_3,H)\in\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}),
(1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$}\}$.
$R_2\subseteq R_3$ by \cref{subseteq}.
$R_3\subseteq R_2$ by \cref{subseteq}.
Therefore $R_2 = R_3$ by \cref{subseteq_antisymmetric}.
For all $w\in G_1$ we have $w\mathrel{R_2}\apply{g_2}{w}$ by \cref{subseteq}.
For all $w\in G_1$ we have $w\mathrel{R_3}\apply{g_2}{w}$ by \cref{subseteq}.
Let $R_4 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a_4,b_4,d_4$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$a_4\in\reals$ and
$b_4\in\reals$ and
$a_4 \leq b_4$ and
$J = \intervalclosed{a_4}{b_4}$ and
$H\subseteq J$ and
$(d_4,H)\in\{(0,\intervalclosed{a_4}{(a_4 + b_4) / (1 + 1)}),
(1,\intervalclosed{(a_4 + b_4) / (1 + 1)}{b_4})\}$}\}$.
For all $w\in G_1$ we have $w\mathrel{R_4}\apply{g_1}{w}$ by \cref{subseteq}.
For all $w\in G_1$ we have $w\mathrel{R_4}\apply{g_2}{w}$ by \cref{subseteq}.
Therefore for all $n\in\naturalsPlus$ we have $\fst{u_1(n)} = n$
by \cref{space_filling_dyadic_state_orbit_stage_index_local}.
Hence for all $n\in\naturalsPlus$ we have $\fst{u_2(n)} = n$
by \cref{space_filling_dyadic_state_orbit_stage_index_local}.
Let $A_0 = \{n\in\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that if $1 \leq N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
\begin{subproof}
Follows by \cref{snd_eq,pair_eq_iff,subseteq}.
\end{subproof}
Therefore $1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
Hence $n\in\naturalsPlus$ by \cref{subseteq}.
Show that if $n + 1 \leq N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
\begin{subproof}
Assume $n + 1 \leq N$.
Therefore $n < n + 1$ by \cref{real_naturals_lt_succ_local}.
Hence $n \leq n + 1$ by \cref{real_lt_imp_leq}.
Therefore $n\in\reals$ and $N\in\reals$
by \cref{real_naturals_subset_reals,subseteq}.
Hence $1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
Therefore $n + 1\in\reals$ by \cref{real_add_closed}.
Hence $n \leq N$ by \cref{real_leq_trans}.
Therefore $\snd{u_1(n)} = \snd{u_2(n)}$ by \cref{subseteq}.
Hence $n\in\initialSegment{N}$ and $n + 1\in\initialSegment{N}$
by \cref{initial_segment_naturalsplus,real_naturals_closed_succ}.
Therefore $z(n) = x(n)$ by \cref{subseteq}.
Hence $x(n)\in E(n)$ and $z(n)\in E(n)$ by \cref{indexed_product,subseteq}.
Therefore $E(n) = D$ by \cref{function_apply_intro,subseteq}.
Hence $x(n)\in D$ and $z(n)\in D$ by \cref{subseteq}.
Therefore $u_1(n)\in G_1$ and $u_2(n)\in G_1$ and
$u_1(n + 1)\in G_1$ and $u_2(n + 1)\in G_1$
by \cref{funs_type_apply,real_naturals_closed_succ,sequence_in}.
Hence $u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and
$u_2(n)\mathrel{R_3}\apply{g_2}{u_2(n)}$ by \cref{subseteq}.
Therefore $u_1(n)\mathrel{R_1}u_1(n + 1)$ and
$u_2(n)\mathrel{R_3}u_2(n + 1)$ by \cref{subseteq}.
Hence $(u_1(n),u_1(n + 1))\in R_1$ and
$(u_2(n),u_2(n + 1))\in R_3$ by \cref{relation,subseteq,times_elem_is_tuple}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(n),u_1(n + 1))\in G_1\times G_1$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and
$\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + b_1) / (1 + 1)}),
(1,\intervalclosed{(a_1 + b_1) / (1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that
$(u_2(n),u_2(n + 1))\in G_1\times G_1$ and
$k_3\in\naturalsPlus$ and
$\fst{(u_2(n),u_2(n + 1))} = (k_3,J_3)$ and
$\snd{(u_2(n),u_2(n + 1))} = (k_3 + 1,H_3)$ and
$d_3 = z(k_3)$ and
$a_3\in\reals$ and
$b_3\in\reals$ and
$a_3 \leq b_3$ and
$J_3 = \intervalclosed{a_3}{b_3}$ and
$H_3\subseteq J_3$ and
$(d_3,H_3)\in\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}),
(1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$
by \cref{subseteq}.
Therefore $\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_3$ and
$\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_3$ and
$\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_3$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
Hence $\fst{u_1(n)} = n$ and $\fst{u_2(n)} = n$ by \cref{subseteq}.
Therefore $k_1 = n$ and $k_3 = n$ by \cref{subseteq}.
Hence $d_1 = x(n)$ and $d_3 = z(n)$ by \cref{subseteq}.
Therefore $d_3 = d_1$ by \cref{subseteq}.
Hence $J_1 = J_3$ by \cref{subseteq}.
Therefore $a_1 = a_3$ and $b_1 = b_3$
by \cref{space_filling_intervalclosed_endpoints_unique,subseteq}.
Hence $d_1\in D$ by \cref{subseteq}.
Therefore $(d_3,H_1)\in\{(0,\intervalclosed{a_3}{(a_3 + b_3) / (1 + 1)}),
(1,\intervalclosed{(a_3 + b_3) / (1 + 1)}{b_3})\}$
by \cref{subseteq,real_add_eq_subst}.
Hence $H_1 = H_3$ by \cref{space_filling_dyadic_child_choice_unique,subseteq,real_add_eq_subst}.
Therefore $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by \cref{subseteq}.
\end{subproof}
Therefore $n + 1\in A_0$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
Hence for all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
Therefore $N\in A_0$ by \cref{subseteq}.
Hence $\snd{u_1(N)} = \snd{u_2(N)}$ by \cref{subseteq}.
Therefore $\snd{u_2(N)} = J_0$ by \cref{snd_eq,pair_eq_iff,subseteq}.
Hence $u\in\intervalclosed{p_0}{q_0}$ by \cref{subseteq}.
Therefore $y\in\reals$ and $u\in\reals$ by \cref{intervalclosed,subseteq}.
$u < y$ or $u = y$ or $y < u$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$u < y$.}
We have $u \leq y$ by \cref{real_lt_imp_leq}.
Thus $y - u \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
Hence $y - u\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
Therefore $q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
Thus $y - u \leq 1 / N$ by \cref{real_leq_trans}.
Hence $y - u < \epsilon$ by \cref{real_leq_lt_trans}.
Therefore $d((u,y)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
Thus $u\in\metricBall{d}{\reals}{y}{\epsilon}$
by \cref{metric_symmetric,metric_on,real_lt_subst_left,metric_ball}.
Therefore $u\in V$ by \cref{subseteq}.
\caseOf{$u = y$.}
We have $d((y,u)) = 0$ by \cref{standard_metric_is_metric,metric_on,metric_zero_characterization}.
Thus $u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{real_lt_subst_left,metric_ball}.
Therefore $u\in V$ by \cref{subseteq}.
\caseOf{$y < u$.}
We have $y \leq u$ by \cref{real_lt_imp_leq}.
Therefore $u - y \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
Thus $u - y\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
Hence $q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
Therefore $u - y \leq 1 / N$ by \cref{real_leq_trans}.
Thus $u - y < \epsilon$ by \cref{real_leq_lt_trans}.
Hence $d((y,u)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
Therefore $u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{metric_ball}.
Hence $u\in V$ by \cref{subseteq}.
\end{byCase}
\end{subproof}
Therefore there exists $W_0$ such that
$W_0$ is open in $\productFamily{E}$ with respect to $P_B$ and
$x\in W_0$ and
$\img{r}{W_0}\subseteq V$ by \cref{subseteq}.
\end{subproof}
Therefore $r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$
by \cref{continuous_at_open,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
\end{subproof}
Hence $r$ is continuous from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$
by \cref{continuous_at_implies_continuous,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
We have $\img{r}{\productFamily{E}}\subseteq I$ by \cref{img_subseteq_ran,funs_ran,subseteq_transitive}.
Therefore $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$
by \cref{continuous_subspace_range}.
\end{proof}
Suppose $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $n = 1$ or there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $n = k + k$ or $n = (k + k) + 1$.
LaTeX source
\begin{lemma}
\label{space_filling_naturalsplus_parity_decomposition}
Suppose $n\in\naturalsPlus$.
Then $n = 1$ or there exists $k\in\naturalsPlus$ such that
$n = k + k$ or
$n = (k + k) + 1$.
\end{lemma}
Proof
Let $A = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{$m = 1$ or there exists $k\in\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$}\}$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 42, Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
Fix $m\class{latex-symbol-tip latex-symbol-id-in}{\in} A$.
$m = 1$ or there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$ by Definition 1.
$m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 42, Axiom 45, Definition 1, Proposition 437.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$.
$m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 45, Definition 1, Lemma 433, Proposition 437.
We have $(k + 1) + (k + 1) = ((k + k) + 1) + 1$ by Axiom 13, Axiom 15, Axiom 41, Axiom 42, Definition 1, Lemma 234, Proposition 437.
$m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Axiom 45, Definition 1, Proposition 437.
LaTeX source
\begin{byCase}
\caseOf{$m = k + k$.}
$m + 1\in A$
by \cref{naturalsplus_add_closed,real_naturals_closed_succ,real_add_eq_subst,subseteq}.
\caseOf{$m = (k + k) + 1$.}
We have $(k + 1) + (k + 1) = ((k + k) + 1) + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_add_four_exchange,real_add_assoc,real_add_eq_subst}.
$m + 1\in A$ by \cref{subseteq,real_add_eq_subst,real_naturals_closed_succ}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$m = 1$.}
$m + 1\in A$
by \cref{real_one_in_naturals,subseteq,real_add_eq_subst,real_naturals_closed_succ}.
\caseOf{there exists $k\in\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$.}
Take $k\in\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$.
\begin{byCase}
\caseOf{$m = k + k$.}
$m + 1\in A$
by \cref{naturalsplus_add_closed,real_naturals_closed_succ,real_add_eq_subst,subseteq}.
\caseOf{$m = (k + k) + 1$.}
We have $(k + 1) + (k + 1) = ((k + k) + 1) + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_add_four_exchange,real_add_assoc,real_add_eq_subst}.
$m + 1\in A$ by \cref{subseteq,real_add_eq_subst,real_naturals_closed_succ}.
\end{byCase}
\end{byCase}
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$ by Proposition 445.
$n = 1$ or there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $n = k + k$ or $n = (k + k) + 1$ by Definition 1.
LaTeX source
\begin{proof}
Let $A = \{m\in\naturalsPlus \mid \text{$m = 1$ or there exists $k\in\naturalsPlus$ such that
$m = k + k$ or
$m = (k + k) + 1$}\}$.
$A\subseteq\naturalsPlus$ by \cref{subseteq}.
$1\in A$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $m\in A$ we have $m + 1\in A$.
\begin{subproof}
Fix $m\in A$.
$m = 1$ or there exists $k\in\naturalsPlus$ such that
$m = k + k$ or
$m = (k + k) + 1$ by \cref{subseteq}.
\begin{byCase}
\caseOf{$m = 1$.}
$m + 1\in A$
by \cref{real_one_in_naturals,subseteq,real_add_eq_subst,real_naturals_closed_succ}.
\caseOf{there exists $k\in\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$.}
Take $k\in\naturalsPlus$ such that $m = k + k$ or $m = (k + k) + 1$.
\begin{byCase}
\caseOf{$m = k + k$.}
$m + 1\in A$
by \cref{naturalsplus_add_closed,real_naturals_closed_succ,real_add_eq_subst,subseteq}.
\caseOf{$m = (k + k) + 1$.}
We have $(k + 1) + (k + 1) = ((k + k) + 1) + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_add_closed,real_add_four_exchange,real_add_assoc,real_add_eq_subst}.
$m + 1\in A$ by \cref{subseteq,real_add_eq_subst,real_naturals_closed_succ}.
\end{byCase}
\end{byCase}
\end{subproof}
For all $m\in\naturalsPlus$ we have $m\in A$ by \cref{real_naturals_induction}.
$n = 1$ or there exists $k\in\naturalsPlus$ such that
$n = k + k$ or
$n = (k + k) + 1$ by \cref{subseteq}.
\end{proof}
Suppose $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $m < n$.
Then $m + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$.
LaTeX source
\begin{lemma}
\label{space_filling_naturalsplus_lt_imp_succ_leq}
Suppose $m\in\naturalsPlus$ and $n\in\naturalsPlus$.
Suppose $m < n$.
Then $m + 1 \leq n$.
\end{lemma}
Proof
We have $n = 1$ or there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $n = k + 1$ by Lemma 31.
Suppose not.
$1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} m$ by Axiom 43.
We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
$1 < 1$ by Definition 1, Lemma 266.
Contradiction by Axiom 39.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $n = k + 1$.
$m \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k$ by Axiom 39, Axiom 41, Definition 1, Lemma 29, Lemma 83, Lemma 231.
$m + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} k + 1$ by Axiom 41, Axiom 42, Definition 1, Lemma 24.
$m + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$n = 1$.}
Suppose not.
$1 \leq m$ by \cref{real_one_leq_naturalsplus}.
We have $1\in\reals$ and $m\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
$1 < 1$ by \cref{subseteq,real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{there exists $k\in\naturalsPlus$ such that $n = k + 1$.}
Take $k\in\naturalsPlus$ such that $n = k + 1$.
$m \leq k$ by \cref{subseteq,real_lt_imp_leq,real_lt_irreflexive,real_lt_subst_right,real_naturals_subset_reals,real_naturals_leq_succ_elim}.
$m + 1 \leq k + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_leq_add}.
$m + 1 \leq n$ by \cref{subseteq}.
\end{byCase}
LaTeX source
\begin{proof}
We have $n = 1$ or there exists $k\in\naturalsPlus$ such that $n = k + 1$
by \cref{real_naturals_predecessor}.
\begin{byCase}
\caseOf{$n = 1$.}
Suppose not.
$1 \leq m$ by \cref{real_one_leq_naturalsplus}.
We have $1\in\reals$ and $m\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
$1 < 1$ by \cref{subseteq,real_leq_lt_trans}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{there exists $k\in\naturalsPlus$ such that $n = k + 1$.}
Take $k\in\naturalsPlus$ such that $n = k + 1$.
$m \leq k$ by \cref{subseteq,real_lt_imp_leq,real_lt_irreflexive,real_lt_subst_right,real_naturals_subset_reals,real_naturals_leq_succ_elim}.
$m + 1 \leq k + 1$
by \cref{real_naturals_subset_reals,real_one_in_naturals,subseteq,real_leq_add}.
$m + 1 \leq n$ by \cref{subseteq}.
\end{byCase}
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Suppose $a + a = b + b$.
Then $a = b$.
LaTeX source
\begin{lemma}
\label{space_filling_double_eq_halves_eq}
Suppose $a\in\naturalsPlus$ and $b\in\naturalsPlus$.
Suppose $a + a = b + b$.
Then $a = b$.
\end{lemma}
Proof
Suppose not.
$a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} b$.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$a < b$ or $b < a$ by Axiom 34.
$a + a < a + b$ by Axiom 16, Axiom 37, Lemma 83.
$a + b < b + b$ by Axiom 37.
We have $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$a + a < b + b$ by Axiom 36.
$a + a < a + a$ by Definition 1, Lemma 83.
Contradiction by Axiom 39.
$b + b < b + a$ by Axiom 16, Axiom 37, Lemma 83.
$b + a < a + a$ by Axiom 37.
We have $b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$b + b < a + a$ by Axiom 36.
$b + b < b + b$ by Definition 1, Lemma 83.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$a < b$.}
$a + a < a + b$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
$a + b < b + b$ by \cref{real_lt_add}.
We have $a + a\in\reals$ and $a + b\in\reals$ and $b + b\in\reals$ by \cref{real_add_closed}.
$a + a < b + b$ by \cref{real_lt_trans}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$b < a$.}
$b + b < b + a$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
$b + a < a + a$ by \cref{real_lt_add}.
We have $b + b\in\reals$ and $b + a\in\reals$ and $a + a\in\reals$ by \cref{real_add_closed}.
$b + b < a + a$ by \cref{real_lt_trans}.
$b + b < b + b$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
LaTeX source
\begin{proof}
Suppose not.
$a \neq b$.
$a\in\reals$ and $b\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$a < b$ or $b < a$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$a < b$.}
$a + a < a + b$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
$a + b < b + b$ by \cref{real_lt_add}.
We have $a + a\in\reals$ and $a + b\in\reals$ and $b + b\in\reals$ by \cref{real_add_closed}.
$a + a < b + b$ by \cref{real_lt_trans}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$b < a$.}
$b + b < b + a$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
$b + a < a + a$ by \cref{real_lt_add}.
We have $b + b\in\reals$ and $b + a\in\reals$ and $a + a\in\reals$ by \cref{real_add_closed}.
$b + b < a + a$ by \cref{real_lt_trans}.
$b + b < b + b$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{proof}
Suppose $a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
Then $a + a \class{latex-symbol-tip latex-symbol-id-neq}{\neq} (b + b) + 1$.
LaTeX source
\begin{lemma}
\label{space_filling_double_neq_double_succ}
Suppose $a\in\naturalsPlus$ and $b\in\naturalsPlus$.
Then $a + a \neq (b + b) + 1$.
\end{lemma}
Proof
Suppose not.
$a + a = (b + b) + 1$.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$a = b$ or $a < b$ or $b < a$ by Axiom 34.
$a + a = (a + a) + 1$ by Proposition 437.
$a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Lemma 433.
We have $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$a + a < (a + a) + 1$ by Lemma 399.
$a + a < a + a$ by Definition 1, Lemma 83.
Contradiction by Axiom 39.
$a + a < a + b$ by Axiom 16, Axiom 37, Lemma 83.
$a + b < b + b$ by Axiom 37.
We have $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$a + a < b + b$ by Axiom 36.
$b + b < (b + b) + 1$ by Axiom 41, Axiom 45, Definition 1, Lemma 399, Lemma 433.
$a + a < (b + b) + 1$ by Axiom 36.
$a + a < a + a$ by Definition 1, Lemma 83.
Contradiction by Axiom 39.
$b + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a$ by Lemma 810.
We have $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
$(b + 1) + b \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + b$ by Axiom 13, Axiom 41, Axiom 42, Definition 1, Lemma 24.
$(b + 1) + b = b + 1 + b$ by Axiom 15.
We have $1 + b = b + 1$ by Axiom 16.
$b + 1 + b = b + (1 + b)$ by Axiom 15.
$b + (1 + b) = b + (b + 1)$ by Proposition 437.
$b + (b + 1) = (b + b) + 1$ by Axiom 15.
$(b + b) + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} a + b$ by Lemma 542.
$a + b < a + a$ by Axiom 16, Axiom 37, Lemma 83.
We have $(b + b) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + b\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a + a\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$(b + b) + 1 < a + a$ by Lemma 266.
$a + a < a + a$ by Definition 1, Lemma 82.
Contradiction by Axiom 39.
LaTeX source
\begin{byCase}
\caseOf{$a = b$.}
$a + a = (a + a) + 1$ by \cref{real_add_eq_subst}.
$a + a\in\naturalsPlus$ by \cref{naturalsplus_add_closed}.
We have $a + a\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$a + a < (a + a) + 1$ by \cref{real_naturals_lt_succ_local}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$a < b$.}
$a + a < a + b$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
$a + b < b + b$ by \cref{real_lt_add}.
We have $a + a\in\reals$ and $a + b\in\reals$ and $b + b\in\reals$ by \cref{real_add_closed}.
$a + a < b + b$ by \cref{real_lt_trans}.
$b + b < (b + b) + 1$
by \cref{naturalsplus_add_closed,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_naturals_lt_succ_local}.
$a + a < (b + b) + 1$ by \cref{real_lt_trans}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$b < a$.}
$b + 1 \leq a$ by \cref{space_filling_naturalsplus_lt_imp_succ_leq}.
We have $1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
$(b + 1) + b \leq a + b$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed,real_leq_add}.
$(b + 1) + b = b + 1 + b$ by \cref{real_add_assoc}.
We have $1 + b = b + 1$ by \cref{real_add_comm}.
$b + 1 + b = b + (1 + b)$ by \cref{real_add_assoc}.
$b + (1 + b) = b + (b + 1)$ by \cref{real_add_eq_subst}.
$b + (b + 1) = (b + b) + 1$ by \cref{real_add_assoc}.
$(b + b) + 1 \leq a + b$ by \cref{real_leq_subst_left_local}.
$a + b < a + a$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
We have $(b + b) + 1\in\reals$ and $a + b\in\reals$ and $a + a\in\reals$ by \cref{real_add_closed}.
$(b + b) + 1 < a + a$ by \cref{real_leq_lt_trans}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_left}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
LaTeX source
\begin{proof}
Suppose not.
$a + a = (b + b) + 1$.
$a\in\reals$ and $b\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$a = b$ or $a < b$ or $b < a$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$a = b$.}
$a + a = (a + a) + 1$ by \cref{real_add_eq_subst}.
$a + a\in\naturalsPlus$ by \cref{naturalsplus_add_closed}.
We have $a + a\in\reals$ by \cref{real_naturals_subset_reals,subseteq}.
$a + a < (a + a) + 1$ by \cref{real_naturals_lt_succ_local}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$a < b$.}
$a + a < a + b$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
$a + b < b + b$ by \cref{real_lt_add}.
We have $a + a\in\reals$ and $a + b\in\reals$ and $b + b\in\reals$ by \cref{real_add_closed}.
$a + a < b + b$ by \cref{real_lt_trans}.
$b + b < (b + b) + 1$
by \cref{naturalsplus_add_closed,real_naturals_subset_reals,real_naturals_closed_succ,subseteq,real_naturals_lt_succ_local}.
$a + a < (b + b) + 1$ by \cref{real_lt_trans}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$b < a$.}
$b + 1 \leq a$ by \cref{space_filling_naturalsplus_lt_imp_succ_leq}.
We have $1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
$(b + 1) + b \leq a + b$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed,real_leq_add}.
$(b + 1) + b = b + 1 + b$ by \cref{real_add_assoc}.
We have $1 + b = b + 1$ by \cref{real_add_comm}.
$b + 1 + b = b + (1 + b)$ by \cref{real_add_assoc}.
$b + (1 + b) = b + (b + 1)$ by \cref{real_add_eq_subst}.
$b + (b + 1) = (b + b) + 1$ by \cref{real_add_assoc}.
$(b + b) + 1 \leq a + b$ by \cref{real_leq_subst_left_local}.
$a + b < a + a$ by \cref{real_lt_add,real_add_comm,real_lt_subst_right}.
We have $(b + b) + 1\in\reals$ and $a + b\in\reals$ and $a + a\in\reals$ by \cref{real_add_closed}.
$(b + b) + 1 < a + a$ by \cref{real_leq_lt_trans}.
$a + a < a + a$ by \cref{subseteq,real_lt_subst_left}.
Contradiction by \cref{real_lt_irreflexive}.
\end{byCase}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Suppose $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$.
Then $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$.
LaTeX source
\begin{lemma}
\label{space_filling_retained_third_code_map_continuous}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Suppose $r\in\funs{\productFamily{E}}{I}$.
Suppose for all $x\in\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$.
Then $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$.
\end{lemma}
Proof
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
$T_I$ is a topology on $I$ by Lemma 131.
$\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
$P_B$ is a topology on $\productFamily{E}$ by Definition 156.
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\reals}$ by Definition 1, Proposition 360.
$r$ is a function and $\dom{r} = \productFamily{E}$ by Proposition 356, Proposition 359.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $y = r(x)$.
$y$ is a retained-third code point of $x$ in $I$ and $E$ by Definition 1.
Take $K_1,G_1,R_1,g_1,u_1$ such that $K_1 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a,b\in\reals$ such that $J = \intervalclosed{a}{b}$ and $a \leq b$}\}$ and $G_1 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_1$ and $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1 \mid \text{there exist $n,J,H,a,b,d$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d = x(n)$ and $a\in\reals$ and $b\in\reals$ and $a \leq b$ and $J = \intervalclosed{a}{b}$ and $H\subseteq J$ and $(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}), (1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and $g_1$ is a retained-third state selector on $G_1$ and $R_1$ and $u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_1(n)}$ by Definition 355.
We have $g_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ we have $w\mathrel{R_1}\apply{g_1}{w}$ by Definition 353.
$u_1$ is a sequence in $G_1$ and $u_1(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$ by Definition 354.
Claim: For all $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ there exists $W$ such that $W$ is open in $\productFamily{E}$ with respect to $P_B$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ and $\img{r}{W}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$.
Fix $V$ such that $V$ is open in $\reals$ with respect to $\standardTopologyR$ and $y\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Let $d = \standardMetricR$.
$\metricTopology{d}{\reals} = \standardTopologyR$ by Lemma 200.
$V\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Axiom 12, Definition 1, Definition 101, Definition 103, Definition 118, Lemma 76, Lemma 93.
$d$ is a metric on $\reals$ by Lemma 198.
Take $\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ such that $0 < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ and $\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 153, Lemma 195, Lemma 200.
Take $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $0 < 1 / N$ and $1 / N < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Proposition 476.
$u_1(N)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ by Definition 158, Proposition 361.
Take $m_0,J_0$ such that $u_1(N) = (m_0,J_0)$ and $m_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $J_0\class{latex-symbol-tip latex-symbol-id-in}{\in} K_1$ by Definition 1, Proposition 121.
Take $p_0,q_0$ such that $p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $q_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $J_0 = \intervalclosed{p_0}{q_0}$ and $p_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q_0$ by Definition 1.
$\fst{u_1(N)} = m_0$ and $\snd{u_1(N)} = J_0$ by Axiom 6, Axiom 10, Axiom 11.
$m_0 = N$ by Definition 1, Lemma 746.
$\snd{u_1(N)} = \intervalclosed{p_0}{q_0}$ by Definition 1.
$q_0 - p_0 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Definition 1, Lemma 777.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{p_0}{q_0}$ by Definition 1.
We have $x$ is a function and $\dom{x} = \dom{E}$ by Definition 167, Proposition 359.
Let $a = \restrl{x}{\initialSegment{N}}$.
$a$ is a function by Proposition 383.
$\dom{a} = \dom{x}\inter\initialSegment{N}$ by Corollary 3.
$\dom{x} = \naturalsPlus$ by Definition 1.
$\initialSegment{N}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\dom{x}$ by Definition 1, Definition 84.
$\dom{a} = \initialSegment{N}$ by Proposition 70.
$a\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\initialSegment{N}}{D}$ by Definition 1, Definition 84, Definition 167, Proposition 346, Proposition 358, Proposition 384.
Let $W = \{z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E} \mid \text{for all $i\in\dom{a}$ we have $z(i) = a(i)$}\}$.
$W$ is the binary prefix cylinder at $a$ in $E$ by Definition 352.
$W$ is open in $\productFamily{E}$ with respect to $P_B$ by Lemma 698.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Definition 1, Proposition 384.
Claim: For all $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{r}{W}$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$.
Fix $u$ such that $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{r}{W}$.
Take $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{r}\inter W$ such that $u = r(z)$ by Proposition 365.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in} W$ by Proposition 63.
$z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{a}$ we have $z(i) = a(i)$ by Definition 1.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ we have $z(i) = x(i)$ by Definition 1, Proposition 384.
$u$ is a retained-third code point of $z$ in $I$ and $E$ by Definition 1.
Take $K_2,G_2,R_2,g_2,u_2$ such that $K_2 = \{J\class{latex-symbol-tip latex-symbol-id-in}{\in}\pow{I} \mid \text{there exist $a_2,b_2\in\reals$ such that $J = \intervalclosed{a_2}{b_2}$ and $a_2 \leq b_2$}\}$ and $G_2 = \naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} K_2$ and $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2\class{latex-symbol-tip latex-symbol-id-times}{\times} G_2 \mid \text{there exist $n,J,H,a_2,b_2,d_2$ such that $n\in\naturalsPlus$ and $\fst{p} = (n,J)$ and $\snd{p} = (n + 1,H)$ and $d_2 = z(n)$ and $a_2\in\reals$ and $b_2\in\reals$ and $a_2 \leq b_2$ and $J = \intervalclosed{a_2}{b_2}$ and $H\subseteq J$ and $(d_2,H)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}), (1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$}\}$ and $g_2$ is a retained-third state selector on $G_2$ and $R_2$ and $u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\snd{u_2(n)}$ by Definition 355.
We have $g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_2}{G_2}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in} G_2$ we have $w\mathrel{R_2}\apply{g_2}{w}$ by Definition 353.
$u_2$ is a sequence in $G_2$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 354.
$K_2 = K_1$ by Definition 1, Proposition 3.
$G_2 = G_1$ by Definition 1.
$g_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{G_1}{G_1}$ by Definition 1.
$u_2$ is a sequence in $G_1$ and $u_2(1) = (1,I)$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$ by Definition 1.
Let $B_1 = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u_1(m)} = m\}$.
$B_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} B_1$ by Axiom 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} B_1$ we have $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} B_1$.
Follows by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
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} B_1$ by Proposition 445.
Let $B_2 = \{m\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \fst{u_2(m)} = m\}$.
$B_2\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} B_2$ by Axiom 6, Axiom 10, Axiom 42, Definition 1.
Claim: For all $m\class{latex-symbol-tip latex-symbol-id-in}{\in} B_2$ we have $m + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} B_2$.
Follows by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Definition 1, Definition 12, Definition 158, Proposition 361, Proposition 437.
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} B_2$ by Proposition 445.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u_1(n)} = n$ by Definition 1.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\fst{u_2(n)} = n$ by Definition 1.
Let $A_0 = \{n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus$ by Definition 1.
Claim: If $1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
Follows by Axiom 6, Axiom 11, Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 42, Definition 1.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ we have $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1.
Claim: If $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
Assume $n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$.
$n < n + 1$ by Lemma 399.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + 1$ by Lemma 231.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Definition 1.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 41, Axiom 42, Definition 1.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13.
$n \class{latex-symbol-tip latex-symbol-id-leq}{\leq} N$ by Lemma 23.
$\snd{u_1(n)} = \snd{u_2(n)}$ by Definition 1.
$n\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{N}$ by Axiom 45, Definition 84.
$z(n) = x(n)$ by Definition 1.
$x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(n)$ and $z(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(n)$ by Definition 1, Definition 167.
$E(n) = D$ by Definition 1, Proposition 346.
$x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ and $z(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
$u_1(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_2(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_1(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ and $u_2(n + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1$ by Axiom 45, Definition 158, Proposition 361.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and $u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by Definition 1.
$u_1(n)\mathrel{R_1}u_1(n + 1)$ and $u_2(n)\mathrel{R_2}u_2(n + 1)$ by Definition 1.
$(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ and $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Definition 12.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that $(u_1(n),u_1(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $k_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and $\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and $d_1 = x(k_1)$ and $a_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_1$ and $J_1 = \intervalclosed{a_1}{b_1}$ and $H_1\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_1$ and $(d_1,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}), (1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$ by Definition 1.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that $(u_2(n),u_2(n + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} G_1\class{latex-symbol-tip latex-symbol-id-times}{\times} G_1$ and $k_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ and $\fst{(u_2(n),u_2(n + 1))} = (k_3,J_3)$ and $\snd{(u_2(n),u_2(n + 1))} = (k_3 + 1,H_3)$ and $d_3 = z(k_3)$ and $a_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $b_3\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $a_3 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} b_3$ and $J_3 = \intervalclosed{a_3}{b_3}$ and $H_3\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J_3$ and $(d_3,H_3)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}), (1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$ by Definition 1.
We have $\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_3$ and $\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_3$ and $\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_3$ by Axiom 6, Axiom 10, Axiom 11, Definition 1.
$\fst{u_1(n)} = n$ and $\fst{u_2(n)} = n$ by Definition 1.
$k_1 = n$ and $k_3 = n$ by Definition 1.
$d_1 = x(n)$ and $d_3 = z(n)$ by Definition 1.
$d_3 = d_1$ by Definition 1.
$J_1 = J_3$ by Definition 1.
$a_1 = a_3$ and $b_1 = b_3$ by Definition 1, Lemma 749.
$d_1\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1.
$(d_3,H_1)\class{latex-symbol-tip latex-symbol-id-in}{\in}\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}), (1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$ by Definition 1, Proposition 437.
$H_1 = H_3$ by Definition 1, Lemma 752, Proposition 437.
$\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by Definition 1.
$n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Axiom 45, Definition 1.
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.
$N\class{latex-symbol-tip latex-symbol-id-in}{\in} A_0$ by Definition 1.
$\snd{u_1(N)} = \snd{u_2(N)}$ by Definition 1.
$\snd{u_2(N)} = J_0$ by Axiom 6, Axiom 11, Definition 1.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\intervalclosed{p_0}{q_0}$ by Definition 1.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Definition 1, Definition 75.
$u < y$ or $u = y$ or $y < u$ by Axiom 34.
$u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} y$ by Lemma 231.
$y - u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q_0 - p_0$ by Lemma 756.
$y - u\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
$q_0 - p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$y - u \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$y - u < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
$d((u,y)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 807.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 177, Definition 179, Definition 180, Lemma 82.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
$d((y,u)) = 0$ by Definition 176, Definition 179, Lemma 198.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 180, Lemma 82.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
$y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} u$ by Lemma 231.
$u - y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} q_0 - p_0$ by Lemma 756.
$u - y\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64.
$q_0 - p_0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1 / N\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 18, Definition 64, Lemma 90.
$u - y \class{latex-symbol-tip latex-symbol-id-leq}{\leq} 1 / N$ by Lemma 23.
$u - y < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 266.
$d((y,u)) < \class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}$ by Lemma 807.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in}\metricBall{d}{\reals}{y}{\class{latex-symbol-tip latex-symbol-id-epsilon}{\epsilon}}$ by Definition 180.
$u\class{latex-symbol-tip latex-symbol-id-in}{\in} V$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$u < y$.}
$u \leq y$ by \cref{real_lt_imp_leq}.
$y - u \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
$y - u\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
$q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y - u \leq 1 / N$ by \cref{real_leq_trans}.
$y - u < \epsilon$ by \cref{real_leq_lt_trans}.
$d((u,y)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
$u\in\metricBall{d}{\reals}{y}{\epsilon}$
by \cref{metric_symmetric,metric_on,real_lt_subst_left,metric_ball}.
$u\in V$ by \cref{subseteq}.
\caseOf{$u = y$.}
$d((y,u)) = 0$ by \cref{standard_metric_is_metric,metric_on,metric_zero_characterization}.
$u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{real_lt_subst_left,metric_ball}.
$u\in V$ by \cref{subseteq}.
\caseOf{$y < u$.}
$y \leq u$ by \cref{real_lt_imp_leq}.
$u - y \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
$u - y\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
$q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$u - y \leq 1 / N$ by \cref{real_leq_trans}.
$u - y < \epsilon$ by \cref{real_leq_lt_trans}.
$d((y,u)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
$u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{metric_ball}.
$u\in V$ by \cref{subseteq}.
\end{byCase}
There exists $W_0$ such that $W_0$ is open in $\productFamily{E}$ with respect to $P_B$ and $x\class{latex-symbol-tip latex-symbol-id-in}{\in} W_0$ and $\img{r}{W_0}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} V$ by Definition 1.
$r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 469.
$r$ is continuous from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$ by Definition 118, Lemma 76, Lemma 93, Lemma 162.
We have $\img{r}{\productFamily{E}}\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Proposition 6, Proposition 237, Proposition 363.
Therefore $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ by Lemma 470.
LaTeX source
\begin{proof}
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$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}.
$\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$
by \cref{space_filling_binary_product_compact_hausdorff}.
$P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
$r\in\funs{\productFamily{E}}{\reals}$ by \cref{funs_weaken_codom,subseteq}.
$r$ is a function and $\dom{r} = \productFamily{E}$ by \cref{funs_elim,funs_is_function}.
Show that for all $x\in\productFamily{E}$ we have
$r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$.
\begin{subproof}
Fix $x\in\productFamily{E}$.
Let $y = r(x)$.
$y$ is a retained-third code point of $x$ in $I$ and $E$ by \cref{subseteq}.
Take $K_1,G_1,R_1,g_1,u_1$ such that
$K_1 = \{J\in\pow{I} \mid \text{there exist $a,b\in\reals$ such that
$J = \intervalclosed{a}{b}$ and
$a \leq b$}\}$ and
$G_1 = \naturalsPlus\times K_1$ and
$R_1 = \{p\in G_1\times G_1 \mid \text{there exist $n,J,H,a,b,d$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d = x(n)$ and
$a\in\reals$ and
$b\in\reals$ and
$a \leq b$ and
$J = \intervalclosed{a}{b}$ and
$H\subseteq J$ and
$(d,H)\in\{(0,\intervalclosed{a}{(a + a + b) / (1 + 1 + 1)}),
(1,\intervalclosed{(a + b + b) / (1 + 1 + 1)}{b})\}$}\}$ and
$g_1$ is a retained-third state selector on $G_1$ and $R_1$ and
$u_1$ is a retained-third state orbit of $g_1$ on $G_1$ from $I$ and
for all $n\in\naturalsPlus$ we have $y\in\snd{u_1(n)}$
by \cref{space_filling_retained_third_code_point}.
We have $g_1\in\funs{G_1}{G_1}$ and
for all $w\in G_1$ we have $w\mathrel{R_1}\apply{g_1}{w}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_1$ is a sequence in $G_1$ and
$u_1(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_1(n + 1) = \apply{g_1}{u_1(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
Show that for all $V$ such that
$V$ is open in $\reals$ with respect to $\standardTopologyR$ and
$y\in V$
there exists $W$ such that
$W$ is open in $\productFamily{E}$ with respect to $P_B$ and
$x\in W$ and
$\img{r}{W}\subseteq V$.
\begin{subproof}
Fix $V$ such that
$V$ is open in $\reals$ with respect to $\standardTopologyR$ and
$y\in V$.
Let $d = \standardMetricR$.
$\metricTopology{d}{\reals} = \standardTopologyR$ by \cref{standard_metric_topology}.
$V\subseteq\reals$ by \cref{open_in,topology_on,subseteq,pow_iff,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$d$ is a metric on $\reals$ by \cref{standard_metric_is_metric}.
Take $\epsilon\in\reals$ such that
$0 < \epsilon$ and
$\metricBall{d}{\reals}{y}{\epsilon}\subseteq V$
by \cref{standard_metric_topology,metric_open_iff,neighborhood}.
Take $N\in\naturalsPlus$ such that
$0 < 1 / N$ and
$1 / N < \epsilon$
by \cref{real_small_reciprocal}.
$u_1(N)\in G_1$ by \cref{sequence_in,funs_type_apply}.
Take $m_0,J_0$ such that
$u_1(N) = (m_0,J_0)$ and
$m_0\in\naturalsPlus$ and
$J_0\in K_1$
by \cref{subseteq,times_elem_is_tuple}.
Take $p_0,q_0$ such that
$p_0\in\reals$ and
$q_0\in\reals$ and
$J_0 = \intervalclosed{p_0}{q_0}$ and
$p_0 \leq q_0$
by \cref{subseteq}.
$\fst{u_1(N)} = m_0$ and $\snd{u_1(N)} = J_0$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$m_0 = N$ by \cref{space_filling_retained_third_state_orbit_index,subseteq}.
$\snd{u_1(N)} = \intervalclosed{p_0}{q_0}$ by \cref{subseteq}.
$q_0 - p_0 \leq 1 / N$ by \cref{space_filling_retained_third_state_orbit_width_bound,subseteq}.
$y\in\intervalclosed{p_0}{q_0}$ by \cref{subseteq}.
We have $x$ is a function and $\dom{x} = \dom{E}$ by \cref{indexed_product,funs_elim}.
Let $a = \restrl{x}{\initialSegment{N}}$.
$a$ is a function by \cref{restrl_of_function_is_function}.
$\dom{a} = \dom{x}\inter\initialSegment{N}$ by \cref{dom_of_restrl_eq_inter}.
$\dom{x} = \naturalsPlus$ by \cref{subseteq}.
$\initialSegment{N}\subseteq\dom{x}$ by \cref{initial_segment_naturalsplus,subseteq}.
$\dom{a} = \initialSegment{N}$ by \cref{inter_absorb_supseteq_left}.
$a\in\funs{\initialSegment{N}}{D}$
by \cref{subseteq,initial_segment_naturalsplus,indexed_product,function_apply_intro,restrl_of_function_apply,funs_intro}.
Let $W = \{z\in\productFamily{E} \mid \text{for all $i\in\dom{a}$ we have $z(i) = a(i)$}\}$.
$W$ is the binary prefix cylinder at $a$ in $E$ by \cref{space_filling_binary_prefix_cylinder}.
$W$ is open in $\productFamily{E}$ with respect to $P_B$
by \cref{space_filling_binary_prefix_cylinder_open}.
$x\in W$ by \cref{subseteq,restrl_of_function_apply}.
Show that for all $u$ such that $u\in\img{r}{W}$ we have $u\in V$.
\begin{subproof}
Fix $u$ such that $u\in\img{r}{W}$.
Take $z\in\dom{r}\inter W$ such that $u = r(z)$ by \cref{img_of_function_elim}.
$z\in W$ by \cref{inter_elim_right}.
$z\in\productFamily{E}$ and
for all $i\in\dom{a}$ we have $z(i) = a(i)$ by \cref{subseteq}.
For all $i\in\initialSegment{N}$ we have $z(i) = x(i)$
by \cref{subseteq,restrl_of_function_apply}.
$u$ is a retained-third code point of $z$ in $I$ and $E$ by \cref{subseteq}.
Take $K_2,G_2,R_2,g_2,u_2$ such that
$K_2 = \{J\in\pow{I} \mid \text{there exist $a_2,b_2\in\reals$ such that
$J = \intervalclosed{a_2}{b_2}$ and
$a_2 \leq b_2$}\}$ and
$G_2 = \naturalsPlus\times K_2$ and
$R_2 = \{p\in G_2\times G_2 \mid \text{there exist $n,J,H,a_2,b_2,d_2$ such that
$n\in\naturalsPlus$ and
$\fst{p} = (n,J)$ and
$\snd{p} = (n + 1,H)$ and
$d_2 = z(n)$ and
$a_2\in\reals$ and
$b_2\in\reals$ and
$a_2 \leq b_2$ and
$J = \intervalclosed{a_2}{b_2}$ and
$H\subseteq J$ and
$(d_2,H)\in\{(0,\intervalclosed{a_2}{(a_2 + a_2 + b_2) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_2 + b_2 + b_2) / (1 + 1 + 1)}{b_2})\}$}\}$ and
$g_2$ is a retained-third state selector on $G_2$ and $R_2$ and
$u_2$ is a retained-third state orbit of $g_2$ on $G_2$ from $I$ and
for all $n\in\naturalsPlus$ we have $u\in\snd{u_2(n)}$
by \cref{space_filling_retained_third_code_point}.
We have $g_2\in\funs{G_2}{G_2}$ and
for all $w\in G_2$ we have $w\mathrel{R_2}\apply{g_2}{w}$
by \cref{space_filling_retained_third_state_selector_on}.
$u_2$ is a sequence in $G_2$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{space_filling_retained_third_state_orbit_from}.
$K_2 = K_1$ by \cref{subseteq_antisymmetric,subseteq}.
$G_2 = G_1$ by \cref{subseteq}.
$g_2\in\funs{G_1}{G_1}$ by \cref{subseteq}.
$u_2$ is a sequence in $G_1$ and
$u_2(1) = (1,I)$ and
for all $n\in\naturalsPlus$ we have $u_2(n + 1) = \apply{g_2}{u_2(n)}$
by \cref{subseteq}.
Let $B_1 = \{m\in\naturalsPlus \mid \fst{u_1(m)} = m\}$.
$B_1\subseteq\naturalsPlus$ by \cref{subseteq}.
$1\in B_1$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $m\in B_1$ we have $m + 1\in B_1$.
\begin{subproof}
Follows by \cref{sequence_in,funs_type_apply,relation,subseteq,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
For all $m\in\naturalsPlus$ we have $m\in B_1$ by \cref{real_naturals_induction}.
Let $B_2 = \{m\in\naturalsPlus \mid \fst{u_2(m)} = m\}$.
$B_2\subseteq\naturalsPlus$ by \cref{subseteq}.
$1\in B_2$ by \cref{real_one_in_naturals,pair_eq_iff,fst_eq,subseteq}.
Show that for all $m\in B_2$ we have $m + 1\in B_2$.
\begin{subproof}
Follows by \cref{sequence_in,funs_type_apply,relation,subseteq,fst_eq,snd_eq,pair_eq_iff,real_add_eq_subst,real_naturals_closed_succ}.
\end{subproof}
For all $m\in\naturalsPlus$ we have $m\in B_2$ by \cref{real_naturals_induction}.
For all $n\in\naturalsPlus$ we have $\fst{u_1(n)} = n$ by \cref{subseteq}.
For all $n\in\naturalsPlus$ we have $\fst{u_2(n)} = n$ by \cref{subseteq}.
Let $A_0 = \{n\in\naturalsPlus \mid \text{if $n \leq N$ then $\snd{u_1(n)} = \snd{u_2(n)}$}\}$.
$A_0\subseteq\naturalsPlus$ by \cref{subseteq}.
Show that if $1 \leq N$ then $\snd{u_1(1)} = \snd{u_2(1)}$.
\begin{subproof}
Follows by \cref{subseteq,snd_eq,pair_eq_iff}.
\end{subproof}
$1\in A_0$ by \cref{real_one_in_naturals,subseteq}.
Show that for all $n\in A_0$ we have $n + 1\in A_0$.
\begin{subproof}
Fix $n\in A_0$.
$n\in\naturalsPlus$ by \cref{subseteq}.
Show that if $n + 1 \leq N$ then $\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$.
\begin{subproof}
Assume $n + 1 \leq N$.
$n < n + 1$ by \cref{real_naturals_lt_succ_local}.
$n \leq n + 1$ by \cref{real_lt_imp_leq}.
$n\in\reals$ and $N\in\reals$
by \cref{real_naturals_subset_reals,subseteq}.
$1\in\reals$ by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq}.
$n + 1\in\reals$ by \cref{real_add_closed}.
$n \leq N$ by \cref{real_leq_trans}.
$\snd{u_1(n)} = \snd{u_2(n)}$ by \cref{subseteq}.
$n\in\initialSegment{N}$ and $n + 1\in\initialSegment{N}$
by \cref{initial_segment_naturalsplus,real_naturals_closed_succ}.
$z(n) = x(n)$ by \cref{subseteq}.
$x(n)\in E(n)$ and $z(n)\in E(n)$ by \cref{indexed_product,subseteq}.
$E(n) = D$ by \cref{function_apply_intro,subseteq}.
$x(n)\in D$ and $z(n)\in D$ by \cref{subseteq}.
$u_1(n)\in G_1$ and $u_2(n)\in G_1$ and
$u_1(n + 1)\in G_1$ and $u_2(n + 1)\in G_1$
by \cref{funs_type_apply,real_naturals_closed_succ,sequence_in}.
$u_1(n)\mathrel{R_1}\apply{g_1}{u_1(n)}$ and
$u_2(n)\mathrel{R_2}\apply{g_2}{u_2(n)}$ by \cref{subseteq}.
$u_1(n)\mathrel{R_1}u_1(n + 1)$ and
$u_2(n)\mathrel{R_2}u_2(n + 1)$ by \cref{subseteq}.
$(u_1(n),u_1(n + 1))\in R_1$ and
$(u_2(n),u_2(n + 1))\in R_2$ by \cref{relation}.
Take $k_1,J_1,H_1,a_1,b_1,d_1$ such that
$(u_1(n),u_1(n + 1))\in G_1\times G_1$ and
$k_1\in\naturalsPlus$ and
$\fst{(u_1(n),u_1(n + 1))} = (k_1,J_1)$ and
$\snd{(u_1(n),u_1(n + 1))} = (k_1 + 1,H_1)$ and
$d_1 = x(k_1)$ and
$a_1\in\reals$ and
$b_1\in\reals$ and
$a_1 \leq b_1$ and
$J_1 = \intervalclosed{a_1}{b_1}$ and
$H_1\subseteq J_1$ and
$(d_1,H_1)\in\{(0,\intervalclosed{a_1}{(a_1 + a_1 + b_1) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_1 + b_1 + b_1) / (1 + 1 + 1)}{b_1})\}$
by \cref{subseteq}.
Take $k_3,J_3,H_3,a_3,b_3,d_3$ such that
$(u_2(n),u_2(n + 1))\in G_1\times G_1$ and
$k_3\in\naturalsPlus$ and
$\fst{(u_2(n),u_2(n + 1))} = (k_3,J_3)$ and
$\snd{(u_2(n),u_2(n + 1))} = (k_3 + 1,H_3)$ and
$d_3 = z(k_3)$ and
$a_3\in\reals$ and
$b_3\in\reals$ and
$a_3 \leq b_3$ and
$J_3 = \intervalclosed{a_3}{b_3}$ and
$H_3\subseteq J_3$ and
$(d_3,H_3)\in\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$
by \cref{subseteq}.
We have $\fst{u_1(n)} = k_1$ and $\fst{u_2(n)} = k_3$ and
$\snd{u_1(n)} = J_1$ and $\snd{u_2(n)} = J_3$ and
$\snd{u_1(n + 1)} = H_1$ and $\snd{u_2(n + 1)} = H_3$
by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
$\fst{u_1(n)} = n$ and $\fst{u_2(n)} = n$ by \cref{subseteq}.
$k_1 = n$ and $k_3 = n$ by \cref{subseteq}.
$d_1 = x(n)$ and $d_3 = z(n)$ by \cref{subseteq}.
$d_3 = d_1$ by \cref{subseteq}.
$J_1 = J_3$ by \cref{subseteq}.
$a_1 = a_3$ and $b_1 = b_3$
by \cref{space_filling_intervalclosed_endpoints_unique,subseteq}.
$d_1\in D$ by \cref{subseteq}.
$(d_3,H_1)\in\{(0,\intervalclosed{a_3}{(a_3 + a_3 + b_3) / (1 + 1 + 1)}),
(1,\intervalclosed{(a_3 + b_3 + b_3) / (1 + 1 + 1)}{b_3})\}$
by \cref{subseteq,real_add_eq_subst}.
$H_1 = H_3$ by \cref{space_filling_retained_third_child_choice_unique,subseteq,real_add_eq_subst}.
$\snd{u_1(n + 1)} = \snd{u_2(n + 1)}$ by \cref{subseteq}.
\end{subproof}
$n + 1\in A_0$ by \cref{real_naturals_closed_succ,subseteq}.
\end{subproof}
For all $n\in\naturalsPlus$ we have $n\in A_0$ by \cref{real_naturals_induction}.
$N\in A_0$ by \cref{subseteq}.
$\snd{u_1(N)} = \snd{u_2(N)}$ by \cref{subseteq}.
$\snd{u_2(N)} = J_0$ by \cref{snd_eq,pair_eq_iff,subseteq}.
$u\in\intervalclosed{p_0}{q_0}$ by \cref{subseteq}.
$y\in\reals$ and $u\in\reals$ by \cref{intervalclosed,subseteq}.
$u < y$ or $u = y$ or $y < u$ by \cref{real_lt_trichotomy}.
\begin{byCase}
\caseOf{$u < y$.}
$u \leq y$ by \cref{real_lt_imp_leq}.
$y - u \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
$y - u\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
$q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$y - u \leq 1 / N$ by \cref{real_leq_trans}.
$y - u < \epsilon$ by \cref{real_leq_lt_trans}.
$d((u,y)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
$u\in\metricBall{d}{\reals}{y}{\epsilon}$
by \cref{metric_symmetric,metric_on,real_lt_subst_left,metric_ball}.
$u\in V$ by \cref{subseteq}.
\caseOf{$u = y$.}
$d((y,u)) = 0$ by \cref{standard_metric_is_metric,metric_on,metric_zero_characterization}.
$u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{real_lt_subst_left,metric_ball}.
$u\in V$ by \cref{subseteq}.
\caseOf{$y < u$.}
$y \leq u$ by \cref{real_lt_imp_leq}.
$u - y \leq q_0 - p_0$ by \cref{space_filling_interval_width_bounds_difference}.
$u - y\in\reals$ by \cref{real_sub,real_add_inverse,real_add_closed}.
$q_0 - p_0\in\reals$ and $1 / N\in\reals$
by \cref{real_sub,real_add_inverse,real_add_closed,naturalsplus_reciprocal_real}.
$u - y \leq 1 / N$ by \cref{real_leq_trans}.
$u - y < \epsilon$ by \cref{real_leq_lt_trans}.
$d((y,u)) < \epsilon$ by \cref{space_filling_standard_metric_lt_from_ordered_difference_local}.
$u\in\metricBall{d}{\reals}{y}{\epsilon}$ by \cref{metric_ball}.
$u\in V$ by \cref{subseteq}.
\end{byCase}
\end{subproof}
There exists $W_0$ such that
$W_0$ is open in $\productFamily{E}$ with respect to $P_B$ and
$x\in W_0$ and
$\img{r}{W_0}\subseteq V$ by \cref{subseteq}.
\end{subproof}
$r$ is continuous at $x$ from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$
by \cref{continuous_at_open,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
\end{subproof}
$r$ is continuous from $\productFamily{E}$ to $\reals$ with respect to $P_B$ and $\standardTopologyR$
by \cref{continuous_at_implies_continuous,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
We have $\img{r}{\productFamily{E}}\subseteq I$ by \cref{img_subseteq_ran,funs_ran,subseteq_transitive}.
Therefore $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$
by \cref{continuous_subspace_range}.
\end{proof}
$e$ is an even binary extractor on $E$ iff $e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{E}}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ we have $\apply{\apply{e}{\fst{w}}}{\snd{w}} = \apply{\fst{w}}{(\snd{w} + \snd{w})}$.
LaTeX source
\begin{definition}
\label{space_filling_even_binary_extractor_on}
$e$ is an even binary extractor on $E$ iff
$e\in\funs{\productFamily{E}}{\productFamily{E}}$ and
for all $w\in\productFamily{E}\times\naturalsPlus$ we have
$\apply{\apply{e}{\fst{w}}}{\snd{w}} = \apply{\fst{w}}{(\snd{w} + \snd{w})}$.
\end{definition}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Then there exists $e$ such that $e$ is an even binary extractor on $E$ and $e$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_even_binary_extractor}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Then there exists $e$ such that
$e$ is an even binary extractor on $E$ and
$e$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ and $U$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ and $\dom{U} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ and $U(n) = T_D$ by Proposition 346.
$T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
$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 41, Axiom 42, Definition 1, Proposition 462.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 231.
$D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 19.
$D$ is a subspace of $I$ with respect to $T_I$ by Definition 147.
$T_D$ is a topology on $D$ by Definition 1, Lemma 131.
$\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
$P_B$ is a topology on $\productFamily{E}$ by Definition 156.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times}\productFamily{E} \mid \text{for all $n\in\naturalsPlus$ we have $\apply{\snd{w}}{n} = \apply{\fst{w}}{(n + n)}$}\}$.
$Q$ is a relation by Definition 1, Definition 12, Proposition 121.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \snd{p} = x(\fst{p} + \fst{p})\}$.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x(n + n)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Definition 1, Definition 167, Lemma 433, Proposition 346.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $d$ such that $n\mathrel{R} d$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115.
Take $y$ such that $y$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\mathrel{R}\apply{y}{n}$ by Axiom 54.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{D}$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 167, Lemma 433, Proposition 346, Proposition 358.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{E}}{\unions{\ran{E}}}$ by Axiom 4, Definition 1, Proposition 16, Proposition 209, Proposition 346, Proposition 348, Proposition 358, Proposition 361.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $x\mathrel{Q} y$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 167, Proposition 115.
Take $e$ such that $e$ is a function on $\productFamily{E}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $x\mathrel{Q}\apply{e}{x}$ by Axiom 54.
$e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{E}}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
$e$ is an even binary extractor on $E$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 357, Proposition 121.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $\piIndex{E}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} e$ is continuous from $\productFamily{E}$ to $\apply{E}{n}$ with respect to $P_B$ and $\apply{U}{n}$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$.
Let $g = \piIndex{E}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} e$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{E(n)}$ by Lemma 191, Proposition 382.
$n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1, Lemma 433.
$\piIndex{E}{(n + n)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{E(n + n)}$ by Definition 1, Lemma 191.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $g(x) = \apply{\piIndex{E}{(n + n)}}{x}$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 170, Lemma 191, Proposition 346, Proposition 356, Proposition 359, Proposition 361, Proposition 363, Proposition 373.
$g = \piIndex{E}{(n + n)}$ by Lemma 438.
$\piIndex{E}{(n + n)}$ is continuous from $\productFamily{E}$ to $E(n + n)$ with respect to $P_B$ and $U(n + n)$ by Definition 1, Lemma 366.
$g$ is continuous from $\productFamily{E}$ to $E(n)$ with respect to $P_B$ and $U(n)$ by Definition 1, Proposition 346.
$e$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$ by Axiom 42, Definition 1, Lemma 193.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$ and $U$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ and $\dom{U} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ and $U(n) = T_D$ by \cref{function_apply_intro}.
$T_I$ is a topology on $I$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
$0\in I$ and $1\in I$ by \cref{intervalclosed,real_lt_imp_leq}.
$D\subseteq I$ by \cref{upair_iff,subseteq}.
$D$ is a subspace of $I$ with respect to $T_I$ by \cref{subspace_of}.
$T_D$ is a topology on $D$ by \cref{subseteq,subspace_topology_is_topology}.
$\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$
by \cref{space_filling_binary_product_compact_hausdorff}.
$P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
Let $Q = \{w\in\productFamily{E}\times\productFamily{E} \mid
\text{for all $n\in\naturalsPlus$ we have $\apply{\snd{w}}{n} = \apply{\fst{w}}{(n + n)}$}\}$.
$Q$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
Show that for all $x\in\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$.
\begin{subproof}
Fix $x\in\productFamily{E}$.
Let $R = \{p\in\naturalsPlus\times D \mid \snd{p} = x(\fst{p} + \fst{p})\}$.
$R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
For all $n\in\naturalsPlus$ we have $x(n + n)\in D$
by \cref{naturalsplus_add_closed,indexed_product,function_apply_intro,subseteq}.
For all $n\in\naturalsPlus$ there exists $d$ such that $n\mathrel{R} d$
by \cref{relation,subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
Take $y$ such that
$y$ is a function on $\naturalsPlus$ and
for all $n\in\naturalsPlus$ we have $n\mathrel{R}\apply{y}{n}$
by \cref{axiom_of_choice}.
$y\in\funs{\naturalsPlus}{D}$
by \cref{axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff,indexed_product,naturalsplus_add_closed,function_apply_intro,funs_intro}.
$y\in\funs{\dom{E}}{\unions{\ran{E}}}$
by \cref{function_apply_intro,funs_type_apply,subseteq,function_apply_elim,ran_intro,unions_iff,upair_intro_left,funs_intro}.
$y\in\productFamily{E}$ and $x\mathrel{Q} y$
by \cref{indexed_product,subseteq,times_tuple_intro,axiom_of_choice,fst_eq,snd_eq,pair_eq_iff,relation}.
\end{subproof}
Take $e$ such that
$e$ is a function on $\productFamily{E}$ and
for all $x\in\productFamily{E}$ we have $x\mathrel{Q}\apply{e}{x}$
by \cref{axiom_of_choice}.
$e\in\funs{\productFamily{E}}{\productFamily{E}}$
by \cref{axiom_of_choice,funs_intro,relation,subseteq,times_tuple_elim}.
$e$ is an even binary extractor on $E$
by \cref{space_filling_even_binary_extractor_on,times_elem_is_tuple,fst_eq,snd_eq,pair_eq_iff,axiom_of_choice,relation,subseteq}.
Show that for all $n\in\dom{E}$ we have $\piIndex{E}{n}\circ e$ is continuous from $\productFamily{E}$ to $\apply{E}{n}$ with respect to $P_B$ and $\apply{U}{n}$.
\begin{subproof}
Fix $n\in\dom{E}$.
Let $g = \piIndex{E}{n}\circ e$.
$g\in\funs{\productFamily{E}}{E(n)}$ by \cref{projection_map_indexed_function,funs_circ}.
$n + n\in\naturalsPlus$ by \cref{naturalsplus_add_closed,subseteq}.
$\piIndex{E}{(n + n)}\in\funs{\productFamily{E}}{E(n + n)}$ by \cref{projection_map_indexed_function,subseteq}.
For all $x\in\productFamily{E}$ we have $g(x) = \apply{\piIndex{E}{(n + n)}}{x}$
by \cref{funs_elim,funs_is_function,funs_type_apply,projection_map_indexed_function,funs_ran,circ_apply,projection_map_indexed,function_apply_intro,axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
$g = \piIndex{E}{(n + n)}$ by \cref{functions_eq_iff}.
$\piIndex{E}{(n + n)}$ is continuous from $\productFamily{E}$ to $E(n + n)$
with respect to $P_B$ and $U(n + n)$ by \cref{projection_map_indexed_continuous,subseteq}.
$g$ is continuous from $\productFamily{E}$ to $E(n)$ with respect to $P_B$ and $U(n)$
by \cref{function_apply_intro,subseteq}.
\end{subproof}
$e$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$
by \cref{continuous_map_into_indexed_product,real_one_in_naturals,subseteq}.
\end{proof}
$o$ is a successor-of-even binary extractor on $E$ iff $o\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{E}}$ and for all $w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times}\naturalsPlus$ we have $\apply{\apply{o}{\fst{w}}}{\snd{w}} = \apply{\fst{w}}{((\snd{w} + \snd{w}) + 1)}$.
LaTeX source
\begin{definition}
\label{space_filling_odd_binary_extractor_on}
$o$ is a successor-of-even binary extractor on $E$ iff
$o\in\funs{\productFamily{E}}{\productFamily{E}}$ and
for all $w\in\productFamily{E}\times\naturalsPlus$ we have
$\apply{\apply{o}{\fst{w}}}{\snd{w}} = \apply{\fst{w}}{((\snd{w} + \snd{w}) + 1)}$.
\end{definition}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Then there exists $o$ such that $o$ is a successor-of-even binary extractor on $E$ and $o$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$.
LaTeX source
\begin{lemma}
\label{space_filling_odd_binary_extractor}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Then there exists $o$ such that
$o$ is a successor-of-even binary extractor on $E$ and
$o$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ and $U$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ and $\dom{U} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ and $U(n) = T_D$ by Proposition 346.
$T_I$ is a topology on $I$ by Definition 1, Definition 75, Definition 118, Definition 147, Lemma 76, Lemma 93, Lemma 131.
$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 41, Axiom 42, Definition 1, Proposition 462.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 75, Lemma 231.
$D\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 19.
$D$ is a subspace of $I$ with respect to $T_I$ by Definition 147.
$T_D$ is a topology on $D$ by Definition 1, Lemma 131.
$\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
$P_B$ is a topology on $\productFamily{E}$ by Definition 156.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times}\productFamily{E} \mid \text{for all $n\in\naturalsPlus$ we have $\apply{\snd{w}}{n} = \apply{\fst{w}}{((n + n) + 1)}$}\}$.
$Q$ is a relation by Definition 1, Definition 12, Proposition 121.
Claim: For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$.
Fix $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Let $R = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \snd{p} = x((\fst{p} + \fst{p}) + 1)\}$.
$R$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x((n + n) + 1)\class{latex-symbol-tip latex-symbol-id-in}{\in} D$ by Axiom 45, Definition 1, Definition 167, Lemma 433, Proposition 346.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $d$ such that $n\mathrel{R} d$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115.
Take $y$ such that $y$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\mathrel{R}\apply{y}{n}$ by Axiom 54.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{D}$ by Axiom 6, Axiom 10, Axiom 11, Axiom 45, Axiom 54, Definition 1, Definition 12, Definition 167, Lemma 433, Proposition 346, Proposition 358.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{E}}{\unions{\ran{E}}}$ by Axiom 4, Definition 1, Proposition 16, Proposition 209, Proposition 346, Proposition 348, Proposition 358, Proposition 361.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ and $x\mathrel{Q} y$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 167, Proposition 115.
Take $o$ such that $o$ is a function on $\productFamily{E}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $x\mathrel{Q}\apply{o}{x}$ by Axiom 54.
$o\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{E}}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
$o$ is a successor-of-even binary extractor on $E$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 358, Proposition 121.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $\piIndex{E}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} o$ is continuous from $\productFamily{E}$ to $\apply{E}{n}$ with respect to $P_B$ and $\apply{U}{n}$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$.
Let $g = \piIndex{E}{n}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} o$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{E(n)}$ by Lemma 191, Proposition 382.
$n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Definition 1, Lemma 433.
$(n + n) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
$\piIndex{E}{((n + n) + 1)}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{E((n + n) + 1)}$ by Definition 1, Lemma 191.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $g(x) = \apply{\piIndex{E}{((n + n) + 1)}}{x}$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 170, Lemma 191, Proposition 346, Proposition 356, Proposition 359, Proposition 361, Proposition 363, Proposition 373.
$g = \piIndex{E}{((n + n) + 1)}$ by Lemma 438.
$\piIndex{E}{((n + n) + 1)}$ is continuous from $\productFamily{E}$ to $E((n + n) + 1)$ with respect to $P_B$ and $U((n + n) + 1)$ by Definition 1, Lemma 366.
$g$ is continuous from $\productFamily{E}$ to $E(n)$ with respect to $P_B$ and $U(n)$ by Definition 1, Proposition 346.
$o$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$ by Axiom 42, Definition 1, Lemma 193.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$ and $U$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ and $\dom{U} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ and $U(n) = T_D$ by \cref{function_apply_intro}.
$T_I$ is a topology on $I$
by \cref{intervalclosed,subseteq,standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals,subspace_of,subspace_topology_is_topology}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
$0\in I$ and $1\in I$ by \cref{intervalclosed,real_lt_imp_leq}.
$D\subseteq I$ by \cref{upair_iff,subseteq}.
$D$ is a subspace of $I$ with respect to $T_I$ by \cref{subspace_of}.
$T_D$ is a topology on $D$ by \cref{subseteq,subspace_topology_is_topology}.
$\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$
by \cref{space_filling_binary_product_compact_hausdorff}.
$P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
Let $Q = \{w\in\productFamily{E}\times\productFamily{E} \mid
\text{for all $n\in\naturalsPlus$ we have $\apply{\snd{w}}{n} = \apply{\fst{w}}{((n + n) + 1)}$}\}$.
$Q$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
Show that for all $x\in\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$.
\begin{subproof}
Fix $x\in\productFamily{E}$.
Let $R = \{p\in\naturalsPlus\times D \mid \snd{p} = x((\fst{p} + \fst{p}) + 1)\}$.
$R$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
For all $n\in\naturalsPlus$ we have $x((n + n) + 1)\in D$
by \cref{naturalsplus_add_closed,real_naturals_closed_succ,indexed_product,function_apply_intro,subseteq}.
For all $n\in\naturalsPlus$ there exists $d$ such that $n\mathrel{R} d$
by \cref{relation,subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff}.
Take $y$ such that
$y$ is a function on $\naturalsPlus$ and
for all $n\in\naturalsPlus$ we have $n\mathrel{R}\apply{y}{n}$
by \cref{axiom_of_choice}.
$y\in\funs{\naturalsPlus}{D}$
by \cref{axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff,indexed_product,naturalsplus_add_closed,real_naturals_closed_succ,function_apply_intro,funs_intro}.
$y\in\funs{\dom{E}}{\unions{\ran{E}}}$
by \cref{function_apply_intro,funs_type_apply,subseteq,function_apply_elim,ran_intro,unions_iff,upair_intro_left,funs_intro}.
$y\in\productFamily{E}$ and $x\mathrel{Q} y$
by \cref{indexed_product,subseteq,times_tuple_intro,axiom_of_choice,fst_eq,snd_eq,pair_eq_iff,relation}.
\end{subproof}
Take $o$ such that
$o$ is a function on $\productFamily{E}$ and
for all $x\in\productFamily{E}$ we have $x\mathrel{Q}\apply{o}{x}$
by \cref{axiom_of_choice}.
$o\in\funs{\productFamily{E}}{\productFamily{E}}$
by \cref{axiom_of_choice,funs_intro,relation,subseteq,times_tuple_elim}.
$o$ is a successor-of-even binary extractor on $E$
by \cref{space_filling_odd_binary_extractor_on,times_elem_is_tuple,fst_eq,snd_eq,pair_eq_iff,axiom_of_choice,relation,subseteq}.
Show that for all $n\in\dom{E}$ we have $\piIndex{E}{n}\circ o$ is continuous from $\productFamily{E}$ to $\apply{E}{n}$ with respect to $P_B$ and $\apply{U}{n}$.
\begin{subproof}
Fix $n\in\dom{E}$.
Let $g = \piIndex{E}{n}\circ o$.
$g\in\funs{\productFamily{E}}{E(n)}$ by \cref{projection_map_indexed_function,funs_circ}.
$n + n\in\naturalsPlus$ by \cref{naturalsplus_add_closed,subseteq}.
$(n + n) + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
$\piIndex{E}{((n + n) + 1)}\in\funs{\productFamily{E}}{E((n + n) + 1)}$
by \cref{projection_map_indexed_function,subseteq}.
For all $x\in\productFamily{E}$ we have $g(x) = \apply{\piIndex{E}{((n + n) + 1)}}{x}$
by \cref{funs_elim,funs_is_function,funs_type_apply,projection_map_indexed_function,funs_ran,circ_apply,projection_map_indexed,function_apply_intro,axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
$g = \piIndex{E}{((n + n) + 1)}$ by \cref{functions_eq_iff}.
$\piIndex{E}{((n + n) + 1)}$ is continuous from $\productFamily{E}$ to $E((n + n) + 1)$
with respect to $P_B$ and $U((n + n) + 1)$ by \cref{projection_map_indexed_continuous,subseteq}.
$g$ is continuous from $\productFamily{E}$ to $E(n)$ with respect to $P_B$ and $U(n)$
by \cref{function_apply_intro,subseteq}.
\end{subproof}
$o$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$
by \cref{continuous_map_into_indexed_product,real_one_in_naturals,subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Assume $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Assume $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Then there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x(n + n) = x_1(n)$ and $x((n + n) + 1) = x_2(n)$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_interleaving}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Assume $x_1\in\productFamily{E}$.
Assume $x_2\in\productFamily{E}$.
Then there exists $x\in\productFamily{E}$ such that
for all $n\in\naturalsPlus$ we have
$x(n + n) = x_1(n)$ and
$x((n + n) + 1) = x_2(n)$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{E} = \naturalsPlus$ by Definition 55.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $E(n) = D$ by Proposition 346.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \text{$\fst{p} = 1$ and $\snd{p} = 0$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \text{there exists $k\in\naturalsPlus$ such that $\fst{p} = k + k$ and $\snd{p} = x_1(k)$}\}$.
Let $R_3 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D \mid \text{there exists $k\in\naturalsPlus$ such that $\fst{p} = (k + k) + 1$ and $\snd{p} = x_2(k)$}\}$.
Let $R = R_1\union(R_2\union R_3)$.
$R_1$ is a relation and $R_2$ is a relation and $R_3$ is a relation by Definition 1, Definition 12, Proposition 121.
$R$ is a relation by Axiom 5, Definition 1, Definition 12.
$R\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\naturalsPlus\class{latex-symbol-tip latex-symbol-id-times}{\times} D$ by Axiom 5, Definition 1.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n = 1$ or there exists $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $n = k + k$ or $n = (k + k) + 1$ by Lemma 809.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ there exists $d$ such that $n\mathrel{R} d$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Definition 167, Proposition 16, Proposition 38, Proposition 39, Proposition 115, Proposition 346.
Take $x$ such that $x$ is a function on $\naturalsPlus$ and for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $n\mathrel{R}\apply{x}{n}$ by Axiom 54.
$x$ is a function and $\dom{x} = \naturalsPlus$ by Axiom 54.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\naturalsPlus}{D}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{E}$ we have $x(n)\class{latex-symbol-tip latex-symbol-id-in}{\in} E(n)$ by Definition 1, Proposition 346, Proposition 361.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\dom{E}}{\unions{\ran{E}}}$ by Axiom 4, Definition 1, Proposition 16, Proposition 209, Proposition 348, Proposition 358.
$x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ by Definition 1, Definition 167.
Claim: For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x(n + n) = x_1(n)$ and $x((n + n) + 1) = x_2(n)$.
Fix $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$.
$n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Lemma 433.
$(n + n) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ by Axiom 45.
Claim: $x(n + n) = x_1(n)$.
We have $((n + n),x(n + n))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 54, Definition 12.
Suppose not.
We have $\fst{((n + n),x(n + n))} = 1$ and $\snd{((n + n),x(n + n))} = 0$ by Definition 1.
$n + n = 1$ by Axiom 6, Axiom 10, Axiom 11.
$1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n$ by Axiom 43.
$n < n + 1$ by Lemma 399.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1.
$1 < n + 1$ by Lemma 266.
$n + 1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + n$ by Lemma 760.
$1 < n + n$ by Lemma 544.
$1 < 1$ by Definition 1, Lemma 83.
Contradiction by Axiom 39.
$((n + n),x(n + n))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ or $((n + n),x(n + n))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_3$ by Axiom 5.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $\fst{((n + n),x(n + n))} = k + k$ and $\snd{((n + n),x(n + n))} = x_1(k)$ by Definition 1.
$n + n = k + k$ and $x(n + n) = x_1(k)$ by Axiom 6, Axiom 10, Axiom 11.
$n = k$ by Lemma 811.
$x(n + n) = x_1(n)$ by Definition 1.
Suppose not.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $\fst{((n + n),x(n + n))} = (k + k) + 1$ and $\snd{((n + n),x(n + n))} = x_2(k)$ by Definition 1.
$n + n = (k + k) + 1$ by Axiom 6, Axiom 10, Axiom 11.
$n + n \class{latex-symbol-tip latex-symbol-id-neq}{\neq} (k + k) + 1$ by Lemma 812.
Contradiction by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$((n + n),x(n + n))\in R_2$.}
Take $k\in\naturalsPlus$ such that
$\fst{((n + n),x(n + n))} = k + k$ and
$\snd{((n + n),x(n + n))} = x_1(k)$
by \cref{subseteq}.
$n + n = k + k$ and $x(n + n) = x_1(k)$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n = k$ by \cref{space_filling_double_eq_halves_eq}.
$x(n + n) = x_1(n)$ by \cref{subseteq}.
\caseOf{$((n + n),x(n + n))\in R_3$.}
Suppose not.
Take $k\in\naturalsPlus$ such that
$\fst{((n + n),x(n + n))} = (k + k) + 1$ and
$\snd{((n + n),x(n + n))} = x_2(k)$
by \cref{subseteq}.
$n + n = (k + k) + 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n \neq (k + k) + 1$ by \cref{space_filling_double_neq_double_succ}.
Contradiction by \cref{subseteq}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$((n + n),x(n + n))\in R_1$.}
Suppose not.
We have $\fst{((n + n),x(n + n))} = 1$ and
$\snd{((n + n),x(n + n))} = 0$
by \cref{subseteq}.
$n + n = 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$1 \leq n$ by \cref{real_one_leq_naturalsplus}.
$n < n + 1$ by \cref{real_naturals_lt_succ_local}.
$1\in\reals$ and $n\in\reals$ and $n + 1\in\reals$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed}.
$1 < n + 1$ by \cref{real_leq_lt_trans}.
$n + 1 \leq n + n$ by \cref{space_filling_succ_leq_double}.
$1 < n + n$ by \cref{real_lt_leq_trans_local}.
$1 < 1$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$((n + n),x(n + n))\in R_2\union R_3$.}
$((n + n),x(n + n))\in R_2$ or $((n + n),x(n + n))\in R_3$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$((n + n),x(n + n))\in R_2$.}
Take $k\in\naturalsPlus$ such that
$\fst{((n + n),x(n + n))} = k + k$ and
$\snd{((n + n),x(n + n))} = x_1(k)$
by \cref{subseteq}.
$n + n = k + k$ and $x(n + n) = x_1(k)$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n = k$ by \cref{space_filling_double_eq_halves_eq}.
$x(n + n) = x_1(n)$ by \cref{subseteq}.
\caseOf{$((n + n),x(n + n))\in R_3$.}
Suppose not.
Take $k\in\naturalsPlus$ such that
$\fst{((n + n),x(n + n))} = (k + k) + 1$ and
$\snd{((n + n),x(n + n))} = x_2(k)$
by \cref{subseteq}.
$n + n = (k + k) + 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n \neq (k + k) + 1$ by \cref{space_filling_double_neq_double_succ}.
Contradiction by \cref{subseteq}.
\end{byCase}
\end{byCase}
Claim: $x((n + n) + 1) = x_2(n)$.
We have $(((n + n) + 1),x((n + n) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R$ by Axiom 54, Definition 12.
Suppose not.
We have $\fst{(((n + n) + 1),x((n + n) + 1))} = 1$ and $\snd{(((n + n) + 1),x((n + n) + 1))} = 0$ by Definition 1.
$(n + n) + 1 = 1$ by Axiom 6, Axiom 10, Axiom 11.
$n + n < (n + n) + 1$ by Lemma 399.
$1 \class{latex-symbol-tip latex-symbol-id-leq}{\leq} n + n$ by Axiom 43.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $(n + n) + 1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1, Lemma 433.
$1 < (n + n) + 1$ by Lemma 266.
$1 < 1$ by Definition 1, Lemma 83.
Contradiction by Axiom 39.
$(((n + n) + 1),x((n + n) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ or $(((n + n) + 1),x((n + n) + 1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_3$ by Axiom 5.
Suppose not.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $\fst{(((n + n) + 1),x((n + n) + 1))} = k + k$ and $\snd{(((n + n) + 1),x((n + n) + 1))} = x_1(k)$ by Definition 1.
$(n + n) + 1 = k + k$ by Axiom 6, Axiom 10, Axiom 11.
$k + k \class{latex-symbol-tip latex-symbol-id-neq}{\neq} (n + n) + 1$ by Lemma 812.
Contradiction by Definition 1.
Take $k\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ such that $\fst{(((n + n) + 1),x((n + n) + 1))} = (k + k) + 1$ and $\snd{(((n + n) + 1),x((n + n) + 1))} = x_2(k)$ by Definition 1.
$(n + n) + 1 = (k + k) + 1$ and $x((n + n) + 1) = x_2(k)$ by Axiom 6, Axiom 10, Axiom 11.
$n + n\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $k + k\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 13, Axiom 41, Axiom 42, Definition 1, Lemma 433.
$n + n = k + k$ by Proposition 438.
$n = k$ by Lemma 811.
$x((n + n) + 1) = x_2(n)$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_2$.}
Suppose not.
Take $k\in\naturalsPlus$ such that
$\fst{(((n + n) + 1),x((n + n) + 1))} = k + k$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = x_1(k)$
by \cref{subseteq}.
$(n + n) + 1 = k + k$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$k + k \neq (n + n) + 1$ by \cref{space_filling_double_neq_double_succ}.
Contradiction by \cref{subseteq}.
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_3$.}
Take $k\in\naturalsPlus$ such that
$\fst{(((n + n) + 1),x((n + n) + 1))} = (k + k) + 1$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = x_2(k)$
by \cref{subseteq}.
$(n + n) + 1 = (k + k) + 1$ and $x((n + n) + 1) = x_2(k)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n\in\reals$ and $k + k\in\reals$ and $1\in\reals$
by \cref{real_naturals_subset_reals,naturalsplus_add_closed,subseteq,real_one_in_naturals,real_add_closed}.
$n + n = k + k$ by \cref{real_add_cancel}.
$n = k$ by \cref{space_filling_double_eq_halves_eq}.
$x((n + n) + 1) = x_2(n)$ by \cref{subseteq}.
\end{byCase}
LaTeX source
\begin{byCase}
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_1$.}
Suppose not.
We have $\fst{(((n + n) + 1),x((n + n) + 1))} = 1$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = 0$
by \cref{subseteq}.
$(n + n) + 1 = 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n < (n + n) + 1$ by \cref{real_naturals_lt_succ_local}.
$1 \leq n + n$ by \cref{real_one_leq_naturalsplus}.
$1\in\reals$ and $n + n\in\reals$ and $(n + n) + 1\in\reals$
by \cref{real_one_in_naturals,real_naturals_subset_reals,naturalsplus_add_closed,subseteq,real_add_closed}.
$1 < (n + n) + 1$ by \cref{real_leq_lt_trans}.
$1 < 1$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_2\union R_3$.}
$(((n + n) + 1),x((n + n) + 1))\in R_2$ or
$(((n + n) + 1),x((n + n) + 1))\in R_3$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_2$.}
Suppose not.
Take $k\in\naturalsPlus$ such that
$\fst{(((n + n) + 1),x((n + n) + 1))} = k + k$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = x_1(k)$
by \cref{subseteq}.
$(n + n) + 1 = k + k$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$k + k \neq (n + n) + 1$ by \cref{space_filling_double_neq_double_succ}.
Contradiction by \cref{subseteq}.
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_3$.}
Take $k\in\naturalsPlus$ such that
$\fst{(((n + n) + 1),x((n + n) + 1))} = (k + k) + 1$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = x_2(k)$
by \cref{subseteq}.
$(n + n) + 1 = (k + k) + 1$ and $x((n + n) + 1) = x_2(k)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n\in\reals$ and $k + k\in\reals$ and $1\in\reals$
by \cref{real_naturals_subset_reals,naturalsplus_add_closed,subseteq,real_one_in_naturals,real_add_closed}.
$n + n = k + k$ by \cref{real_add_cancel}.
$n = k$ by \cref{space_filling_double_eq_halves_eq}.
$x((n + n) + 1) = x_2(n)$ by \cref{subseteq}.
\end{byCase}
\end{byCase}
Therefore $x(n + n) = x_1(n)$ and $x((n + n) + 1) = x_2(n)$ by Definition 1.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{E} = \naturalsPlus$ by \cref{funs}.
For all $n\in\naturalsPlus$ we have $E(n) = D$ by \cref{function_apply_intro}.
Let $R_1 = \{p\in\naturalsPlus\times D \mid \text{$\fst{p} = 1$ and $\snd{p} = 0$}\}$.
Let $R_2 = \{p\in\naturalsPlus\times D \mid \text{there exists $k\in\naturalsPlus$ such that
$\fst{p} = k + k$ and
$\snd{p} = x_1(k)$}\}$.
Let $R_3 = \{p\in\naturalsPlus\times D \mid \text{there exists $k\in\naturalsPlus$ such that
$\fst{p} = (k + k) + 1$ and
$\snd{p} = x_2(k)$}\}$.
Let $R = R_1\union(R_2\union R_3)$.
$R_1$ is a relation and $R_2$ is a relation and $R_3$ is a relation
by \cref{relation,subseteq,times_elem_is_tuple}.
$R$ is a relation by \cref{relation,subseteq,union_iff}.
$R\subseteq\naturalsPlus\times D$ by \cref{subseteq,union_iff}.
For all $n\in\naturalsPlus$ we have $n = 1$ or there exists $k\in\naturalsPlus$ such that
$n = k + k$ or
$n = (k + k) + 1$ by \cref{space_filling_naturalsplus_parity_decomposition}.
For all $n\in\naturalsPlus$ there exists $d$ such that $n\mathrel{R} d$
by \cref{upair_intro_left,indexed_product,function_apply_intro,times_tuple_intro,subseteq,fst_eq,snd_eq,pair_eq_iff,union_intro_left,union_intro_right,relation}.
Take $x$ such that
$x$ is a function on $\naturalsPlus$ and
for all $n\in\naturalsPlus$ we have $n\mathrel{R}\apply{x}{n}$
by \cref{axiom_of_choice}.
$x$ is a function and $\dom{x} = \naturalsPlus$ by \cref{axiom_of_choice}.
$x\in\funs{\naturalsPlus}{D}$ by \cref{axiom_of_choice,relation,subseteq,times_tuple_elim,funs_intro}.
For all $n\in\dom{E}$ we have $x(n)\in E(n)$ by \cref{function_apply_intro,funs_type_apply,subseteq}.
$x\in\funs{\dom{E}}{\unions{\ran{E}}}$
by \cref{subseteq,function_apply_elim,ran_intro,unions_iff,upair_intro_left,funs_intro}.
$x\in\productFamily{E}$ by \cref{indexed_product,subseteq}.
Show that for all $n\in\naturalsPlus$ we have
$x(n + n) = x_1(n)$ and
$x((n + n) + 1) = x_2(n)$.
\begin{subproof}
Fix $n\in\naturalsPlus$.
$n + n\in\naturalsPlus$ by \cref{naturalsplus_add_closed}.
$(n + n) + 1\in\naturalsPlus$ by \cref{real_naturals_closed_succ}.
Show that $x(n + n) = x_1(n)$.
\begin{subproof}
We have $((n + n),x(n + n))\in R$ by \cref{axiom_of_choice,relation}.
\begin{byCase}
\caseOf{$((n + n),x(n + n))\in R_1$.}
Suppose not.
We have $\fst{((n + n),x(n + n))} = 1$ and
$\snd{((n + n),x(n + n))} = 0$
by \cref{subseteq}.
$n + n = 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$1 \leq n$ by \cref{real_one_leq_naturalsplus}.
$n < n + 1$ by \cref{real_naturals_lt_succ_local}.
$1\in\reals$ and $n\in\reals$ and $n + 1\in\reals$
by \cref{real_one_in_naturals,real_naturals_subset_reals,subseteq,real_add_closed}.
$1 < n + 1$ by \cref{real_leq_lt_trans}.
$n + 1 \leq n + n$ by \cref{space_filling_succ_leq_double}.
$1 < n + n$ by \cref{real_lt_leq_trans_local}.
$1 < 1$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$((n + n),x(n + n))\in R_2\union R_3$.}
$((n + n),x(n + n))\in R_2$ or $((n + n),x(n + n))\in R_3$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$((n + n),x(n + n))\in R_2$.}
Take $k\in\naturalsPlus$ such that
$\fst{((n + n),x(n + n))} = k + k$ and
$\snd{((n + n),x(n + n))} = x_1(k)$
by \cref{subseteq}.
$n + n = k + k$ and $x(n + n) = x_1(k)$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n = k$ by \cref{space_filling_double_eq_halves_eq}.
$x(n + n) = x_1(n)$ by \cref{subseteq}.
\caseOf{$((n + n),x(n + n))\in R_3$.}
Suppose not.
Take $k\in\naturalsPlus$ such that
$\fst{((n + n),x(n + n))} = (k + k) + 1$ and
$\snd{((n + n),x(n + n))} = x_2(k)$
by \cref{subseteq}.
$n + n = (k + k) + 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n \neq (k + k) + 1$ by \cref{space_filling_double_neq_double_succ}.
Contradiction by \cref{subseteq}.
\end{byCase}
\end{byCase}
\end{subproof}
Show that $x((n + n) + 1) = x_2(n)$.
\begin{subproof}
We have $(((n + n) + 1),x((n + n) + 1))\in R$ by \cref{axiom_of_choice,relation}.
\begin{byCase}
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_1$.}
Suppose not.
We have $\fst{(((n + n) + 1),x((n + n) + 1))} = 1$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = 0$
by \cref{subseteq}.
$(n + n) + 1 = 1$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n < (n + n) + 1$ by \cref{real_naturals_lt_succ_local}.
$1 \leq n + n$ by \cref{real_one_leq_naturalsplus}.
$1\in\reals$ and $n + n\in\reals$ and $(n + n) + 1\in\reals$
by \cref{real_one_in_naturals,real_naturals_subset_reals,naturalsplus_add_closed,subseteq,real_add_closed}.
$1 < (n + n) + 1$ by \cref{real_leq_lt_trans}.
$1 < 1$ by \cref{subseteq,real_lt_subst_right}.
Contradiction by \cref{real_lt_irreflexive}.
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_2\union R_3$.}
$(((n + n) + 1),x((n + n) + 1))\in R_2$ or
$(((n + n) + 1),x((n + n) + 1))\in R_3$ by \cref{union_iff}.
\begin{byCase}
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_2$.}
Suppose not.
Take $k\in\naturalsPlus$ such that
$\fst{(((n + n) + 1),x((n + n) + 1))} = k + k$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = x_1(k)$
by \cref{subseteq}.
$(n + n) + 1 = k + k$ by \cref{fst_eq,snd_eq,pair_eq_iff}.
$k + k \neq (n + n) + 1$ by \cref{space_filling_double_neq_double_succ}.
Contradiction by \cref{subseteq}.
\caseOf{$(((n + n) + 1),x((n + n) + 1))\in R_3$.}
Take $k\in\naturalsPlus$ such that
$\fst{(((n + n) + 1),x((n + n) + 1))} = (k + k) + 1$ and
$\snd{(((n + n) + 1),x((n + n) + 1))} = x_2(k)$
by \cref{subseteq}.
$(n + n) + 1 = (k + k) + 1$ and $x((n + n) + 1) = x_2(k)$
by \cref{fst_eq,snd_eq,pair_eq_iff}.
$n + n\in\reals$ and $k + k\in\reals$ and $1\in\reals$
by \cref{real_naturals_subset_reals,naturalsplus_add_closed,subseteq,real_one_in_naturals,real_add_closed}.
$n + n = k + k$ by \cref{real_add_cancel}.
$n = k$ by \cref{space_filling_double_eq_halves_eq}.
$x((n + n) + 1) = x_2(n)$ by \cref{subseteq}.
\end{byCase}
\end{byCase}
\end{subproof}
Therefore $x(n + n) = x_1(n)$ and $x((n + n) + 1) = x_2(n)$ by \cref{subseteq}.
\end{subproof}
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Suppose $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$.
Suppose for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$.
Then $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\productFamily{E}}{I}$.
LaTeX source
\begin{lemma}
\label{space_filling_dyadic_code_map_surjective}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Suppose $r\in\funs{\productFamily{E}}{I}$.
Suppose for all $x\in\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$.
Then $r\in\surj{\productFamily{E}}{I}$.
\end{lemma}
Proof
Follows by Definition 1, Definition 57, Lemma 781, Lemma 790.
LaTeX source
\begin{proof}
Follows by \cref{space_filling_point_has_dyadic_code,space_filling_dyadic_code_point_unique,subseteq,surj}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $m_2 = 1 + 1$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}\}$.
Assume $a\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Assume $b\class{latex-symbol-tip latex-symbol-id-in}{\in} I$.
Then there exists $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ such that $y(1) = a$ and $y(m_2) = b$.
LaTeX source
\begin{lemma}
\label{space_filling_square_point_exists}
Let $I = \intervalclosed{0}{1}$.
Let $m_2 = 1 + 1$.
Let $C = \{(i,I) \mid i\in\initialSegment{m_2}\}$.
Assume $a\in I$.
Assume $b\in I$.
Then there exists $y\in\productFamily{C}$ such that
$y(1) = a$ and
$y(m_2) = b$.
\end{lemma}
Proof
Let $J = \initialSegment{m_2}$.
We have $C$ is a function on $J$ and $\dom{C} = J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 55, Proposition 3, Proposition 199, Proposition 200.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ and $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Axiom 42, Axiom 43, Axiom 45, Definition 84.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $i = 1$ or $i = m_2$ by Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 84, Lemma 25, Lemma 29.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $C(i) = I$ by Proposition 346.
$0\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ and $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\reals$ by Axiom 17, Axiom 41, Axiom 42, Axiom 45, Definition 1.
$1 < m_2$ by Axiom 17, Axiom 37, Definition 1, Proposition 462.
$1 \class{latex-symbol-tip latex-symbol-id-neq}{\neq} m_2$ by Axiom 39, Lemma 83.
Let $R_1 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} J\class{latex-symbol-tip latex-symbol-id-times}{\times} I \mid \text{$\fst{p} = 1$ and $\snd{p} = a$}\}$.
Let $R_2 = \{p\class{latex-symbol-tip latex-symbol-id-in}{\in} J\class{latex-symbol-tip latex-symbol-id-times}{\times} I \mid \text{$\fst{p} = m_2$ and $\snd{p} = b$}\}$.
Let $R = R_1\union R_2$.
$R_1$ is a relation and $R_2$ is a relation by Definition 1, Definition 12, Proposition 121.
$R$ is a relation by Axiom 5, Definition 1, Definition 12.
$R\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} J\class{latex-symbol-tip latex-symbol-id-times}{\times} I$ by Axiom 5, Definition 1.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ there exists $t$ such that $i\mathrel{R} t$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 38, Proposition 39, Proposition 115.
Take $y$ such that $y$ is a function on $J$ and for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $i\mathrel{R}\apply{y}{i}$ by Axiom 54.
$y$ is a function and $\dom{y} = J$ by Axiom 54.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{J}{I}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
$y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Axiom 4, Definition 167, Proposition 209, Proposition 346, Proposition 358, Proposition 359.
Claim: $y(1) = a$.
We have $(1,y(1))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_1$ by Axiom 5, Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12.
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1.
Claim: $y(m_2) = b$.
We have $(m_2,y(m_2))\class{latex-symbol-tip latex-symbol-id-in}{\in} R_2$ by Axiom 5, Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12.
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1.
Therefore there exists $w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ such that $w(1) = a$ and $w(m_2) = b$ by Definition 1.
LaTeX source
\begin{proof}
Let $J = \initialSegment{m_2}$.
We have $C$ is a function on $J$ and $\dom{C} = J$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric,funs}.
$1\in J$ and $m_2\in J$
by \cref{real_one_in_naturals,real_naturals_closed_succ,real_one_leq_naturalsplus,initial_segment_naturalsplus}.
For all $i\in J$ we have $i = 1$ or $i = m_2$
by \cref{initial_segment_naturalsplus,real_naturals_leq_succ_elim,real_one_leq_naturalsplus,real_naturals_subset_reals,real_one_in_naturals,real_leq_antisym,subseteq}.
For all $i\in J$ we have $C(i) = I$ by \cref{function_apply_intro}.
$0\in\reals$ and $1\in\reals$ and $m_2\in\reals$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,real_naturals_closed_succ,subseteq}.
$1 < m_2$ by \cref{real_zero_lt_one,real_lt_add,real_add_ident,subseteq}.
$1 \neq m_2$ by \cref{real_lt_irreflexive,real_lt_subst_right}.
Let $R_1 = \{p\in J\times I \mid \text{$\fst{p} = 1$ and $\snd{p} = a$}\}$.
Let $R_2 = \{p\in J\times I \mid \text{$\fst{p} = m_2$ and $\snd{p} = b$}\}$.
Let $R = R_1\union R_2$.
$R_1$ is a relation and $R_2$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
$R$ is a relation by \cref{relation,subseteq,union_iff}.
$R\subseteq J\times I$ by \cref{subseteq,union_iff}.
For all $i\in J$ there exists $t$ such that $i\mathrel{R} t$
by \cref{subseteq,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff,union_intro_left,union_intro_right,relation}.
Take $y$ such that
$y$ is a function on $J$ and
for all $i\in J$ we have $i\mathrel{R}\apply{y}{i}$
by \cref{axiom_of_choice}.
$y$ is a function and $\dom{y} = J$ by \cref{axiom_of_choice}.
$y\in\funs{J}{I}$ by \cref{axiom_of_choice,relation,subseteq,times_tuple_elim,funs_intro}.
$y\in\productFamily{C}$ by \cref{funs_intro,indexed_product,funs_elim,function_apply_intro,ran_intro,unions_iff}.
Show that $y(1) = a$.
\begin{subproof}
We have $(1,y(1))\in R_1$
by \cref{axiom_of_choice,subseteq,relation,union_iff,fst_eq,snd_eq,pair_eq_iff}.
Follows by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
\end{subproof}
Show that $y(m_2) = b$.
\begin{subproof}
We have $(m_2,y(m_2))\in R_2$
by \cref{axiom_of_choice,subseteq,relation,union_iff,fst_eq,snd_eq,pair_eq_iff}.
Follows by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
\end{subproof}
Therefore there exists $w\in\productFamily{C}$ such that
$w(1) = a$ and
$w(m_2) = b$ by \cref{subseteq}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Suppose $e$ is an even binary extractor on $E$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x(n + n) = x_1(n)$.
Then $e(x) = x_1$.
LaTeX source
\begin{lemma}
\label{space_filling_even_extractor_interleaving_inverse}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Suppose $e$ is an even binary extractor on $E$.
Suppose $x\in\productFamily{E}$.
Suppose $x_1\in\productFamily{E}$.
Suppose for all $n\in\naturalsPlus$ we have $x(n + n) = x_1(n)$.
Then $e(x) = x_1$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 55, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\apply{\apply{e}{x}}{n} = x_1(n)$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 357, Proposition 115.
Therefore $e(x) = x_1$ by Definition 1, Definition 167, Definition 357, Lemma 438, Proposition 359, Proposition 361.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric,funs}.
For all $n\in\naturalsPlus$ we have $\apply{\apply{e}{x}}{n} = x_1(n)$
by \cref{times_tuple_intro,space_filling_even_binary_extractor_on,subseteq,fst_eq,snd_eq,pair_eq_iff}.
Therefore $e(x) = x_1$
by \cref{functions_eq_iff,funs_elim,funs_type_apply,indexed_product,subseteq,space_filling_even_binary_extractor_on}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Suppose $o$ is a successor-of-even binary extractor on $E$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$.
Suppose for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x((n + n) + 1) = x_2(n)$.
Then $o(x) = x_2$.
LaTeX source
\begin{lemma}
\label{space_filling_odd_extractor_interleaving_inverse}
Let $I = \intervalclosed{0}{1}$.
Let $D = \{0,1\}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Suppose $o$ is a successor-of-even binary extractor on $E$.
Suppose $x\in\productFamily{E}$.
Suppose $x_2\in\productFamily{E}$.
Suppose for all $n\in\naturalsPlus$ we have $x((n + n) + 1) = x_2(n)$.
Then $o(x) = x_2$.
\end{lemma}
Proof
We have $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$ by Axiom 6, Definition 1, Definition 12, Definition 51, Definition 55, Proposition 3, Proposition 199, Proposition 200.
For all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $\apply{\apply{o}{x}}{n} = x_2(n)$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 358, Proposition 115.
Therefore $o(x) = x_2$ by Definition 1, Definition 167, Definition 358, Lemma 438, Proposition 359, Proposition 361.
LaTeX source
\begin{proof}
We have $E$ is a function on $\naturalsPlus$ and $\dom{E} = \naturalsPlus$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric,funs}.
For all $n\in\naturalsPlus$ we have $\apply{\apply{o}{x}}{n} = x_2(n)$
by \cref{times_tuple_intro,space_filling_odd_binary_extractor_on,subseteq,fst_eq,snd_eq,pair_eq_iff}.
Therefore $o(x) = x_2$
by \cref{functions_eq_iff,funs_elim,funs_type_apply,indexed_product,subseteq,space_filling_odd_binary_extractor_on}.
\end{proof}
Suppose $f = g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$.
Suppose $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{X}{Y}$.
Suppose $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{Y}{Z}$.
Suppose $x\class{latex-symbol-tip latex-symbol-id-in}{\in} X$.
Then $f(x) = g(h(x))$.
LaTeX source
\begin{lemma}
\label{space_filling_composite_apply}
Suppose $f = g\circ h$.
Suppose $h\in\funs{X}{Y}$.
Suppose $g\in\funs{Y}{Z}$.
Suppose $x\in X$.
Then $f(x) = g(h(x))$.
\end{lemma}
Proof
Follows by Definition 1, Definition 55, Proposition 345, Proposition 355, Proposition 356, Proposition 363, Proposition 373.
LaTeX source
\begin{proof}
Follows by \cref{funs,subseteq,funs_ran,funs_is_function,function_rightunique,funs_is_relation,circ_apply}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Let $m_2 = 1 + 1$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}\}$.
Let $S = \{(i,T_I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exists $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\productFamily{E}}{\productFamily{C}}$ such that $h$ is continuous from $\productFamily{E}$ to $\productFamily{C}$ with respect to $P_B$ and $P$.
LaTeX source
\begin{lemma}
\label{space_filling_binary_square_surjection}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Let $m_2 = 1 + 1$.
Let $C = \{(i,I) \mid i\in\initialSegment{m_2}\}$.
Let $S = \{(i,T_I) \mid i\in\initialSegment{m_2}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exists $h\in\surj{\productFamily{E}}{\productFamily{C}}$ such that
$h$ is continuous from $\productFamily{E}$ to $\productFamily{C}$ with respect to $P_B$ and $P$.
\end{lemma}
Proof
Take $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$ by Lemma 783.
$r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ by Lemma 808.
$r\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\productFamily{E}}{I}$ by Lemma 817.
Take $e$ such that $e$ is an even binary extractor on $E$ and $e$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$ by Lemma 814.
$e\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{E}}$ by Definition 357.
Take $o$ such that $o$ is a successor-of-even binary extractor on $E$ and $o$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$ by Lemma 815.
$o\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{E}}$ by Definition 358.
Let $J = \initialSegment{m_2}$.
We have $C$ is a function on $J$ and $S$ is a function on $J$ by Axiom 6, Definition 1, Definition 12, Definition 51, Proposition 3, Proposition 199, Proposition 200.
$\dom{C} = J$ and $\dom{S} = J$ by Definition 55.
$1\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ and $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ by Axiom 42, Axiom 43, Axiom 45, Definition 84.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $C(i) = I$ and $S(i) = T_I$ by Proposition 346.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
$I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
$T_I$ is a topology on $I$ by Lemma 131.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $S(i)$ is a topology on $C(i)$ by Definition 1, Proposition 346.
$J$ is inhabited by Axiom 42, Axiom 43, Axiom 45, Definition 84.
$\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
$P_B$ is a topology on $\productFamily{E}$ by Definition 156.
Let $f_1 = r\class{latex-symbol-tip latex-symbol-id-circ}{\circ} e$.
Let $f_2 = r\class{latex-symbol-tip latex-symbol-id-circ}{\circ} o$.
$f_1$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ and $f_2$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ by Lemma 165.
Let $Q = \{w\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times}\productFamily{C} \mid \apply{\snd{w}}{1} = f_1(\fst{w}) \class{latex-symbol-tip latex-symbol-id-land}{\land} \apply{\snd{w}}{m_2} = f_2(\fst{w})\}$.
$Q$ is a relation by Definition 1, Definition 12, Proposition 121.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $f_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $f_2(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ there exists $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ such that $y(1) = f_1(x)$ and $y(m_2) = f_2(x)$ by Lemma 818.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$ by Axiom 6, Axiom 10, Axiom 11, Definition 1, Definition 12, Proposition 115.
Take $h$ such that $h$ is a function on $\productFamily{E}$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $x\mathrel{Q}\apply{h}{x}$ by Axiom 54.
$h\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{\productFamily{C}}$ by Axiom 54, Definition 1, Definition 12, Proposition 114, Proposition 358.
Claim: For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$ we have $\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$.
Fix $i\class{latex-symbol-tip latex-symbol-id-in}{\in} J$.
Let $g = \piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$.
$\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{C}}{C(i)}$ by Definition 1, Lemma 191.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{C(i)}$ by Proposition 382.
$i = 1$ or $i = m_2$ by Axiom 41, Axiom 42, Axiom 43, Definition 1, Definition 84, Lemma 25, Lemma 29.
$f_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{C(i)}$ by Definition 1, Definition 160, Proposition 346.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $g(x) = f_1(x)$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 170, Lemma 191, Proposition 346, Proposition 356, Proposition 359, Proposition 361, Proposition 363, Proposition 373.
$g = f_1$ by Lemma 438.
$g$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$ by Definition 1, Definition 160, Lemma 367, Proposition 346.
$\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$ by Definition 1.
$f_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{C(i)}$ by Definition 1, Definition 160, Proposition 346.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $g(x) = f_2(x)$ by Axiom 6, Axiom 10, Axiom 11, Axiom 54, Definition 1, Definition 12, Definition 170, Lemma 191, Proposition 346, Proposition 356, Proposition 359, Proposition 361, Proposition 363, Proposition 373.
$g = f_2$ by Lemma 438.
$g$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$ by Definition 1, Definition 160, Lemma 367, Proposition 346.
$\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$i = 1$.}
$f_1\in\funs{\productFamily{E}}{C(i)}$ by \cref{continuous,function_apply_intro,subseteq}.
For all $x\in\productFamily{E}$ we have $g(x) = f_1(x)$
by \cref{funs_elim,funs_is_function,funs_type_apply,projection_map_indexed_function,funs_ran,circ_apply,projection_map_indexed,function_apply_intro,axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
$g = f_1$ by \cref{functions_eq_iff}.
$g$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{continuous,continuous_eq_subst,function_apply_intro,subseteq}.
$\piIndex{C}{i}\circ h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{subseteq}.
\caseOf{$i = m_2$.}
$f_2\in\funs{\productFamily{E}}{C(i)}$ by \cref{continuous,function_apply_intro,subseteq}.
For all $x\in\productFamily{E}$ we have $g(x) = f_2(x)$
by \cref{funs_elim,funs_is_function,funs_type_apply,projection_map_indexed_function,funs_ran,circ_apply,projection_map_indexed,function_apply_intro,axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
$g = f_2$ by \cref{functions_eq_iff}.
$g$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{continuous,continuous_eq_subst,function_apply_intro,subseteq}.
$\piIndex{C}{i}\circ h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{subseteq}.
\end{byCase}
$h$ is continuous from $\productFamily{E}$ to $\productFamily{C}$ with respect to $P_B$ and $P$ by Definition 1, Definition 55, Lemma 131, Lemma 193.
Claim: For all $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ there exists $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that $h(x) = y$.
Fix $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$.
$y(1)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $y(m_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 1, Definition 167, Proposition 346.
Take $x_1\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that $r(x_1) = y(1)$ by Definition 57.
Take $x_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that $r(x_2) = y(m_2)$ by Definition 57.
Take $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that for all $n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus$ we have $x(n + n) = x_1(n)$ and $x((n + n) + 1) = x_2(n)$ by Lemma 816.
Claim: $e(x) = x_1$.
Follows by Lemma 819.
Claim: $o(x) = x_2$.
Follows by Lemma 820.
Claim: $f_1(x) = y(1)$.
Follows by Definition 1, Lemma 821.
Claim: $f_2(x) = y(m_2)$.
Follows by Definition 1, Lemma 821.
$(x,h(x))\class{latex-symbol-tip latex-symbol-id-in}{\in} Q$ by Axiom 54, Definition 12.
$h(x)\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ by Axiom 54, Definition 1, Proposition 361.
$(x,h(x))\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}\class{latex-symbol-tip latex-symbol-id-times}{\times}\productFamily{C}$ and $\apply{\snd{(x,h(x))}}{1} = f_1(\fst{(x,h(x))})$ and $\apply{\snd{(x,h(x))}}{m_2} = f_2(\fst{(x,h(x))})$ by Axiom 54, Definition 1, Definition 12, Proposition 361.
Claim: $\apply{\apply{h}{x}}{1} = y(1)$.
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1.
Claim: $\apply{\apply{h}{x}}{m_2} = y(m_2)$.
Follows by Axiom 6, Axiom 10, Axiom 11, Definition 1.
$h(x) = y$ by Lemma 692.
There exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ such that $h(z) = y$.
Therefore $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\productFamily{E}}{\productFamily{C}}$ by Definition 57.
LaTeX source
\begin{proof}
Take $r\in\funs{\productFamily{E}}{I}$ such that
for all $x\in\productFamily{E}$ we have $r(x)$ is a dyadic code point of $x$ in $I$ and $E$
by \cref{space_filling_dyadic_code_map_exists}.
$r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$
by \cref{space_filling_dyadic_code_map_continuous}.
$r\in\surj{\productFamily{E}}{I}$ by \cref{space_filling_dyadic_code_map_surjective}.
Take $e$ such that
$e$ is an even binary extractor on $E$ and
$e$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$
by \cref{space_filling_even_binary_extractor}.
$e\in\funs{\productFamily{E}}{\productFamily{E}}$ by \cref{space_filling_even_binary_extractor_on}.
Take $o$ such that
$o$ is a successor-of-even binary extractor on $E$ and
$o$ is continuous from $\productFamily{E}$ to $\productFamily{E}$ with respect to $P_B$ and $P_B$
by \cref{space_filling_odd_binary_extractor}.
$o\in\funs{\productFamily{E}}{\productFamily{E}}$ by \cref{space_filling_odd_binary_extractor_on}.
Let $J = \initialSegment{m_2}$.
We have $C$ is a function on $J$ and $S$ is a function on $J$
by \cref{relation,rightunique,dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
$\dom{C} = J$ and $\dom{S} = J$ by \cref{funs}.
$1\in J$ and $m_2\in J$
by \cref{real_one_in_naturals,real_naturals_closed_succ,real_one_leq_naturalsplus,initial_segment_naturalsplus}.
For all $i\in J$ we have $C(i) = I$ and $S(i) = T_I$ by \cref{function_apply_intro}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
$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}.
For all $i\in J$ we have $S(i)$ is a topology on $C(i)$ by \cref{function_apply_intro,subseteq}.
$J$ is inhabited by \cref{real_one_in_naturals,real_naturals_closed_succ,real_one_leq_naturalsplus,initial_segment_naturalsplus}.
$\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$
by \cref{space_filling_binary_product_compact_hausdorff}.
$P_B$ is a topology on $\productFamily{E}$ by \cref{hausdorff}.
Let $f_1 = r\circ e$.
Let $f_2 = r\circ o$.
$f_1$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ and
$f_2$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$
by \cref{continuous_composite}.
Let $Q = \{w\in\productFamily{E}\times\productFamily{C} \mid
\apply{\snd{w}}{1} = f_1(\fst{w}) \land \apply{\snd{w}}{m_2} = f_2(\fst{w})\}$.
$Q$ is a relation by \cref{relation,subseteq,times_elem_is_tuple}.
For all $x\in\productFamily{E}$ we have $f_1(x)\in I$ and $f_2(x)\in I$ by \cref{continuous,funs_type_apply}.
For all $x\in\productFamily{E}$ there exists $y\in\productFamily{C}$ such that
$y(1) = f_1(x)$ and
$y(m_2) = f_2(x)$ by \cref{space_filling_square_point_exists}.
For all $x\in\productFamily{E}$ there exists $y$ such that $x\mathrel{Q} y$
by \cref{relation,times_tuple_intro,fst_eq,snd_eq,pair_eq_iff,subseteq}.
Take $h$ such that
$h$ is a function on $\productFamily{E}$ and
for all $x\in\productFamily{E}$ we have $x\mathrel{Q}\apply{h}{x}$
by \cref{axiom_of_choice}.
$h\in\funs{\productFamily{E}}{\productFamily{C}}$
by \cref{axiom_of_choice,funs_intro,relation,subseteq,times_tuple_elim}.
Show that for all $i\in J$ we have $\piIndex{C}{i}\circ h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$.
\begin{subproof}
Fix $i\in J$.
Let $g = \piIndex{C}{i}\circ h$.
$\piIndex{C}{i}\in\funs{\productFamily{C}}{C(i)}$ by \cref{projection_map_indexed_function,subseteq}.
$g\in\funs{\productFamily{E}}{C(i)}$ by \cref{funs_circ}.
$i = 1$ or $i = m_2$ by \cref{initial_segment_naturalsplus,real_naturals_leq_succ_elim,real_one_leq_naturalsplus,real_naturals_subset_reals,real_one_in_naturals,real_leq_antisym,subseteq}.
\begin{byCase}
\caseOf{$i = 1$.}
$f_1\in\funs{\productFamily{E}}{C(i)}$ by \cref{continuous,function_apply_intro,subseteq}.
For all $x\in\productFamily{E}$ we have $g(x) = f_1(x)$
by \cref{funs_elim,funs_is_function,funs_type_apply,projection_map_indexed_function,funs_ran,circ_apply,projection_map_indexed,function_apply_intro,axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
$g = f_1$ by \cref{functions_eq_iff}.
$g$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{continuous,continuous_eq_subst,function_apply_intro,subseteq}.
$\piIndex{C}{i}\circ h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{subseteq}.
\caseOf{$i = m_2$.}
$f_2\in\funs{\productFamily{E}}{C(i)}$ by \cref{continuous,function_apply_intro,subseteq}.
For all $x\in\productFamily{E}$ we have $g(x) = f_2(x)$
by \cref{funs_elim,funs_is_function,funs_type_apply,projection_map_indexed_function,funs_ran,circ_apply,projection_map_indexed,function_apply_intro,axiom_of_choice,relation,subseteq,fst_eq,snd_eq,pair_eq_iff}.
$g = f_2$ by \cref{functions_eq_iff}.
$g$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{continuous,continuous_eq_subst,function_apply_intro,subseteq}.
$\piIndex{C}{i}\circ h$ is continuous from $\productFamily{E}$ to $C(i)$ with respect to $P_B$ and $S(i)$
by \cref{subseteq}.
\end{byCase}
\end{subproof}
$h$ is continuous from $\productFamily{E}$ to $\productFamily{C}$ with respect to $P_B$ and $P$
by \cref{continuous_map_into_indexed_product,subspace_topology_is_topology,funs,subseteq}.
Show that for all $y\in\productFamily{C}$ there exists $x\in\productFamily{E}$ such that $h(x) = y$.
\begin{subproof}
Fix $y\in\productFamily{C}$.
$y(1)\in I$ and $y(m_2)\in I$
by \cref{indexed_product,function_apply_intro,subseteq}.
Take $x_1\in\productFamily{E}$ such that $r(x_1) = y(1)$ by \cref{surj}.
Take $x_2\in\productFamily{E}$ such that $r(x_2) = y(m_2)$ by \cref{surj}.
Take $x\in\productFamily{E}$ such that
for all $n\in\naturalsPlus$ we have
$x(n + n) = x_1(n)$ and
$x((n + n) + 1) = x_2(n)$
by \cref{space_filling_binary_interleaving}.
Show that $e(x) = x_1$.
\begin{subproof}
Follows by \cref{space_filling_even_extractor_interleaving_inverse}.
\end{subproof}
Show that $o(x) = x_2$.
\begin{subproof}
Follows by \cref{space_filling_odd_extractor_interleaving_inverse}.
\end{subproof}
Show that $f_1(x) = y(1)$.
\begin{subproof}
Follows by \cref{space_filling_composite_apply,subseteq}.
\end{subproof}
Show that $f_2(x) = y(m_2)$.
\begin{subproof}
Follows by \cref{space_filling_composite_apply,subseteq}.
\end{subproof}
$(x,h(x))\in Q$ by \cref{axiom_of_choice,relation}.
$h(x)\in\productFamily{C}$ by \cref{funs_type_apply,axiom_of_choice,subseteq}.
$(x,h(x))\in\productFamily{E}\times\productFamily{C}$ and
$\apply{\snd{(x,h(x))}}{1} = f_1(\fst{(x,h(x))})$ and
$\apply{\snd{(x,h(x))}}{m_2} = f_2(\fst{(x,h(x))})$
by \cref{axiom_of_choice,relation,funs_type_apply,subseteq}.
Show that $\apply{\apply{h}{x}}{1} = y(1)$.
\begin{subproof}
Follows by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
\end{subproof}
Show that $\apply{\apply{h}{x}}{m_2} = y(m_2)$.
\begin{subproof}
Follows by \cref{fst_eq,snd_eq,pair_eq_iff,subseteq}.
\end{subproof}
$h(x) = y$ by \cref{space_filling_square_point_eq}.
There exists $z\in\productFamily{E}$ such that $h(z) = y$.
\end{subproof}
Therefore $h\in\surj{\productFamily{E}}{\productFamily{C}}$ by \cref{surj}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exist $A,h$ such that $A$ is closed in $I$ with respect to $T_I$ and $h$ is continuous from $A$ to $\productFamily{C}$ with respect to $\subspaceTopology{T_I}{A}$ and $P$ and $h$ is surjective on $\productFamily{C}$.
LaTeX source
\begin{lemma}
\label{space_filling_closed_subspace_surjection}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\in\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\in\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exist $A,h$ such that
$A$ is closed in $I$ with respect to $T_I$ and
$h$ is continuous from $A$ to $\productFamily{C}$ with respect to $\subspaceTopology{T_I}{A}$ and $P$ and
$h$ is surjective on $\productFamily{C}$.
\end{lemma}
Proof
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\class{latex-symbol-tip latex-symbol-id-in}{\in}\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Take $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{\productFamily{E}}{I}$ such that for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$ by Lemma 782.
We have $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$ by Lemma 813.
$r$ is injective by Lemma 806.
Let $A = \img{r}{\productFamily{E}}$.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq} I$ by Definition 1, Proposition 6, Proposition 237, Proposition 363.
$I\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\reals$ by Definition 1, Definition 75.
$\standardTopologyR$ is a topology on $\reals$ by Definition 118, Lemma 76, Lemma 93.
Hence $I$ is a subspace of $\reals$ with respect to $\standardTopologyR$ by Definition 147.
$T_I$ is a topology on $I$ by Lemma 131.
$\reals$ is Hausdorff with respect to $\standardTopologyR$ by Lemma 198, Lemma 200, Lemma 395.
Thus $I$ is Hausdorff with respect to $T_I$ by Theorem 19.
$\productFamily{E}$ is compact with respect to $P_B$ and $\productFamily{E}$ is Hausdorff with respect to $P_B$ by Lemma 693.
Therefore $A$ is compact with respect to $\subspaceTopology{T_I}{A}$ by Theorem 61.
Hence $A$ is closed in $I$ with respect to $T_I$ by Theorem 60.
We have $r$ is continuous from $\productFamily{E}$ to $A$ with respect to $P_B$ and $\subspaceTopology{T_I}{A}$ by Definition 1, Definition 147, Lemma 167.
Thus $r\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\productFamily{E}}{A}$ by Definition 55, Definition 160, Proposition 209, Proposition 238, Proposition 348, Proposition 356, Proposition 358, Corollary 8.
Hence $r$ is a bijection from $\productFamily{E}$ to $A$ by Definition 58, Proposition 386.
$A$ is Hausdorff with respect to $\subspaceTopology{T_I}{A}$ by Theorem 19.
Therefore $r$ is a homeomorphism between $\productFamily{E}$ and $A$ with respect to $P_B$ and $\subspaceTopology{T_I}{A}$ by Theorem 62.
Thus $\converse{r}$ is continuous from $A$ to $\productFamily{E}$ with respect to $\subspaceTopology{T_I}{A}$ and $P_B$ by Definition 162.
$\converse{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{A}{\productFamily{E}}$ by Definition 58, Proposition 396.
Take $g\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{\productFamily{E}}{\productFamily{C}}$ such that $g$ is continuous from $\productFamily{E}$ to $\productFamily{C}$ with respect to $P_B$ and $P$ by Lemma 822.
Let $h = g\class{latex-symbol-tip latex-symbol-id-circ}{\circ} \converse{r}$.
Hence $h$ is continuous from $A$ to $\productFamily{C}$ with respect to $\subspaceTopology{T_I}{A}$ and $P$ by Lemma 165.
We have $\converse{r}\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{A}{\productFamily{E}}$ by Definition 58, Proposition 398.
Thus $h\class{latex-symbol-tip latex-symbol-id-in}{\in}\surj{A}{\productFamily{C}}$ by Proposition 388.
Hence $h$ is surjective on $\productFamily{C}$.
Follows by definition.
LaTeX source
\begin{proof}
Let $D = \{0,1\}$.
Let $T_D = \subspaceTopology{T_I}{D}$.
Let $E = \{(n,D) \mid n\in\naturalsPlus\}$.
Let $U = \{(n,T_D) \mid n\in\naturalsPlus\}$.
Let $P_B = \productTopologyIndexed{U}{E}$.
Take $r\in\funs{\productFamily{E}}{I}$ such that
for all $x\in\productFamily{E}$ we have $r(x)$ is a retained-third code point of $x$ in $I$ and $E$
by \cref{space_filling_retained_third_code_map_exists}.
We have $r$ is continuous from $\productFamily{E}$ to $I$ with respect to $P_B$ and $T_I$
by \cref{space_filling_retained_third_code_map_continuous}.
$r$ is injective by \cref{space_filling_retained_third_code_map_injective}.
Let $A = \img{r}{\productFamily{E}}$.
$A\subseteq I$ by \cref{img_subseteq_ran,funs_ran,subseteq_transitive,subseteq}.
$I\subseteq\reals$ by \cref{intervalclosed,subseteq}.
$\standardTopologyR$ is a topology on $\reals$
by \cref{standard_basis_is_basis,basis_topology_is_topology,standard_topology_reals}.
Hence $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}.
$\reals$ is Hausdorff with respect to $\standardTopologyR$
by \cref{standard_metric_is_metric,metric_space_hausdorff,standard_metric_topology}.
Thus $I$ is Hausdorff with respect to $T_I$ by \cref{subspace_hausdorff}.
$\productFamily{E}$ is compact with respect to $P_B$ and
$\productFamily{E}$ is Hausdorff with respect to $P_B$
by \cref{space_filling_binary_product_compact_hausdorff}.
Therefore $A$ is compact with respect to $\subspaceTopology{T_I}{A}$ by \cref{continuous_image_compact}.
Hence $A$ is closed in $I$ with respect to $T_I$ by \cref{compact_subspace_closed}.
We have $r$ is continuous from $\productFamily{E}$ to $A$ with respect to $P_B$ and $\subspaceTopology{T_I}{A}$
by \cref{continuous_restrict_range,subspace_of,subseteq}.
Thus $r\in\surj{\productFamily{E}}{A}$ by \cref{continuous,funs_is_function,funs,funs_intro,function_apply_elim,ran_intro,img_dom,funs_surj_iff}.
Hence $r$ is a bijection from $\productFamily{E}$ to $A$ by \cref{bijections,injective_function}.
$A$ is Hausdorff with respect to $\subspaceTopology{T_I}{A}$ by \cref{subspace_hausdorff}.
Therefore $r$ is a homeomorphism between $\productFamily{E}$ and $A$ with respect to
$P_B$ and $\subspaceTopology{T_I}{A}$ by \cref{compact_hausdorff_bijection_homeomorphism}.
Thus $\converse{r}$ is continuous from $A$ to $\productFamily{E}$ with respect to
$\subspaceTopology{T_I}{A}$ and $P_B$ by \cref{homeomorphism}.
$\converse{r}\in\funs{A}{\productFamily{E}}$ by \cref{bijective_converse_are_funs,bijections}.
Take $g\in\surj{\productFamily{E}}{\productFamily{C}}$ such that
$g$ is continuous from $\productFamily{E}$ to $\productFamily{C}$ with respect to $P_B$ and $P$
by \cref{space_filling_binary_square_surjection}.
Let $h = g\circ \converse{r}$.
Hence $h$ is continuous from $A$ to $\productFamily{C}$ with respect to $\subspaceTopology{T_I}{A}$ and $P$
by \cref{continuous_composite}.
We have $\converse{r}\in\surj{A}{\productFamily{E}}$ by \cref{bijection_converse_is_bijection,bijections}.
Thus $h\in\surj{A}{\productFamily{C}}$ by \cref{surjections_circ}.
Hence $h$ is surjective on $\productFamily{C}$.
Follows by definition.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exists $f$ such that $f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ and $\img{f}{I}$ is dense in $\productFamily{C}$ with respect to $P$.
LaTeX source
\begin{theorem}
\label{space_filling_curve_dense_image}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\in\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\in\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exists $f$ such that
$f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ and
$\img{f}{I}$ is dense in $\productFamily{C}$ with respect to $P$.
\end{theorem}
Proof
Let $m_2 = 1 + 1$.
Take $A,h$ such that $A$ is closed in $I$ with respect to $T_I$ and $h$ is continuous from $A$ to $\productFamily{C}$ with respect to $\subspaceTopology{T_I}{A}$ and $P$ and $h$ is surjective on $\productFamily{C}$ by Lemma 823.
Let $T_A = \subspaceTopology{T_I}{A}$.
$I$ is normal with respect to $T_I$ by Lemma 691.
Hence $T_I$ is a topology on $I$ by Definition 277.
$P$ is a topology on $\productFamily{C}$ by Definition 156, Lemma 690.
For all $i,u,v$ such that $(i,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ and $(i,v)\class{latex-symbol-tip latex-symbol-id-in}{\in} C$ we have $u = v$ by Axiom 6.
For all $i,u,v$ such that $(i,u)\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ and $(i,v)\class{latex-symbol-tip latex-symbol-id-in}{\in} S$ we have $u = v$ by Axiom 6.
Hence $C$ is a function and $S$ is a function by Definition 12, Definition 51.
Thus $\dom{C} = \initialSegment{m_2}$ and $\dom{S} = \initialSegment{m_2}$ by Axiom 6, Definition 1, Proposition 3, Proposition 199, Proposition 200.
Hence $1\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}$ and $m_2\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}$ by Axiom 42, Axiom 43, Axiom 45, Definition 84.
For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}$ we have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by Proposition 346.
We have for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ $\apply{S}{i}$ is a topology on $\apply{C}{i}$ by Definition 1.
We have for all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ $\piIndex{C}{i}$ is continuous from $\productFamily{C}$ to $\apply{C}{i}$ with respect to $P$ and $\apply{S}{i}$ by Lemma 366.
Therefore $\piIndex{C}{1}$ is continuous from $\productFamily{C}$ to $I$ with respect to $P$ and $T_I$ and $\piIndex{C}{m_2}$ is continuous from $\productFamily{C}$ to $I$ with respect to $P$ and $T_I$ by Definition 1, Proposition 346.
Let $h_1 = \piIndex{C}{1}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$.
Let $h_2 = \piIndex{C}{m_2}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} h$.
Therefore $h_1$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$ and $h_2$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$ by Lemma 165.
$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 41, Axiom 42, Definition 1, Proposition 462.
Take $g_1$ such that $g_1$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g_1(x) = h_1(x)$ by Theorem 91.
Take $g_2$ such that $g_2$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ we have $g_2(x) = h_2(x)$ by Theorem 91.
Hence $g_1$ is a function and $\dom{g_1} = I$ and $g_2$ is a function and $\dom{g_2} = I$ by Definition 55, Definition 160, Proposition 356.
Let $f = \{(x,z) \mid x\class{latex-symbol-tip latex-symbol-id-in}{\in} I, z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C} \mid z(1) = g_1(x) \class{latex-symbol-tip latex-symbol-id-land}{\land} z(m_2) = g_2(x)\}$.
$f$ is a relation by Definition 12.
For all $x,z_1,z_2$ such that $(x,z_1)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ and $(x,z_2)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ we have $z_1 = z_2$ by Axiom 6, Lemma 692.
Hence $f$ is right-unique by Definition 51.
Thus $f$ is a function by Definition 12.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $g_1(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ and $g_2(x)\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 160, Proposition 361.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ there exists $z\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ such that $z(1) = g_1(x)$ and $z(m_2) = g_2(x)$ by Lemma 818.
Hence for all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ there exists $z$ such that $(x,z)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Axiom 6.
Therefore $\dom{f} = I$ by Axiom 6, Definition 1, Proposition 3, Proposition 199.
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}\productFamily{C}$ by Axiom 6, Proposition 349.
Thus $f\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{I}{\productFamily{C}}$ by Proposition 358.
Claim: For all $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$ we have $\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$.
Fix $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\dom{C}$.
Let $g = \piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$.
$g\class{latex-symbol-tip latex-symbol-id-in}{\in}\funs{I}{\apply{C}{i}}$ by Lemma 191, Proposition 359, Proposition 382.
We have $g$ is a function and $\dom{g} = I$ by Definition 55, Proposition 359.
We have $i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{m_2}$ by Definition 1.
Hence $i = 1$ or $i = m_2$.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $g(x) = g_1(x)$ by Axiom 6, Definition 170, Proposition 255, Proposition 346, Proposition 348, Proposition 359, Proposition 361, Proposition 437.
Hence $g = g_1$ by Proposition 2, Proposition 3, Proposition 350.
We have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by Proposition 346, Proposition 437.
Therefore $g$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$ by Lemma 367.
Thus $\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$ by Definition 1.
For all $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ we have $g(x) = g_2(x)$ by Axiom 6, Definition 170, Proposition 255, Proposition 346, Proposition 348, Proposition 359, Proposition 361, Proposition 437.
Thus $g = g_2$ by Proposition 2, Proposition 3, Proposition 350.
We have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by Proposition 346.
Therefore $g$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$ by Lemma 367.
Thus $\piIndex{C}{i}\class{latex-symbol-tip latex-symbol-id-circ}{\circ} f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$ by Definition 1.
LaTeX source
\begin{byCase}
\caseOf{$i = 1$.}
For all $x\in I$ we have $g(x) = g_1(x)$
by \cref{function_apply_elim,pair_eq_iff,real_add_eq_subst,funs_type_apply,projection_map_indexed,circ_elem_intro,funs_elim,function_apply_intro}.
Hence $g = g_1$ by \cref{fun_subseteq,subseteq_refl,subseteq_antisymmetric}.
We have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by \cref{function_apply_intro,real_add_eq_subst}.
Therefore $g$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{continuous_eq_subst}.
Thus $\piIndex{C}{i}\circ f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{subseteq}.
\caseOf{$i = m_2$.}
For all $x\in I$ we have $g(x) = g_2(x)$
by \cref{function_apply_elim,pair_eq_iff,real_add_eq_subst,funs_type_apply,projection_map_indexed,circ_elem_intro,funs_elim,function_apply_intro}.
Thus $g = g_2$ by \cref{fun_subseteq,subseteq_refl,subseteq_antisymmetric}.
We have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by \cref{function_apply_intro}.
Therefore $g$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{continuous_eq_subst}.
Thus $\piIndex{C}{i}\circ f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{subseteq}.
\end{byCase}
Therefore $f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ by Definition 1, Lemma 193.
Claim: For all $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$ we have $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{I}$.
Fix $y$ such that $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\productFamily{C}$.
$h$ is right-total on $\productFamily{C}$ by definition.
Take $x$ such that $x\mathrel{h} y$ by Definition 53.
Hence $x\class{latex-symbol-tip latex-symbol-id-in}{\in} A$ by Definition 1, Definition 55, Definition 160, Proposition 200.
Thus $x\class{latex-symbol-tip latex-symbol-id-in}{\in} I$ by Definition 1, Definition 149.
$(y,\apply{y}{1})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{1}$ and $(y,\apply{y}{m_2})\class{latex-symbol-tip latex-symbol-id-in}{\in}\piIndex{C}{m_2}$ by Definition 170, Proposition 348.
Hence $(x,\apply{y}{1})\class{latex-symbol-tip latex-symbol-id-in}{\in} h_1$ and $(x,\apply{y}{m_2})\class{latex-symbol-tip latex-symbol-id-in}{\in} h_2$ by Definition 160, Proposition 255, Proposition 348, Proposition 363.
Claim: $h_1(x) = y(1)$.
Follows by Definition 160, Proposition 346, Proposition 356.
Claim: $h_2(x) = y(m_2)$.
Follows by Definition 160, Proposition 346, Proposition 356.
Claim: $g_1(x) = y(1)$.
Follows by Definition 1.
Claim: $g_2(x) = y(m_2)$.
Follows by Definition 1.
Hence $(x,y)\class{latex-symbol-tip latex-symbol-id-in}{\in} f$ by Axiom 6.
Thus $y\class{latex-symbol-tip latex-symbol-id-in}{\in}\img{f}{I}$ by Proposition 235.
Therefore $\img{f}{I} = \productFamily{C}$ by Definition 1, Definition 55, Definition 160, Proposition 3, Proposition 6, Proposition 237, Proposition 284.
Hence $\img{f}{I}$ is dense in $\productFamily{C}$ with respect to $P$ by Definition 272, Lemma 139, Lemma 149.
LaTeX source
\begin{proof}
Let $m_2 = 1 + 1$.
Take $A,h$ such that
$A$ is closed in $I$ with respect to $T_I$ and
$h$ is continuous from $A$ to $\productFamily{C}$ with respect to $\subspaceTopology{T_I}{A}$ and $P$ and
$h$ is surjective on $\productFamily{C}$
by \cref{space_filling_closed_subspace_surjection}.
Let $T_A = \subspaceTopology{T_I}{A}$.
$I$ is normal with respect to $T_I$ by \cref{space_filling_domain_normal}.
Hence $T_I$ is a topology on $I$ by \cref{normal_space}.
$P$ is a topology on $\productFamily{C}$ by \cref{space_filling_target_hausdorff,hausdorff}.
For all $i,u,v$ such that $(i,u)\in C$ and $(i,v)\in C$ we have $u = v$ by \cref{pair_eq_iff}.
For all $i,u,v$ such that $(i,u)\in S$ and $(i,v)\in S$ we have $u = v$ by \cref{pair_eq_iff}.
Hence $C$ is a function and $S$ is a function by \cref{relation,rightunique}.
Thus $\dom{C} = \initialSegment{m_2}$ and $\dom{S} = \initialSegment{m_2}$
by \cref{dom_intro,dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
Hence $1\in\initialSegment{m_2}$ and $m_2\in\initialSegment{m_2}$
by \cref{real_one_in_naturals,real_one_leq_naturalsplus,real_naturals_closed_succ,initial_segment_naturalsplus}.
For all $i\in\initialSegment{m_2}$ we have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$
by \cref{function_apply_intro}.
We have for all $i\in\dom{C}$ $\apply{S}{i}$ is a topology on $\apply{C}{i}$ by \cref{subseteq}.
We have for all $i\in\dom{C}$ $\piIndex{C}{i}$ is continuous from $\productFamily{C}$ to $\apply{C}{i}$
with respect to $P$ and $\apply{S}{i}$ by \cref{projection_map_indexed_continuous}.
Therefore $\piIndex{C}{1}$ is continuous from $\productFamily{C}$ to $I$ with respect to $P$ and $T_I$ and
$\piIndex{C}{m_2}$ is continuous from $\productFamily{C}$ to $I$ with respect to $P$ and $T_I$
by \cref{function_apply_intro,subseteq}.
Let $h_1 = \piIndex{C}{1}\circ h$.
Let $h_2 = \piIndex{C}{m_2}\circ h$.
Therefore $h_1$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$ and
$h_2$ is continuous from $A$ to $I$ with respect to $T_A$ and $T_I$
by \cref{continuous_composite}.
$0\in\reals$ and $1\in\reals$ and $0 < 1$
by \cref{real_add_ident,real_one_in_naturals,real_naturals_subset_reals,subseteq,real_zero_lt_one}.
Take $g_1$ such that
$g_1$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and
for all $x\in A$ we have $g_1(x) = h_1(x)$
by \cref{tietze_extension_theorem_closed_interval}.
Take $g_2$ such that
$g_2$ is continuous from $I$ to $I$ with respect to $T_I$ and $T_I$ and
for all $x\in A$ we have $g_2(x) = h_2(x)$
by \cref{tietze_extension_theorem_closed_interval}.
Hence $g_1$ is a function and $\dom{g_1} = I$ and
$g_2$ is a function and $\dom{g_2} = I$ by \cref{continuous,funs_is_function,funs}.
Let $f = \{(x,z) \mid x\in I, z\in\productFamily{C} \mid z(1) = g_1(x) \land z(m_2) = g_2(x)\}$.
$f$ is a relation by \cref{relation}.
For all $x,z_1,z_2$ such that $(x,z_1)\in f$ and $(x,z_2)\in f$ we have $z_1 = z_2$
by \cref{pair_eq_iff,space_filling_square_point_eq}.
Hence $f$ is right-unique by \cref{rightunique}.
Thus $f$ is a function by \cref{relation}.
For all $x\in I$ we have $g_1(x)\in I$ and $g_2(x)\in I$ by \cref{continuous,funs_type_apply}.
For all $x\in I$ there exists $z\in\productFamily{C}$ such that
$z(1) = g_1(x)$ and
$z(m_2) = g_2(x)$ by \cref{space_filling_square_point_exists}.
Hence for all $x\in I$ there exists $z$ such that $(x,z)\in f$ by \cref{pair_eq_iff}.
Therefore $\dom{f} = I$ by \cref{dom_iff,pair_eq_iff,subseteq,subseteq_antisymmetric}.
For all $x\in\dom{f}$ we have $f(x)\in\productFamily{C}$ by \cref{function_apply_iff,pair_eq_iff}.
Thus $f\in\funs{I}{\productFamily{C}}$ by \cref{funs_intro}.
Show that for all $i\in\dom{C}$ we have $\piIndex{C}{i}\circ f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$.
\begin{subproof}
Fix $i\in\dom{C}$.
Let $g = \piIndex{C}{i}\circ f$.
$g\in\funs{I}{\apply{C}{i}}$ by \cref{projection_map_indexed_function,funs_circ,funs_elim}.
We have $g$ is a function and $\dom{g} = I$ by \cref{funs_elim,funs}.
We have $i\in\initialSegment{m_2}$ by \cref{subseteq}.
Hence $i = 1$ or $i = m_2$.
\begin{byCase}
\caseOf{$i = 1$.}
For all $x\in I$ we have $g(x) = g_1(x)$
by \cref{function_apply_elim,pair_eq_iff,real_add_eq_subst,funs_type_apply,projection_map_indexed,circ_elem_intro,funs_elim,function_apply_intro}.
Hence $g = g_1$ by \cref{fun_subseteq,subseteq_refl,subseteq_antisymmetric}.
We have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by \cref{function_apply_intro,real_add_eq_subst}.
Therefore $g$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{continuous_eq_subst}.
Thus $\piIndex{C}{i}\circ f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{subseteq}.
\caseOf{$i = m_2$.}
For all $x\in I$ we have $g(x) = g_2(x)$
by \cref{function_apply_elim,pair_eq_iff,real_add_eq_subst,funs_type_apply,projection_map_indexed,circ_elem_intro,funs_elim,function_apply_intro}.
Thus $g = g_2$ by \cref{fun_subseteq,subseteq_refl,subseteq_antisymmetric}.
We have $\apply{C}{i} = I$ and $\apply{S}{i} = T_I$ by \cref{function_apply_intro}.
Therefore $g$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{continuous_eq_subst}.
Thus $\piIndex{C}{i}\circ f$ is continuous from $I$ to $\apply{C}{i}$ with respect to $T_I$ and $\apply{S}{i}$
by \cref{subseteq}.
\end{byCase}
\end{subproof}
Therefore $f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$
by \cref{continuous_map_into_indexed_product,subseteq}.
Show that for all $y$ such that $y\in\productFamily{C}$ we have $y\in\img{f}{I}$.
\begin{subproof}
Fix $y$ such that $y\in\productFamily{C}$.
$h$ is right-total on $\productFamily{C}$ by definition.
Take $x$ such that $x\mathrel{h} y$ by \cref{righttotal}.
Hence $x\in A$ by \cref{dom_intro,continuous,funs,subseteq}.
Thus $x\in I$ by \cref{closed_in,subseteq}.
$(y,\apply{y}{1})\in\piIndex{C}{1}$ and $(y,\apply{y}{m_2})\in\piIndex{C}{m_2}$
by \cref{projection_map_indexed,function_apply_elim}.
Hence $(x,\apply{y}{1})\in h_1$ and $(x,\apply{y}{m_2})\in h_2$
by \cref{circ_elem_intro,continuous,funs_ran,function_apply_elim}.
Show that $h_1(x) = y(1)$.
\begin{subproof}
Follows by \cref{function_apply_intro,continuous,funs_is_function}.
\end{subproof}
Show that $h_2(x) = y(m_2)$.
\begin{subproof}
Follows by \cref{function_apply_intro,continuous,funs_is_function}.
\end{subproof}
Show that $g_1(x) = y(1)$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Show that $g_2(x) = y(m_2)$.
\begin{subproof}
Follows by \cref{subseteq}.
\end{subproof}
Hence $(x,y)\in f$ by \cref{pair_eq_iff}.
Thus $y\in\img{f}{I}$ by \cref{img_iff}.
\end{subproof}
Therefore $\img{f}{I} = \productFamily{C}$
by \cref{subseteq,continuous,funs,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive,subseteq_antisymmetric}.
Hence $\img{f}{I}$ is dense in $\productFamily{C}$ with respect to $P$
by \cref{dense_in,closed_eq_closure,closed_whole_space}.
\end{proof}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\class{latex-symbol-tip latex-symbol-id-in}{\in}\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exists $f$ such that $f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ and $f$ is surjective on $\productFamily{C}$.
LaTeX source
\begin{theorem}
\label{space_filling_curve}
Let $I = \intervalclosed{0}{1}$.
Let $T_I = \subspaceTopology{\standardTopologyR}{I}$.
Let $C = \{(i,I) \mid i\in\initialSegment{1 + 1}\}$.
Let $S = \{(i,T_I) \mid i\in\initialSegment{1 + 1}\}$.
Let $P = \productTopologyIndexed{S}{C}$.
Then there exists $f$ such that
$f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ and
$f$ is surjective on $\productFamily{C}$.
\end{theorem}
Proof
Take $f$ such that $f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ and $\img{f}{I}$ is dense in $\productFamily{C}$ with respect to $P$ by Theorem 116.
Let $A = \img{f}{I}$.
$I$ is compact with respect to $T_I$ by Lemma 689.
Hence $A$ is compact with respect to $\subspaceTopology{P}{A}$ by Theorem 61.
$A\class{latex-symbol-tip latex-symbol-id-subseteq}{\subseteq}\productFamily{C}$ by Definition 55, Definition 160, Proposition 6, Proposition 237, Proposition 284.
$P$ is a topology on $\productFamily{C}$ by Definition 156, Lemma 690.
Therefore $A$ is closed in $\productFamily{C}$ with respect to $P$ by Lemma 690, Theorem 60.
Hence $A = \productFamily{C}$ by Definition 272, Lemma 149.
Therefore $f$ is surjective on $\productFamily{C}$ by Definition 53, Definition 160, Proposition 62, Proposition 348, Proposition 356, Proposition 365.
LaTeX source
\begin{proof}
Take $f$ such that
$f$ is continuous from $I$ to $\productFamily{C}$ with respect to $T_I$ and $P$ and
$\img{f}{I}$ is dense in $\productFamily{C}$ with respect to $P$
by \cref{space_filling_curve_dense_image}.
Let $A = \img{f}{I}$.
$I$ is compact with respect to $T_I$ by \cref{space_filling_domain_compact}.
Hence $A$ is compact with respect to $\subspaceTopology{P}{A}$ by \cref{continuous_image_compact}.
$A\subseteq\productFamily{C}$
by \cref{continuous,funs,rels_ran_subseteq,img_subseteq_ran,subseteq_transitive}.
$P$ is a topology on $\productFamily{C}$ by \cref{space_filling_target_hausdorff,hausdorff}.
Therefore $A$ is closed in $\productFamily{C}$ with respect to $P$
by \cref{space_filling_target_hausdorff,compact_subspace_closed}.
Hence $A = \productFamily{C}$ by \cref{closed_eq_closure,dense_in}.
Therefore $f$ is surjective on $\productFamily{C}$
by \cref{continuous,funs_is_function,img_of_function_elim,inter_elim_left,function_apply_elim,righttotal}.
\end{proof}