def some_inj

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

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

86def some_inj(+x: Nat, +y: Nat, e: {Some{x} == Some{y} : Maybe<&2, Nat>}) -> {x == y : Nat}:
87  Equal.cong(Maybe<&2, Nat>, Nat, m => some_or(m, x), Some{x}, Some{y}, e)

Uses (4)

Used by (2)