permutation_order_renyi_entropy
For 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 distribution in S_n, defined as Real.log (∑ m ∈ permutation_orders n, (permutation_order_prob n m) ^ q) / (1 - q).
Statement
noncomputable def permutation_order_renyi_entropy (q : ℝ) (n : ℕ) : ℝ
- Defined in
- arXiv:2605.15063
- Verified
- 28 Nov 2026
- Axioms
- none listed
- Built on 2
- permutation_ordersFor any natural number n, permutation_orders n is the finite set of distinct orders of permutations in the symmetric group S_n.
- permutation_order_probFor natural numbers n and m, permutation_order_prob n m is the real probability that a uniformly random permutation in S_n has order m,…
- Used by 1
- 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…
Read back from the Lean
permutation_order_renyi_entropy q n defines the Rényi entropy of order q : ℝ of the distribution of the orders of permutations in the symmetric group on n elements (represented by Equiv.Perm (Fin n)). It is defined as:
Real.log (∑ m ∈ permutation_orders n, (permutation_order_prob n m) ^ q) / (1 - q)
where:
- permutation_orders n is the set of all natural numbers that are the order of at least one permutation of Fin n.
- permutation_order_prob n m is the fraction of permutations in Equiv.Perm (Fin n) that have order m, calculated as the number of such permutations divided by 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 order-q Rényi entropy of the permutation order distribution in S_n for parameter q. -/ noncomputable def permutation_order_renyi_entropy (q : ℝ) (n : ℕ) : ℝ := Real.log (∑ m ∈ permutation_orders n, (permutation_order_prob n m) ^ q) / (1 - q)