For finite , use vertices and hyperedges . Independent uniform -coloring gives missing-color probability at most , and the dependency graph of events has degree at most . For and , the symmetric Lovász local lemma condition holds. The compactness extension of the Lovász local lemma gives a coloring in which every translate contains every color.
A colouring is polychromatic with colours if every hypergraph edge contains a vertex of every colour. This is stronger than requiring every edge to be nonmonochromatic. Under independent uniform colours, a -element edge misses at least one of three colours with probability . If each edge meets at most other edges, the edge-intersection dependency graph of events and the Lovász local lemma therefore give a polychromatic three-colouring whenever .
Maintain lists of available colours, tentatively colour small random portions, erase conflicts and prune colours used by neighbours. In a triangle-free graph, a vertex's neighbours form an independent set, which enables local estimates. Track list size and average remaining neighbour congestion per colour; prune unusually congested colours before the next round. Concentration and the Lovász local lemma preserve these invariants until lists have enough slack for completion. Tracking averages matters because triangle-free graphs can still contain many four-cycles and need not have uniform per-colour congestion.