law hmap_put_wf
bend-kit-collections@0.1.4.1 · LAWS.bend:546
import bend-kit-collections@0.1.4.1/LAWS.bend as LAWS
import Base
import bend-kit-collections@0.1.4.1/hmap.bend as M
546law hmap_put_wf:
547 for ~K: Data
548 for ~V: Data
549 for ~hash: K -> U32
550 for ~eq: K -> K -> Bool
551 for ~refl: @x: K -> {eq(x, x) == True{} : Bool}
552 for ~sound: @x: K -> @y: K -> {eq(x, y) == True{} : Bool} -> {x == y : K}
553 for m: M.HMap<K, V>
554 for wf: {hmap_wf(~K, ~V, ~hash, ~eq, m) == True{} : Bool}
555 for +k: K
556 for +v: V
557 {hmap_wf(~K, ~V, ~hash, ~eq, M.HMap.put(~K, ~V, ~hash, ~eq, m, k, v)) == True{} : Bool}