\documentclass{article}
\newtheorem{axiom}{Axiom}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{conjecture}{Conjecture}
\newcommand\unicdcdgdad{\not=}
\newcommand\unicdcdcdbg{\cup}
\newcommand\unicdcdbdgd{\setminus}
\newcommand\unicdcdcdjd{\cap}
\newcommand\unicdcdadad{\forall}
\newcommand\unicdbdjdcd{\Rightarrow}
\newcommand\unicdcdadjd{\notin}
\newcommand\unicdbdjded{\Leftrightarrow}
\newcommand\unicdcdcdid{\lor}
\newcommand\unicdcdcdhd{\land}
\newcommand\uniddcgcg{\lambda}
\newcommand\unicdcdaddd{\exists}
\newcommand\unicdcdidid{\not\subseteq}
\newcommand\preoh[1]{\lnot #1}
\newcommand\mname[1]{{\mathsf{#1}}}
\begin{document}
\title{thm\_2Ebitstring\_2Eextend\_\_cons (TMHNBt96U8A4pAdrL2cPvvp4xk1nVu4T4eZ)}
\maketitle
Let $ ty\_2Elist\_2Elist : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
{{\unicdcdadad} A0 .  {{{nonempty}~{A0}}{\unicdbdjdcd}{{nonempty}~{({{ty\_2Elist\_2Elist}~{A0}})}}}}\label{hyp:ogfgpfehjhpfcdfemgjgdhehpfcdfemgjgdheh}
\end{equation}
Let $ c\_2Elist\_2ECONS : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2ECONS~A\_27a \in (((ty\_2Elist\_2Elist~\\
A\_27a)^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})^{{A\_27a}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfedepeoedf}
\end{equation}
Let $ ty\_2Enum\_2Enum : {\iota}$ be given.
Assume the following.
\begin{equation}
{{nonempty}~{ty\_2Enum\_2Enum}}\label{hyp:ogfgpfehjhpfcdfeogfhngpfcdfeogfhng}
\end{equation}
Let $ c\_2Ebitstring\_2Eextend : {\iota}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}c\_2Ebitstring\_2Eextend \in ((((ty\_2Elist\_2Elist~2)^{{({{ty\_2Elist\_2Elist}~{2}})}})^{{ty\_2Enum\_2Enum}})^{{2}})\end{array}
\label{hyp:ngfgngpfdgpfcdfecgjgehdhehchjgoghgpfcdfefgihehfgogeg}
\end{equation}
\begin{definition}\label{def:dgpfcdfengjgogpfcdfepfddee}
We define $\mname{c\_2Emin\_2E\_3D}$ to be ${{\uniddcgcg} A .  {{\uniddcgcg} x \in {A} .  {{\uniddcgcg} y \in {A} .  {{inj\_\_o}~{({{x}={y}})}}}}}$ of type ${{\iota}{\unicdbdjdcd}{\iota}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfeef}
We define $\mname{c\_2Ebool\_2ET}$ to be ${({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{({{2}^{{2}}})}})}}~{({{\uniddcgcg} V0x \in {2} .  {V0x}})}})}}~{({{\uniddcgcg} V1x \in {2} .  {V1x}})}})}$.
\end{definition}
Let $ c\_2Enum\_2EREP\_\_num : {\iota}$ be given.
Assume the following.
\begin{equation}
{{c\_2Enum\_2EREP\_\_num} \in {({{omega}^{{ty\_2Enum\_2Enum}}})}}\label{hyp:ngfgngpfdgpfcdfeogfhngpfcdfecffeafpfpfogfhng}
\end{equation}
Let $ c\_2Enum\_2ESUC\_\_REP : {\iota}$ be given.
Assume the following.
\begin{equation}
{{c\_2Enum\_2ESUC\_\_REP} \in {({{omega}^{{omega}}})}}\label{hyp:ngfgngpfdgpfcdfeogfhngpfcdfedfffdepfpfcffeaf}
\end{equation}
Let $ c\_2Enum\_2EABS\_\_num : {\iota}$ be given.
Assume the following.
\begin{equation}
{{c\_2Enum\_2EABS\_\_num} \in {({{ty\_2Enum\_2Enum}^{{omega}}})}}\label{hyp:ngfgngpfdgpfcdfeogfhngpfcdfebecedfpfpfogfhng}
\end{equation}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfepfcdbd}
We define $\mname{c\_2Ebool\_2E\_21}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {({{\uniddcgcg} V0P \in {({{2}^{{A\_27a}}})} .  {({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{({{2}^{{A\_27a}}})}})}}~{V0P}})}}~{({{\uniddcgcg} V1x \in {A\_27a} .  {\mname{c\_2Ebool\_2ET}}})}})}})}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfeogfhngpfcdfedfffde}
We define $\mname{c\_2Enum\_2ESUC}$ to be ${{\uniddcgcg} V0m \in {ty\_2Enum\_2Enum} .  {({{{ap}~{c\_2Enum\_2EABS\_\_num}}~{({{{ap}~{c\_2Enum\_2ESUC\_\_REP}}~{({{{ap}~{c\_2Enum\_2EREP\_\_num}}~{V0m}})}})}})}}$.
\end{definition}
Let $ c\_2Enum\_2EZERO\_\_REP : {\iota}$ be given.
Assume the following.
\begin{equation}
{{c\_2Enum\_2EZERO\_\_REP} \in {omega}}\label{hyp:ngfgngpfdgpfcdfeogfhngpfcdfekffecfpepfpfcffeaf}
\end{equation}
\begin{definition}\label{def:dgpfcdfeogfhngpfcdfead}
We define $\mname{c\_2Enum\_2E0}$ to be ${({{{ap}~{c\_2Enum\_2EABS\_\_num}}~{c\_2Enum\_2EZERO\_\_REP}})}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfege}
We define $\mname{c\_2Ebool\_2EF}$ to be ${({{{ap}~{({{\mname{c\_2Ebool\_2E\_21}}~{2}})}}~{({{\uniddcgcg} V0t \in {2} .  {V0t}})}})}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfengjgogpfcdfepfddeepfddeepfddfe}
We define $\mname{c\_2Emin\_2E\_3D\_3D\_3E}$ to be ${{\uniddcgcg} P \in {2} .  {{\uniddcgcg} Q \in {2} .  {{inj\_\_o}~{({{{p}~{P}}{\unicdbdjdcd}{{p}~{Q}}})}}}}$ of type ${\iota}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfepfcdgepffdde}
We define $\mname{c\_2Ebool\_2E\_2F\_5C}$ to be ${({{\uniddcgcg} V0t1 \in {2} .  {({{\uniddcgcg} V1t2 \in {2} .  {({{{ap}~{({{\mname{c\_2Ebool\_2E\_21}}~{2}})}}~{({{\uniddcgcg} V2t \in {2} .  {({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{V0t1}})}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{V1t2}})}}~{V2t}})}})}})}}~{V2t}})}})}})}})}})}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfepffddepfcdge}
We define $\mname{c\_2Ebool\_2E\_5C\_2F}$ to be ${({{\uniddcgcg} V0t1 \in {2} .  {({{\uniddcgcg} V1t2 \in {2} .  {({{{ap}~{({{\mname{c\_2Ebool\_2E\_21}}~{2}})}}~{({{\uniddcgcg} V2t \in {2} .  {({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{V0t1}})}}~{V2t}})}})}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{V1t2}})}}~{V2t}})}})}}~{V2t}})}})}})}})}})}})}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfepfhdfe}
We define $\mname{c\_2Ebool\_2E\_7E}$ to be ${({{\uniddcgcg} V0t \in {2} .  {({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{V0t}})}}~{\mname{c\_2Ebool\_2EF}}})}})}$.
\end{definition}
Assume the following.
\begin{equation}
\begin{array}{c}(({\unicdcdadad} V0v0 \in 2 .  ({\unicdcdadad} V1l \in (ty\_2Elist\_2Elist~2) .  ((ap~(\\
ap~(ap~c\_2Ebitstring\_2Eextend~V0v0)~\mname{c\_2Enum\_2E0})~V1l)=V1l))){\unicdcdcdhd}\\
({\unicdcdadad} V2c \in 2 .  ({\unicdcdadad} V3n \in ty\_2Enum\_2Enum .  ({\unicdcdadad} V4l \in (\\
ty\_2Elist\_2Elist~2) .  ((ap~(ap~(ap~c\_2Ebitstring\_2Eextend~V2c)~\\
(ap~\mname{c\_2Enum\_2ESUC}~V3n))~V4l)=(ap~(ap~(ap~c\_2Ebitstring\_2Eextend~\\
V2c)~V3n)~(ap~(ap~(c\_2Elist\_2ECONS~2)~V2c)~V4l)))))))\end{array}
\label{hyp:ehigngpfcdfecgjgehdhehchjgoghgpfcdfefgihehfgogegpfpfegfggg}
\end{equation}
Assume the following.
\begin{equation}
{True}\label{hyp:ehigngpfcdfecgpgpgmgpfcdfeefcfffefie}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0t \in 2 .  (((True{\unicdbdjdcd}(p~V0t)){\unicdbdjded}(p~V0t)){\unicdcdcdhd}((((p~V0t){\unicdbdjdcd}True){\unicdbdjded}\\
True){\unicdcdcdhd}(((False{\unicdbdjdcd}(p~V0t)){\unicdbdjded}True){\unicdcdcdhd}((((p~V0t){\unicdbdjdcd}(p~V0t)){\unicdbdjded}True){\unicdcdcdhd}((\\
(p~V0t){\unicdbdjdcd}False){\unicdbdjded}(\preoh (p~V0t))))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfejeneafpfpfdemebeffdffedf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}(({\unicdcdadad} V0t \in 2 .  ((\preoh (\preoh (p~V0t))){\unicdbdjded}(p~V0t))){\unicdcdcdhd}(((\preoh True){\unicdbdjded}False){\unicdcdcdhd}\\
((\preoh False){\unicdbdjded}True)))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfeoepeefpfpfdemebeffdffedf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0x \in A\_27a .  ({\unicdcdadad} V1y \in \\
A\_27a .  ((V0x=V1y){\unicdbdjded}(V1y=V0x))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfefebfpfpfdfjfnepfpffebf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0t \in 2 .  (((True{\unicdbdjded}(p~V0t)){\unicdbdjded}(p~V0t)){\unicdcdcdhd}((((p~V0t){\unicdbdjded}True){\unicdbdjded}\\
(p~V0t)){\unicdcdcdhd}(((False{\unicdbdjded}(p~V0t)){\unicdbdjded}(\preoh (p~V0t))){\unicdcdcdhd}(((p~V0t){\unicdbdjded}False){\unicdbdjded}(\preoh (\\
p~V0t)))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfefebfpfpfdemebeffdffedf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0P \in (2^{{A\_27a}}) .  ({\unicdcdadad} V1Q \in \\
(2^{{A\_27a}}) .  (({\unicdcdadad} V2x \in A\_27a .  ((p~(ap~V0P~V2x)){\unicdcdcdhd}(p~(ap~V1Q~V2x)))){\unicdbdjded}\\
(({\unicdcdadad} V3x \in A\_27a .  (p~(ap~V0P~V3x))){\unicdcdcdhd}({\unicdcdadad} V4x \in A\_27a .  (p~(\\
ap~V1Q~V4x)))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfegepecfbememepfpfbeoeeepfpfefiene}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0P \in (2^{{A\_27a}}) .  ({\unicdcdadad} V1Q \in \\
2 .  ((({\unicdcdadad} V2x \in A\_27a .  (p~(ap~V0P~V2x))){\unicdcdcdhd}(p~V1Q)){\unicdbdjded}({\unicdcdadad} V3x \in \\
A\_27a .  ((p~(ap~V0P~V3x)){\unicdcdcdhd}(p~V1Q))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfemefegeefpfpfbeoeeepfpfgepecfbememepfpfefiene}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0P \in 2 .  ({\unicdcdadad} V1Q \in (\\
2^{{A\_27a}}) .  (((p~V0P){\unicdcdcdhd}({\unicdcdadad} V2x \in A\_27a .  (p~(ap~V1Q~V2x)))){\unicdbdjded}({\unicdcdadad} V3x \in \\
A\_27a .  ((p~V0P){\unicdcdcdhd}(p~(ap~V1Q~V3x)))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfecfjeheieefpfpfbeoeeepfpfgepecfbememepfpfefiene}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0P \in (2^{{ty\_2Enum\_2Enum}}) .  (((p~(ap~V0P~\mname{c\_2Enum\_2E0})){\unicdcdcdhd}\\
({\unicdcdadad} V1n \in ty\_2Enum\_2Enum .  ((p~(ap~V0P~V1n)){\unicdbdjdcd}(p~(ap~V0P~(ap~\mname{c\_2Enum\_2ESUC}~\\
V1n)))))){\unicdbdjdcd}({\unicdcdadad} V2n \in ty\_2Enum\_2Enum .  (p~(ap~V0P~V2n)))))\end{array}
\label{hyp:ehigngpfcdfeogfhngpfcdfejeoeeeffdeefjepeoe}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0t \in {2} .  {({{({\preoh{{({\preoh{{({{p}~{V0t}})}}})}}})}{\unicdbdjded}{({{p}~{V0t}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfeoepeefpfpfoepeef}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0A \in {2} .  {({{({{p}~{V0A}})}{\unicdbdjdcd}{({{({\preoh{{({{p}~{V0A}})}}})}{\unicdbdjdcd}{False}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfebeoeeepfpfjeoegfpfpfjeneaf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0A \in 2 .  ({\unicdcdadad} V1B \in 2 .  (((\preoh ((p~V0A){\unicdcdcdid}(p~V1B))){\unicdbdjdcd}False){\unicdbdjded}\\
(((p~V0A){\unicdbdjdcd}False){\unicdbdjdcd}((\preoh (p~V1B)){\unicdbdjdcd}False)))))\end{array}
\label{hyp:ehigngpfcdfedhbgehpfcdfepecfpfpfeeffbemecd}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0A \in 2 .  ({\unicdcdadad} V1B \in 2 .  (((\preoh ((\preoh (p~V0A)){\unicdcdcdid}(p~V1B))){\unicdbdjdcd}False){\unicdbdjded}\\
((p~V0A){\unicdbdjdcd}((\preoh (p~V1B)){\unicdbdjdcd}False)))))\end{array}
\label{hyp:ehigngpfcdfedhbgehpfcdfepecfpfpfeeffbemedd}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0A \in {2} .  {({{({{({\preoh{{({{p}~{V0A}})}}})}{\unicdbdjdcd}{False}})}{\unicdbdjdcd}{({{({{({{p}~{V0A}})}{\unicdbdjdcd}{False}})}{\unicdbdjdcd}{False}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfebeoeeepfpfjeoegfcd}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0p \in 2 .  ({\unicdcdadad} V1q \in 2 .  ({\unicdcdadad} V2r \in 2 .  (((p~V0p){\unicdbdjded}(\\
(p~V1q){\unicdbdjded}(p~V2r))){\unicdbdjded}(((p~V0p){\unicdcdcdid}((p~V1q){\unicdcdcdid}(p~V2r))){\unicdcdcdhd}(((p~V0p){\unicdcdcdid}((\preoh (\\
p~V2r)){\unicdcdcdid}(\preoh (p~V1q)))){\unicdcdcdhd}(((p~V1q){\unicdcdcdid}((\preoh (p~V2r)){\unicdcdcdid}(\preoh (p~V0p)))){\unicdcdcdhd}((p~V2r){\unicdcdcdid}\\
((\preoh (p~V1q)){\unicdcdcdid}(\preoh (p~V0p)))))))))))\end{array}
\label{hyp:ehigngpfcdfedhbgehpfcdfeegdgpfpffgbh}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0p \in 2 .  ({\unicdcdadad} V1q \in 2 .  ({\unicdcdadad} V2r \in 2 .  (((p~V0p){\unicdbdjded}(\\
(p~V1q){\unicdbdjdcd}(p~V2r))){\unicdbdjded}(((p~V0p){\unicdcdcdid}(p~V1q)){\unicdcdcdhd}(((p~V0p){\unicdcdcdid}(\preoh (p~V2r))){\unicdcdcdhd}((\\
\preoh (p~V1q)){\unicdcdcdid}((p~V2r){\unicdcdcdid}(\preoh (p~V0p))))))))))\end{array}
\label{hyp:ehigngpfcdfedhbgehpfcdfeegdgpfpfjgngah}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0p \in {2} .  {({{\unicdcdadad} V1q \in {2} .  {({{({\preoh{{({{({{p}~{V0p}})}{\unicdbdjdcd}{({{p}~{V1q}})}})}}})}{\unicdbdjdcd}{({{p}~{V0p}})}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfeahehigpfpfogjgbd}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0p \in {2} .  {({{\unicdcdadad} V1q \in {2} .  {({{({\preoh{{({{({{p}~{V0p}})}{\unicdbdjdcd}{({{p}~{V1q}})}})}}})}{\unicdbdjdcd}{({\preoh{{({{p}~{V1q}})}}})}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfeahehigpfpfogjgcd}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0p \in {2} .  {({{\unicdcdadad} V1q \in {2} .  {({{({\preoh{{({{({{p}~{V0p}})}{\unicdcdcdid}{({{p}~{V1q}})}})}}})}{\unicdbdjdcd}{({\preoh{{({{p}~{V0p}})}}})}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfeahehigpfpfogpgbd}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0p \in {2} .  {({{\unicdcdadad} V1q \in {2} .  {({{({\preoh{{({{({{p}~{V0p}})}{\unicdcdcdid}{({{p}~{V1q}})}})}}})}{\unicdbdjdcd}{({\preoh{{({{p}~{V1q}})}}})}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfeahehigpfpfogpgcd}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0p \in {2} .  {({{({\preoh{{({\preoh{{({{p}~{V0p}})}}})}}})}{\unicdbdjdcd}{({{p}~{V0p}})}})}})}\label{hyp:ehigngpfcdfedhbgehpfcdfeahehigpfpfogog}
\end{equation}
\begin{theorem}\label{thm:ehigngpfcdfecgjgehdhehchjgoghgpfcdfefgihehfgogegpfpfdgpgogdh}
$$\begin{array}{c}({\unicdcdadad} V0n \in ty\_2Enum\_2Enum .  ({\unicdcdadad} V1c \in 2 .  ({\unicdcdadad} V2l \in (\\
ty\_2Elist\_2Elist~2) .  ((ap~(ap~(ap~c\_2Ebitstring\_2Eextend~V1c)~\\
(ap~\mname{c\_2Enum\_2ESUC}~V0n))~V2l)=(ap~(ap~(c\_2Elist\_2ECONS~2)~V1c)~\\
(ap~(ap~(ap~c\_2Ebitstring\_2Eextend~V1c)~V0n)~V2l))))))\end{array}$$
\end{theorem}
\end{document}
