pub open spec fn bijective_on<A, B>(
f: FnSpec<(A,), B>,
domain: Set<A>,
codomain: Set<B>,
) -> boolExpand description
{ injective_on(f, domain) && (domain.map(f) =~= codomain) }A function is bijective from domain to codomain
if it is injective on domain and its image equals codomain.