def okb_tail
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
76def okb_tail(+n: Nat, +h: U32, +t: List<&2, U32>, +b: Nat, +e: {okb(1n+n, Con{h, t}, b) == True{} : Bool}) -> {okb(n, t, b) == True{} : Bool}:
77 L.and_right(Nat.is_le(v(h), b), okb(n, t, b), e)
Uses (8)
Used by (21)
- 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/fieldops:select0
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:select1
- 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
- …