def fle1

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/fixbytes.bend:181

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes.bend as Fixbytes
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as SF
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F

181def fle1(+b0: U32, t: List<&2, U32>) -> {SF.mval(~U32, ~SG.u32_val, F.u32_from_bytes_le(Con{b0, t})) == SF.from_le(4n, SF.nats(Con{b0, t})) : Maybe<&2, Nat>}:
182  match t:
183    case Nil{}:
184      {==}
185    case Con{+b1, t2}:
186      fle2(b0, b1, t2)

Uses (10)

Used by (1)