Hash map lemmas #
This module contains lemmas about Std.Data.HashMap.Raw
. Most of the lemmas require
EquivBEq α
and LawfulHashable α
for the key type α
. The easiest way to obtain these instances
is to provide an instance of LawfulBEq α
.
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
This is a restatement of contains_of_contains_insertIfNew
that is written to exactly match the proof
obligation in the statement of getElem_insertIfNew
.
This is a restatement of mem_of_mem_insertIfNew
that is written to exactly match the proof obligation
in the statement of getElem_insertIfNew
.
Equations
Instances For
Instances For
Simpler variant of getElem?_filterMap
when LawfulBEq
is available.
Simpler variant of getElem_filterMap
when LawfulBEq
is available.
Simpler variant of getElem!_filterMap
when LawfulBEq
is available.
Simpler variant of getD_filterMap
when LawfulBEq
is available.
Simpler variant of getElem!_filter
when LawfulBEq
is available.
Simpler variant of getD_filter
when LawfulBEq
is available.
Variant of getElem?_map
that holds with EquivBEq
(i.e. without LawfulBEq
).
Variant of getElem_map
that holds with EquivBEq
(i.e. without LawfulBEq
).
Variant of getElem!_map
that holds with EquivBEq
(i.e. without LawfulBEq
).