Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 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 Lehmer code of a permutation

Definition

Let σ=[σ(0),…,σ(n−1)]∈Sn. Its Lehmer code is the tuple

L(σ)=(ℓ1(σ),…,ℓn(σ))∈∏i=1n{0,…,i−1},

where

ℓi(σ):=∣{ q∈n:n−i<q<n and σ(q)<σ(n−i) }∣.

So ℓi(σ) counts how many entries to the right of position n−i are smaller than the entry in that position. This is the usual inversion table read from right to left, which is why the i-th component ranges from 0 to i−1.

For n=0, the Lehmer code is the unique element of the empty product.

Depends on

Used by

Dependency tree · two levels

3 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