BendtorchCore.index_matches: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/main.bend as BendtorchCore Lines 57-59 of bendtorch-core@0.1.0.0/src/storage/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/main.bend&start_line=57&end_line=59 import Base import bendtorch-core@0.1.0.0/src/storage/model.bend as Model import bendtorch-core@0.1.0.0/src/storage/refinement.bend as Refinement def index_matches(+d: Nat, +n: Nat, +i: U32) -> Bool: +offset = Model.offset(d, Refinement.route(d, i)) Bool.and(Nat.is_eq(offset, U32.to_nat(i)), Nat.is_lt(offset, n)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=offset https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/refinement.bend&name=route