Initial implementation of backward-infer-derivable.