Integral points in rational polygons: a numerical semigroup approach
Pith reviewed 2026-05-25 11:15 UTC · model grok-4.3
The pith
Numerical semigroups with two generators give a formula for the number of integral points inside right-angled triangles with rational vertices.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The right-angled triangle with rational vertices is placed in correspondence with a two-generator numerical semigroup so that the number of integral points inside the triangle is expressed directly in terms of the semigroup's standard invariants; the same correspondence is presented as the foundation for counting points inside an arbitrary rational polygon.
What carries the argument
The two-generator numerical semigroup associated to the triangle, whose additive structure encodes the lattice points via the semigroup's generators and Frobenius number.
If this is right
- The formula supplies the lattice-point count for every right-angled rational triangle.
- The same semigroup encoding serves as the base step for counting integral points inside any rational polygon.
- The method remains entirely elementary and avoids non-combinatorial techniques.
- The count extends immediately to the case of non-convex rational polygons once the triangle case is settled.
Where Pith is reading between the lines
- The same encoding might be tested on right triangles whose vertices have irrational coordinates to see where the semigroup correspondence breaks.
- An explicit closed-form expression derived from the semigroup could be compared with existing formulas that rely on Ehrhart polynomials or Pick's theorem variants.
- Software implementations that enumerate two-generator semigroups could be used to tabulate lattice-point counts for large families of rational triangles.
Load-bearing premise
The two-generator numerical semigroup associated to any right-angled rational triangle directly supplies the exact count of integral points inside it, without further conditions on the slopes or denominators.
What would settle it
Pick a concrete right-angled triangle with rational vertices, compute its integral points by direct enumeration, compute the count predicted by the two-generator semigroup formula, and check whether the two numbers agree; any mismatch falsifies the claim.
read the original abstract
In this paper we use an elementary approach by using numerical semigroups (specifically, those with two generators) to give a formula for the number of integral points inside a right-angled triangle with rational vertices. This is the basic case for computing the number of integral points inside a rational (not necessarily convex) polygon.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript claims to use an elementary approach based on two-generator numerical semigroups to derive a formula for the number of integral points inside a right-angled triangle with rational vertices; this is positioned as the base case for counting integral points in general rational (not necessarily convex) polygons.
Significance. If a correct, explicit, and verifiable formula is supplied, the semigroup approach could supply a new algebraic tool for lattice-point enumeration problems that are typically handled via Ehrhart theory or Pick's theorem variants, with possible extensions to polygons.
major comments (1)
- [Abstract] Abstract: the central claim is that a formula exists and is obtained via two-generator numerical semigroups, yet neither the formula, a derivation sketch, nor any verification data or example computation is supplied, so the soundness of the claimed reduction cannot be assessed from the text.
Simulated Author's Rebuttal
We thank the referee for their report and the opportunity to respond. We address the single major comment below.
read point-by-point responses
-
Referee: [Abstract] Abstract: the central claim is that a formula exists and is obtained via two-generator numerical semigroups, yet neither the formula, a derivation sketch, nor any verification data or example computation is supplied, so the soundness of the claimed reduction cannot be assessed from the text.
Authors: We agree that the abstract provides only a high-level claim without the explicit formula, derivation details, or examples, which limits assessment of the reduction from the abstract alone. The manuscript positions the two-generator numerical semigroup method as the foundation for the count in right-angled rational triangles, but to make the result verifiable we will expand the abstract with a statement of the formula and include at least one concrete example with explicit computation in the revised manuscript. revision: yes
Circularity Check
No significant circularity detected
full rationale
The paper presents an elementary formula for lattice points in right-angled rational triangles by mapping the problem to the standard counting of solutions in two-generator numerical semigroups (a known device for inequalities like ax + by < N after scaling). No equations reduce to self-definition, no parameters are fitted then relabeled as predictions, and no load-bearing claims rest on self-citations or imported uniqueness theorems. The derivation is self-contained against external semigroup theory and standard lattice-point techniques.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Barvinok, A.I. : Integer Points in Polyhedra . European Mathematical Society, 2008
work page 2008
-
[2]
: A polynomial time algorithm for countin g integral points in polyhedra when the dimension is fixed
Barvinok, A.I. : A polynomial time algorithm for countin g integral points in polyhedra when the dimension is fixed. Math. Oper. Res. , 19 (1994) 769–779
work page 1994
-
[3]
Beck M.; Robins S.: Explicit and efficient formulas for the lattice point count inside rational polygons using Dedekind - Rademacher sums, Discrete and Computational Geometry 27 (2002) 443–459
work page 2002
-
[4]
Integer-point enume ration in polyhedra
Beck, M.; Robins, S.: Computing the continuous discretely. Integer-point enume ration in polyhedra. Springer, 2007
work page 2007
-
[5]
Berg, M.d; Kreveld, M.v; Overmars, M.; Schwarzkopf, O.: Computational Geometry (2nd revised ed.). Springer, 2009
work page 2009
-
[6]
Brown, T.C.; Chou, W.S.; Shiue, P.J.: On the partition fu nction of a finite set. Australasian J. Comb. 27 (2003) 193–204
work page 2003
-
[7]
Ehrhart, E.: Sur les poly` edres rationnels homoth´ etiq ues ` a n dimensions. C. R. Acad. Sci. Paris 254 (1962) 616–618
work page 1962
-
[8]
Garc ´ ıa–S´ anchez, P.A.; Rosales, J.C.:Numerical semigroups. Springer, 2009
work page 2009
-
[9]
Hardy, G. H.; Littlewood, J. E.: Some problems of Diophan tine approximation: The lattice- points of a right-angled triangle. Abh. Math. Sem. Univ. Hamburg 1 (1922) 211–248
work page 1922
-
[10]
Kirkpatrick, D.G.; Klawe, M.M.; Tarjan, R.E.: Polygon triangulation in O(n log log n) time with simple data structures. Discrete Comput. Geom. 7 (1992) 329–346
work page 1992
-
[11]
Lin, K.P.; Yau, S.T.: Analysis of sharp polynomial uppe r estimate of number of positive integral points in 4–dimensional tetrahedra. J. Reine Angew. Math. 547 (2002) 191–205
work page 2002
-
[12]
Lin,K.P.; Yau, S.T.: Analysis of sharp polynomial uppe r estimate of number of positive integral points in 5–dimensional tetrahedra. J. Number Theory 93 (2002) 207–234
work page 2002
-
[13]
Lin, K.P.; Yau, S.S.T.: Counting the number of integral points in general n–dimensional tetrahedra and Bernoulli polynomials. Canad. Math. Bull. 24 (2003) 229–241. INTEGRAL POINTS IN RATIONAL POLYGONS 13
work page 2003
-
[14]
M´ arquez–Campos, G.; Tornero, J.M.: Characterizatio n of gaps and elements of a numerical semigroup using Groebner bases. To appear in Proceedings of the V Jornadas de Teor ´ ıa de N´ umeros, Contemporary Mathematics, to appear
-
[15]
Louis J. Mordell. : Lattice points in a tetrahedron and g eneralized Dedekind sums. J. Indian Math. Soc. (N.S.) 15 (1951) 41–46
work page 1951
-
[16]
Lotos (Prague) 19 (1889) 311–319
Pick, G.A.: Geometrisches zur Zahlenlehre, Sitzungsb er. Lotos (Prague) 19 (1889) 311–319
-
[17]
James E. Pommersheim. : Toric varieties, lattice point s and Dedekind sums. Math. Ann. 295 (1993) 1–24
work page 1993
-
[18]
Popoviciou, T.: Asupra unei probleme de patitie a numer elor. Acad. Republicii Populare Romane, Filiala Cluj, Studii si cercetari stiintifice 4 (1953) 7–58
work page 1953
-
[19]
Ram ´ ırez Alfons ´ ın, J.L.:The Diophantine Frobenius problem . Oxford University Press, 2005
work page 2005
-
[20]
Ram ´ ırez Alfons ´ ın, J.L.: Gaps in semigroups.Discrete Mathematics 308 (2008) 4177–4184
work page 2008
-
[21]
Reeve, J.E.: On the volume of the lattice polyhedra. Pro c. London Math. Soc. 7 (1957) 378–395
work page 1957
-
[22]
W ang, X.; Yau, S.S.T.: On the GLY conjecture of upper est imate of positive integral points in real right-angled simplices. J. Number Theory 122 (2007) 184–210
work page 2007
-
[23]
Xu, Y.J.; Yau, S.S.T.: A sharp estimate of number of inte gral points in a tetrahedron. J. Reine Angew. Math. 423 (1992) 199–219
work page 1992
-
[24]
Xu, Y.J.; Yau, S.S.T.: Durfee conjecture and coordinat e free characterization of homogeneous singularities. J. Differential Geom. 37 (1993) 375–396
work page 1993
-
[25]
Xu, Y.J.; Yau, S.S.T.: A sharp estimate of number of inte gral points in a 4–dimensional tetrahedra. J. Reine Angew. Math. 473 (1996) 1–23
work page 1996
-
[26]
Yau, S.S.T.; Zhang, L.: An upper estimate of integral po ints in real simplices with an appli- cation to singularity theory. Math. Res. Lett. 13 (2006) 911–921. Departamento de ´Algebra and IMUS, Universidad de Sevilla. P.O. 1160. 41080 Sevilla, Spain. E-mail address : gmarquez@us.es Institut Montpelli ´erain Alexander Grothendieck (IMAG), Universit ´e de...
work page 2006
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.