In this example, we will be verifying a modified version of the 'oneshot' example from the
'Iris from the ground up' paper (%\url{https://doi.org/10.1017/S0956796818000151}% #<a href="https://doi.org/10.1017/S0956796818000151">link</a>#), section 2.
Although the program itself is not very useful, it is relatively simple,
and can illustrate the core reasoning principles of Iris and the automation of Diaframe.
Before we dive into the verification, we need to get access to Iris and Diaframe. *)
Fromiris.heap_langRequireImportproofmode.
Fromdiaframe.heap_langRequireImportstepping_tacs.
(** The first imports give us access to Iris's heap_lang language, along with its notation and tactics.
The second import loads the Diaframe tactics, as well as a collection of hints for the heap_lang language.
To verify this example, we will be needing some ghost resources. An in-depth explanation of
these is beyond the scope of this tutorial, more information can be found in the