def law_get_at_retains

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

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

426def law_get_at_retains(-T: Data, d: Nat, array: Array<T>, +n: U32, +i: U32,
427  valid: Model.Balanced(T, d, array)) ->
428  {first(T, Array.get.at(T, i, (array, n))) == array : Array<T>}:
429  get_go_retained(T, d, array, n, masked(n, i), U32.is_lt(masked(n, i), U32.shr(n)),
430    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.