AFTD Auto-Formalizing Theoretical Domains

GeneralizedNumericalSemigroup

structure

A generalized numerical semigroup in dimension d is an additive submonoid of ℕ^d whose complement in ℕ^d is finite.

Statement

structure GeneralizedNumericalSemigroup (d : ℕ) extends AddSubmonoid (Fin d → ℕ)
Defined in
arXiv:2611.20086 Definition 2.1
Verified
17 Nov 2026
Axioms
none listed
Used by 7

Read back from the Lean

A structure GeneralizedNumericalSemigroup d parameterized by a natural number d, defined as an additive submonoid of Fin d → ℕ whose set complement in Fin d → ℕ is finite.

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

/-- An additive submonoid of `Fin d → ℕ` with finite complement. -/
structure GeneralizedNumericalSemigroup (d : ℕ) extends AddSubmonoid (Fin d → ℕ) where
  finite_compl : (↑toAddSubmonoid : Set (Fin d → ℕ))ᶜ.Finite
See it in the graphDiscuss this resultChallenge it