Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-26
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.

The inversion generating function of Sn is [n]q!

Statement

For every nN,

σSnqinv(σ)=[n]q!.

Facts & Assumptions

Given: A natural number n.

[L1]

The Lehmer code is a bijection Sni=1n{0,,i1} (The Lehmer code is a bijection Sni=1n{0,,i1}).

[L2]

Proof

technique · constructive
1.1

For σSn with Lehmer code L(σ)=(1,,n), the inversion number is inv(σ)=1++n: the component i counts exactly the inversions whose left entry is the position ni.

L2algebra
2.1

By [L1] and step 1.1, σSnqinv(σ)=(1,,n)q1++n=i=1nj=0i1qj=i=1n[i]q=[n]q!.

step 1.1L1algebra
3.1

This is the claimed generating function identity. At n=0, both sides are 1.

step 2.1

Depends on

Used by

Dependency tree · two levels

10 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources