def tf_run_unrun
bend-osdev-legacy-ciphers@0.1.0.0 · PROOF.bend:477
import bend-osdev-legacy-ciphers@0.1.0.0/PROOF.bend as PROOF
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-legacy-ciphers@0.1.0.0/twofish.bend as F
477def tf_run_unrun(os: List<&2, F.LcTfOp>, +s: M.CmBlock) -> {s == F.tf.run(os, F.tf.unrun(os, s)) : M.CmBlock}:
478 match os:
479 case Nil{}:
480 {==}
481 case Con{+o, +t}:
482 %tf_op_unop(o, F.tf.unrun(t, s)) : {s == F.tf.run(t, _) : M.CmBlock}
483 tf_run_unrun(t, s)