def law_get_at_refines

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

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

419def law_get_at_refines(-T: Data, d: Nat, array: Array<T>, +n: U32, +i: U32,
420  valid: Model.Balanced(T, d, array)) ->
421  {Some{second(T, Array.get.at(T, i, (array, n)))} ==
422    Model.observe(T, d, array, route_n(d, n, i)) : Maybe<&2, T>}:
423  get_go_observed(T, d, array, n, masked(n, i), U32.is_lt(masked(n, i), U32.shr(n)),
424    get_go(T, d, array, n, masked(n, i), U32.is_lt(masked(n, i), U32.shr(n)), valid))

Uses (15)

Used by (0)

No other definition uses this definition.