Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/plutus-core-spec/flat-serialisation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ \subsection{Terms}
\Dterm(\bits{0110} \cdot s) &= (s, \Error) && \\
\Dterm(\bits{0111} \cdot s) &= (s', \Builtin{b}) &&\quad \text{if } \Dbuiltin(s) = (s', b) \\
\Dterm(\bits{1000} \cdot s) &= (s'', \Constr{i}{l}) &&\quad \text{if } \D_{\N}(s) = (s', i)\ \text{and}\ i < 2^{64} &&\ \text{and}\ \Dlist_{\mathsf{term}}(s') = (s'', l)\\
\Dterm(\bits{1001} \cdot s) &= (s', \Kase{u}{l}) &&\quad \text{if } \Dterm(s) = (s', u) &&\ \text{and}\ \Dlist_{\mathsf{term}}(s') = (s'', l)
\Dterm(\bits{1001} \cdot s) &= (s'', \Kase{u}{l}) &&\quad \text{if } \Dterm(s) = (s', u) &&\ \text{and}\ \Dlist_{\mathsf{term}}(s') = (s'', l)
\end{alignat*}

\paragraph{NOTE.} The decoder $\Dterm$ should fail if we are decoding a program
Expand Down Expand Up @@ -497,7 +497,7 @@ \subsection{Built-in types}
\begin{alignat*}{3}
&\dtype(0 \cdot l) &&= (l, \ty{integer}) \\
&\dtype(1 \cdot l) &&= (l, \ty{bytestring}) \\
&\dtype(2 \cdot l) &&= (l, \ty{string})) \\
&\dtype(2 \cdot l) &&= (l, \ty{string}) \\
&\dtype(3 \cdot l) &&= (l, \ty{unit}) \\
&\dtype(4 \cdot l) &&= (l, \ty{bool}) \\
&\dtype([7,5] \cdot l) &&= (l', \listOf{t}) &&\quad \text{if $\dtype(l) = (l', t)$}\\
Expand Down