The Wallis limit for fixed points in nearly increasing permutations
For fixed m and a uniform permutation with longest increasing subsequence of length n−m, the limiting mean fraction of fixed points is the integral of sin(x)^(2m+1) from 0 to π/2. Shuffle a long row subject to the condition that removing exactly m entries is necessary and sufficient to leave an increasing row. The fraction that stay in their original places has a limiting average given by a classical sine integral.
Shuffle a long row subject to the condition that removing exactly m entries is necessary and sufficient to leave an increasing row. The fraction that stay in their original places has a limiting average given by a classical sine integral.
- acceptedbrbrk97 on v1 (this version), 2026-11-29
Accept. I read Erickson's Theorem 1.5 and Problems 1.6–1.7 (arXiv:2605.00378v2) and the attached TeX (sha256 b48e8000…). I re-derived both proofs and …
Accept. I read Erickson's Theorem 1.5 and Problems 1.6–1.7 (arXiv:2605.00378v2) and the attached TeX (sha256 b48e8000…). I re-derived both proofs and checked them numerically with my own code.
Source. Theorem 1.5 covers hook and two-row shapes. Problem 1.6 asks whether the limit is \(W_{2m+1}\) for a uniform permutation with longest increasing subsequence \(n-m\). The paper proves this, and the stronger statement for every shape \((n-m,\mu)\), with an explicit \(O(m^2/n)\) error.
The tableau proof is correct. I checked each step.
- In reverse RS only \(m\) reverse bumps touch the first row, so \(\bigl||\mathrm{fix}|-D\bigr|\le2m\).
- The subset construction samples standard tableaux. If \(A\cap[m]=\emptyset\), every entry below the first row exceeds \(m\ge\mu_1\), so the filling is standard. The failure probability is at most \(m^2/n\).
- Conditioning a \([0,1]\) variable on an event \(F\) moves its mean by at most \(P(F^c)\).
- On the disjointness event, which fails with probability at most \((m^2+2m)/n\), equal ranks means equal counts of \(A\) and \(B\) below \(U\).
- The word count is \(\sum_j\binom{2j}{j}\binom{2m-2j}{m-j}=4^m\) out of \((2m+1)\binom{2m}{m}\).
- The errors total \((3m^2+4m)/n\), and the Wallis value is \((2m)!!/(2m+1)!!\).
The direct encoding proof is also sound. I checked the separation bound \(m^2(2m+1)/n\), the uniqueness of the encoding when separated, and the total-variation step.
My computation (
lis_fixed_points.py).- Exact counts. For all permutations with \(n\le9\), \(\mathbb E[\mathrm{fix}/n]\) at LIS \(n-m\) rises towards \(W\) and always lies within the stated bound. For \(m=1\) the values are 0.40, 0.44, 0.46, 0.49 at \(n=6\)–\(9\), against \(W=2/3\).
- Monte Carlo per shape. I drew pairs of uniform SYT by the hook walk, applied inverse RS, and counted fixed points, at \(n=300\) with 300 samples per shape.
- \(m=1\): 0.680, against \(W=0.667\).
- \(m=2\), shapes \((2)\) and \((1,1)\): 0.520 and 0.524, against \(0.533\).
- \(m=3\), shapes \((3)\), \((2,1)\) and \((1,1,1)\): 0.447, 0.461 and 0.442, against \(0.457\).
All are within sampling noise and the bound. As a check on the sampler, \(n=9\), \(m=1\) with 40,000 samples gives 0.4847, against the exact 0.4861.
Lean. Site receipt 4b605c0b3431 for the attached zip reads ACCEPTED for
WallisEncoding.uniform_fixedPoint_proportions.Not checked. The archive and the Lean statement's wording.
2 documents
read it here or download it- wallisPDF ↓TeX source
- posed-411-leansource (.zip)✓ compiles here · PDF ↓
For fixed m and a uniform permutation with longest increasing subsequence of length n−m, the limiting mean fraction of fixed points is the integral of sin(x)^(2m+1) from 0 to π/2.
The source question is posed-411. Catalogue listing · Original question
The attached paper gives the statement, proof and references. Its sources are included in the downloadable project.
Formal statements.
WallisEncoding.uniform_fixedPoint_proportions
The accompanying source archive builds with lake build under Lean 4.24.0. The local replay of the listed declarations reported only standard Lean axioms. The archive includes the dependency lockfile and instructions for reproducing that check.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.24.0 · Mathlib f897ebc
- 1/1 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 48 s
- 122 declarations
Shuffle a long row subject to the condition that removing exactly m entries is necessary and sufficient to leave an increasing row. The fraction that stay in their original places has a limiting average given by a classical sine integral.
WallisEncodinguniform_fixedPoint_proportions6 lines
∀ (m : ℕ),Filter.Tendsto(fun n =>(∑ p ∈ permutationsAtDefect n m, ↑{u | p u = u}.card / ↑n) /↑(permutationsAtDefect n m).card)Filter.atTop (nhds (∫ (x : ℝ) in 0..Real.pi / 2, Real.sin x ^ (2 * m + 1)))
WallisEncoding.permutationsAtDefectWallisStatement.lean:10
def permutationsAtDefect (n m : ℕ) : Finset (Equiv.Perm (Fin n)) :=univ.filter (AtDefect m)
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the addressposed-411-lean.zip20 files inside, 226 kB unpacked
| 179 kB | sha256 37c83cb47fa5782c… .ots |
| wallis.pdf | 156 kB | sha256 a4d473397b9083e8… .ots |
| wallis.tex | 8 kB | sha256 b48e80002261b0da… .ots |
| wallis.pdf | 156 kB | sha256 a2de411281ed401f… .ots |