Stanley–Wilf conjecture
For a permutation of and a permutation of , say that contains as a pattern if there are indices such that, for all ,
and say that avoids otherwise. For let
where is the set of all permutations of .
For every and every permutation there exists a constant such that
equivalently, the limit
exists and is finite.
References
Primary source
Additional references
- Wikipedia, Stanley–Wilf conjecture, the article this problem comes from.
Progress summary
The conjecture is an established theorem: avoiding any fixed pattern produces at most exponentially many permutations, and the associated growth rate exists.
The conjecture asks for an exponential upper bound on permutations avoiding each fixed pattern. Marcus and Tardos proved this affirmatively in 2004.
Known results
- Füredi–Hajnal's extremal-function conjecture was proved by Marcus and Tardos in 2004, giving the linear bound underlying the result.
- Marcus and Tardos, 2004: for every fixed pattern , is bounded above by .
- Arratia, 1999: the limit exists; later sources cite this as the growth-rate formulation.
Community submission (unverified), September 8, 2026
A submitted proof presents the established Marcus–Tardos argument and proposes a Lean formalization, using sum or skew-sum decompositions and supermultiplicativity before invoking the exponential bound. The formalization and its exposition are unverified.
Current status (as of September 2026): The exponential bound is established for every fixed pattern by Marcus and Tardos, and the finite growth-rate limit is recorded via Arratia; the submitted Lean formalization remains unverified.
Sources
- en.wikipedia.org
- arxiv.org
- ar5iv.labs.arxiv.org
- mathworld.wolfram.com
- combinatorics.org
- scispace.com
- semanticscholar.org
- arxiv.org
- renyi.hu
- quantamagazine.org
- quantamagazine.org
- arxiv.org
- ar5iv.labs.arxiv.org
- mathstodon.xyz
- mathstodon.xyz
- mathstodon.xyz
- mathstodon.xyz
- www-cdn.anthropic.com
- cdn.openai.com
- x.com
- x.com
- x.com
- x.com
Solutions 1
ProofAI-assistedA symbolic-method exposition and Lean 4 formalization of the Stanley–Wilf theorem, combining Arratia’s supermultiplicativity argument with the Marcus–Tardos/Klazar bound. Includes a two-page proof note, public source, and kernel-axiom audit. The extremal layer adapts the attributed ForbiddenMatrix library.See full solution
A symbolic-method presentation and Lean 4 formalization
The Stanley–Wilf conjecture is a theorem of Marcus and Tardos (2004). The following is a presentation of the established argument, with Arratia's limit-existence step organized through the symbolic method, together with a Lean 4 formalization. No mathematical priority is claimed.
Fix a pattern and write , with . If , then for every , and both assertions are immediate. Assume .
A permutation cannot have both a nontrivial direct-sum decomposition and a nontrivial skew-sum decomposition: the former places its smallest entry before its largest, while the latter places its largest before its smallest. Thus is indecomposable for at least one of these two operations.
Choose such an operation. The avoidance class is closed under it. Indeed, an occurrence in a sum of two avoiders cannot lie entirely in either block, and an occurrence meeting both blocks would give a nontrivial decomposition of for the chosen operation.
Let consist of the nonempty indecomposable members of . Components of an avoider again avoid , and closure reconstructs an avoider from such components. The unique indecomposable decomposition gives the symbolic specification
where and are formal ordinary generating functions. Concatenation of component sequences of fixed sizes is injective: positive component sizes uniquely determine the cut at cumulative size . Consequently,
The singleton avoids , so repeated use of the chosen operation gives . Fekete's lemma applied to therefore gives
initially allowing . The Marcus–Tardos theorem supplies a finite exponential bound . This proves the first assertion and bounds the displayed supremum by , proving that the limit exists and is finite.
The accompanying Lean development also formalizes the extremal-matrix and matrix-counting steps underlying the exponential bound. It uses an attributed Lean 4.29 adaptation of Yaël Dillies and contributors' Apache-2.0 ForbiddenMatrix development for the Marcus–Tardos layer. The permutation bridge, Klazar counting recurrence, dyadic estimate, symbolic route, and unconditional endpoint are assembled in this repository. The explicit bound is
The public endpoint is StanleyWilf.stanleyWilf {k : Nat} (tau : Perm k) : GrowthTarget tau. It has no supplied exponential-bound hypothesis; GrowthTarget asserts convergence to a finite nonnegative real number. Lean obtains supermultiplicativity from the first-component bijection and its convolution. The complete size-wise SEQ equivalence uses Fintype.equivOfCardEq; no executable whole-factor-list decomposition is claimed.
- Two-page proof note, v1.0.2
- Source at release commit dbcfd47
- Successful Lean 4.29.0 build, regression tests, and kernel-axiom audit. The audit of 48 declarations reports only
propext,Classical.choice, andQuot.sound. - Upstream ForbiddenMatrix at the adapted revision
References: R. Arratia, On the Stanley–Wilf conjecture for the number of permutations avoiding a given pattern, Electronic Journal of Combinatorics 6 (1999), N1; A. Marcus and G. Tardos, Excluded permutation matrices and the Stanley–Wilf conjecture, Journal of Combinatorial Theory A 107 (2004), 153–160; M. Klazar, The Füredi–Hajnal conjecture implies the Stanley–Wilf conjecture, Formal Power Series and Algebraic Combinatorics (2000), 250–255, DOI 10.1007/978-3-662-04166-6_22; P. Flajolet and R. Sedgewick, Analytic Combinatorics, Cambridge University Press, 2009. Marcus–Tardos §3 reproduces Klazar's counting reduction.