def gea_head

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/curve25519/fieldops.bend:60

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops.bend as Fieldops
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L

60def gea_head(+h: U32, +t: List<&2, U32>, +b: Nat, +e: {gea(Con{h, t}, b) == True{} : Bool}) -> {Nat.is_le(b, v(h)) == True{} : Bool}:
61  L.and_left(Nat.is_le(b, v(h)), gea(t, b), e)

Uses (8)

Used by (2)