Theory Shallow_Micro_Rust.Core_Expression
theory Core_Expression
imports
"Misc.Debug_Logging"
"HOL-Library.Word"
"HOL-Eisbach.Eisbach"
Basic_Case_Expression
begin
section‹Core Micro Rust›
named_theorems micro_rust_simps
subsection‹Runtime aborts›
text‹This describes the different ways that a runtime abort may have come about. We have:
\begin{enumerate*}
\item A runtime panic, caused by the programmer making an explicit call to the ▩‹panic!› macro, or a
similar construct in Rust.
\item A programmer-facing assertion failed dynamically at runtime.
\item A dangling pointer.
\end{enumerate*}›