def okb_head
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/limbs.bend as Limbsimport 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)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/limbs:okb_lea
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/poly:okb_mono
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/reduce:val_lt
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/poly:addl_okb
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/xbits:bytes_le
- …