Generic.sq_ok: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend as Generic Lines 158-163 of bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend&start_line=158&end_line=163 import Base import bend-collections-laws-crypto@1.0.0.0/src/math/num.bend as N def sq_ok(~T: Data, ~test: N.Test -> Bool, more: Bool, +b: T, +bok: Bool) -> Bool: match more: case False{}: bok case True{}: Bool.and(bok, Bool.not(test(N.MulOver{b, b}))) 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=Bool.not https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/num.bend&name=Test