Backward.operands_below: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/autograd/backward.bend as Backward Lines 174-185 of bendtorch-core@0.1.0.0/src/autograd/backward.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/autograd/backward.bend&start_line=174&end_line=185 import Base def operands_below(node: Node, +bound: Nat) -> Bool: match node: case Leaf{}: True{} case Add{a, b}: Bool.and(Nat.is_lt(a, bound), Nat.is_lt(b, bound)) case Sub{a, b}: Bool.and(Nat.is_lt(a, bound), Nat.is_lt(b, bound)) case Mul{a, b, left, right}: Bool.and(Nat.is_lt(a, bound), Nat.is_lt(b, bound)) case Neg{a}: Nat.is_lt(a, bound) Uses (5): 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 https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/autograd/backward.bend&name=Node