Skip to main content

Module btree

Module btree 

Source
Expand description

This code adds specifications for the standard-library types alloc::collections::BTreeMap and alloc::collections::BTreeSet.

The specification is only meaningful when the Key obeys our Ord model, as specified by super::super::laws_cmp::obeys_cmp_spec.

By default, the Verus standard library brings useful axioms about the behavior of BTreeMap and BTreeSet into the ambient reasoning context by broadcasting the group vstd::std_specs::btree::group_btree_axioms.

Structs§

ExBTreeMap
Specifications for the behavior of alloc::collections::BTreeMap.
ExBTreeSet
Specifications for the behavior of alloc::collections::BTreeSet.
ExKeys
Specifications for the behavior of alloc::collections::btree_map::Keys.
ExMapIter
ExSetIter
ExValues
Specifications for the behavior of alloc::collections::btree_map::Values.

Traits§

BTreeMapAdditionalSpecFns

Functions§

_verus_external_fn_specification_537_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_iter
_verus_external_fn_specification_538_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_len
_verus_external_fn_specification_539_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_is__empty
_verus_external_fn_specification_540__60__32_BTreeMap_32__58__58__32__60__32_K_44__32_V_44__32_A_44__32__62__32_as_32_Clone_32__62__32__58__58__32_clone
_verus_external_fn_specification_541_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_32__62__32__58__58__32_new
_verus_external_fn_specification_542__60__32_BTreeMap_32__60__32_K_44__32_V_32__62__32_as_32_core_32__58__58__32_default_32__58__58__32_Default_32__62__32__58__58__32_default
_verus_external_fn_specification_543_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_44__32__62__32__58__58__32_insert
_verus_external_fn_specification_544_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_contains__key_32__58__58__32__60__32_Q_32__62_
_verus_external_fn_specification_545_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_get_32__58__58__32__60__32_Q_32__62_
_verus_external_fn_specification_546_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_remove_32__58__58__32__60__32_Q_32__62_
_verus_external_fn_specification_547_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_clear
_verus_external_fn_specification_548_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_keys
_verus_external_fn_specification_549_BTreeMap_32__58__58__32__60__32_Key_44__32_Value_44__32_A_32__62__32__58__58__32_values
_verus_external_fn_specification_550_BTreeSet_32__58__58__32__60__32_Key_44__32_A_32__62__32__58__58__32_len
_verus_external_fn_specification_551_BTreeSet_32__58__58__32__60__32_Key_44__32_A_32__62__32__58__58__32_is__empty
_verus_external_fn_specification_552__60__32_BTreeSet_32__58__58__32__60__32_K_44__32_A_32__62__32_as_32_Clone_32__62__32__58__58__32_clone
_verus_external_fn_specification_553_BTreeSet_32__58__58__32__60__32_Key_32__62__32__58__58__32_new
_verus_external_fn_specification_554__60__32_BTreeSet_32__60__32_T_32__62__32_as_32_core_32__58__58__32_default_32__58__58__32_Default_32__62__32__58__58__32_default
_verus_external_fn_specification_555_BTreeSet_32__58__58__32__60__32_Key_44__32_A_32__62__32__58__58__32_insert
_verus_external_fn_specification_556_BTreeSet_32__58__58__32__60__32_Key_44__32_A_44__32__62__32__58__58__32_contains
_verus_external_fn_specification_557_BTreeSet_32__58__58__32__60__32_Key_44__32_A_32__62__32__58__58__32_get_32__58__58__32__60__32_Q_32__62_
_verus_external_fn_specification_558_BTreeSet_32__58__58__32__60__32_Key_44__32_A_44__32__62__32__58__58__32_remove_32__58__58__32__60__32_Q_32__62_
_verus_external_fn_specification_559_BTreeSet_32__58__58__32__60__32_Key_44__32_A_32__62__32__58__58__32_clear
_verus_external_fn_specification_560_BTreeSet_32__58__58__32__60__32_Key_44__32_A_32__62__32__58__58__32_iter
axiom_box_key_removed
axiom_btree_map_decreases
axiom_btree_map_deepview_borrow
axiom_btree_set_decreases
axiom_contains_box
axiom_contains_deref_key
axiom_deref_key_removed
axiom_increasing_seq_meaning
axiom_key_obeys_cmp_spec_meaning
axiom_maps_box_key_to_value
axiom_maps_deref_key_to_value
axiom_set_box_key_removed
axiom_set_box_key_to_value
axiom_set_contains_box
axiom_set_contains_deref_key
axiom_set_deref_key_removed
axiom_set_deref_key_to_value
axiom_spec_btree_keys_iter
axiom_spec_btree_map_iter
axiom_spec_btree_map_len
axiom_spec_btree_set_len
axiom_spec_keys_iter
axiom_spec_values_iter
borrowed_key_removed
btree_map_deep_view_impl
contains_borrowed_key
group_btree_axioms
increasing_seq
into_iter
into_iter_btree_keys
into_iter_keys
into_iter_values
key_obeys_cmp_spec
lemma_btree_map_deepview_dom
lemma_btree_map_deepview_properties
lemma_btree_map_deepview_values
maps_borrowed_key_to_value
set_contains_borrowed_key
sets_borrowed_key_to_key
sets_differ_by_borrowed_key
spec_btree_keys_iter
spec_btree_map_iter
spec_btree_map_len
spec_btree_set_len
spec_keys_iter
spec_values_iter