Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck 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 n∈N,

∑σ∈Snqinv⁡(σ)=[n]q!.

Facts & Assumptions

Given: A natural number n.

[L1]

The Lehmer code is a bijection Sn→∏i=1n{0,…,i−1} (The Lehmer code is a bijection Sn→∏i=1n{0,…,i−1}).

[L2]

Proof

technique · constructive
1.1L2algebra

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 n−i.

2.1step 1.1L1algebra

By [L1] and step 1.1, ∑σ∈Snqinv⁡(σ)=∑(ℓ1,…,ℓn)qℓ1+⋯+ℓn=∏i=1n∑j=0i−1qj=∏i=1n[i]q=[n]q!.

3.1step 2.1∎

This is the claimed generating function identity. At n=0, both sides are 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