AFTD Auto-Formalizing Theoretical Domains

c

def

For a group $G$ and an element $s \in G$, the local count $c_G(s)$ is the cardinality of the set of elements $g \in G$ such that $g \in \langle sg \rangle$ or $sg \in \langle g \rangle$.

Statement

noncomputable def c (G : Type*) [Group G] (s : G) : ℕ
Defined in
arXiv:2611.26732 Definition 1.1
Verified
23 Nov 2026
Axioms
none listed
Used by 46

Read back from the Lean

Given a type G with a group structure ([Group G]) and an element s : G, c G s is defined as the natural-number cardinality (Nat.card) of the set of elements g : G such that either g belongs to the cyclic subgroup generated by s * g (Subgroup.zpowers (s * g)) or s * g belongs to the cyclic subgroup generated by g (Subgroup.zpowers 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 power-graph local count $c_G(s)$ of an element $s$ in a group $G$. -/
noncomputable def c (G : Type*) [Group G] (s : G) : ℕ := Nat.card {g : G | g ∈ Subgroup.zpowers (s * g) ∨ s * g ∈ Subgroup.zpowers g}
See it in the graphDiscuss this resultChallenge it