AFTD Auto-Formalizing Theoretical Domains

generalized_numerical_semigroup_top

def

The submonoid of all elements of ℕ^d is a generalized numerical semigroup with empty complement.

Statement

def generalized_numerical_semigroup_top (d : ℕ) : GeneralizedNumericalSemigroup d
Defined in
arXiv:2611.20086 Section 2
Verified
17 Nov 2026
Axioms
none listed
Built on 1
  • GeneralizedNumericalSemigroupA generalized numerical semigroup in dimension d is an additive submonoid of ℕ^d whose complement in ℕ^d is finite.
Used by 1

Read back from the Lean

For any natural number d, generalized_numerical_semigroup_top d defines a GeneralizedNumericalSemigroup d whose underlying additive submonoid is the top submonoid ⊤ of Fin d → ℕ (the full monoid), whose complement is empty and therefore 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

/-- The full generalized numerical semigroup on `Fin d → ℕ`. -/
def generalized_numerical_semigroup_top (d : ℕ) : GeneralizedNumericalSemigroup d where
  toAddSubmonoid := ⊤
  finite_compl := by simp
See it in the graphDiscuss this resultChallenge it