Array.ndec: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/lib/array.bend as Array Lines 53-61 of bend-collections-laws-crypto@1.0.0.0/proofs/lib/array.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/lib/array.bend&start_line=53&end_line=61 import Base import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as SC # Mirror of an update at a Nat index (proof-level description of the new tree). # `left` is this node's branch decision (see ndec); passing it as a parameter # avoids matching on a computed value. def ndec(d: Nat, +j: Nat) -> Bool: match d: case 0n: False{} case 1n+q: Nat.is_lt(j, SC.pow2(q)) 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_lt https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend&name=pow2