def gea_tail
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops.bend as Fieldopsimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L
63def gea_tail(+h: U32, +t: List<&2, U32>, +b: Nat, +e: {gea(Con{h, t}, b) == True{} : Bool}) -> {gea(t, b) == True{} : Bool}:
64 L.and_right(Nat.is_le(b, v(h)), gea(t, b), e)