AFTD Auto-Formalizing Theoretical Domains

perm_signed_lcm_two_order_sum

def

The signed lcm order sum D_n^* = ∑_{σ ∈ S_n} sgn(σ) lcm(2, o(σ)) over the symmetric group S_n of degree n, defined as perm_signed_lcm_two_order_sum n.

Statement

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

Read back from the Lean

For a given natural number $n$, perm_signed_lcm_two_order_sum n is defined as the integer sum over all permutations $\sigma$ of Fin n (the symmetric group $S_n$) of the sign of $\sigma$ (as an integer, $\pm 1$) multiplied by the least common multiple of 2 and the group-theoretic order of $\sigma$ (as an integer).

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

/-- Signed sum of lcm(2, order) of permutations in the symmetric group of degree n. -/
noncomputable def perm_signed_lcm_two_order_sum (n : ℕ) : ℤ := ∑ σ : Equiv.Perm (Fin n), (Equiv.Perm.sign σ : ℤ) * (Nat.lcm 2 (orderOf σ) : ℤ)
See it in the graphDiscuss this resultChallenge it