def drop_lea
bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/curve25519/poly.bend:348
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/poly.bend as Poly
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/field.bend as F
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/limbs.bend as LM
348def drop_lea(+n: Nat, +xs: List<&2, U32>, +b: Nat, +hx: {LM.lea(xs, b) == True{} : Bool}) -> {LM.lea(F.drop(n, xs), b) == True{} : Bool}:
349 match n xs:
350 case 0n _:
351 hx
352 case 1n+m Nil{}:
353 {==}
354 case 1n+ +m Con{+x, +xt}:
355 drop_lea(m, xt, b, LM.lea_tail(x, xt, b, hx))