WorksMathematics
Uniformising random greedy maximal independent sets on graphs with at most five vertices
Abstract
A random greedy algorithm scans the vertices of a finite graph in increasing order of independent exponential arrival times and accepts each vertex unless an accepted neighbour blocks it. We ask an inverse question: can strictly positive finite arrival rates be chosen so that the terminal inclusion-maximal independent sets are all equally likely? We call this exact property exponential greedy uniformisability (EGU). We establish the complete small-order classification: every finite simple graph on at most five vertices is EGU, with the unique exception of the five-vertex path up to graph isomorphism. A strict probability minor provides an explicit obstruction for the exceptional graph; the positive cases are certified by graph-isomorphism reduction and exact constructive witnesses. We explain the independent-exponential-clock probability law and the formal Lean 4 verification, registered as Palomar PALOMAR-2026-11-19-000021 (version 1). The registration is a formal proof record, not a claim of novelty certification or journal peer review.
Introduction
Random sequential adsorption on graphs (RSA) and random greedy independent-set algorithms start from a random ordering and accept a vertex when no previously accepted neighbour forbids it [2, 4]. The result is maximal by inclusion, but generally neither maximum by cardinality nor uniformly distributed among maximal independent sets. An equal-rate exponential race gives a uniform random permutation. Here, in contrast, the rates are design parameters: we wish to control the entire terminal-set law. Unequal rates in RSA are not themselves new [3]; the question is whether they can enforce an exact uniform law over the finite set of terminal configurations.
This distinction is important. Equal-rate output uniformity on trees was studied in Fairfax-Ball [1]; allowing arbitrary positive rates changes the answer even for the three-vertex path (Figure 2). Uniform maximal-set sampling is also different from Gibbs distributions and maximum-weight independent-set optimisation. We give a small, complete classification, not a classification of arbitrary finite graphs. Figures 1–7 are explanatory vector diagrams whose exact claims have separate source and validation records.

Figure 2. Rate design on . The vertex labels are above the path and rates below it. With rates (1, 2, 1), the centre clock wins with probability 2/4, giving {2}; either endpoint wins with total probability 2/4, giving {1, 3}. Both are exact fractions, not numerical estimates.
Model and the first-choice identity
Let be a finite simple graph. Independently for each , sample , where . Inspect vertices in increasing order, accepting precisely if it has no previously accepted neighbour. The output is independent. A vertex omitted from was blocked when inspected, so it has a neighbour in : thus is inclusion-maximal. Write for the family of all such sets, and for the output probability.

Figure 1. One deterministic outcome of the exponential-clock scan. On the path 1 − 2 − 3 − 4, the illustrative strict arrival order is 2, 4, 1, 3 (not a claim about observed frequencies). Vertices 2 and 4 are accepted; 1 and 3 are blocked by accepted neighbours. The terminal set {2, 4} is inclusion-maximal. Filled teal circles are accepted; crossed grey circles are rejected.
Definition 1. A graph is exponentially greedily uniformisable () if some vector satisfies
When , the unique output is the empty set, and is EGU.
The exponential-race identity says that the first clock belongs to with probability , where . If is accepted first, and its neighbours are removed from subsequent consideration. Memorylessness yields the following exact recursion (equivalently, sum over permutations weighted by exponential-race probabilities):
where denotes the closed neighbourhood, , and the probability is defined as zero for an impossible target. The identity uses the actual independent exponential clocks, not a replacement sampling model. The formal bridge appears in RealClockGreedyLaw.lean.
Positive-rate control: two small examples
For the path , the only maximal independent sets are and . Whichever vertex arrives first determines which of these two outputs is produced:
The strictly positive rates therefore give to each outcome (Figure 2). Choosing all rates equal would instead give and .
The path is instructive because it is not a cograph, yet is EGU. Take reflection-symmetric rates
By applying (1),
These are positive finite real rates (not a limiting construction). The graph and corresponding complementary witness types are visualised in Figure 6. A compact algebraic verification is in Appendix § 8.

