TheoremBase

Inversions of a Permutation of [n]

An inversion of a permutation σ of [n] is a pair (i,j) with i<j and σ(j)<σ(i); Inv(σ) is the set of its inversions.

Statement

In the setting of The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion, let n∈Nn\in\mathbb{N}, with [n][n] as in Intervals of Natural Numbers §segment, a set by Permutations of a Set and the Set of Permutations of [n] §permutations, SnS_{n} as in Permutations of a Set and the Set of Permutations of [n] §permutations and Permutations of a Set and the Set of Permutations of [n] §membership, and the strict order << of N0\mathbb{N}_{0} as in The Order on Omega §strict; [n]×[n][n]\times[n] is a set by Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set §set.

For σ∈Sn\sigma\in S_{n}, the set of inversions of σ\sigma is

Inv(σ)={p∈[n]×[n]:∃i ∃j (p=(i,j)∧i<j∧σ(j)<σ(i))},\mathrm{Inv}(\sigma)=\{p\in[n]\times[n]:\exists i\,\exists j\,(p=(i,j)\wedge i<j\wedge\sigma(j)<\sigma(i))\},

formed by Class Abstraction: the Class of All Sets Satisfying a Predicative Formula §restricted from a formula in which the values σ(i)\sigma(i) and σ(j)\sigma(j) are used properly, since p∈[n]×[n]p\in[n]\times[n] and p=(i,j)p=(i,j) give i,j∈[n]i,j\in[n] by Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set §membership and dom⁡σ=[n]\operatorname{dom}\sigma=[n] by Permutations of a Set and the Set of Permutations of [n] §membership, and which is therefore predicative by Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols §value and Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols §closure; it is a subclass of [n]×[n][n]\times[n] by Class Abstraction: the Class of All Sets Satisfying a Predicative Formula §abstraction, hence a set by Subclasses of Sets Are Sets, the Union and Power Set of a Set Exist Uniquely, Binary Unions of Sets Are Sets, and the Universal Class Is Proper §subclass. An inversion of σ\sigma is an element of Inv(σ)\mathrm{Inv}(\sigma).

For σ∈Sn\sigma\in S_{n} and a set pp: p∈Inv(σ)p\in\mathrm{Inv}(\sigma) if and only if p=(i,j)p=(i,j) for some i,j∈[n]i,j\in[n] with i<ji<j and σ(j)<σ(i)\sigma(j)<\sigma(i), by Class Abstraction: the Class of All Sets Satisfying a Predicative Formula §abstraction and Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set §membership.

Citations

Loading…

Dependencies

Loading…

Related

0 relations

Curated associations between results. These are editable and subjective — they do not replace the dependency graph, which is derived from the references in the text.

No relations recorded yet.

Comments

Log in to comment.

Loading…