summaryrefslogtreecommitdiff
path: root/sec/reducer.ltx
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2025-05-22 12:55:47 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2025-05-22 12:55:47 +0100
commita3e1369fae5befbc61499f83cee093dd1f4a290f (patch)
treeb54f502dad6c1142da0b5d2e21dfe6b03cc08d6a /sec/reducer.ltx
parent677a6ae11d971f3b6fddbe5b5710bffe9fd3eb5b (diff)
Describe high-level algorithm.
Diffstat (limited to 'sec/reducer.ltx')
-rw-r--r--sec/reducer.ltx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sec/reducer.ltx b/sec/reducer.ltx
index a781a0c..2eaca08 100644
--- a/sec/reducer.ltx
+++ b/sec/reducer.ltx
@@ -129,6 +129,14 @@ let step (t : Term) : Term =
\subsection{Encoding Algorithm}%
\label{subsec:encoding}
+In \cref{M-sec:encoding} we described a process to embed \lang{}
+within System~T. We have written this algorithm in \lang{} itself,
+simultaneously mechanising the conversion and proving it is
+terminating. Our input is type-annotated \lang{} terms, and we output
+unannotated System~T terms as in \cref{lst:term-ty}. Each phase is
+accompanied by its own inductive types representing types and
+type-annotated terms.
+
\TODO{
\begin{itemize}
\item describe the inputs to the embedding