def fst_val
bend-collections-laws-crypto@1.0.0.0 · proofs/math/random/bounded.bend:16
import bend-collections-laws-crypto@1.0.0.0/proofs/math/random/bounded.bend as Bounded
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/src/math/random/rand.bend as R
import bend-collections-laws-crypto@1.0.0.0/spec/math/w64.bend as SW
import bend-collections-laws-crypto@1.0.0.0/spec/math/random.bend as SRM
import bend-collections-laws-crypto@1.0.0.0/proofs/math/random/below.bend as BL
16def fst_val(-S: Data, r: W.U64 & S) -> {BL.pfst(S, SRM.val_pair(S, r)) == SW.value(R.fst(W.U64, S, r)) : Nat}:
17 match r:
18 case Tuple{x, s}:
19 {==}