def n48_p

bend-collections-laws-math@1.0.0.0 · proofs/math/random/wrappers.bend:231

import bend-collections-laws-math@1.0.0.0/proofs/math/random/wrappers.bend as Wrappers
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/w64.bend as SW
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/random/rand.bend as R

231def n48_p(-S: Data, r: W.U64 & S) -> {R.fst(Nat, S, R.to_nat(S, r)) == SW.value(R.fst(W.U64, S, r)) : Nat}:
232  match r:
233    case Tuple{x, s}:
234      n48v(1n, {==}, x)

Uses (8)

Used by (1)