Figure 6. Three exact constructive witnesses. (a) with rates has two equal output masses; (b) with hub rate 3 and leaves of rate 1 gives mass 1/2 to the hub and 1/2 to the set of all leaves; (c) with rates gives each of its three maximal independent sets mass 1/3. Numbers by vertices are rates, not probabilities.
The complete small-order classification
Theorem 1 (At-most-five-vertex classification). For every finite simple graph with ,
In particular, the exception is whole-graph isomorphism to the five-vertex path, not merely the appearance of an induced in a larger graph.
The graph has four maximal independent sets, drawn in Figure 3. The required target law is thus for each of them; one cannot merely balance the probability of output cardinalities.

Figure 3. All four terminal sets of . The four rows show , , and ; teal filled vertices belong to the indicated set. The exact-uniform target is for each row. These four sets were checked by exhaustive independent-set enumeration.
A strict obstruction for
Label the path ––––, and abbreviate the positive rates by ; let . Define , and similarly for the other three outputs. Applying the first-choice identity gives
Lemma 1 (Strict output minor). For all , the output law obeys
Proof. Put , , , and . Direct substitution into (2) and clearing only strictly positive denominators gives
where the explicit polynomial is displayed as a sum of polynomials with strictly positive coefficients in Appendix § 7. Thus , and every other factor on the right side of (4) is positive. Equality is impossible for finite strictly positive rates.

Figure 4. The obstruction is algebraic, not numerical. For any positive rates, the product of the output masses on the lower pair of sets strictly exceeds the product on the upper pair. Equal mass for all four would require both products to equal , contradicting the strict inequality. Equation (4) supplies the positive polynomial certificate.
The strict minor proves cannot be EGU. This argument rules out all real positive rate choices; a failed search over rational candidates, a numerical minimum or a limiting sequence would not establish the same conclusion.
The other isomorphism classes
For the positive direction, the formal development represents each graph by its -bit edge vector, canonically compares its isomorphism class to a fixed finite representative table, and checks an exact rate witness for each nonexceptional representative. The finite case split is kernel-checked by allBool_sound, and the transfer to arbitrary labellings uses realClockEGU_congr_equiv. The computed classes are summarised in Table 1; a fully drawn atlas is Figure 5. The tables are part of the formal proof, not an unexplained numerical optimisation.
| Isomorphism classes | EGU | Non-EGU | |
| 0 | 1 | 1 | 0 |
| 1 | 1 | 1 | 0 |
| 2 | 2 | 2 | 0 |
| 3 | 4 | 4 | 0 |
| 4 | 11 | 11 | 0 |
| 5 | 34 | 33 | 1 |
| Total | 53 | 52 | 1 |
Table 1. Unlabelled simple-graph classes. All positive classes possess exact positive witnesses; is the sole negative class within the registered scope.

Figure 5. The complete unlabelled graph atlas for . Each miniature is a distinct isomorphism class (53 in total). The one red-highlighted class is ; the other 52 are EGU. Positions are schematic, not a geometric embedding claim. Generated deterministically by figures/generate_atlas.py from NetworkX’s graph_atlas_g, with a separate independent isomorphism/count check; the formal completeness proof uses its own Lean edge-vector enumeration.
Proof of Theorem 1 (certified finite classification). For , all unlabelled classes are covered by exact positive-rate witnesses and the checked isomorphism reduction. For , the same certified enumeration finds 34 unlabelled classes: 33 carry witnesses, and the remaining class is isomorphic to . Those certificates establish the positive implication in every labelled graph through five vertices. Lemma 1 rules out , and graph-isomorphism invariance transports that obstruction to every labelling of this path. The empty graph is handled separately. The full finite case reduction, witness verification, and genuine-clock link are checked in Lean (see § 5). □
Formal verification and evidence tiers
The public Challenge states the biconditional of Theorem 1 for all symmetric irreflexive neighbour maps on , , with a positive rate vector and actual independent product measure. The imported Solution combines the real-clock law realClockEGU_iff_
firstChoiceEGU, the finite classification graphs_le_five_classification, the strict obstruction p5Nb_not_realClockEGU, and isomorphism transfer. The Challenge’s intentional placeholder is not a proof hole in the accepted Solution.

