How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Permutation Statistics, Inversions and Eulerian Numbers: Examples and Counterexamples
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Permutation Statistics, Inversions and Eulerian Numbers
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
The permutations of tabulated by inversions, descents, major index and excedances
Example
For , the four statistics take the following values.
| permutation | inv | des | maj | exc |
|---|---|---|---|---|
| 0 1 2 3 | 0 | 0 | 0 | 0 |
| 0 1 3 2 | 1 | 1 | 3 | 1 |
| 0 2 1 3 | 1 | 1 | 2 | 1 |
| 0 2 3 1 | 2 | 1 | 3 | 2 |
| 0 3 1 2 | 2 | 1 | 2 | 1 |
| 0 3 2 1 | 3 | 2 | 5 | 1 |
| 1 0 2 3 | 1 | 1 | 1 | 1 |
| 1 0 3 2 | 2 | 2 | 4 | 2 |
| 1 2 0 3 | 2 | 1 | 2 | 2 |
| 1 2 3 0 | 3 | 1 | 3 | 3 |
| 1 3 0 2 | 3 | 1 | 2 | 2 |
| 1 3 2 0 | 4 | 2 | 5 | 2 |
| 2 0 1 3 | 2 | 1 | 1 | 1 |
| 2 0 3 1 | 3 | 2 | 4 | 2 |
| 2 1 0 3 | 3 | 2 | 3 | 1 |
| 2 1 3 0 | 4 | 2 | 4 | 2 |
| 2 3 0 1 | 4 | 1 | 2 | 2 |
| 2 3 1 0 | 5 | 2 | 5 | 2 |
| 3 0 1 2 | 3 | 1 | 1 | 1 |
| 3 0 2 1 | 4 | 2 | 4 | 1 |
| 3 1 0 2 | 4 | 2 | 3 | 1 |
| 3 1 2 0 | 5 | 2 | 4 | 1 |
| 3 2 0 1 | 5 | 2 | 3 | 2 |
| 3 2 1 0 | 6 | 3 | 6 | 2 |
Facts & Assumptions
Given: The inversion generating function, the major-index generating function, and the equidistribution of descents and excedances on (The inversion generating function of is , The major-index generating function of is , Descents and excedances are equidistributed on ).
Verification
The table is an exhaustive enumeration of the one-line permutations of , with each statistic computed directly from its definition.
Reading off the distributions from the table gives for inversions, the same polynomial for the major index, and for both descents and excedances. This matches the three cited theorems.
The Lehmer codes of recover
Example
For , the Lehmer-code codomain is
Grouping these code vectors by the sum of their coordinates gives
which is .
Facts & Assumptions
Given: The Lehmer code is a bijection (The Lehmer code is a bijection ).
The inversion generating function of is (The inversion generating function of is ).
Verification
Every code vector has the form with , , and , so there are of them. Counting by the sum gives the coefficient sequence .
Therefore , which matches [L1].
Foata's transformation on the permutation
Example
Foata's transformation sends the permutation to .
Facts & Assumptions
Given: Foata's recursive transformation and the major-index/inversion identity (Foata's recursive transformation on permutations, Foata's transformation sends major index to inversion number).
Verification
Applying the recursion step by step gives , then , then , and finally .
The original permutation has descents at positions and , so . The image has inversions , , , and , so . This matches the theorem.
by the recurrence, by Worpitzky's identity and by excedances
Example
The Eulerian number equals , and three different routes produce the same value.
Facts & Assumptions
Given: The Eulerian recurrence, Worpitzky's identity, and the equidistribution of descents and excedances (The Eulerian numbers satisfy , Worpitzky's identity for , Descents and excedances are equidistributed on ).
Verification
The recurrence gives .
Worpitzky's identity with and gives , because the terms vanish. Since , this reads , so again .
By descents/excedances equidistribution, also counts permutations of with exactly two excedances, and the table on this companion page contains exactly such permutations.
The weak and Bruhat orders on
Example
On , the weak-order cover relations are
while the Bruhat-order cover relations are
So the Bruhat order is strictly finer than the weak order already on .
Facts & Assumptions
Given: The weak order by inversion inclusion and the Bruhat order by rank inequalities (The weak order on by inversion-set inclusion, The Bruhat order on by rank inequalities).
Verification
Computing inversion sets gives the six weak-order covers displayed above. In particular, and are incomparable in weak order because their inversion sets are and respectively.
Computing the rank inequalities shows that and in Bruhat order, producing the two extra cover relations listed above. Thus Bruhat order is strictly finer than weak order on .
Two permutations can have the same descent set and different inversion numbers
Counterexample
The permutations and have the same descent set , but their inversion numbers are and respectively.
Facts & Assumptions
Given: Descents and inversion numbers are defined by Descent sets, major index, excedances and fixed points of a permutation and Inversions, inversion number, the sign , and even and odd permutations.
Verification
For both permutations, the only descent is at position : in each case the first entry exceeds the second, while the second does not exceed the third.
The permutation has one inversion, namely , while has two inversions, namely and . So the inversion numbers differ even though the descent sets agree.
The number of excedances is Eulerian but not Mahonian
Counterexample
The statistic is Eulerian, because it is equidistributed with descents, but it is not Mahonian: on its distribution is , while the inversion distribution is .
Facts & Assumptions
Given: Descents and excedances are equidistributed (Descents and excedances are equidistributed on ), while the major-index generating function is and so agrees with the inversion distribution (The major-index generating function of is ).
Verification
On , the excedance counts are distributed as : there is one permutation with excedances, four with , and one with .
On , the inversion numbers are distributed as over . Since these two distributions are different, is not Mahonian.
FALSE: the major index equals the inversion number for every permutation
Statement
False claim: for every permutation , one has
What is true is the weaker distributional statement of The major-index generating function of is .
Facts & Assumptions
Given: Major index and inversion number are defined by Descent sets, major index, excedances and fixed points of a permutation and Inversions, inversion number, the sign , and even and odd permutations.
Refutation
Take . Its only descent is at position , so .
The same permutation has two inversions, namely and , so . Therefore , and the claim is false.