law model_set
import bend-osdev-array@0.1.0.1/LAWS.bend as LAWSimport Base
import bend-osdev-array@0.1.0.1/array.bend as A
103law model_set:
104 for -T: Data
105 for d: Nat
106 for a: Array<T>
107 for h: {A.Arrays.is_perfect(T, d, a) == True{} : Bool}
108 for hd: {Nat.is_lt(d, 32n) == True{} : Bool}
109 for i: U32
110 for v: T
111 {A.Arrays.leaves(T, Array.set(T, a, i, v)) == List.set(&2, T, A.Arrays.leaves(T, a), A.Arrays.index(d, i), v) : List<&2, T>}
Uses (13)
Used by (0)
No other definition uses this definition.