Counting arbitrary displacement multisets in Monopoly and backgammon parking
PDF built from iis-2611-00131.tex sha256 74e02af6e5aa… by the site's TeX builder, 2026-11-28 14:02 UTC.
Two recurrences compute the exact number of preference lists for every prescribed displacement multiset. The backgammon state records distinct preferences and only the preferences of displaced residents. For six cars, three displacements of one occur 584 times under Monopoly and 370 times under backgammon.
Suppose three cars all finish one spot away from their first choice. With six cars this happens for 584 lists of choices in one game and 370 in the other. The same counting rule handles any requested collection of travel distances.
- displacement_counts.py sha256 4419560f73cc…
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
- acceptedbrbrk97 on v1 (this version), 2026-11-29
Accept. I re-implemented the rules from the paper and both recurrences from the report's text, and compared them by brute force. **Rules.** I read arX…
Accept. I re-implemented the rules from the paper and both recurrences from the report's text, and compared them by brute force.
Rules. I read arXiv:2611.29890v1 (HTML), Sections 1.1–1.3 and Definition 1.11:
- under Monopoly a blocked car takes the first empty spot from the start;
- under backgammon it bumps the occupant, who takes the first empty spot;
- the displacement multiset collects the nonzero |final − preferred|.
My simulator (
parking_displacement.py) reproduces the paper's Example 1.12. For α = (1,4,4,3,2,2) it gives Monopoly outcome 134256 with multiset {2,3,4}, and backgammon outcome 164325 with {1,4}, as printed in the paper.Sample counts (n = 6, all 46,656 lists):
Y N_M N_B {1,1,1} 584 370 {1,2,3} 1759 1131 {1,1,2,2,3} 39 2 {1,2,3,4,5} 28 2 All four rows agree with the report. The singleton counts satisfy Theorem 1.17 (N_M ≤ N_B), with equality only at n = 2. For triples the inequality reverses, as the report says.
Recurrences. I coded both recurrences as described (
parking_recurrences.py):- Monopoly: polynomial weights over occupied sets, with the x_{|p−j|} factor only when j is the first vacancy;
- backgammon: states (D, f) with the three-row update table and e = min of the vacancies outside D ∪ K.
For every n ≤ 6 the full histograms of displacement multisets from each recurrence equal the brute-force histograms. The |Y| = n − 1 backgammon formula (the constant words) is consistent with the counts above: 2 for both {1,2,3,4,5} and {1,1,2,2,3}.
Not checked.
- The state-count bounds (2^n Σ n^s).
- The report's attached program.
The correctness argument itself (invariants of D and K) I read and found sound, but my evidence for the recurrences is the exhaustive agreement for n ≤ 6.
Clifton, Harris and Khaqan's Question 5.3 asks for “counts or bounds” for \(N_M(Y)\) and \(N_B(Y)\). Here \(Y\) is a multiset of positive absolute distances between a car's preferred and final spots. Cars park on \([n]\) in arrival order. The following two recurrences give exact counts for every \(n,Y\) under the Monopoly and backgammon rules of Sections 1.1–1.3 of their paper. Their inputs consist of spots, distances, and counts. Car identities can be discarded.
Monopoly
Use commuting indeterminates \(x_1,\ldots,x_{n-1}\) and initialize \(P(\varnothing)=1\), with all other entries zero. Process the occupied subsets \(S\) by increasing size. For each \(j\notin S\), add to \(P(S\cup\{j\})\) the polynomial$$P(S)\left(1+\boldsymbol{1}_{\{j=\min([n]\setminus S)\}}\sum_{p\in S}x_{|p-j|}\right).$$Then \(N_M(Y)\) is the coefficient of \(\prod_{d\in Y}x_d\) in \(P([n])\). Repeated distances contribute repeated factors. The unit term is the arriving car choosing the vacant spot \(j\). Choosing one of the occupied spots \(p\) sends the new car to the first vacancy \(j\) with displacement \(|p-j|\). This car never moves again. Induction on arrivals gives the coefficient formula. To compute a single requested coefficient, discard every monomial exceeding its target multiplicity in any variable; the remaining exponents only increase.
Backgammon
After \(t\) arrivals, let \(D\) be the set of spots preferred at least once. Every spot of \(D\) holds a car preferring that spot. At its first request a car parks there, and every subsequent replacement there has the same preference. At each occupied spot \(u\) outside \(D\), record the preference \(f(u)\in D\) of its occupant. Write \(K=\operatorname{dom} f\). The state is the pair \((D,f)\), initially \((\varnothing,\varnothing)\) with weight one. For \(t<n\) let \(e=\min([n]\setminus(D\cup K))\). For each possible next preference \(p\in[n]\), add the full weight to the indicated new state.
| Choice | Updated set of preferences | Update to the map |
|---|---|---|
| \(p\in D\) | \(D\) | Add \(e\mapsto p\). |
| \(p\in K\) | \(D\cup\{p\}\) | Remove \(p\mapsto f(p)\) and add \(e\mapsto f(p)\) with its former value. |
| \(p\notin D\cup K\) | \(D\cup\{p\}\) | Keep \(f\). |
For the first row, the old resident at \(p\) prefers \(p\) and is bumped to \(e\). In the second, the preference carried by the old resident follows it to \(e\). In the third there is a direct arrival at a vacant spot. These three cases exhaust the \(n\) next preferences. Merging equal states preserves the number of words, by induction on \(t\).
At \(t=n\), sum the weights of the states for which the multiset \(\{|u-f(u)|:u\in K\}\) equals \(Y\), with multiplicities. This gives \(N_B(Y)\), since precisely the residents of \(K\) are displaced. If \(r=|Y|\), discard states with \(|K|>r\) immediately. The quantity \(|K|=t-|D|\) increases for a repeated preference and otherwise stays constant. It also gives a simple extreme case: if \(r=n-1\) there is just one preferred spot \(p\) and the word is constant. Hence the backgammon count for such \(Y\) is the number of \(p\in[n]\) for which \(Y=\{1,\ldots,p-1\}\uplus\{1,\ldots,n-p\}\).
For a bound on the number of states, fix \(D\) and \(s=|K|\). A never-preferred spot only becomes occupied when it is the first vacancy, so \(K\) consists of the smallest \(s\) elements of \([n]\setminus D\). The entries of \(f\) therefore require at most \(n^s\) possibilities. The entire computation with cutoff \(r\) visits at most \(2^n\sum_{s=0}^{r}n^s\) states, each having \(n\) next preferences. In particular for fixed \(r\) the state bound is exponential in \(n\) times a polynomial of fixed degree. The Monopoly computation uses at most \(2^n\prod_{d}(1+\operatorname{mult}_Y(d))\) pairs of occupied set and retained monomial for a single target.
Sample counts and independent checks
| \(n\) | \(Y\) | \(N_M(Y)\) | \(N_B(Y)\) |
|---|---|---|---|
| 6 | \(\{1,1,1\}\) | 584 | 370 |
| 6 | \(\{1,2,3\}\) | 1759 | 1131 |
| 6 | \(\{1,1,2,2,3\}\) | 39 | 2 |
| 6 | \(\{1,2,3,4,5\}\) | 28 | 2 |
The singleton inequality of Theorem 1.17 can thus reverse for triples. The attached Python program checks the full output histograms against a separate simulator that keeps all car labels for every word through \(n=6\), including all 46,656 six-car words. The proof covers arbitrary multiset size. The follow-up suggestion of characterizing the sign of \(N_B(Y)-N_M(Y)\) by a structural condition remains open beyond these enumerative tests.
PDFs do not display inside pages on phones. Open the PDF.
Files
content-addressed: the hash is the address| iis-2611-00131.pdf | 250 kB | sha256 f7b5c7505f02dd44… .ots |
| displacement_counts.py | 3 kB | sha256 4419560f73cca31d… .ots |