First, the Cramér model has infinitely many successes almost surely, so every is finite. Indeed, for each fixed , independence of the Bernoulli random variables gives
The sum diverges, for example because for . Continuity from above of a measure and a countable union bound exclude a final success.
Fix and put . Let be the event that the whole interval consists of failures. By independence and ,
Since , the exponent divided by tends to . Thus for all sufficiently large . The Borel-Cantelli first lemma shows that almost surely every sufficiently large such interval contains a success. Taking then gives for all sufficiently large .
For each fixed , the limit superior of the normalized gap is therefore at most almost surely. Intersect the probability-one events for , , to obtain the Cramér model prime-gap upper bound: