Skip to content
Open
Show file tree
Hide file tree
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/builtins.tex
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ \subsubsection{Denotations of built-in functions}
\subsubsection{Results of built-in functions.}
\label{sec:builtin-results}
Recall from Section~\ref{sec:builtin-outputs} that the result of the
evaluation of a built-in function lies in the set
evaluation of a built-in function lies in the set
$$
(\R^+)_{\errorX} = \left(\bigdisj\left\{\denote{\tn}: \tn \in \Uni \right\} \disj \Inputs \right)^+ \disj \{\errorX\}.
$$
Expand All @@ -506,7 +506,7 @@ \subsubsection{Results of built-in functions.}
$$
which converts elements $r \in \R$ back into inputs by
$$
\reify{r} =
\reify{r} =
\begin{cases}
\reify{r}_{\tn} \in \Con{\tn} \subseteq \Inputs & \text{if $r \in \denote{\tn}$}\\
r & \text{if $r \in \Inputs$}
Expand Down
3 changes: 2 additions & 1 deletion doc/plutus-core-spec/cardano/builtins1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ \subsubsection{Built-in functions}
\TT{sliceByteString} & $[\ty{integer}, \ty{integer}, \ty{bytestring]} $ \text {$\;\; \to \ty{bytestring}$}
& $(s,k,[c_1,\ldots,c_n])$ \text{$\;\;\mapsto [c_{\max(s+1,1)},\ldots,c_{\min(s+k,n)}]$}
& No & \ref{note:slicebytestring}\\[2mm]
\TT{lengthOfByteString} & $[\ty{bytestring}] \to \ty{integer}$ & $[] \mapsto 0, [c_1,\ldots, c_n] \mapsto n$ & No & \\[2mm]
\TT{lengthOfByteString} & $[\ty{bytestring}] \to \ty{integer}$
& $[] \mapsto 0, [c_1,\ldots, c_n] \mapsto n \ (n \geq 1)$ & No & \\[2mm]
\TT{indexByteString} & $[\ty{bytestring}, \ty{integer}] $ \text{$\;\; \to \ty{integer}$}
& $([c_1,\ldots,c_n],i)$ \text{$\;\;\mapsto
\begin{cases}
Expand Down
2 changes: 1 addition & 1 deletion doc/plutus-core-spec/cardano/builtins3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ \subsubsection{Built-in functions}
imposed by Bitcoin (see~\cite{BIP-146},
\texttt{LOW\_S}) and \textbf{only accept the smaller signature};
\texttt{verifyEcdsa\-Secp\-256k1Signature} will return $\false$ if the larger
one is supplied.
one is supplied.

% For more on the lower signature business, see
% https://github.com/IntersectMBO/plutus/pull/4591#issuecomment-1120797931
Expand Down
Loading
Loading