\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\_2Ellist\_2ELTAKE\_\_fromList (TMJug5w86rAMPNfrJjHzZJLFqvsDEUoGNDa)}
\maketitle
\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}
\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: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: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}
Let $ ty\_2Enum\_2Enum : {\iota}$ be given.
Assume the following.
\begin{equation}
{{nonempty}~{ty\_2Enum\_2Enum}}\label{hyp:ogfgpfehjhpfcdfeogfhngpfcdfeogfhng}
\end{equation}
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\_2ELENGTH : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2ELENGTH~A\_27a \in (ty\_2Enum\_2Enum^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfemefeoeheefie}
\end{equation}
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: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}
Let $ ty\_2Eoption\_2Eoption : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
{{\unicdcdadad} A0 .  {{{nonempty}~{A0}}{\unicdbdjdcd}{{nonempty}~{({{ty\_2Eoption\_2Eoption}~{A0}})}}}}\label{hyp:ogfgpfehjhpfcdfepgahehjgpgogpfcdfepgahehjgpgog}
\end{equation}
Let $ ty\_2Ellist\_2Ellist : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
{{\unicdcdadad} A0 .  {{{nonempty}~{A0}}{\unicdbdjdcd}{{nonempty}~{({{ty\_2Ellist\_2Ellist}~{A0}})}}}}\label{hyp:ogfgpfehjhpfcdfemgmgjgdhehpfcdfemgmgjgdheh}
\end{equation}
Let $ c\_2Ellist\_2ELTAKE : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Ellist\_2ELTAKE~A\_27a \in (((ty\_2Eoption\_2Eoption~\\
(ty\_2Elist\_2Elist~A\_27a))^{{({{ty\_2Ellist\_2Ellist}~{A\_27a}})}})^{{ty\_2Enum\_2Enum}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgmgjgdhehpfcdfemeefbelefe}
\end{equation}
\begin{definition}\label{def:dgpfcdfebgchjgehigngfgehjgdgpfcdfekffecfpe}
We define $\mname{c\_2Earithmetic\_2EZERO}$ to be ${\mname{c\_2Enum\_2E0}}$.
\end{definition}
Let $ c\_2Earithmetic\_2E\_2B : {\iota}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}c\_2Earithmetic\_2E\_2B \in ((ty\_2Enum\_2Enum^{{ty\_2Enum\_2Enum}})^{{ty\_2Enum\_2Enum}})\end{array}
\label{hyp:ngfgngpfdgpfcdfebgchjgehigngfgehjgdgpfcdfepfcdce}
\end{equation}
\begin{definition}\label{def:dgpfcdfebgchjgehigngfgehjgdgpfcdfecejeefbd}
We define $\mname{c\_2Earithmetic\_2EBIT1}$ to be ${{\uniddcgcg} V0n \in {ty\_2Enum\_2Enum} .  {({{{ap}~{({{{ap}~{c\_2Earithmetic\_2E\_2B}}~{V0n}})}}~{({{{ap}~{({{{ap}~{c\_2Earithmetic\_2E\_2B}}~{V0n}})}}~{({{{ap}~{\mname{c\_2Enum\_2ESUC}}}~{\mname{c\_2Enum\_2E0}}})}})}})}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfebgchjgehigngfgehjgdgpfcdfeoeffnefecfbeme}
We define $\mname{c\_2Earithmetic\_2ENUMERAL}$ to be ${{\uniddcgcg} V0x \in {ty\_2Enum\_2Enum} .  {V0x}}$.
\end{definition}
Let $ c\_2Earithmetic\_2E\_2D : {\iota}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}c\_2Earithmetic\_2E\_2D \in ((ty\_2Enum\_2Enum^{{ty\_2Enum\_2Enum}})^{{ty\_2Enum\_2Enum}})\end{array}
\label{hyp:ngfgngpfdgpfcdfebgchjgehigngfgehjgdgpfcdfepfcdee}
\end{equation}
Let $ c\_2Ellist\_2Ellist\_\_rep : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Ellist\_2Ellist\_\_rep~A\_27a \in \\
(((ty\_2Eoption\_2Eoption~A\_27a)^{{ty\_2Enum\_2Enum}})^{{({{ty\_2Ellist\_2Ellist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgmgjgdhehpfcdfemgmgjgdhehpfpfchfgah}
\end{equation}
Let $ ty\_2Eone\_2Eone : {\iota}$ be given.
Assume the following.
\begin{equation}
{{nonempty}~{ty\_2Eone\_2Eone}}\label{hyp:ogfgpfehjhpfcdfepgogfgpfcdfepgogfg}
\end{equation}
\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}
Let $ ty\_2Esum\_2Esum : {{\iota}{\unicdbdjdcd}{{\iota}{\unicdbdjdcd}{\iota}}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A0 .  nonempty~A0{\unicdbdjdcd}{\unicdcdadad} A1 .  nonempty~A1{\unicdbdjdcd}nonempty~(ty\_2Esum\_2Esum~\\
A0~A1)\end{array}
\label{hyp:ogfgpfehjhpfcdfedhfhngpfcdfedhfhng}
\end{equation}
Let $ c\_2Esum\_2EABS\_\_sum : {{\iota}{\unicdbdjdcd}{{\iota}{\unicdbdjdcd}{\iota}}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}{\unicdcdadad} A\_27b .  nonempty~A\_27b{\unicdbdjdcd}c\_2Esum\_2EABS\_\_sum~\\
A\_27a~A\_27b \in ((ty\_2Esum\_2Esum~A\_27a~A\_27b)^{{({{({{({{2}^{{A\_27b}}})}^{{A\_27a}}})}^{{2}}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfedhfhngpfcdfebecedfpfpfdhfhng}
\end{equation}
\begin{definition}\label{def:dgpfcdfedhfhngpfcdfejeoeme}
We define $\mname{c\_2Esum\_2EINL}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {{\uniddcgcg} A\_27b : {\iota} .  {{\uniddcgcg} V0e \in {A\_27a} .  {({{{ap}~{({{{c\_2Esum\_2EABS\_\_sum}~{A\_27a}}~{A\_27b}})}}~{({{\uniddcgcg} V1b \in {2} .  {({{\uniddcgcg} V2x \in {A\_27a} .  {({{\uniddcgcg} V3y \in {A\_27b} .  {({{{ap}~{({{{ap}~{\mname{c\_2Ebool\_2E\_2F\_5C}}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{A\_27a}})}}~{V2x}})}}~{V0e}})}})}}~{V1b}})}})}})}})}})}}}}$.
\end{definition}
Let $ c\_2Eoption\_2Eoption\_\_ABS : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Eoption\_2Eoption\_\_ABS~A\_27a \in \\
((ty\_2Eoption\_2Eoption~A\_27a)^{{({{{ty\_2Esum\_2Esum}~{A\_27a}}~{ty\_2Eone\_2Eone}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfepgahehjgpgogpfcdfepgahehjgpgogpfpfbecedf}
\end{equation}
\begin{definition}\label{def:dgpfcdfepgahehjgpgogpfcdfedfpenefe}
We define $\mname{c\_2Eoption\_2ESOME}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {{\uniddcgcg} V0x \in {A\_27a} .  {({{{ap}~{({{c\_2Eoption\_2Eoption\_\_ABS}~{A\_27a}})}}~{({{{ap}~{({{{\mname{c\_2Esum\_2EINL}}~{A\_27a}}~{ty\_2Eone\_2Eone}})}}~{V0x}})}})}}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfengjgogpfcdfepfedad}
We define $\mname{c\_2Emin\_2E\_40}$ to be ${{\uniddcgcg} A .  {{\uniddcgcg} P \in {{2}^{{A}}} .  {{\mathbf{if}}~{({{\unicdcdaddd} x \in {A} .  {{p}~{({{{ap}~{P}}~{x}})}}})}~{\mathbf{then}}~{({{the}~{({{\uniddcgcg} x .  {{{x} \in {A}}{\unicdcdcdhd}{{p}~{({{{ap}~{P}}~{x}})}}}})}})}~{\mathbf{else}}~{({{the}~{({{\uniddcgcg} x .  {{x} \in {A}}})}})}}}}$ of type ${{\iota}{\unicdbdjdcd}{\iota}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfedepeoeee}
We define $\mname{c\_2Ebool\_2ECOND}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {({{\uniddcgcg} V0t \in {2} .  {({{\uniddcgcg} V1t1 \in {A\_27a} .  {({{\uniddcgcg} V2t2 \in {A\_27a} .  {({{{ap}~{({{\mname{c\_2Emin\_2E\_40}}~{A\_27a}})}}~{({{\uniddcgcg} V3x \in {A\_27a} .  {({{{ap}~{({{{ap}~{\mname{c\_2Ebool\_2E\_2F\_5C}}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{2}})}}~{V0t}})}}~{\mname{c\_2Ebool\_2ET}}})}})}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{A\_27a}})}}~{V3x}})}}~{V1t1}})}})}})}}~{({{{ap}~{({{{ap}~{\mname{c\_2Emin\_2E\_3D\_3D\_3E}}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{2}})}}~{V0t}})}}~{\mname{c\_2Ebool\_2EF}}})}})}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{A\_27a}})}}~{V3x}})}}~{V2t2}})}})}})}})}})}})}})}})}}$.
\end{definition}
Let $ c\_2Ellist\_2Ellist\_\_abs : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Ellist\_2Ellist\_\_abs~A\_27a \in \\
((ty\_2Ellist\_2Ellist~A\_27a)^{{({{({{ty\_2Eoption\_2Eoption}~{A\_27a}})}^{{ty\_2Enum\_2Enum}}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgmgjgdhehpfcdfemgmgjgdhehpfpfbgcgdh}
\end{equation}
\begin{definition}\label{def:dgpfcdfemgmgjgdhehpfcdfemedepeoedf}
We define $\mname{c\_2Ellist\_2ELCONS}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {{\uniddcgcg} V0h \in {A\_27a} .  {{\uniddcgcg} V1t \in {({{ty\_2Ellist\_2Ellist}~{A\_27a}})} .  {({{{ap}~{({{c\_2Ellist\_2Ellist\_\_abs}~{A\_27a}})}}~{({{\uniddcgcg} V2n \in {ty\_2Enum\_2Enum} .  {({{{ap}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Ebool\_2ECOND}}~{({{ty\_2Eoption\_2Eoption}~{A\_27a}})}})}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{ty\_2Enum\_2Enum}})}}~{V2n}})}}~{\mname{c\_2Enum\_2E0}}})}})}}~{({{{ap}~{({{\mname{c\_2Eoption\_2ESOME}}~{A\_27a}})}}~{V0h}})}})}}~{({{{ap}~{({{{ap}~{({{c\_2Ellist\_2Ellist\_\_rep}~{A\_27a}})}}~{V1t}})}}~{({{{ap}~{({{{ap}~{c\_2Earithmetic\_2E\_2D}}~{V2n}})}}~{({{{ap}~{\mname{c\_2Earithmetic\_2ENUMERAL}}}~{({{{ap}~{\mname{c\_2Earithmetic\_2EBIT1}}}~{\mname{c\_2Earithmetic\_2EZERO}}})}})}})}})}})}})}})}}}}$.
\end{definition}
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}
\begin{definition}\label{def:dgpfcdfepgogfgpfcdfepgogfg}
We define $\mname{c\_2Eone\_2Eone}$ to be ${({{{ap}~{({{\mname{c\_2Emin\_2E\_40}}~{ty\_2Eone\_2Eone}})}}~{({{\uniddcgcg} V0x \in {ty\_2Eone\_2Eone} .  {\mname{c\_2Ebool\_2ET}}})}})}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfedhfhngpfcdfejeoecf}
We define $\mname{c\_2Esum\_2EINR}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {{\uniddcgcg} A\_27b : {\iota} .  {{\uniddcgcg} V0e \in {A\_27b} .  {({{{ap}~{({{{c\_2Esum\_2EABS\_\_sum}~{A\_27a}}~{A\_27b}})}}~{({{\uniddcgcg} V1b \in {2} .  {({{\uniddcgcg} V2x \in {A\_27a} .  {({{\uniddcgcg} V3y \in {A\_27b} .  {({{{ap}~{({{{ap}~{\mname{c\_2Ebool\_2E\_2F\_5C}}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{A\_27b}})}}~{V3y}})}}~{V0e}})}})}}~{({{{ap}~{\mname{c\_2Ebool\_2E\_7E}}}~{V1b}})}})}})}})}})}})}}}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfepgahehjgpgogpfcdfeoepeoefe}
We define $\mname{c\_2Eoption\_2ENONE}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {({{{ap}~{({{c\_2Eoption\_2Eoption\_\_ABS}~{A\_27a}})}}~{({{{ap}~{({{{\mname{c\_2Esum\_2EINR}}~{A\_27a}}~{ty\_2Eone\_2Eone}})}}~{\mname{c\_2Eone\_2Eone}}})}})}}$.
\end{definition}
\begin{definition}\label{def:dgpfcdfemgmgjgdhehpfcdfemeoejeme}
We define $\mname{c\_2Ellist\_2ELNIL}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {({{{ap}~{({{c\_2Ellist\_2Ellist\_\_abs}~{A\_27a}})}}~{({{\uniddcgcg} V0n \in {ty\_2Enum\_2Enum} .  {({{\mname{c\_2Eoption\_2ENONE}}~{A\_27a}})}})}})}}$.
\end{definition}
Let $ c\_2Elist\_2ENIL : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2ENIL~A\_27a \in (ty\_2Elist\_2Elist~\\
A\_27a)\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfeoejeme}
\end{equation}
Let $ c\_2Ellist\_2EfromList : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Ellist\_2EfromList~A\_27a \in ((\\
ty\_2Ellist\_2Ellist~A\_27a)^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgmgjgdhehpfcdfeggchpgngmejgdheh}
\end{equation}
Let $ c\_2Eoption\_2EOPTION\_\_MAP : {{\iota}{\unicdbdjdcd}{{\iota}{\unicdbdjdcd}{\iota}}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}{\unicdcdadad} A\_27b .  nonempty~A\_27b{\unicdbdjdcd}c\_2Eoption\_2EOPTION\_\_MAP~\\
A\_27a~A\_27b \in (((ty\_2Eoption\_2Eoption~A\_27b)^{{({{ty\_2Eoption\_2Eoption}~{A\_27a}})}})^{{({{A\_27b}^{{A\_27a}}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfepgahehjgpgogpfcdfepeafefjepeoepfpfnebeaf}
\end{equation}
Assume the following.
\begin{equation}
{True}\label{hyp:ehigngpfcdfecgpgpgmgpfcdfeefcfffefie}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0t \in 2 .  (({\unicdcdadad} V1x \in \\
A\_27a .  (p~V0t)){\unicdbdjded}(p~V0t)))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfegepecfbememepfpfdfjeneaf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0t \in 2 .  (((True{\unicdcdcdhd}(p~V0t)){\unicdbdjded}(p~V0t)){\unicdcdcdhd}((((p~V0t){\unicdcdcdhd}True){\unicdbdjded}\\
(p~V0t)){\unicdcdcdhd}(((False{\unicdcdcdhd}(p~V0t)){\unicdbdjded}False){\unicdcdcdhd}((((p~V0t){\unicdcdcdhd}False){\unicdbdjded}False){\unicdcdcdhd}\\
(((p~V0t){\unicdcdcdhd}(p~V0t)){\unicdbdjded}(p~V0t)))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfebeoeeepfpfdemebeffdffedf}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0x \in A\_27a .  ((V0x=V0x){\unicdbdjded}\\
True))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfecffegemepfpfdemebeffdffe}
\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}(((ap~(c\_2Elist\_2ELENGTH~A\_27a)~\\
(c\_2Elist\_2ENIL~A\_27a))=\mname{c\_2Enum\_2E0}){\unicdcdcdhd}({\unicdcdadad} V0h \in A\_27a .  (\\
{\unicdcdadad} V1t \in (ty\_2Elist\_2Elist~A\_27a) .  ((ap~(c\_2Elist\_2ELENGTH~\\
A\_27a)~(ap~(ap~(c\_2Elist\_2ECONS~A\_27a)~V0h)~V1t))=(ap~\mname{c\_2Enum\_2ESUC}~\\
(ap~(c\_2Elist\_2ELENGTH~A\_27a)~V1t))))))\end{array}
\label{hyp:ehigngpfcdfemgjgdhehpfcdfemefeoeheefie}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0P \in (2^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}}) .  \\
(((p~(ap~V0P~(c\_2Elist\_2ENIL~A\_27a))){\unicdcdcdhd}({\unicdcdadad} V1t \in (ty\_2Elist\_2Elist~\\
A\_27a) .  ((p~(ap~V0P~V1t)){\unicdbdjdcd}({\unicdcdadad} V2h \in A\_27a .  (p~(ap~V0P~(ap~(ap~(\\
c\_2Elist\_2ECONS~A\_27a)~V2h)~V1t))))))){\unicdbdjdcd}({\unicdcdadad} V3l \in (ty\_2Elist\_2Elist~\\
A\_27a) .  (p~(ap~V0P~V3l)))))\end{array}
\label{hyp:ehigngpfcdfemgjgdhehpfcdfemgjgdhehpfpfjgogegfhdgehjgpgog}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0a0 \in A\_27a .  ({\unicdcdadad} V1a1 \in \\
(ty\_2Elist\_2Elist~A\_27a) .  ({\unicdcdadad} V2a0\_27 \in A\_27a .  ({\unicdcdadad} V3a1\_27 \in \\
(ty\_2Elist\_2Elist~A\_27a) .  (((ap~(ap~(c\_2Elist\_2ECONS~A\_27a)~V0a0)~\\
V1a1)=(ap~(ap~(c\_2Elist\_2ECONS~A\_27a)~V2a0\_27)~V3a1\_27)){\unicdbdjded}((V0a0=\\
V2a0\_27){\unicdcdcdhd}(V1a1=V3a1\_27)))))))\end{array}
\label{hyp:ehigngpfcdfemgjgdhehpfcdfedepeoedfpfpfbdbd}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}{\unicdcdadad} A\_27b .  nonempty~A\_27b{\unicdbdjdcd}{\unicdcdadad} A\_27c .  \\
nonempty~A\_27c{\unicdbdjdcd}(({\unicdcdadad} V0l \in (ty\_2Ellist\_2Ellist~A\_27a) .  ((\\
ap~(ap~(c\_2Ellist\_2ELTAKE~A\_27a)~\mname{c\_2Enum\_2E0})~V0l)=(ap~(\mname{c\_2Eoption\_2ESOME}~\\
(ty\_2Elist\_2Elist~A\_27a))~(c\_2Elist\_2ENIL~A\_27a)))){\unicdcdcdhd}(({\unicdcdadad} V1n \in \\
ty\_2Enum\_2Enum .  ((ap~(ap~(c\_2Ellist\_2ELTAKE~A\_27b)~(ap~\mname{c\_2Enum\_2ESUC}~\\
V1n))~(\mname{c\_2Ellist\_2ELNIL}~A\_27b))=(\mname{c\_2Eoption\_2ENONE}~(ty\_2Elist\_2Elist~\\
A\_27b)))){\unicdcdcdhd}({\unicdcdadad} V2n \in ty\_2Enum\_2Enum .  ({\unicdcdadad} V3h \in A\_27c .  \\
({\unicdcdadad} V4t \in (ty\_2Ellist\_2Ellist~A\_27c) .  ((ap~(ap~(c\_2Ellist\_2ELTAKE~\\
A\_27c)~(ap~\mname{c\_2Enum\_2ESUC}~V2n))~(ap~(ap~(\mname{c\_2Ellist\_2ELCONS}~A\_27c)~\\
V3h)~V4t))=(ap~(ap~(c\_2Eoption\_2EOPTION\_\_MAP~(ty\_2Elist\_2Elist~\\
A\_27c)~(ty\_2Elist\_2Elist~A\_27c))~(ap~(c\_2Elist\_2ECONS~A\_27c)~\\
V3h))~(ap~(ap~(c\_2Ellist\_2ELTAKE~A\_27c)~V2n)~V4t))))))))\end{array}
\label{hyp:ehigngpfcdfemgmgjgdhehpfcdfemeefbelefepfpfefiene}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}(((ap~(c\_2Ellist\_2EfromList~A\_27a)~\\
(c\_2Elist\_2ENIL~A\_27a))=(\mname{c\_2Ellist\_2ELNIL}~A\_27a)){\unicdcdcdhd}({\unicdcdadad} V0h \in \\
A\_27a .  ({\unicdcdadad} V1t \in (ty\_2Elist\_2Elist~A\_27a) .  ((ap~(c\_2Ellist\_2EfromList~\\
A\_27a)~(ap~(ap~(c\_2Elist\_2ECONS~A\_27a)~V0h)~V1t))=(ap~(ap~(\mname{c\_2Ellist\_2ELCONS}~\\
A\_27a)~V0h)~(ap~(c\_2Ellist\_2EfromList~A\_27a)~V1t))))))\end{array}
\label{hyp:ehigngpfcdfemgmgjgdhehpfcdfeggchpgngmejgdhehpfpfegfggg}
\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 .  (((ap~(\mname{c\_2Eoption\_2ESOME}~A\_27a)~V0x)=(ap~(\mname{c\_2Eoption\_2ESOME}~\\
A\_27a)~V1y)){\unicdbdjded}(V0x=V1y))))\end{array}
\label{hyp:ehigngpfcdfepgahehjgpgogpfcdfedfpenefepfpfbdbd}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}{\unicdcdadad} A\_27b .  nonempty~A\_27b{\unicdbdjdcd}(\\
({\unicdcdadad} V0f \in (A\_27b^{{A\_27a}}) .  ({\unicdcdadad} V1x \in A\_27a .  ((ap~(ap~(c\_2Eoption\_2EOPTION\_\_MAP~\\
A\_27a~A\_27b)~V0f)~(ap~(\mname{c\_2Eoption\_2ESOME}~A\_27a)~V1x))=(ap~(\mname{c\_2Eoption\_2ESOME}~\\
A\_27b)~(ap~V0f~V1x))))){\unicdcdcdhd}({\unicdcdadad} V2f \in (A\_27b^{{A\_27a}}) .  ((ap~(ap~(c\_2Eoption\_2EOPTION\_\_MAP~\\
A\_27a~A\_27b)~V2f)~(\mname{c\_2Eoption\_2ENONE}~A\_27a))=(\mname{c\_2Eoption\_2ENONE}~\\
A\_27b))))\end{array}
\label{hyp:ehigngpfcdfepgahehjgpgogpfcdfepeafefjepeoepfpfnebeafpfpfeefege}
\end{equation}
\begin{theorem}\label{thm:ehigngpfcdfemgmgjgdhehpfcdfemeefbelefepfpfggchpgngmejgdheh}
$$\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}({\unicdcdadad} V0l \in (ty\_2Elist\_2Elist~\\
A\_27a) .  ((ap~(ap~(c\_2Ellist\_2ELTAKE~A\_27a)~(ap~(c\_2Elist\_2ELENGTH~\\
A\_27a)~V0l))~(ap~(c\_2Ellist\_2EfromList~A\_27a)~V0l))=(ap~(\mname{c\_2Eoption\_2ESOME}~\\
(ty\_2Elist\_2Elist~A\_27a))~V0l)))\end{array}$$
\end{theorem}
\end{document}
