def gea
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops.bend as Fieldopsimport Base
28# every limb at least b
29def gea(xs: List<&2, U32>, +b: Nat) -> Bool:
30 match xs:
31 case Nil{}:
32 True{}
33 case Con{x, xt}:
34 Bool.and(Nat.is_le(b, U32.to_nat(x)), gea(xt, b))
Uses (7)
Used by (7)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:eight_p_gea
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:gea_head
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:gea_tail
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:subg_okb
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:subg_mod
- …