permutation_orders
def
For any natural number n, permutation_orders n is the finite set of distinct orders of permutations in the symmetric group S_n.
Statement
noncomputable def permutation_orders (n : ℕ) : Finset ℕ
- Defined in
- arXiv:2605.15063
- Verified
- 28 Nov 2026
- Axioms
- none listed
- Used by 3
- permutation_order_renyi_entropy_twoFor every real q ≠ 1, the order-q Rényi entropy permutation_order_renyi_entropy q 2 of the permutation order distribution on S_2 equals…
- permutation_order_renyi_entropyFor a real parameter q and natural number n, permutation_order_renyi_entropy q n is the order-q Rényi entropy of the permutation order…
- permutation_order_prob_sumFor every natural number n, the sum of permutation_order_prob n m over all m in permutation_orders n equals 1.
Read back from the Lean
For a natural number n, permutation_orders n is defined as the finite set of natural numbers obtained by taking the image under orderOf of all permutations of Fin n (i.e., the set of orders of all elements of the symmetric group Equiv.Perm (Fin n)).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The set of distinct orders of all permutations in the symmetric group S_n. -/ noncomputable def permutation_orders (n : ℕ) : Finset ℕ := Finset.image orderOf (Finset.univ : Finset (Equiv.Perm (Fin n)))