def rc4_after_append
bend-osdev-legacy-ciphers@0.1.0.0 · PROOF.bend:8476
import bend-osdev-legacy-ciphers@0.1.0.0/PROOF.bend as PROOF
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-legacy-ciphers@0.1.0.0/rc4.bend as R
8476def rc4_after_append(xs: List<&2, U32>, +ys: List<&2, U32>, +st: R.LcRc4State) -> {R.rc4.after(B.append(xs, ys), st) == R.rc4.after(ys, R.rc4.after(xs, st)) : R.LcRc4State}:
8477 match xs:
8478 case Nil{}:
8479 {==}
8480 case Con{x, t}:
8481 rc4_after_append(t, ys, R.rc4.step.st(R.rc4.next(st)))