def lea_tail

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

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

93def lea_tail(+h: U32, +t: List<&2, U32>, +b: Nat, +e: {lea(Con{h, t}, b) == True{} : Bool}) -> {lea(t, b) == True{} : Bool}:
94  L.and_right(Nat.is_le(v(h), b), lea(t, b), e)

Uses (8)

Used by (14)