计算机科学 > 离散数学
[提交于 2025年5月29日]
标题:Certified algorithms for numerical semigroups in Rocq
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A numerical semigroup is a co-finite submonoid of the monoid of non-negative integers under addition. Many properties of numerical semigroups rely on some fundamental invariants, such as, among others, the set of gaps (and its cardinality), the Ap\'ery set or the Frobenius number. Algorithms for calculating invariants are currently based on computational tools, such as GAP, which lack proofs (either formal or informal) of their correctness. In this paper we introduce a Rocq formalization of numerical semigroups. Given the semigroup generators, we provide certified algorithms for computing some of the fundamental invariants: the set of gaps, of small elements, the Ap\'ery set, the multiplicity, the conductor and the Frobenius number. To the best of our knowledge this is the first formalization of numerical semigroups in any proof assistant.
提交历史
来自:Massimo Bartoletti[v1] 2025年5月29日 星期四 07:44:32 UTC