Use equitable regularity energy with exceptional vertices retained as singleton cells. The refinement variance identity for regularity energy shows that splitting along an irregular pair's witnesses raises energy by more than . More than irregular ordered pairs therefore raise energy by more than when the exceptional set occupies at most half the vertices.
For equalization with a controlled exceptional set, cut each of the at most witness atoms into pieces of size and put leftovers into singleton exceptional cells. This is a refinement, so it cannot decrease energy. At most vertices are lost. Start with enough cells that this loss, over rounds, is at most ; the initial exceptional set uses the other half. The number of cells grows by a bounded recurrence depending only on and the prescribed minimum. Energy lies in , so the process terminates.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 9 4 Solution Created 2026-10-03 Updated 2026-10-14
We use the following precise form of the Szemerédi regularity lemma. For every and positive integer , there are integers such that every graph on vertices has a partitionwith at most irregular unordered pairs among the nonexceptional classes. Here for disjoint nonempty sets, and is an -regular pair ifwhenever , , , .
For the proof, let be the adjacency indicator, including , and define by averaging on even for diagonal cells. The regularity energy of a partition isEvery exceptional vertex is represented by its own singleton cell in this energy. If a rectangle is refined into smaller rectangles with densities and weights , expanding the square gives the refinement variance identity for regularity energyThus refinement never decreases energy.
Suppose an equitable partition with classes of size fails the desired conclusion. For every irregular pair choose witness subsets , , each of size at least , whose density differs from by more than . Split each class by all witness subsets involving it. Each class has at most atoms. On a witness rectangle, the weighted mean of is . The Cauchy-Schwarz inequality therefore bounds the energy increment on this rectangle below byThe different original cell pairs have disjoint rectangles. More than irregular unordered pairs, with both orientations counted in the energy, thus increase it by more than . As long as , this is greater than , and in particular greater than .
Restore equitability by dividing each atom into pieces of common size , moving each leftover vertex into the exceptional set as a singleton energy cell. This remains a refinement, so the energy gain persists. There are at most atoms, so the additional exceptional vertices number at mostIf , then , and the new number of equal cells satisfies . For the lower bound, within each old class the leftover count is at most , so at least one full new cell survives. For the upper bound, , using . This proves equalization with a controlled exceptional set without any energy loss.
Put . Choose with . Start with equal classes and fewer than exceptional vertices. Iterate the bounded recurrence times to obtain a bound . Choose so large that the initial remainder is at most and, for every , . The total exceptional set remains at most , since at most rounds each add at most . Each failing round raises an energy in by more than , so fewer than rounds can fail. This proves the lemma with all constants independent of the input graph.
For the application, write and . We may replace the given tolerance by a smaller one, so assume . Set , take , and chooseApply the lemma and delete all edges incident with , all edges inside a class, all edges across irregular pairs, and all edges across regular pairs of density below . The resulting spanning subgraph loses at mostLet be the reduced graph of a regularity partition, whose edges represent the surviving regular pairs of density at least . We show that a copy of in forces a copy of in .
Choose a proper -coloring of and assign its color classes to the corresponding clusters. Embed its vertices one at a time. For each unembedded vertex maintain the candidate set in its cluster consisting of unused vertices adjacent to all already embedded neighbours. After at most restrictions its size is at least . This last quantity is at least when is large, so every such candidate set is large enough for regularity. In an -regular pair of density , fewer than vertices on one side have fewer than neighbours in any fixed set on the other side of size at least : otherwise these vertices and violate regularity. For the vertex currently being embedded, there are at most relevant future candidate sets. At most vertices are bad for one of them. Its own candidate set has at least vertices, so an unused good vertex can be chosen. All future candidate sets shrink by at most the factor , apart from the removal of a used vertex; the stated size bound follows inductively, since the accumulated removals are at most . This completes the graph embedding lemma for regular pairs in the form needed here.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 13 2 Solution Created 2026-10-03 Updated 2026-10-14
For disjoint vertex sets , define their edge density of a bipartite graph by . They form a regular pair with parameter if every with , satisfies .
The Szemerédi regularity lemma says that for every and minimum cell count , some have the following property. Every graph on vertices admitswith , equal-sized , and at most unordered irregular pairs. It is enough to consider .
Prove this using equitable regularity energy. Treat exceptional vertices as singleton cells and setwith ordered pairs and the adjacency indicator also defining diagonal densities. Then . The refinement variance identity for regularity energy proves refinement cannot decrease :An irregular pair supplies witness subsets of relative sizes at least whose density differs by more than . Refining along those witnesses raises by more than per orientation, where is the common cell size. If there are more than irregular pairs, the increase is greater than , provided the exceptional set has size at most .
Refine each cell by all its witness subsets; this produces at most atoms per cell. Restore equal sizes by the equalization with a controlled exceptional set: cut each atom into blocks of size and declare its remainder exceptional, still retaining every such vertex as a singleton in the energy. This is another refinement, so no energy is lost. At most vertices become exceptional, and, when , at most new nonexceptional cells occur.
Put and start with so large that . An initial equitable partition has at most exceptional vertices when is sufficiently large. Subsequent cell counts only increase, so the total added exceptional set has size at most . The recurrence , iterated at most times, supplies a finite bound ; choose large enough that every intermediate meets the size requirement. More than unsuccessful refinements would raise above one. The process must therefore stop with the required regular pairs. This proves the lemma.
Its usefulness comes from replacing an arbitrarily large graph by the bounded reduced graph of a regularity partition. For fixed positive cross-density, the graph embedding lemma for regular pairs lifts fixed configurations from the reduced graph to the original one. In particular, three sufficiently regular positive-density pairs contain many triangles in a graph. Deleting exceptional, intracell, irregular and sparse-pair edges then gives the triangle removal lemma: a graph with sufficiently few triangles can be made triangle-free by deleting edges. A triangle surviving in the reduced graph would force a positive proportion of the original possible triangles, a contradiction. More generally this approach yields the clique removal lemma and the asymptotic Erdős-Stone theorem. Applied to the tripartite graph encoding , triangle removal also gives Roth theorem on three-term arithmetic progressions. The price is that the energy argument gives a very rapidly growing, iterated-exponential bound on ; the lemma is a structural tool, not a promise of small practical constants.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 11 2 Solution Created 2026-10-03 Updated 2026-10-14
Use the equitable form of the Szemerédi regularity lemma. For and a prescribed lower bound , there are such that every sufficiently large graph admits a set partitionwith at most unordered irregular pairs among the nonexceptional cells. A uniform pair here means a regular pair of vertex sets. Larger values of follow from a smaller parameter, so the stated restriction loses nothing.
For the proof, retain the exceptional vertices as singleton cells in an auxiliary set partition . Define its regularity energy by the ordered sumFor diagonal rectangles the adjacency matrix of a graph defines ; diagonal terms are included. Thus . If is split into rectangles of densities and sizes , their weighted mean is . Expanding squares proves the refinement variance identity for regularity energy:Every refinement therefore increases or preserves energy.
Suppose equal cells of size are -irregular. Choose witnesses , of sizes at least , whose density differs from by more than . Refine the cells so that these witnesses are unions of refined atoms. Applying the Cauchy-Schwarz inequality inside gives an increase, for this oriented rectangle, greater thanChoose witnesses simultaneously for every irregular pair. Each original cell is cut by at most witness sets and has at most atoms. If more than unordered pairs are irregular, both orientations contribute, givingas long as the exceptional set has at most vertices.
To restore equal sizes without sacrificing this increase, use equalization with a controlled exceptional set. Cut every witness atom into blocks of size , leaving fewer than unused vertices in each atom. Make each unused vertex a singleton exceptional cell. This is a further refinement, so there is no energy loss. The number newly exceptional is at mostWhen , the new nonexceptional cell count is at most : indeed and . It is at least , since each old cell supplies at least blocks.
Let . Choose the initial count so large that , and begin with equal cells and fewer than leftover vertices. Take large enough that these initial leftovers are at most . Iterate the bound for rounds to obtain a finite number . Increase further to ensure . Then every cell size encountered satisfies , so every equalization is legitimate. The total exception budget is at most , because the initial losses use half the budget and all later losses sum to at most . Energy cannot increase by more than one, so failing rounds are impossible. The process must stop with at most irregular pairs. This proves the Szemerédi regularity lemma, including the bounded cell count, equitability and exceptional-set control.
For the dense-pair application, apply this proof with and . Suppose every -regular pair of nonexceptional cells has density at most . Edges touching number at most . Edges inside nonexceptional cells number at most . The at most irregular cell pairs contribute at most . Finally the regular cross-cell pairs contribute at most . Thereforea contradiction. Some regular pair consequently has density greater than . It is also a -uniform pair, since subsets of relative size at least qualify in the stronger -regularity condition. The common cell size satisfies . Thus the dense regular pair from edge surplus givesThis first proves the assertion for . For the finitely many smaller possible orders, choose the endpoints of any edge as singleton sets: the pair has density one and is regular for every positive parameter. Taking includes these cases as well.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 129 2 Solution Created 2026-10-03 Updated 2026-10-05
Write for the edge density of a bipartite graph between nonempty disjoint vertex sets. A regular pair of vertex sets is -regular if whenever , , , and .
The Szemerédi regularity lemma says that for every and positive integer there is such that every finite simple graph on vertices has a set partitionwhere have equal positive size and at most unordered pairs , , fail to be regular pairs of vertex sets. The version requiring only sufficiently large is equivalent, since the finitely many smaller admissible sizes can use singleton sets as classes. It suffices to prove this for : reducing a larger parameter to gives stronger conclusions.
Here is a complete energy proof, including restoration of equal class sizes. For a set partition with exceptional set , use the following version of equitable regularity energy, omitting pairs incident with :For , define using the ordered adjacency indicator function, with diagonal entries zero. Thus the same formula works on every rectangle. The refinement variance identity for regularity energy iswhere run over the refined cells. Expanding the square proves the identity because their weighted mean edge density of a bipartite graph is . In particular, refinement never decreases the energy. If a union of refined cells has discrepancy greater than , the Cauchy-Schwarz inequality bounds its contribution below by . For an irregular equal-class pair of size , witnesses have sizes at least , so the increase exceeds in each orientation.
Choose so large that . Initially partition into equal classes and fewer than exceptional vertices. For sufficiently large this exceptional set has size at most . Suppose there are more than irregular unordered pairs at a subsequent step, with equal class size . Choose one witnessing pair of subsets for every such pair. Split each class according to membership in all its witness subsets; each class produces at most atoms. The preceding refinement variance identity for regularity energy shows that the energy increase exceedsas long as the exceptional set has size at most .
Apply equalization with a controlled exceptional set. Set , cut every atom into blocks of size , and send its leftover points to . Provided , the new number of classes satisfiesThe lower bound holds because every old class retains at least one full block: its leftovers total less than . The discarded fraction is at mostCutting blocks is a further refinement before discarding. Discarding changes only ordered pairs with at least one discarded vertex, so it loses at most in the energy. The net increase is therefore at least .
There can be fewer than such strict energy increases, because the energy stays in . Through steps the exceptional fraction is at mostThis also verifies the exceptional-set bound used at every preceding step. Iterating the finite recursion at most times bounds all class counts by some . Choosing sufficiently large in terms of , for instance with and , guarantees throughout. Thus the process terminates with the desired regular pairs of vertex sets. Choose a finite integer threshold for these requirements and set . For , use singleton sets; every pair is regular because its only admissible nonempty subsets are the whole pair. This completes the Szemerédi regularity lemma for all admissible .
For the half graph, a class of size has exactly elements with fewer than predecessors, and the same number with fewer than successors. Thus its boundary contains at most elements. Let be the numbers of classes. The boundary rank obstruction in a half graph gives the union boundbecause . There is therefore an index away from both boundaries. In its classes , all four subsets , , , have at least one tenth of their respective class sizes. These subsets are taken within , which need not be intervals.
In the half graph, and . If were a -regular pair of vertex sets, both values would be within of , implying , a contradiction. At least one class pair is not -regular.