\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\_2Efinite\_\_map\_2EFUPDATE\_\_LIST\_\_ALL\_\_DISTINCT\_\_REVERSE (TMTg4Ra7yfAsnJEe5mgHiMvCQTw6KDNrswD)}
\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}
Let $ ty\_2Efinite\_\_map\_2Efmap : {{\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\_2Efinite\_\_map\_2Efmap~\\
A0~A1)\end{array}
\label{hyp:ogfgpfehjhpfcdfeggjgogjgehfgpfpfngbgahpfcdfeggngbgah}
\end{equation}
Let $ ty\_2Epair\_2Eprod : {{\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\_2Epair\_2Eprod~\\
A0~A1)\end{array}
\label{hyp:ogfgpfehjhpfcdfeahbgjgchpfcdfeahchpgeg}
\end{equation}
Let $ c\_2Efinite\_\_map\_2EFUPDATE : {{\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\_2Efinite\_\_map\_2EFUPDATE~\\
A\_27a~A\_27b \in (((ty\_2Efinite\_\_map\_2Efmap~A\_27a~A\_27b)^{{({{{ty\_2Epair\_2Eprod}~{A\_27a}}~{A\_27b}})}})^{{({{{ty\_2Efinite\_\_map\_2Efmap}~{A\_27a}}~{A\_27b}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfeggjgogjgehfgpfpfngbgahpfcdfegeffafeebeeffe}
\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\_2EFOLDL : {{\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\_2Elist\_2EFOLDL~\\
A\_27a~A\_27b \in (((A\_27b^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})^{{A\_27b}})^{{({{({{A\_27b}^{{A\_27a}}})}^{{A\_27b}}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfegepemeeeme}
\end{equation}
\begin{definition}\label{def:dgpfcdfeggjgogjgehfgpfpfngbgahpfcdfegeffafeebeeffepfpfmejedfef}
We define $\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {{\uniddcgcg} A\_27b : {\iota} .  {({{{ap}~{({{{c\_2Elist\_2EFOLDL}~{({{{ty\_2Epair\_2Eprod}~{A\_27a}}~{A\_27b}})}}~{({{{ty\_2Efinite\_\_map\_2Efmap}~{A\_27a}}~{A\_27b}})}})}}~{({{{c\_2Efinite\_\_map\_2EFUPDATE}~{A\_27a}}~{A\_27b}})}})}}}$.
\end{definition}
Let $ c\_2Elist\_2EMAP : {{\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\_2Elist\_2EMAP~\\
A\_27a~A\_27b \in (((ty\_2Elist\_2Elist~A\_27b)^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})^{{({{A\_27b}^{{A\_27a}}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfenebeaf}
\end{equation}
\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}
Let $ c\_2Elist\_2EAPPEND : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2EAPPEND~A\_27a \in (((ty\_2Elist\_2Elist~\\
A\_27a)^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfebeafaffeoeee}
\end{equation}
Let $ c\_2Elist\_2EREVERSE : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2EREVERSE~A\_27a \in ((ty\_2Elist\_2Elist~\\
A\_27a)^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfecffegffecfdffe}
\end{equation}
Let $ c\_2Elist\_2ELIST\_\_TO\_\_SET : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2ELIST\_\_TO\_\_SET~A\_27a \in \\
((2^{{A\_27a}})^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfemejedfefpfpfefpepfpfdffeef}
\end{equation}
\begin{definition}\label{def:dgpfcdfecgpgpgmgpfcdfejeoe}
We define $\mname{c\_2Ebool\_2EIN}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {({{\uniddcgcg} V0x \in {A\_27a} .  {({{\uniddcgcg} V1f \in {({{2}^{{A\_27a}}})} .  {({{{ap}~{V1f}}~{V0x}})}})}})}}$.
\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 $ 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 $ 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\_2Elist\_2EALL\_\_DISTINCT : {{\iota}{\unicdbdjdcd}{\iota}}$ be given.
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}c\_2Elist\_2EALL\_\_DISTINCT~A\_27a \in \\
(2^{{({{ty\_2Elist\_2Elist}~{A\_27a}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfemgjgdhehpfcdfebememepfpfeejedfefjeoedeef}
\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}
\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:dgpfcdfecgpgpgmgpfcdfepfddge}
We define $\mname{c\_2Ebool\_2E\_3F}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {({{\uniddcgcg} V0P \in {({{2}^{{A\_27a}}})} .  {({{{ap}~{V0P}}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_40}}~{A\_27a}})}}~{V0P}})}})}})}}$.
\end{definition}
Let $ c\_2Epair\_2EABS\_\_prod : {{\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\_2Epair\_2EABS\_\_prod~\\
A\_27a~A\_27b \in ((ty\_2Epair\_2Eprod~A\_27a~A\_27b)^{{({{({{2}^{{A\_27b}}})}^{{A\_27a}}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfeahbgjgchpfcdfebecedfpfpfahchpgeg}
\end{equation}
\begin{definition}\label{def:dgpfcdfeahbgjgchpfcdfepfcdde}
We define $\mname{c\_2Epair\_2E\_2C}$ to be ${{\uniddcgcg} A\_27a : {\iota} .  {{\uniddcgcg} A\_27b : {\iota} .  {{\uniddcgcg} V0x \in {A\_27a} .  {{\uniddcgcg} V1y \in {A\_27b} .  {({{{ap}~{({{{c\_2Epair\_2EABS\_\_prod}~{A\_27a}}~{A\_27b}})}}~{({{\uniddcgcg} V2a \in {A\_27a} .  {({{\uniddcgcg} V3b \in {A\_27b} .  {({{{ap}~{({{{ap}~{\mname{c\_2Ebool\_2E\_2F\_5C}}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{A\_27a}})}}~{V2a}})}}~{V0x}})}})}}~{({{{ap}~{({{{ap}~{({{\mname{c\_2Emin\_2E\_3D}}~{A\_27b}})}}~{V3b}})}}~{V1y}})}})}})}})}})}}}}}$.
\end{definition}
Let $ c\_2Epair\_2EFST : {{\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\_2Epair\_2EFST~\\
A\_27a~A\_27b \in (A\_27a^{{({{{ty\_2Epair\_2Eprod}~{A\_27a}}~{A\_27b}})}})\end{array}
\label{hyp:ngfgngpfdgpfcdfeahbgjgchpfcdfegedfef}
\end{equation}
Assume the following.
\begin{equation}
{True}\label{hyp:ehigngpfcdfecgpgpgmgpfcdfeefcfffefie}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0t1 \in 2 .  ({\unicdcdadad} V1t2 \in 2 .  (((p~V0t1){\unicdbdjdcd}(p~V1t2)){\unicdbdjdcd}(((p~\\
V1t2){\unicdbdjdcd}(p~V0t1)){\unicdbdjdcd}((p~V0t1){\unicdbdjded}(p~V1t2))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfejeneafpfpfbeoeefjedfjfnepfpfbeif}
\end{equation}
Assume the following.
\begin{equation}
{({{\unicdcdadad} V0t \in {2} .  {({{False}{\unicdbdjdcd}{({{p}~{V0t}})}})}})}\label{hyp:ehigngpfcdfecgpgpgmgpfcdfegebemedfjeefjf}
\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{\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 .  ((V0x=V0x){\unicdbdjded}\\
True))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfecffegemepfpfdemebeffdffe}
\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} V0t1 \in 2 .  ({\unicdcdadad} V1t2 \in 2 .  ({\unicdcdadad} V2t3 \in 2 .  (((p~V0t1){\unicdbdjdcd}\\
((p~V1t2){\unicdbdjdcd}(p~V2t3))){\unicdbdjded}(((p~V0t1){\unicdcdcdhd}(p~V1t2)){\unicdbdjdcd}(p~V2t3))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfebeoeeepfpfjeneafpfpfjeoeefcfpe}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}({\unicdcdadad} V0x \in 2 .  ({\unicdcdadad} V1x\_27 \in 2 .  ({\unicdcdadad} V2y \in 2 .  ({\unicdcdadad} V3y\_27 \in \\
2 .  ((((p~V0x){\unicdbdjded}(p~V1x\_27)){\unicdcdcdhd}((p~V1x\_27){\unicdbdjdcd}((p~V2y){\unicdbdjded}(p~V3y\_27)))){\unicdbdjdcd}\\
(((p~V0x){\unicdbdjdcd}(p~V2y)){\unicdbdjded}((p~V1x\_27){\unicdbdjdcd}(p~V3y\_27))))))))\end{array}
\label{hyp:ehigngpfcdfecgpgpgmgpfcdfejeneafpfpfdepeoehe}
\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 (ty\_2Efinite\_\_map\_2Efmap~A\_27a~A\_27b) .  (((ap~(ap~\\
(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~A\_27b)~V0f)~(c\_2Elist\_2ENIL~\\
(ty\_2Epair\_2Eprod~A\_27a~A\_27b)))=V0f){\unicdcdcdhd}({\unicdcdadad} V1h \in (ty\_2Epair\_2Eprod~\\
A\_27a~A\_27b) .  ({\unicdcdadad} V2t \in (ty\_2Elist\_2Elist~(ty\_2Epair\_2Eprod~\\
A\_27a~A\_27b)) .  ((ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~\\
A\_27b)~V0f)~(ap~(ap~(c\_2Elist\_2ECONS~(ty\_2Epair\_2Eprod~A\_27a~A\_27b))~\\
V1h)~V2t))=(ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~A\_27b)~\\
(ap~(ap~(c\_2Efinite\_\_map\_2EFUPDATE~A\_27a~A\_27b)~V0f)~V1h))~V2t))))))\end{array}
\label{hyp:ehigngpfcdfeggjgogjgehfgpfpfngbgahpfcdfegeffafeebeeffepfpfmejedfefpfpfefiene}
\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} V0fm \in (ty\_2Efinite\_\_map\_2Efmap~A\_27a~A\_27b) .  ({\unicdcdadad} V1kvl1 \in \\
(ty\_2Elist\_2Elist~(ty\_2Epair\_2Eprod~A\_27a~A\_27b)) .  ({\unicdcdadad} V2kvl2 \in \\
(ty\_2Elist\_2Elist~(ty\_2Epair\_2Eprod~A\_27a~A\_27b)) .  ((ap~(ap~(\\
\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~A\_27b)~V0fm)~(ap~(ap~(c\_2Elist\_2EAPPEND~\\
(ty\_2Epair\_2Eprod~A\_27a~A\_27b))~V1kvl1)~V2kvl2))=(ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~\\
A\_27a~A\_27b)~(ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~A\_27b)~\\
V0fm)~V1kvl1))~V2kvl2)))))\end{array}
\label{hyp:ehigngpfcdfeggjgogjgehfgpfpfngbgahpfcdfegeffafeebeeffepfpfmejedfefpfpfbeafaffeoeee}
\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} V0k \in A\_27a .  ({\unicdcdadad} V1kvl \in (ty\_2Elist\_2Elist~(ty\_2Epair\_2Eprod~\\
A\_27a~A\_27b)) .  ({\unicdcdadad} V2fm \in (ty\_2Efinite\_\_map\_2Efmap~A\_27a~\\
A\_27b) .  ({\unicdcdadad} V3v \in A\_27b .  ((\preoh (p~(ap~(ap~(\mname{c\_2Ebool\_2EIN}~A\_27a)~\\
V0k)~(ap~(c\_2Elist\_2ELIST\_\_TO\_\_SET~A\_27a)~(ap~(ap~(c\_2Elist\_2EMAP~\\
(ty\_2Epair\_2Eprod~A\_27a~A\_27b)~A\_27a)~(c\_2Epair\_2EFST~A\_27a~A\_27b))~\\
V1kvl))))){\unicdbdjdcd}((ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~\\
A\_27b)~(ap~(ap~(c\_2Efinite\_\_map\_2EFUPDATE~A\_27a~A\_27b)~V2fm)~(\\
ap~(ap~(\mname{c\_2Epair\_2E\_2C}~A\_27a~A\_27b)~V0k)~V3v)))~V1kvl)=(ap~(ap~(\\
c\_2Efinite\_\_map\_2EFUPDATE~A\_27a~A\_27b)~(ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~\\
A\_27a~A\_27b)~V2fm)~V1kvl))~(ap~(ap~(\mname{c\_2Epair\_2E\_2C}~A\_27a~A\_27b)~\\
V0k)~V3v))))))))\end{array}
\label{hyp:ehigngpfcdfeggjgogjgehfgpfpfngbgahpfcdfegeffafeebeeffepfpfgeffafeebeeffepfpfmejedfefpfpfdepeneneffeffedf}
\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}}) .  ((ap~(ap~(c\_2Elist\_2EMAP~A\_27a~A\_27b)~\\
V0f)~(c\_2Elist\_2ENIL~A\_27a))=(c\_2Elist\_2ENIL~A\_27b))){\unicdcdcdhd}({\unicdcdadad} V1f \in \\
(A\_27b^{{A\_27a}}) .  ({\unicdcdadad} V2h \in A\_27a .  ({\unicdcdadad} V3t \in (ty\_2Elist\_2Elist~\\
A\_27a) .  ((ap~(ap~(c\_2Elist\_2EMAP~A\_27a~A\_27b)~V1f)~(ap~(ap~(c\_2Elist\_2ECONS~\\
A\_27a)~V2h)~V3t))=(ap~(ap~(c\_2Elist\_2ECONS~A\_27b)~(ap~V1f~V2h))~\\
(ap~(ap~(c\_2Elist\_2EMAP~A\_27a~A\_27b)~V1f)~V3t)))))))\end{array}
\label{hyp:ehigngpfcdfemgjgdhehpfcdfenebeaf}
\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}(((ap~(c\_2Elist\_2EREVERSE~A\_27a)~\\
(c\_2Elist\_2ENIL~A\_27a))=(c\_2Elist\_2ENIL~A\_27a)){\unicdcdcdhd}({\unicdcdadad} V0h \in \\
A\_27a .  ({\unicdcdadad} V1t \in (ty\_2Elist\_2Elist~A\_27a) .  ((ap~(c\_2Elist\_2EREVERSE~\\
A\_27a)~(ap~(ap~(c\_2Elist\_2ECONS~A\_27a)~V0h)~V1t))=(ap~(ap~(c\_2Elist\_2EAPPEND~\\
A\_27a)~(ap~(c\_2Elist\_2EREVERSE~A\_27a)~V1t))~(ap~(ap~(c\_2Elist\_2ECONS~\\
A\_27a)~V0h)~(c\_2Elist\_2ENIL~A\_27a)))))))\end{array}
\label{hyp:ehigngpfcdfemgjgdhehpfcdfecffegffecfdffepfpfeefege}
\end{equation}
Assume the following.
\begin{equation}
\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}(((p~(ap~(c\_2Elist\_2EALL\_\_DISTINCT~\\
A\_27a)~(c\_2Elist\_2ENIL~A\_27a))){\unicdbdjded}True){\unicdcdcdhd}({\unicdcdadad} V0h \in A\_27a .  (\\
{\unicdcdadad} V1t \in (ty\_2Elist\_2Elist~A\_27a) .  ((p~(ap~(c\_2Elist\_2EALL\_\_DISTINCT~\\
A\_27a)~(ap~(ap~(c\_2Elist\_2ECONS~A\_27a)~V0h)~V1t))){\unicdbdjded}((\preoh (p~(ap~(ap~\\
(\mname{c\_2Ebool\_2EIN}~A\_27a)~V0h)~(ap~(c\_2Elist\_2ELIST\_\_TO\_\_SET~A\_27a)~\\
V1t)))){\unicdcdcdhd}(p~(ap~(c\_2Elist\_2EALL\_\_DISTINCT~A\_27a)~V1t)))))))\end{array}
\label{hyp:ehigngpfcdfemgjgdhehpfcdfebememepfpfeejedfefjeoedeef}
\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} V0x \in (ty\_2Epair\_2Eprod~A\_27a~A\_27b) .  ({\unicdcdaddd} V1q \in A\_27a .  \\
({\unicdcdaddd} V2r \in A\_27b .  (V0x=(ap~(ap~(\mname{c\_2Epair\_2E\_2C}~A\_27a~A\_27b)~\\
V1q)~V2r)))))\end{array}
\label{hyp:ehigngpfcdfeahbgjgchpfcdfeahbgjgchpfpfdebedffedf}
\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} V0x \in A\_27a .  ({\unicdcdadad} V1y \in A\_27b .  ((ap~(c\_2Epair\_2EFST~A\_27a~\\
A\_27b)~(ap~(ap~(\mname{c\_2Epair\_2E\_2C}~A\_27a~A\_27b)~V0x)~V1y))=V0x)))\end{array}
\label{hyp:ehigngpfcdfeahbgjgchpfcdfegedfef}
\end{equation}
\begin{theorem}\label{thm:ehigngpfcdfeggjgogjgehfgpfpfngbgahpfcdfegeffafeebeeffepfpfmejedfefpfpfbememepfpfeejedfefjeoedeefpfpfcffegffecfdffe}
$$\begin{array}{c}{\unicdcdadad} A\_27a .  nonempty~A\_27a{\unicdbdjdcd}{\unicdcdadad} A\_27b .  nonempty~A\_27b{\unicdbdjdcd}(\\
{\unicdcdadad} V0ls \in (ty\_2Elist\_2Elist~(ty\_2Epair\_2Eprod~A\_27a~A\_27b)) .  \\
((p~(ap~(c\_2Elist\_2EALL\_\_DISTINCT~A\_27a)~(ap~(ap~(c\_2Elist\_2EMAP~\\
(ty\_2Epair\_2Eprod~A\_27a~A\_27b)~A\_27a)~(c\_2Epair\_2EFST~A\_27a~A\_27b))~\\
V0ls))){\unicdbdjdcd}({\unicdcdadad} V1fm \in (ty\_2Efinite\_\_map\_2Efmap~A\_27a~A\_27b) .  \\
((ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~A\_27b)~V1fm)~\\
(ap~(c\_2Elist\_2EREVERSE~(ty\_2Epair\_2Eprod~A\_27a~A\_27b))~V0ls))=\\
(ap~(ap~(\mname{c\_2Efinite\_\_map\_2EFUPDATE\_\_LIST}~A\_27a~A\_27b)~V1fm)~V0ls)))))\end{array}$$
\end{theorem}
\end{document}
