def hd_le

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/poly1305/value.bend:34

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/value.bend as Value
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L

34def hd_le(+x: U32, +t: List<&2, U32>, +b: Nat, +h: {le_all(x <> t, b) == True{} : Bool}) -> {Nat.is_le(v(x), b) == True{} : Bool}:
35  L.and_left(Nat.is_le(v(x), b), le_all(t, b), h)

Uses (8)

Used by (9)