def BMirror

lawful-bytes@0.1.1.0 · proof_core.bend:219

import lawful-bytes@0.1.1.0/proof_core.bend as ProofCore
import Base
import lawful-bytes@0.1.1.0/defs.bend as D
import lawful-arrays@0.1.0.0/proof_tree.bend as P

219# Every Bytes is BT(len, t) for some len and tree t.
220def BMirror(-b: D.Bytes) -> Data:
221  Sigma<&2, &2, U32, len => Sigma<&2, &2, P.Tree<U32>, t => {BT(len, t) == b : D.Bytes}>>

Uses (5)

Used by (54)