On the Ring of Integer-valued Quasi-polynomials
Nan Li, Sheng Chen

TL;DR
This paper explores the properties of the ring of integer-valued quasi-polynomials, introducing generalized Euclidean division and GCD, and applying these concepts to continued fractions and matrix normal forms.
Contribution
It presents new theoretical frameworks for Euclidean division and GCD in the ring of integer-valued quasi-polynomials, with practical applications.
Findings
Development of generalized Euclidean division and GCD theories
Application to finite simple continued fraction expansion
Derivation of Smith normal form for parameterized matrices
Abstract
The paper studies some properties of the ring of integer-valued quasi-polynomials. On this ring, theory of generalized Euclidean division and generalized GCD are presented. Applications to finite simple continued fraction expansion and Smith normal form of integral matrices with integer parameters are also given.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Numerical Analysis Techniques · Iterative Methods for Nonlinear Equations · Polynomial and algebraic computation
On the Ring of Integer-valued Quasi-polynomials
Nan Li
Sheng Chen Corresponding author. [email protected]
Department of Mathematics, Harbin Institute of Technology
Harbin, 150001, P. R. China
Abstract
The paper studies some properties of the ring of integer-valued quasi-polynomials. On this ring, theory of generalized Euclidean division and generalized greatest common divisor are presented. Applications to finite simple continued fraction expansion of rational numbers and Smith normal form of integral matrices with an integer parameter are also given.
keywords:
ring of integer-valued quasi-polynomials, generalized Euclidean division, continued fraction, Smith normal form, integer parameter
MSC:
11A05;13F20;05A15
††thanks: Projects 10526016 and 10571033 Supported by National Natural Science Foundation of China. Project Supported by Development Program for Outstanding Young Teachers in Harbin Institute of Technology.
,
1 Introduction
Integer-valued quasi-polynomials occur naturally in graded algebras (see [1]) and enumerative combinatorics (see [2]), such as the Ehrhart quasi-polynomial of a rational polytope. In this article, we study division theory of the ring of all integer-valued quasi-polynomials and its applications.
Obviously , where is a unique factorization domain(UFD) but not an Euclidean Domain. It turns out that is neither a domain nor a Noetherian ring, but every finitely generated ideal in is a principal ideal(see Corollary 22 ). However, we can develop theory of generalized Euclidean division and greatest common divisor(GCD) on , which has close relations to Euclidean division and GCD theory on pointwisely(i.e., through evaluation).
The organization of the paper is as follows. In Section 2, we will give the definition of integer-valued quasi-polynomial (see Definition 3) and prove some elementary results. In Section 3, we will present generalized Euclidean division on . The relation between this generalized division and Euclidean division on is considered in Remark 13. In Section 4, we will present generalized GCD theory through successive generalized Euclidean divisions. Then, in Section 5 we will develop generalized GCD theory through pointwisely GCD over and prove the equivalent of the generalized GCD developed in Section 4 and 5.(see Theorem 25). In Section 6, we will give some applications of our generalized Euclidean division and GCD theory. We will show that expanding rational functions , where , into finite simple continued fractions for every , the numbers of terms for are uniformly bounded (see Theorem 27). Applications in Smith normal form for integral matrices with an integer parameter are also given( see Theorem 33).
Most of our proofs are simple but constructive. We have implemented all of the related algorithms in Maple and would like to send the Maple files to the interested readers upon request.
2 Ring of integer-valued Quasi Polynomial
We begin with two simple lemmas.
Lemma 1
Suppose that and for every , . Let be a positive integer such that . Then for every , we have
[TABLE]
{@proof}
[Proof.] Let . Then for , using binomial expansion theorem, we have
[TABLE]
So there exists such that
[TABLE]
Since , we get . For , and thus we have . ∎
Lemma 2
For a function , the following two conditions are equivalent:
- (1)
there exists and () such that for any , if , we have ; 2. (2)
there exists and () such that for any , if , we have .
{@proof}
[Proof.] It suffices to show that implies . Suppose that there exists and () such that for every , when , we have . Choose an integer large enough such that for each , . Define
[TABLE]
where and . Since and , by Lemma 1, for each , we have . Now let . For , define . Then satisfies condition (2). ∎
Definition 3
We call function an integer-valued quasi-polynomial if it satisfies the equivalent conditions in Lemma 2. If and () satisfy condition 2 in Lemma 2, we call a representation of and write
[TABLE]
We call and the degree and period of this representation respectively.
We can see that degree of is independent from its representations. In fact, let and be two representations of . For each , if , where , and , then , and therefore we have
[TABLE]
Hence it is not difficult to check that
[TABLE]
The periods are not unique. However, we have the following result.
Proposition 4
Let be an integer-valued quasi-polynomial and be the set of positive periods satisfying the equivalent conditions in Lemma 2. Define a partial order on as follows: if and only if . Then has a smallest item, which will be called the least positive period of .
{@proof}
[Proof.] It is sufficient for us to prove that if and , then , i.e., if , then has a representation with period . Suppose that is the degree of . Let
[TABLE]
and
[TABLE]
Now we are going to show by induction on . For , the assertion reduces to , for every . Note that there exist such that . Since , for every , we have , as desired.
Suppose the assertion true for and prove it for . Assume that , and , where , and . Then since , we have
[TABLE]
Take the -th order derivative to the above equation, we get
[TABLE]
The left and right of the identity are all integer constant function with periods and respectively. By the assertion for , when , we have
[TABLE]
Define
[TABLE]
where , . Let . Then has periods , and is its degree. By induction hypothesis, and has a period . Note that has a period . Consequently, has a period , as desired. ∎
Remark 5
In the remainder of this paper, we often use the following fact. Let be two integer-valued quasi-polynomials with periods, say, respectively. Then have a common period .
Proposition 6
The set of all integer-valued quasi-polynomials, denoted by , with pointwisely defined addition and multiplication, is a commutative ring with identity.
{@proof}
[Proof.] Let be the set of functions . It is obvious that and with pointwisely defined addition and multiplication, is a commutative ring with identity . Therefore, it is sufficient for us to prove is a subring of . In fact, by remark 5, we know that subtraction and multiplication are closed in . The proof is completed. ∎
Proposition 7
- (1)
Let and . Then f(x) is a zero divisor if and only if it has a representation and there exists such that . 2. (2)
Let . Then f(x) is invertible if and only if it has a representation such that for , or .
{@proof}
[Proof.] (1) Suppose where . Let be a common period of and such that and (see Remark 5). Since , there exists with and thus .
Conversely, suppose that there exists with . Then define as follows: if , , and else . Obviously, we have . Note that . Hence is a zero divisor in .
(2) Assume that there exists with . Let be a common period of and , such that and . Since for each , and . It follows that or . The reverse part is trivial. ∎
Proposition 8
The ring is not Noetherian.
{@proof}
[Proof.] Let and
[TABLE]
Let
[TABLE]
Note that . We have , where . Thus does not satisfy ascending chain condition(acc) on ideals in , i.e., it is not Noetherian(cf. [5]). ∎
3 Generalized Euclidean Division
Definition 9
Let and . We shall say is nonnegative and write , if it satisfies the following equivalent conditions
- (1)
for every , or its leading coefficient is positive; 2. (2)
there exists , such that for every integer , we have .
We shall say is strictly positive and write , if satisfies the following condition: for every , the leading coefficient of is positive. We write if .
Remark 10
Because of the existence of zero divisor, the ”order” in defined above is not a partial order, i.e., satisfies both and does not imply . More precisely, implies falls in one of the following three cases: (a) , (b) , (c) is a nonnegative zero divisor, where case is impossible if (by Proposition 7). Thus the following definition is well defined.
.
Definition 11
Let , define a function as follows: :
[TABLE]
Theorem 12
Let and . Then there exist unique such that
[TABLE]
In this situation, we write and .
{@proof}
[Proof.] Step 1: We first prove for the existence of and . If , then put . If , then let
[TABLE]
and
[TABLE]
where and .
When , define as follows:
if , then P(x)=0, r(x)=f(x); 2. 2.
if and , then P(x)=1, r(x)=f(x)-g(x); 3. 3.
if and , then P(x)=-1, r(x)=f(x)+g(x).
It is easy to check they satisfy the remainder conditions in the result. When , we claim that there exist with a period and prove it by induction on . This assertion is trivial for . Suppose that it is true for and prove it for . Now for , when , define
[TABLE]
and
[TABLE]
where and have degrees and respectively. Since for every
[TABLE]
we have
[TABLE]
where
[TABLE]
Note that and have degrees and respectively. Thus by induction hypothesis, both
[TABLE]
and
[TABLE]
have a period . For , when , take and . Then it is easy to check that and are elements in with a period , as desired.
Step 2: Now we turn to the proof for the uniqueness of . Suppose that there exist such that
[TABLE]
Let be a common period for and . For ), when , we have , . Thus
[TABLE]
By Definition 9, there exists an integer such that for every integer , we have . So
[TABLE]
For every , we have . Therefore, we have and for every . ∎
Remark 13
This division above, which will be called generalized Euclidean division over , almost coincides with division in pointwisely in the following sense. Let and
[TABLE]
By Definition 9, the inequality provides us an integer , such that for all ,
[TABLE]
Put and . Since
[TABLE]
there exists an integer , such that for all , . Note that
[TABLE]
Put , we have
[TABLE]
For every integer , we get . Thus for every integer , we have
[TABLE]
*In the special case where , we also have . Then for **every *** ,
[TABLE]
Example 14
The following is an example to illustrate the relation between generalized division on and on . When ,
[TABLE]
[TABLE]
When ,
[TABLE]
[TABLE]
So far, we have defined generalized Euclidean Division on . Now we consider the case when . Suppose that is the least common period of , , such that and . Based on generalized division on (in Theorem 12), we can define and as follows (denoted by and respectively): when
[TABLE]
Then it is easy to check that and
[TABLE]
This will be called the generalized Euclidean algorithm in the ring of integer-valued quasi-polynomials.
4 Generalized
GCD through Generalized Euclidean Division
When studying Euclidean division in , we can develop GCD theory and related algorithm (see [4]). Its counterpart in is generalized GCD through generalized Euclidean division.
Definition 15** (Divisor)**
Suppose that and for every , . Then by Remark 13 and generalized Euclidean division, the following two statements are equivalent:
- (1)
rem()=0; 2. (2)
for every , is a divisor of .
If the two conditions are satisfied, we shall call a divisor of and write .
By the equivalence of the above two statements, similar to the situation in , we have the following proposition.
Proposition 16
Let R. If and , we have , where is an invertible element in .
Definition 17
[GCD]Let .
- (1)
We call a common divisor of , if we have for every . 2. (2)
We call a greatest common divisor of if is a common divisor of and for any common divisor of , we have .
Remark 18
Suppose that both and are greatest common divisors of . Then we have and . Thus, by Proposition 16, we have , where is an invertible element in . So we have a unique GCD for such that or and write it as .
Lemma 19
Let . Then
[TABLE]
where .
{@proof}
[Proof.] By (1), , we have the set of common divisors of and that of are the same. The proof is completed. ∎
Lemma 20
Let . By generalized Euclidean division, define recursively as follows:
[TABLE]
Then there exists such that: .
{@proof}
[Proof.] When , if . Let be a representation of . Define
[TABLE]
where . Since , there are four cases:
- (1)
and ; 2. (2)
and ; 3. (3)
; 4. (4)
.
By the generalized Euclidean algorithm in Section 3 and the remainder condition . We can reduce case (1) to case (2), (3) or (4), reduce (2) to (3) or (4) and reduce (3) to (4). For case (4), however, by generalized Euclidean division, if , we have, for every , . Therefore, for all the four cases, we can find such that: .∎
Theorem 21
Let . Then there exist (), such that and
[TABLE]
{@proof}
[Proof.] To prove this statement, we apply induction on . It is trivial when . Suppose the statement true for . Then for , by induction hypothesis, there exist such that
[TABLE]
and
[TABLE]
By Lemma 19 and Lemma 20, we get
[TABLE]
Let and . Then we have such that
[TABLE]
∎
Corollary 22
Every finitely generated ideal in is a principal ideal.
{@proof}
[Proof.] The result follows readily from Theorem 21. ∎
5 GGCD through Pointwise GCD
Now we are going to study generalized GCD by considering pointwisely defined GCD in of (), which will give us a more efficient algorithm for generalized GCD of elements in than successive divisions in practice.
Let , . For any , denote the GCD of by . Denote the greatest common factor as polynomials over by .
Lemma 23
Let and . Then there exists , such that for all ,
[TABLE]
where .
{@proof}
[Proof.] First, there exist such that . Choose large enough such that for all , . Since , we have, for every ,
[TABLE]
Then we will show that for every , if , we will have
[TABLE]
For and any , let
[TABLE]
For each , expand by binomial expansion theorem. By Lemma 1, we get polynomials such that
[TABLE]
By (3), we have for every . By (2), we have . Therefore, by (5), for all , we have . Then from (4), we know . Similarly, . The proof is completed. ∎
Corollary 24
Let and for every . Define a function as follows:
[TABLE]
Then .
{@proof}
[Proof.] Let be a common period of . Then there exist , , such that if , . Put
[TABLE]
By assumption, we have . Let . Since
[TABLE]
by Lemma 23,
[TABLE]
Then for , when , we have
[TABLE]
Thus, it is easy to check that . ∎
Theorem 25
Let . Then we have (see Definition 17 and Corollary 24)
[TABLE]
{@proof}
[Proof.] Let . By Definition 15, is a common divisor of . For any common divisor of we have . Then from Definition 18(ggcd), we should only check that is nonnegative, which is obvious. The proof is completed. ∎
Example 26
From the theory above in this section, we can easily compute ggcd. For example, where and
[TABLE]
6 Applications
6.1 Application of Euclidean Division
Now we will apply generalized successive Euclidean division to expand rational numbers with an integer parameter into finite simple continued fractions(see [3]).
Theorem 27
Let and for every , . Then there exists such that for every , the number of terms in expansion as finite simple continued fraction is no greater than .
{@proof}
[Proof.]By generalized Euclidean division, there exist nonnegative integers such that has uniform expansion formulas ( being divided into finite cases) as finite simple continued fractions for all but finitely many values of , i.e., those integers in the interval . It follows readily that the numbers of terms for are bounded.∎
Example 28
*Here is an example to illustrate Theorem 27.
When *
[TABLE]
When
[TABLE]
Similar with finite simple continued fraction, we can apply generalized Euclidean division on to some other problems in elementary number theory, such as computing Jacobi Symbol with a parameter in .
Example 29
We have
[TABLE]
6.2 Application of generalized GCD
Based on generalized GCD theory, we have the following applications to ideals and matrices in .
Lemma 30
Let be ideals in , then for every , as ideals in if and only if .
Remark 31
Consider the relation between and . It is clear that implies . However, the converse is not true. For example
[TABLE]
but .
Definition 32
Let , where . For , let be the ideal generated by all the minors of with order .
- (1)
Define generalized determinate factors of by ; 2. (2)
Define generalized invariant factors by and ; 3. (3)
Define the smith normal form of of size by
[TABLE]
By the existence and uniqueness of quotient and ggcd, the above three definitions are well defined and unique for . Based on the classical smith normal form for integral matrices (see [6]), we have the following result.
Theorem 33
Let , where . Then the following are equivalent:
- (1)
for , for all , are equivalent; 2. (2)
for , ; 3. (3)
for , ; 4. (4)
.
Remark 34
By Remark 31, it is clear that for each , implies for every , and are equivalent and the converse is not true. For example, let
[TABLE]
and
[TABLE]
Then
[TABLE]
[TABLE]
[TABLE]
According to Theorem 33, for all , and are equivalent. But
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. F. Atiyah. I. G. Macdonald, Introduction to Commutative Algebra, Addison-Wesley Publishing Company, 1969.
- 2[2] R. P. Stanley. Enumerative Combinatorics, Vol. 1. Cambridge University Press, 1996.
- 3[3] K. H. Rosen. Elementary Number Theory and Its Applications, Fifth Edition, Addison-Wesley Publishing Company, 2004.
- 4[4] B. Mishra. Algorithmic Algebra, Springer-Veriag, 2001.
- 5[5] I. M. Isaacs. Algebra: A Graduate Course, Wadsworth Inc. 1994.
- 6[6] M. Newmann. Integral Matrices, New York: Academic Press, 1972.
