pub fn release_exc<K, V, Pred: InvariantPredicate<K, V>>(
    pre: State<K, V, Pred>,
    post: State<K, V, Pred>,
    x: V
)