Skip to content

Commit

Permalink
formalism: Define erasure commutativity theorem
Browse files Browse the repository at this point in the history
  • Loading branch information
mirryi committed Oct 10, 2023
1 parent e69398d commit 36cc4a4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions formalism/typed.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,19 @@ \subsection{Mark erasure}

\subsection{Metatheorems}
\label{sec:typed-metatheorems}
\begin{theorem}[name=Erasure Commutativity]
For all $\ZCMV$, $\cursorErase{(\erase{\ZCMV})} = \erase{(\cursorErase{\ZCMV})}$.
%
\[\begin{tikzcd}
\ZCMV \mathsmaller{~\in~ \ZCMName} && \ZMV \mathsmaller{~\in~ \ZMName} \\\\
\ECMV \mathsmaller{~\in~ \ECMName} && \EMV \mathsmaller{~\in~ \EMName}
\arrow["{\cursorErase{\_}}"', from=1-1, to=3-1]
\arrow["{\erase{\_}}", from=1-1, to=1-3]
\arrow["{\cursorErase{\_}}", from=1-3, to=3-3]
\arrow["{\erase{\_}}"', from=3-1, to=3-3]
\end{tikzcd}\]
\end{theorem}

\begin{theorem}[name=Sensibility] \
\begin{enumerate}
\item If $\zWellFormed{\ZCMV}$ and $\ctxSynTypeM{\ctx}{\cursorErase{\ZCMV}}{\TMV}$ and
Expand Down

0 comments on commit 36cc4a4

Please sign in to comment.