def tl_le

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

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

37def tl_le(+x: U32, +t: List<&2, U32>, +b: Nat, +h: {le_all(x <> t, b) == True{} : Bool}) -> {le_all(t, b) == True{} : Bool}:
38  L.and_right(Nat.is_le(v(x), b), le_all(t, b), h)

Uses (8)

Used by (10)