Multisets of sigma types #
Multiset of keys of an association multiset.
Equations
Instances For
Alias of the reverse direction of Multiset.nodup_keys.
Finmap #
Lifting from AList #
Lift a permutation-respecting function on 2 ALists to 2 Finmaps.
Equations
Instances For
Induction #
extensionality #
mem #
The predicate a ∈ s means that s has a value associated to the key a.
Equations
keys #
The set of keys of a finite map.
Equations
Instances For
empty #
The empty map.
Equations
Equations
singleton #
The singleton map.
Equations
Instances For
Equations
lookup #
Look up the value associated to a key in a map.
Equations
Instances For
Equations
An equivalence between Finmap β and pairs (keys : Finset α, lookup : ∀ a, Option (β a)) such
that (lookup a).isSome ↔ a ∈ keys.
Equations
Instances For
replace #
Replace a key with a given value in a finite map. If the key is not present it does nothing.
Equations
Instances For
foldl #
erase #
Erase a key from the map. If the key is not present it does nothing.
Equations
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.
Equations
Instances For
Equations
insert #
Insert a key-value pair into a finite map, replacing any existing pair with the same key.
Equations
Instances For
extract #
Erase a key from the map, and return the corresponding value, if found.
Equations
Instances For
union #
Equations
simp-normal form of mem_lookup_union