Instances.Tests.is_zero: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/math/instances.bend as Instances Lines 88-89 of bend-collections-laws-crypto@1.0.0.0/spec/math/instances.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/math/instances.bend&start_line=88&end_line=89 import Base import bend-collections-laws-crypto@1.0.0.0/src/math/num.bend as N def Tests.is_zero(~T: Data, ~test: N.Test -> Bool, ~val: T -> Nat, +a: T) -> Type: {test(N.IsZero{a}) == Nat.is_eq(val(a), 0n) : Bool} 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_eq https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/num.bend&name=Test