Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Finite traps for two-root switching
The stronger two-root implication proposed in the canonical sketch is false. There are finite triangle-free graphs in the middle-density band with a cut that is stable under every single-vertex flip and every deterministic two-root coloured-profile recolouring, but has more than monochromatic edges. These graphs have much better cuts and are not counterexamples to Problem 23. An exhibited three-root rule improves the trapped cut below .
The construction and argument are by Plasma AI, author-recorded and not independently reviewed. The exact finite calculation is replayed by the evidence entry point. The finite existence proof is probabilistic; no adjacency list of the large graph is asserted to be retained.
The precise implication that fails
For a colouring , roots , and a Boolean function , recolour each vertex by
The failed assertion is that every triangle-free graph with , and every colouring stable under all such recolourings and all single-vertex flips, has at most monochromatic edges. Stability means that the number of monochromatic edges does not decrease. The assertion was sufficient for the target because a maximum cut is stable, but the converse qualification matters here.
Template and exact gain table
Index the even subsets of by their five-bit masks in increasing order, starting at index zero. Let join two subsets when their symmetric difference has size four. This is the triangle-free Clebsch graph, with sixteen vertices and forty edges. Put
This cut has twelve monochromatic edges. Its vertex slacks, opposite-colour degree minus same-colour degree, are at indices and at the other twelve indices.
Replace each template vertex by vertices of its colour. Retain each possible edge between adjacent parts independently with probability , and retain no other edges. Put . Every outcome is triangle-free. The limiting edge and monochromatic densities of this colouring are
For the gain calculation, fix the template parts of two distinct roots. The parts may coincide; the two roots are still distinct vertices, so their incident edge trials to a third vertex are independent. Number a coloured profile by , where is adjacency to root . For each part let be times the probability of profile . This is an integer: a supported root edge has numerators for presence and absence, and an unsupported root edge has numerators .
Write for the adjacency matrix of and . A switch vector flips exactly the cells with . Set
Then the expected change in monochromatic edges, divided by and ignoring the two roots themselves, tends to . This uses the unordered-edge convention for gains; the density in (1) is twice that convention. Indeed is , and the factors in the denominator are the two endpoint parts, four root-adjacency trials, and the edge trial.
A profile is possible when its column of has positive sum. A switch is nontrivial when it is not constant on the possible profiles. Constant switches preserve the cut or complement it. Complementing leaves (2) unchanged, so it suffices to fix its final coordinate at zero.
The exact calculation scans all ordered part pairs and all switches with that fixed coordinate. Of the cases, are nontrivial. The minima of their integer numerators are:
| Root-part relation | Old root colours | Least numerator |
|---|---|---|
| Same part | Same | 6272 |
| Distinct nonadjacent parts | Same | 6272 |
| Distinct nonadjacent parts | Different | 6272 |
| Adjacent parts | Different | 12544 |
| Adjacent parts | Same | 50176 |
Thus every nontrivial two-root switch has limiting gain at least
Parts and switch mask attain the minimum. The checker builds from the definitions, verifies their probability masses, checks every case and the table, and checks this attaining case separately. As a negative control, at retention probability one the same old colouring has a two-root switch on parts with gain . The strict margin therefore depends on edge retention, not just on the template or colouring.
Passing from the table to finite graphs
For completeness, a function of independent variables with bounded coordinate differences obeys
The upper tail has the same bound. One proof exposes the variables in order. Each martingale increment has conditional mean zero and lies in an interval of length at most , by coupling the remaining variables. Its conditional log moment-generating function is at most : the second derivative of that log function is a variance supported in an interval of length , at most , and integration twice gives the bound. Multiplication of these conditional bounds, exponential Markov, and optimization over prove (4).
Fix two actual distinct roots and a switch. Every possible profile of a root itself is also possible for ordinary vertices in its part: self adjacency is zero, and the edge to the other root, when supported, has both outcomes of positive probability. Consequently a switch constant on the possible profiles preserves or complements the whole cut exactly. There is no exceptional root-only cell.
For a nontrivial switch, let be its actual change in monochromatic edges. The contribution of edges with neither endpoint a root agrees in expectation with the independent-profile calculation. At most edges touch a root. Comparing the actual and formal contributions, each bounded between and , gives
Changing one edge trial away from the roots changes by at most one. A trial incident to a root can change the cell of one other vertex, or the cells of both roots if it is their mutual edge. In either case it affects at most edge contributions. There are at most such trials, so the squared difference bounds sum to at most . Equations (4) and (5) give
A union bound over fewer than root-pair/switch cases shows that every nontrivial two-root switch strictly worsens the cut except with probability at most . Switches using one root or the same vertex twice are covered: add an arbitrary distinct second root and ignore its adjacency coordinate.
At each vertex the expected slack is at least . Its incident edge trials have difference bound one and number at most , so the probability of any nonpositive vertex slack is at most . Furthermore, is binomial with trials and mean . Its distance above is , giving
The total edge count has trials and mean . The upper band endpoint is automatic, because even the complete template blow-up has . The mean exceeds the lower endpoint by edges. Thus
All these failure probabilities tend to zero. An explicit sufficient order is , with . Here , so the switching union bound is less than , using . The vertex bound is less than , and each of (6) and (7) is less than . Their sum is below one. This proves the existence of a finite graph with all the asserted trap properties, and in fact gives them with probability tending to one.
A third root escapes
Take three distinct roots in template parts : two different vertices in part and one in part . Number cells by . Flip cells , the switch mask . The same integer calculation, now with denominator , gives limiting gain
The resulting limiting monochromatic cost is
This conclusion also holds simultaneously with the finite trap properties with positive probability at the explicit order above. Fix such a triple of actual vertices. Put . The expected new cost differs from (8) times by at most . At most trials touch these roots, each with difference bound ; the squared bounds sum to at most . When , the probability that this new cost is at least is at most . At this is less than . Adding that fifth failure bound still leaves the sum below one. The exact rational comparisons used for this explicit order are checked in the evidence; no numerical probability estimate is a premise.
A richer averaged row detects the trap
The distinction between pointwise switching and an averaged row matters. Here is one explicit averaged inequality, valid at every maximum cut, whose limiting value on the construction is negative. For three ordered roots let specify colours and just the edge . Let be the mass of vertices adjacent to none of the roots. Switch the following cells:
- vertices of old colour adjacent to none of the roots;
- vertices of old colour adjacent to and to exactly one of .
These are cells , or switch mask , in the numbering above. Write for the change in the monochromatic density , twice the gain convention of (2). A maximum cut satisfies
This is an order-seven flag row: three roots, two endpoints for the gain, and two independent points for . It is also a quadratic form of the gain-weighted moment matrix in the canonical sketch. In fact its multiplier is a sum of ordinary nonnegative rooted flag probabilities, so this particular row does not require a general signed square.
The exact limiting value for the retained-edge construction is
The checker sums the supporting ordered template-part placements. For each placement the root-type probability has denominator , the unordered gain has denominator , and has denominator . The uniform root-part choice contributes . Thus the common denominator before reduction is for the unordered gain; doubling gives (10). The scalar products are accumulated as arbitrary-precision integers. This exact separation supplies a concrete stronger row for the certificate route. It does not show that the row, alone or with other order-seven rows, proves the full band bound.
There is also a two-root separator using the sketch's hereditary comparison with the imported uniform bound . Choose root parts and let consist of coloured cells , subset mask . Thus contains old-colour- vertices adjacent to neither root and old-colour- vertices adjacent to exactly one root. For the limiting construction,
The evidence recomputes this rational value from the two-root profile probabilities. This does not contradict two-root switching stability: hereditary comparison uses a best cut of the entire induced graph on , which need not be constant on the two-root profile cells. Its validity assumes global optimality of the old cut and the stated uniform source bound.
Consequences for the attack
Every constructed graph has a homomorphism to the Clebsch graph. Its five coordinate cuts leave each supported edge uncut in exactly one coordinate, so some coordinate cut leaves at most edges uncut. Thus the graph satisfies the original conjectured bound regardless of the random edge choices. The bad colouring, not the graph, is the obstruction.
No valid system using only single-vertex stability, deterministic two-root switching stability, their nonnegative rooted multipliers, and conditions valid for every coloured triangle-free graph can force in the band: the finite trap itself satisfies all those hypotheses. This includes arbitrary flag positivity at every order. It does not obstruct a system using consequences of genuine global optimality that the trap violates. Fractional two-root switching is a further family not tested by this table. The exhibited improving three-root move violates another necessary condition for global optimality. The full-band maximum-cut argument must therefore retain stronger consequences of global optimality, such as the exhibited three-root row or hereditary comparison; neither separation proves the universal three-root implication or the target.
Run the exact table and constant checks from the repository root:
uv run --no-sync python wiki/research/triangle_free_bipartization/evidence/main.py --switching-onlyThe ordinary full and quick evidence runs include these checks. Their scope is the finite calculation supporting this author-recorded argument, not independent review and not a proof of Problem 23.