Multisets of sigma types #
Multiset of keys of an association multiset.
Instances For
NodupKeys s means that s has no duplicate keys.
Instances For
Alias of the reverse direction of Multiset.nodup_keys.
Finmap #
Given l : List (Sigma β), create a term of type Finmap β by removing
entries with duplicate keys.
Instances For
Lifting from AList #
Induction #
extensionality #
mem #
The predicate a ∈ s means that s has a value associated to the key a.
keys #
The set of keys of a finite map.
Instances For
empty #
The empty map.
singleton #
The singleton map.
Instances For
lookup #
Look up the value associated to a key in a map.
Instances For
replace #
Replace a key with a given value in a finite map. If the key is not present it does nothing.
Instances For
foldl #
Fold a commutative function over the key-value pairs in the map
Instances For
any f s returns true iff there exists a value v in s such that f v = true.
Instances For
all f s returns true iff f v = true for all values v in s.
Instances For
erase #
Erase a key from the map. If the key is not present it does nothing.
Instances For
sdiff #
sdiff s s' consists of all key-value pairs from s and s' where the keys are in s or
s' but not both.
Instances For
insert #
Insert a key-value pair into a finite map, replacing any existing pair with the same key.
Instances For
extract #
Erase a key from the map, and return the corresponding value, if found.
Instances For
union #
simp-normal form of mem_lookup_union
Disjoint #
Disjoint s₁ s₂ holds if s₁ and s₂ have no keys in common.