Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Bartoletti, Massimo, Bonzio, Stefano, Ferrara, Marco
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2505.23205
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909626871578624
author Bartoletti, Massimo
Bonzio, Stefano
Ferrara, Marco
author_facet Bartoletti, Massimo
Bonzio, Stefano
Ferrara, Marco
contents 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éry 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éry 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23205
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Certified algorithms for numerical semigroups in Rocq
Bartoletti, Massimo
Bonzio, Stefano
Ferrara, Marco
Discrete Mathematics
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éry 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éry 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.
title Certified algorithms for numerical semigroups in Rocq
topic Discrete Mathematics
url https://arxiv.org/abs/2505.23205