Skip to content

Commit

Permalink
formalism: Give correctness metatheorem for typed hazelnut in relatio…
Browse files Browse the repository at this point in the history
…n to untyped
  • Loading branch information
mirryi committed Oct 10, 2023
1 parent d037f64 commit a0c6549
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions formalism/typed.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1301,6 +1301,18 @@ \subsection{Metatheorems}
\end{tikzcd}\]
\end{theorem}

\begin{theorem}[name=Correctness] \
\begin{enumerate}
\item If $\zWellFormed{\ZCMV}$ and $\ctxSynTypeM{\ctx}{\cursorErase{\ZCMV}}{\TMV}$ and
$\ASEAction{\ctx}{\ZCMV}{\TMV}{\ZCMV'}{\TMV'}{\AMV}$ and
$\AUEAction{\erase{\ZCMV}}{\ZMV'}{\AMV}$, then $\equal{\erase{\ZCMV'}}{\ZMV'}$.

\item If $\zWellFormed{\ZCMV}$ and $\ctxAnaTypeM{\ctx}{\cursorErase{\ZCMV}}{\TMV}$ and
$\AAEAction{\ctx}{\ZCMV}{\ZCMV'}{\TMV}{\AMV}$ and
$\AUEAction{\erase{\ZCMV}}{\ZMV'}{\AMV}$, then $\equal{\erase{\ZCMV'}}{\ZMV'}$.
\end{enumerate}
\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 a0c6549

Please sign in to comment.