Skip to content
Snippets Groups Projects
Commit 09f3e612 authored by Haniel Barbosa's avatar Haniel Barbosa Committed by Hans-Jörg
Browse files

defining bitblasting rules

parent 11c64b2e
No related branches found
No related tags found
1 merge request!4Add some bitvector rules
...@@ -1790,3 +1790,8 @@ standard.\footnote{See \url{https://smt-lib.github.io/theories-FixedSizeBitVecto ...@@ -1790,3 +1790,8 @@ standard.\footnote{See \url{https://smt-lib.github.io/theories-FixedSizeBitVecto
\bibliography{publications} \bibliography{publications}
\end{document} \end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
...@@ -1530,6 +1530,21 @@ constants are unfolded during proof printing. Hence, the slightly strange ...@@ -1530,6 +1530,21 @@ constants are unfolded during proof printing. Hence, the slightly strange
form and the reordering of equalities. form and the reordering of equalities.
\end{RuleDescription} \end{RuleDescription}
\begin{RuleDescription}{bitblast_extract}
\begin{AletheX}
$i$. & \ctxsep & $((\_\ \mathrm{extract}\ i\ j)\ x) \simeq (\mathrm{bbterm}\ x_j; \ldots; x_i)$ & (\currule) \\
\end{AletheX}
Each term $x_i$ corresponds to whether $i$-th bit of $x$ is true or not, which
will be represented via an application of the operator ``bit\_of'', i.e.,
$((\_\ bit\_of\ i)\ x)$, which has a Boolean return type.
%
The ``bbterm'' operator takes $n$ Booleans and yields a bit-vector of size $n$
where the least significant bit is is 1 if the $n$-th argument is true, 0
otherwise, and so on.
\end{RuleDescription}
\clearpage \clearpage
\subsection{Index of Rules} \subsection{Index of Rules}
\label{sec:alethe:rules-index} \label{sec:alethe:rules-index}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment