def low_inside
bendtorch-core@0.1.0.0 · src/storage/route.bend:272
import bendtorch-core@0.1.0.0/src/storage/route.bend as Route
import Base
import bendtorch-core@0.1.0.0/src/storage/model.bend as Model
import bendtorch-core@0.1.0.0/src/storage/size.bend as Size
import bendtorch-core@0.1.0.0/src/storage/arith.bend as Arith
272def low_inside(+p: Nat, +i: U32, +h: {Nat.is_le(1n+p, 20n) == True{} : Bool},
273 +dz: {True{} == U32.is_lt(i, U32.shr(Size.capacity(1n+p))) : Bool}) ->
274 {Nat.is_lt(U32.to_nat(i), Model.capacity(p)) == True{} : Bool}:
275 +hp = Arith.le_succ(p, 19n, h)
276 %cap_word(p, hp) : {Nat.is_lt(U32.to_nat(i), _) == True{} : Bool}
277 %Equal.sym(Bool, Nat.is_lt(U32.to_nat(i), U32.to_nat(Size.capacity(p))), U32.is_lt(i, Size.capacity(p)), Arith.u32_lt(i, Size.capacity(p))) : {_ == True{} : Bool}
278 %Equal.sym(U32, Size.capacity(p), U32.shr(Size.capacity(1n+p)), shr_cap(p, h)) : {U32.is_lt(i, _) == True{} : Bool}
279 Equal.sym(Bool, True{}, U32.is_lt(i, U32.shr(Size.capacity(1n+p))), dz)