For fixed -element subsets , their rectangle is empty with probability . A union bound over at most choices gives . For a specified vertex and a specified -subset, the chance of no edges is . There are at most choices on each side, giving
For , and . Hence . The logarithm of this bound is , which tends to because . Thus the bad-event probability tends to zero.
The printed phrase “almost surely” must mean asymptotically almost surely as . At any fixed , the empty graph has positive probability , so the literal probability-one assertion is false.
When no bad event occurs, verify Hall's marriage theorem. If , each vertex has more than neighbors because event is absent, so . If , a failure would leave at least vertices outside , producing a forbidden empty -square. If , every vertex in meets because event is absent; hence . The empty set also satisfies Hall. Therefore the graph has a perfect matching whenever the three events are absent, proving the random bipartite matching from empty-rectangle exclusion result with probability tending to one.