Sized.depth_go: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/blake/blake2b/sized.bend as Sized Lines 43-51 of bend-collections@1.0.0.0/src/crypto/blake/blake2b/sized.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/blake/blake2b/sized.bend&start_line=43&end_line=51 import Base # The smallest d >= k with 2^d >= n. def depth_go(fuel: Nat, +n: Nat, +d: Nat, done: Bool) -> Nat: match fuel done: case _ True{}: d case 0n False{}: d case 1n+f False{}: depth_go(f, n, 1n+d, Nat.is_le(n, pw(1n+d))) 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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_le https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/blake/blake2b/sized.bend&name=pw