def plus_fst

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

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/src/math/random/rand.bend as R

251def plus_fst(-S: Data, +lo: Nat, r: Nat & S) -> {R.fst(Nat, S, R.plus(S, lo, r)) == Nat.add(lo, R.fst(Nat, S, r)) : Nat}:
252  match r:
253    case Tuple{k, s}:
254      {==}

Uses (6)

Used by (1)