precondition inference