Pointwise.inside: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/contracts/pointwise.bend as Pointwise Lines 81-86 of bendtorch-core@0.1.0.0/src/tensor/contracts/pointwise.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/contracts/pointwise.bend&start_line=81&end_line=86 import Base def inside(~P: Data, ~map: P -> Nat -> Nat, +plan: P, +count: Nat, +bound: Nat) -> Bool: match count: case 0n: True{} case 1n+previous: Bool.and(inside(~P, ~map, plan, previous, bound), Nat.is_lt(map(plan, previous), bound)) Uses (4): 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_lt