group_davenport_constant
def
The Davenport constant D(G) of an additive abelian group G is the natural number obtained from the supremum of the lengths of minimal zero-sum sequences over G.
Statement
noncomputable def group_davenport_constant (G : Type*) [AddCommGroup G] : ℕ
- Defined in
- arXiv:2611.20197, Section 1
- Verified
- 20 Nov 2026
- Axioms
- none listed
- Built on 1
- davenport_constantThe Davenport constant D(X) of a subset X of an abelian group: the supremum (in ℕ ∪ {∞}) of the lengths of minimal zero-sum sequences with…
Read back from the Lean
For an additive commutative group G, group_davenport_constant G is defined as the natural number obtained by converting to ℕ (via WithTop.toNat, which maps ⊤ to 0) the supremum in ℕ∞ of the cardinalities of all multisets s with elements in Set.univ (i.e. all multisets in G) that are minimal zero-sum (meaning s ≠ 0, the sum of s is 0, and any non-empty submultiset of s summing to 0 equals s).
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 Davenport constant of an additive commutative group, taking values in ℕ. -/ noncomputable def group_davenport_constant (G : Type*) [AddCommGroup G] : ℕ := (davenport_constant (Set.univ : Set G)).toNat