Crate vstd_extra

Crate vstd_extra 

Source
Expand description

The “extra standard library” for Verus. Contains various utilities and general datatypes for proofs useful in Asterinas verification, as well as extending Verus standard library(vstd) with additional functionality.

Modules§

arithmetic
array_ptr
auxiliary
bit_mapping
cast_ptr
extern_const
external
Specifications for functions from Rust standard library but not specified in vstd.
function_properties
Properties of pure mathematical spec functions (spec_fn).
ghost_tree
map_extra
Extra properties of vstd::map::Map.
ownership
prelude
ptr_extra
raw_ptr_extra
resource
Resource algebras based on PCM and storage-protocol inspired by Iris and Leaf.
seq_extra
Extra properties of vstd::seq::Seq.
set_extra
Extra properties of vstd::set::Set.
state_machine
TLA-style state machines.
std_extra
temporal_logic
TLA temporal logic definitions and proof rules.
undroppable

Macros§

always_and_equality_n
always_and_equality_n_internal
always_lift_state_and_equality_n
always_lift_state_and_equality_n_internal
always_lift_state_weaken_n
always_lift_state_weaken_n_internal
bm
bms
bms_as
borrow_field
combine_spec_entails_always_n
combine_spec_entails_always_n_internal
decl_bms_const
entails_always_and_n
entails_always_and_n_internal
entails_always_lift_state_and_n
entails_always_lift_state_and_n_internal
entails_and_n
entails_and_n_internal
extern_const
! This module provides a macro to define a constant that can be used when ! crossing crates.
implies_new_invariant_n
implies_new_invariant_n_internal
invariant_n
invariant_n_internal
leads_to_always_combine_n
leads_to_always_combine_n_internal
leads_to_always_combine_n_with_equality
leads_to_always_combine_n_with_equality_internal
leads_to_trans_n
leads_to_trans_n_internal
or_leads_to_combine_and_equality2
or_leads_to_combine_n
or_leads_to_combine_n_internal
stable_and_always_n
stable_and_always_n_internal
stable_and_n
stable_and_n_internal
state_pred_and
temp_pred_and
temp_pred_and_internal
update_field
wf1_by_borrowing_inv_n