summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2025-04-29 17:51:46 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2025-04-29 17:51:46 +0100
commit2d033819b2666f92e90a91d8284768097fa0ee79 (patch)
tree9b988220c2b09e8fb4be8a69a388f4176f2e507c
parent300515a538313b09c082adf79495cfe053d3b8e3 (diff)
Move figure before reference.
-rw-r--r--sec/encoding.ltx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sec/encoding.ltx b/sec/encoding.ltx
index 296bf73..8de40c4 100644
--- a/sec/encoding.ltx
+++ b/sec/encoding.ltx
@@ -138,11 +138,6 @@ this root. Instead of eagerly computing paths within the heap, we
compute new paths lazily. The only necessary value to store is the
index of the given child.
-More formally, we encode the type \(\mu X. A\) as \(\nat \times
-(\mathsf{List}~\nat \to \sub{A}{X/\nat})\), recursively encoding \(A\).
-We present the encoding of \roll*{} and \foldkw{} in
-\cref{fig:phase-2-encode}.
-
\begin{figure}
\begin{align*}
\roll*~ts~x &\coloneq \tuple*{
@@ -160,6 +155,11 @@ We present the encoding of \roll*{} and \foldkw{} in
\caption{Phase 2 encoding of the \roll*{} and \foldkw{} operators.}\label{fig:phase-2-encode}
\end{figure}
+More formally, we encode the type \(\mu X. A\) as \(\nat \times
+(\mathsf{List}~\nat \to \sub{A}{X/\nat})\), recursively encoding \(A\).
+We present the encoding of \roll*{} and \foldkw{} in
+\cref{fig:phase-2-encode}.
+
\TODO{
\begin{itemize}
\item justify the max operator