def none_some

bend-collections-laws-math@1.0.0.0 · proofs/math/random/shuffle.bend:33

import bend-collections-laws-math@1.0.0.0/proofs/math/random/shuffle.bend as Shuffle
import Base
import bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend as L

33def none_some(-A: Data, +y: A, e: {None{} == Some{y} : Maybe<&2, A>}) -> Empty:
34  %Equal.sym(Maybe<&2, A>, None{}, Some{y}, e) : L.truth(is_some(A, _))
35  Unit{}

Uses (6)

Used by (2)