Cycle lemma Created 2026-10-06 Updated 2026-10-13
The cycle lemma turns a constraint at every prefix into a choice of where to start reading a circular sequence. Think of a lattice path whose vertical increments record votes for two candidates: for one candidate and for the other. Its partial sums are the running lead. Rotating the increments preserves the final lead, but changes whether that lead stays strictly positive throughout. This makes rotation useful for counting lattice paths subject to prefix constraints; the sum-one cycle lemma also supplies the cyclic prefix condition in the cyclic Turán covering construction.
The sum-one form. Let be any nonempty sequence of integers with . A starting position means reading the rotated sequence
Call good when every nonempty partial sum of is strictly positive, including the full sum:
The cycle lemma says there is exactly one good starting position. Negative entries, zero entries and positive entries larger than one are all allowed in this sum-one form. The empty partial sum is zero and is excluded from the positivity requirement. Douglas West's exercise 1.3.46(a) states a stronger result for arbitrary integer entries: take its case with all partial sums positive. [ref]
A worked sum-one example. For , the partial sums starting at zero are . Starts fail: they have, respectively, a zero second partial sum, a negative first partial sum, and a zero first partial sum. Start reads and has nonempty partial sums , all positive. This example both allows an increment larger than one and shows why touching zero fails.
Why the last minimum works. Put and . Choose the last index attaining the minimum of the proper partial sums : include and exclude . After that index, later proper partial sums are strictly larger than ; also , since . Before wrapping, the new partial sums are therefore positive differences . After wrapping, they are . In the worked example the last minimum is at ; choosing the first minimum at would fail. Uniqueness takes one further observation: two good starts would split the circle into two nonempty arcs, each having a positive integer sum, yet their sum would be one.
A standard positive-total form of the Dvoretzky-Motzkin cycle lemma uses a nonempty sequence of integers satisfying
Exactly starting positions have every nonempty partial sum strictly positive, using the same rotation convention as the sum-one cycle lemma. Negative entries can be arbitrarily large in magnitude, and zero entries are allowed. Addario-Berry's proposition 2.2.1 gives an equivalent form with increments at least and negative total; reversing the sequence and changing all signs gives the form here. [ref]
Four starts, two successes. For , the sum is . Starts and give partial sums and , respectively. Start gives and touches zero; start gives and begins below zero. Thus exactly two starts are good. The rotated sequence has the same positive total, but its first start is bad: a positive final lead alone does not control earlier partial sums.
Figure 1.
All four starts of : the cycle lemma with increments at most one counts precisely the two paths whose nonempty partial sums stay strictly above zero
. Details.
Positions can give identical words. The sequence repeats a block of length three and has sum two. Its good starts are and , both giving the same word with partial sums . Starts and touch zero; starts and begin negatively. The cycle lemma with increments at most one counts two starting positions even though there is only one distinct good rotated word. Counting distinct words would lose the multiplicity that makes the statement true.
Figure 2.
Six starting positions of the repeating sequence : starts and produce identical good words and count twice
. Details.
The upper bound matters. The one-entry sequence has positive integer sum two, but only one starting position. Thus the sum- conclusion fails for arbitrary positive increments when . The sum-one cycle lemma above needs no such upper bound. Strict positivity also matters: counting paths that merely stay at or above zero would include additional starts in both diagrams.
From rotation to enumeration. For a fixed admissible sequence, a start chosen from a uniform distribution on a finite set of its positions is good with probability . More generally, let be any finite set of length- sequences satisfying the increment bound and total , closed under rotation. Double counting pairs consisting of a sequence and a good starting position gives
For each good output sequence and each of the positions, inverse rotation gives one such pair, even when several rotated words coincide. For example, the four sequences containing three votes and one vote have exactly vote orders with a strictly positive running lead: and . This is how the cycle lemma with increments at most one converts many prefix inequalities into a simple counting factor.
Cyclic Turán covering construction Created 2026-10-06 Updated 2026-10-14
With balanced cyclically ordered vertex classes and , include an -set if some start has at least vertices in its first classes for every . The cycle lemma implies every -set contains an edge. Its asymptotic density is ; taking the hypergraph complement gives a lower bound for the Turán density of a complete uniform hypergraph.
There is a genuine error in the printed threshold. With , its only nontrivial requirement is that some two consecutive classes contain at least one vertex of the triple. Every triple meets some class, so every triple qualifies. For example, when , the printed construction is the complete 3-uniform hypergraph, of edge density , whereas the claimed density is . Thus the stated edge-count assertion is false even in a nondegenerate parameter range.
The intended cyclic Turán covering construction, which gives the claimed density and the stated lower bound, uses threshold , in the natural range . We solve this repaired version explicitly. Denote it by to keep it separate from the literal printed construction.
A cyclic prefix argument gives the covering property. We first prove the relevant cycle lemma. If integers satisfy , exactly one cyclic starting position has every nonempty partial sum strictly positive. Existence follows by starting after the last minimum among the proper partial sums . Subsequent nonwrapped sums are strictly above that minimum, and wrapped sums add the total . For uniqueness, if two starts split the cycle into arcs with sums and , both positive, their integrality would require and , a contradiction.
Take any vertices and let count them in class . The increments sum to one. The cycle lemma gives a start for which the first classes contain at least vertices, for every . Take the first vertices encountered from that start in class order. The first classes already contain at least vertices; the chosen vertices therefore satisfy all the repaired prefix inequalities. Hence
Every repaired edge also satisfies the weaker printed inequalities. Thus this argument proves the covering assertion for the printed construction too, although it cannot repair its false edge count.
Count the repaired edges by labelled class assignments. Put . For a fixed cyclic start, an edge satisfying the repaired inequalities has all vertices in its first classes. Assign labelled vertices to these positions. There are assignments in total. Their occupancy counts satisfy ; the cycle lemma says exactly one of their cyclic starts has the required prefixes. Rotational symmetry therefore gives exactly good assignments for a specified start.
We must check that summing over the starts does not count an edge twice. Suppose two starts cut the circle into arcs of lengths and . If an arc has length at most , goodness of its starting point forces that arc to contain at least its length plus one vertices. If its length is greater than , it contains all vertices, while the other good start demands vertices in the disjoint complementary arc, impossible. If both lengths are at most , their combined demand is at least vertices, again impossible. Thus a repaired edge has a unique good start.
There are consequently good assignments of class labels to labelled vertices. For any such assignment, balanced class sizes give
where is the falling factorial. Divide the total count of ordered distinct vertices by . For fixed ,
This is precisely the edge density requested, but for the corrected construction.
Pass from covering to a forbidden-hypergraph clique construction. Use balanced classes in and take its hypergraph complement. Every -set contains an edge of , so the complement contains no complete -uniform hypergraph . The preceding count gives
Here Turán density means for a fixed -uniform forbidden hypergraph; the limit exists because these normalized extremal densities are nonincreasing under averaging over smaller vertex subsets.
A corresponding classical upper bound is the de Caen bound for hypergraph Turán density:
Equivalently, an -uniform covering hypergraph in which every -set contains an edge has asymptotic edge density at least . Its proof recursively counts complete subhypergraphs by their one-vertex extensions. Double counting the extensions and applying the Cauchy-Schwarz inequality to common extension neighbourhoods gives a lower bound for the ratio of successive hypergraph clique counts. If the missing-edge density were smaller than , those bounds would force a positive number of -vertex hypergraph cliques, a contradiction. Applying the resulting covering bound to the complement of a -free hypergraph gives the displayed upper bound. This incidence argument supplies the extra factor beyond the simpler direct count of one covering edge in each -set, which alone yields only .
The lower bound is therefore valid via , while the printed enumeration cannot be proved with threshold . Both the counterexample and the necessary repair are part of the solution, rather than a silent change of the definition.
The general upper bound is recorded, for example, in Turán densities of some hypergraphs related to complete uniform hypergraphs.