def tr

lawful-bytes@0.1.1.0 · proof_core.bend:232

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_base.bend as AB
import lawful-arrays@0.1.0.0/proof_tree.bend as P

232# Transport of a hypothesis about b to its mirror.
233def tr(-H: D.Bytes -> Type, -b: D.Bytes, +len: U32, +t: P.Tree<U32>, e: {BT(len, t) == b : D.Bytes}, h: H(b)) -> H(BT(len, t)):
234  AB.subst(D.Bytes, H, b, BT(len, t), Equal.sym(D.Bytes, BT(len, t), b, e), h)

Uses (6)

Used by (32)