Figure 7. Logical dependency structure (conceptual, not a literal import graph). The genuine independent exponential-clock measure is linked by a proved law to the exact finite first-choice recursion. Positive representative certificates plus orbit/isomorphism reduction establish the constructive cases; the strict minor excludes the exception. The branches meet at the registered biconditional.
At the pinned formal submission, the comparator and independent Lean, NanoDa and con-ron checks accepted the solution; the recorded axiom dependency list is propext, Classical.choice, and Quot.sound. The public identifier supplied by the owner is PALOMAR-2026-11-19-000021 (v1). The cited public entry records the formal verification of the statement and proof at a pinned source snapshot. This paper does not treat registration as independent editorial refereeing.
Related work, scope and open directions
Pippenger’s RSA analysis introduced an influential graph-level sequential occupancy model [4]. Krivelevich et al. study random greedy maximal independent sets and local-limit densities, with primarily uniform orderings [2]. Rate-asymmetric RSA is known [3], so neither exponential arrivals nor unequal rates should be presented as our discovery. The equal-rate tree-uniformity results in Fairfax-Ball [1] address a different quantifier. The precise distinctive issue studied here is whether some positive fixed per-vertex rate vector makes the full output law exactly uniform.
The theorem deliberately stops at five vertices. It does not show that all graphs containing an induced fail EGU, classify , or assert that approximate uniformisation implies exact uniformisation. Work in the repository also studies cograph closure, unions and joins, and a six-vertex census; those are separate claims and are not promoted to parts of the registered small-order iff. Future work includes structural characterisations beyond five vertices, quantitative distance to uniformity for forbidden examples, and rate-design algorithms with rigorous feasibility certificates.
Methods and disclosure. Research direction and authorship are attributed to John Fairfax-Ball. The development and this draft used AI-assisted research, Lean code, scripts and editorial assistance. Exact certificates and independently checked kernel replay supply the mathematical assurance claimed here; no human referee review or comprehensive novelty certification is implied. The formal repository and figure tests are publicly auditable.
The positive polynomial certificate
For compactness, group in powers of the middle rate :
with
Every monomial coefficient in , and is strictly positive, so for strictly positive . The equality (4) can be checked by rational-function simplification of (2); figures/validate.py independently recomputes the factorisation with SymPy. The same sign argument is certified in Lean in SmallGraphObstructions.lean, under p5Nb_strict_minor.
A direct verification
Write the symmetric rates as with . The first-choice recursion shows that the probability of the endpoint pair is . By reflection symmetry the remaining two maximal independent sets have equal mass, and all three masses sum to 1. Taking , i.e. , makes all masses . The witness therefore uses genuine positive rates, not an approximation.
Reproduction and certificate trace
The formal code and independent figure-check scripts are publicly available at https://github.com/jfairfaxball-348/Inverse-Greedy. The repository figure ledger records sources and validation. The core formal interface is in Challenge.lean and Solution.lean; classification, obstruction and real-clock law are imported from the InverseGreedy/ directory. The independent figure checker is not a substitute for the registered formal verification.
References
- [1]John Fairfax-Ball. Greedy uniformity on trees: Exact obstruction and near-uniform spiders. arXiv preprint arXiv:2610.02276, 2026. https://arxiv.org/abs/2610.02276.
- [2]Michael Krivelevich, Tamás Mészáros, Peleg Michaeli, and Clara Shikhelman. Greedy maximal independent sets via local limits. Random Structures & Algorithms, 64(4):986–1015, 2024. doi:10.1002/rsa.21200.DOI
- [3]Mathew D. Penrose and Thomas Rosoman. Percolation of even sites for random sequential adsorption. Stochastic Processes and their Applications, 122(4):1866–1886, 2012. doi:10.1016/j.spa.2012.01.007.DOI
- [4]Nicholas Pippenger. Random sequential adsorption on graphs. SIAM Journal on Discrete Mathematics, 2(3):393–401, 1989. doi:10.1137/0402034.DOI