def none_some

bend-collections-laws-crypto@1.0.0.0 · proofs/math/random/below.bend:82

import bend-collections-laws-crypto@1.0.0.0/proofs/math/random/below.bend as Below
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L

82def none_some(+y: Nat, e: {None{} == Some{y} : Maybe<&2, Nat>}) -> Empty:
83  %Equal.sym(Maybe<&2, Nat>, None{}, Some{y}, e) : L.truth(is_some(_))
84  Unit{}

Uses (7)

Used by (1)