Consider independent rejection sampling trials with proposal density , accepted-value density , acceptance probability and rejection probability . Splitting the proposal law by its accept/reject outcome gives , where is the rejected-proposal distribution.
If an algorithm permits trials, returns the first accepted value when one occurs, and otherwise returns the final rejected proposal, its output density is the displayed mixture. The event of failures has probability and gives the conditional law ; every successful stopping trial gives law . Hence the forced return introduces bias unless , and its contribution decays geometrically with the cap. Conditional on success before any specified trial, the output still has law , since accepted value and successful-trial index are independent.
The support condition for importance sampling is missing from the printed assertion. Assume , , and for -almost every . For a proposal , rejection has conditional probability . Its unconditional probability is , so the conditional density of a rejected draw is
Thus the rejected-draw weight is precisely , and
Conditionally on any positive rejection count among independent proposals, the rejected locations have this iid conditional density. Hence
is an unbiased estimator conditionally on , and therefore also conditionally on the event . This is importance sampling from the rejected-proposal distribution.
The nonstrict assumption alone does not suffice: the rejected distribution may completely miss part of the target support. For example, let be uniform on , , , and . All rejected proposals lie in , where , so the displayed estimator is always , whereas . This remains a counterexample after conditioning on . A strict envelope, such as choosing larger than the essential supremum of , repairs the missing support condition. Near-equality can still give high-variance weights, even when it remains an unbiased estimator.
Let be the rejection probability. The rejected-proposal distribution has density
If any of the first trials accepts, the returned value has target density . If all reject, which has probability , the forced return is the final rejected proposal and has density . Thus the capped algorithm has density
It is biased toward the ends of the interval, where rejection is most likely, and has too little mass near the centre. The bias disappears geometrically as the trial cap increases. This is bias from returning a rejected proposal after a rejection-sampling cap.
Conditional on acceptance before the th trial, however, the returned value has exactly the semicircle law. For each possible first successful trial its value has density , independently of the number of previous failures; a mixture of these identical conditional laws remains .
An importance sampling proposal must be positive wherever the target-weighted integrand can contribute. The usual sufficient condition is that the target probability is absolutely continuous with respect to . Otherwise multiplying observed draws by cannot recover a missing part of the integral. A strict rejection envelope supplies this condition for the rejected-proposal distribution.