AFTD Auto-Formalizing Theoretical Domains

group_element_order_sum

def

For a finite group (or monoid) G, group_element_order_sum G is the sum of element orders ψ(G) = ∑_{g ∈ G} o(g), returning a natural number.

Statement

noncomputable def group_element_order_sum (G : Type*) [Monoid G] [Fintype G] : ℕ
Defined in
arXiv:2611.29409; Amiri, Jafarian Amiri, Isaacs, Comm. Algebra 37 (2009), 2978–2980
Verified
29 Nov 2026
Axioms
none listed
Used by 1

Read back from the Lean

Given a type G equipped with a Monoid instance and a Fintype instance, group_element_order_sum G is defined as the natural number obtained by summing orderOf g over all elements g : G.

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 sum of element orders ψ(G) = ∑_{g ∈ G} o(g) of a finite group G. -/
noncomputable def group_element_order_sum (G : Type*) [Monoid G] [Fintype G] : ℕ := ∑ g : G, orderOf g
See it in the graphDiscuss this resultChallenge it