def h.r_eg

bend-kit-collections@0.1.4.1 · PROOF.bend:3028

import bend-kit-collections@0.1.4.1/PROOF.bend as PROOF
import Base
import bend-kit-collections@0.1.4.1/LAWS.bend as Laws
import bend-kit-collections@0.1.4.1/hmap.bend as M

3028def h.r_eg(
3029  ~K: Data, ~V: Data, ~hash: K -> U32, ~eq: K -> K -> Bool,
3030  ~sound: @x: K -> @y: K -> {eq(x, y) == True{} : Bool} -> {x == y : K},
3031  +o: U32, +es: List<&2, M.Entry<K, V>>, +k: K,
3032  hs: {Laws.hmap_hashed(~K, ~V, ~hash, es, o) == True{} : Bool}
3033) -> {h.EG(~K, ~V, ~eq, es, k) == h.R(~K, ~V, ~hash, ~eq, o, es, k) : Maybe<&2, V>}:
3034  h.r_eg.c(~K, ~V, ~hash, ~eq, ~sound, o, es, k, hs, U32.is_eq(o, hash(k)), {==})

Uses (10)

Used by (2)