generalized_numerical_semigroup_non_gaps_below_gaps
def
The set of non-gaps below gaps of a generalized numerical semigroup S is the finite set of elements of S bounded above in the pointwise partial order by some gap of S.
Statement
noncomputable def generalized_numerical_semigroup_non_gaps_below_gaps {d : ℕ} (S : GeneralizedNumericalSemigroup d) : Finset (Fin d → ℕ)
- Defined in
- arXiv:2611.20086 Section 5
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Built on 2
- GeneralizedNumericalSemigroupA generalized numerical semigroup in dimension d is an additive submonoid of ℕ^d whose complement in ℕ^d is finite.
- generalized_numerical_semigroup_gapsThe set of gaps of a generalized numerical semigroup S is the finite set of elements of ℕ^d not belonging to S.
- Used by 1
- generalized_numerical_semigroup_etaFor an element f in ℕ^d, η_f is the number of non-gaps below gaps of S that are bounded above by f in the pointwise partial order.
Read back from the Lean
Given a natural number $d$ (implicit) and a generalized numerical semigroup $S$ of dimension $d$ (an additive submonoid of $\text{Fin } d \to \mathbb{N}$ with finite complement), generalized_numerical_semigroup_non_gaps_below_gaps S is the finite set of elements $x \in S$ (as an AddSubmonoid) such that $x \le g$ pointwise for some gap $g \in \text{generalized\_numerical\_semigroup\_gaps } 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 finite set N(S) of non-gaps bounded above by at least one gap of S. -/ noncomputable def generalized_numerical_semigroup_non_gaps_below_gaps {d : ℕ} (S : GeneralizedNumericalSemigroup d) : Finset (Fin d → ℕ) := by classical exact ((generalized_numerical_semigroup_gaps S).biUnion Finset.Iic).filter (fun x => x ∈ S.toAddSubmonoid)