AFTD Auto-Formalizing Theoretical Domains

perm_odd_order_sum

def

The sum V_n of orders of odd-order permutations in the symmetric group S_n of degree n, valued in the integers ℤ: ∑_{σ ∈ S_n, o(σ) odd} (o(σ) : ℤ), defined as perm_odd_order_sum (n : ℕ) : ℤ.

Statement

noncomputable def perm_odd_order_sum (n : ℕ) : ℤ
Defined in
arXiv:2611.29409 line 156
Verified
24 Nov 2026
Axioms
none listed
Used by 1

Read back from the Lean

perm_odd_order_sum is defined as a function that takes a natural number $n$ and returns the integer given by the sum, over all permutations $\sigma$ of $\mathrm{Fin}(n)$ whose group-theoretic order $\mathrm{orderOf}(\sigma)$ is odd, of the order of $\sigma$ (cast to $\mathbb{Z}$).

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

/-- Sum of orders of odd-order permutations in the symmetric group of degree n, valued in ℤ. -/
noncomputable def perm_odd_order_sum (n : ℕ) : ℤ := ∑ σ ∈ Finset.filter (fun σ : Equiv.Perm (Fin n) => Odd (orderOf σ)) Finset.univ, (orderOf σ : ℤ)
See it in the graphDiscuss this resultChallenge it