Refinement.get_low: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/refinement.bend as Refinement Lines 33-44 of bendtorch-core@0.1.0.0/src/storage/refinement.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/refinement.bend&start_line=33&end_line=44 import Base import bendtorch-core@0.1.0.0/src/storage/model.bend as Model def get_low(-T: Data, -p: Nat, -original: Array, -n: U32, -i: U32, ys: Array, child: Get, ey: Model.Balanced(T, p, ys)) -> Get: match child: case Get{xs, value, equal, kept, observed, ex}: Get{ANode{xs, ys}, value, Equal.cong(Array & T, Array & T, r => Array.swap.lo(T, ys, r), (xs, value), Array.get.go(T, original, U32.shr(n), i, U32.is_lt(i, U32.shr(U32.shr(n)))), equal), Equal.cong(Array, Array, x => ANode{x, ys}, xs, original, kept), observed, (ex, ey)} Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get.go https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.swap.lo https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.cong https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shr https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=Balanced https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/refinement.bend&name=Get