def okb_head

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/curve25519/limbs.bend:73

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/limbs.bend as Limbs
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L

73def okb_head(+n: Nat, +h: U32, +t: List<&2, U32>, +b: Nat, +e: {okb(1n+n, Con{h, t}, b) == True{} : Bool}) -> {Nat.is_le(v(h), b) == True{} : Bool}:
74  L.and_left(Nat.is_le(v(h), b), okb(n, t, b), e)

Uses (8)

Used by (15)