def law_get_at_balanced

bendtorch-core@0.1.0.0 · src/storage/refinement.bend:432

import bendtorch-core@0.1.0.0/src/storage/refinement.bend as Refinement
import Base
import bendtorch-core@0.1.0.0/src/storage/model.bend as Model

432def law_get_at_balanced(-T: Data, d: Nat, array: Array<T>, +n: U32, +i: U32,
433  valid: Model.Balanced(T, d, array)) -> Model.Balanced(T, d, first(T, Array.get.at(T, i, (array, n)))):
434  get_go_balanced(T, d, array, n, masked(n, i), U32.is_lt(masked(n, i), U32.shr(n)),
435    get_go(T, d, array, n, masked(n, i), U32.is_lt(masked(n, i), U32.shr(n)), valid))

Uses (12)

Used by (0)

No other definition uses this definition.