1. Introduction: Significance and Complexity of Circulant Permanents
The permanent,
, and the determinant,
, of a
matrix
C correspond to two major operations—the symmetrization and the anti-symmetrization, respectively. This fact predetermines their fundamental role in the quantum theory of many-body systems, which are either bosonic (symmetric) or fermionic (anti-symmetric). The permanents are well-known in mathematical physics, especially in quantum computing science and the quantum field theory of interacting Bose fields [
1,
2,
3,
4,
5,
6,
7,
8]. However, compared to the determinants, the permanents are much more difficult to compute and they account for much more complicated many-body phenomena, such as the critical phenomena in phase transitions. For instance, an exact general solution to a long-standing three-dimensional Ising model [
9] has been represented recently in terms of the permanent of a circulant matrix [
10,
11,
12].
The permanents have been studied in mathematics for more than a century (for a review, see [
13,
14,
15,
16,
17,
18]), the most actively after discovery of the Ryser’s algorithm [
19], the publication of the comprehensive book “Permanents” [
13], proof of the famous Valiant’s theorem stating that their computing is a
-hard problem within the computational complexity theory [
20] and a recent development of a fully polynomial randomized approximation scheme [
21,
22] for their computing. In fact, the permanents are intimately related to many fields of mathematics, including matrix algebra, combinatorics, number theory, theory of symmetric polynomials, discrete Fourier transform,
q-analysis, dynamical systems, generalized harmonic and wavelet analysis [
23,
24,
25] and computational complexity theory. For instance, in combinatorics, matching in the bipartite graphs is enumerated by the permanents of 0-1 matrices [
26]. Another example is provided by the permanent of the Schur matrix, which is equal to a sum that explicitly includes the ordinary Möbius function of the number theory [
27]. Importantly, the permanents play a significant role in the algebraic complexity theory as universal polynomials [
28]. Nevertheless, despite amazing recent activity and interest (see, e.g., [
1,
5,
6,
7,
8,
15,
18,
22,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38] and references therein), the methods for analyzing and calculating the permanents and their asymptotics for most of large matrices remain illusive.
The general deterministic algorithms [
19,
36,
37,
38] for computing the permanent of a
matrix with
entries require exponentially large number of operations, at least ∼
. A circulant matrix, whose permanent has been analyzed by many authors [
13,
39,
40,
41,
42,
43,
44], has just
n independent parameters, as per Definition 2 below, and requires smaller, but still exponentially large number of operations. The point is [
45] that a circulant graph on
n vertices with enough nonzero entries contains an arbitrary subgraph of size proportional to
. No efficient algorithm has been found for computing the permanent of a general circulant matrix of a large or moderate size in polynomial time.
The situation could be very different for the permanent of matrices with a fixed number
k of any-value parameters which is not increasing with the matrix size
n or of a special structure, say, confining all nonzero entries to a band or restricted diagonal or rectangular blocks. One expects that for some classes of matrices with such additional constraints, computing their permanents is possible in polynomial time, and hence, accessible for applications. The latter has been demonstrated for matrices whose nonzero entries are confined to a band or just a few diagonals [
13,
32,
44,
46,
47,
48]. Efficient computing of the permanent of very sparse circulants [
35,
45,
49] is another example. In the present paper we consider an alternative class of matrices—the circulant matrices composed of a band of
k any-value diagonals on top of a uniform
matrix.
The presence of nonzero, even constant entries spreading over an entire two-dimensional matrix plane in all directions drastically changes the behavior and asymptotics of the permanent and significantly complicates the problem of its calculation. The two aforementioned classes of matrices, with zero and nonzero entries outside a finite number of diagonals, constitute two different universality classes for permanents. Based on the reduction of the critical behavior in phase transitions to the asymptotics of the permanent of a mean-field correlation matrix [
10,
11,
12], these two classes could be related to two scaling asymptotics of the critical phenomena in the disordered and ordered phases, respectively. As is known from a phenomelogical renormalization-group approach [
9,
50], they are very different, since the correlation matrix abruptly tends to zero in the disordered phase, but remains nonzero for a very long distance due to long-range correlations in the ordered phase. Note that we can choose any (except the truly special, trivial zero) constant nonzero value,
or
, for the entries of the uniform background matrix (see Equation (
22)) in the considered model of the circulant matrix with a band of
k any-value diagonals since it amounts to a simple rescaling of the permanent, as is explained in Remark 3. Computing the permanent of such matrices is very important in a number of applications in mathematics, physics, computing, information systems, cryptography, etc. (see the references above). We aim at finding a system of recurrence relations for it. It would allow one to compute the permanent of such matrices in linear time.
A base goal of the paper is to present a new method for finding the aforementioned system of recurrence relations: Recursion of permanents of the matrices with defects. One specific goal is to demonstrate practical ways of this method and communicate the new results on finding the system of recurrence relations for calculating nontrivial, multi-parametric circulant permanents with a band of
or 3 different diagonals. In particular, such a recurrence, in the case of the zero-valued
k-diagonal band, provides a solution to a famous problem of finding a finite recurrence for the
k-ménage numbers, or
k-discordant permutations (for a discussion of
k-ménage numbers, see [
51,
52,
53,
54,
55,
56,
57,
58]). For calculating the permanents, especially of matrices whose entries are continuous variables, the proposed method of the recursion of permanents with defects is more powerful and efficient than a widely known method of rook polynomials [
17,
51,
52,
53,
54,
57]. The former incorporates all entire analytic, algebraic and combinatorial information on the permanental polynomial of
k variables. The latter is limited to just one artificial variable and mainly combinatorial information on the associated 0-1 matrices and is not directly suitable for finding the permanent as a function of all
k variables and revealing its asymptotics.
Notation 1. For brevity, we denote the permanent, , of any matrix C by a symbol of its size, n, placed next to the matrix’s symbol as a subscript which simultaneously plays a part of a recursion variable.
3. Method: Recursion of Permanents with Defects
We calculated the circulant permanent
via the permanents of a few matrices obtained from the circulant
C by introducing certain defects, like those in the Definitions 3–9. The set of those matrices with defects is dictated by a requirement of its self-closure in the course of the reducing their permanents to the permanents of the lower-size matrices by means of the Laplace expansion [
14], certain relations between different permanents valid due to particular patterns and symmetries of the
k-diagonal-band circulants; and various matrix transformations leaving the permanent invariant, such as transposing with respect to the main or minor diagonals, and permutations of rows or/and columns. In particular, the matrices such as
A and
B in Equations (
4) and (
6) have the non-unity entries just within the main band of the
k diagonals. The matrix
R in Equation (
7) whose first-column entries are all unities, except the upper one, is instrumental for establishing a recursive coupling with the sums of permanents, Equation (
8), via the Laplace expansion over the first row. Some important matrices with defects arise naturally as minors in the Laplace expansion or Lemmas 1 and 2 below.
In general, we introduce the matrices with defects located as close to the corners of the matrices as possible in order to avoid recursive chains of matrices with the defects penetrating deeper and deeper inside the matrices.
The permanent of each matrix with defects is associated with a particular combinatorial meaning. The permanents of, say, circulant C and matrix with defects A, in the case of zero parameters , are equal to the famous k-ménage numbers for the circular-table and straight-table problems, respectively.
One of the key ingredients of the method is explicit involvement of the sums of permanents over the matrices with the unity-column or unity-row defects (see Equation (
8)) into the permanents’ recurrence relations.
The star -conjugation introduced in Definition 8 reveals an important symmetry and helps to reduce the number of matrices with defects needed for achieving completeness of the system of recurrence relations.
Especially, we employ the following lemmas which immediately follow from the permanent’s definition and the Laplace expansion of the permanent along the -th row or the -th row and -th column, etc.
Lemma 1. If a matrix differs from a matrix by just the entries (defects) in a single row , then its permanent differs from the permanent of the unperturbed matrix by just the sum over separate linear corrections per each -row entry, , multiplied by the corresponding permanental minor, i.e., by the permanent of the submatrix of the lower size :A similar representation is valid when all defects are located in a single column. Lemma 2. If a matrix differs from a matrix by just the entries (defects) in a row and in a column , then its permanent differs from the permanent of the unperturbed matrix by the following superposition of (i) the separate linear corrections per each -row entry and each -column entry, multiplied by the corresponding permanental minor of the size , and (ii) the cross-correlated quadratic corrections per each pair of defects, one from the -row and one from the -column, multiplied by the permanent of the corresponding submatrix of the size :Note that the defect at the intersection of the -th row and -th column contributes to the right-hand side of Equation (10) just once through a linear correction and does not contribute at all to the cross-correlated quadratic corrections. A generalization of Lemmas 1 and 2 to a general case when the defects are located in the three or more different rows and columns is straightforward.
5. The Permanent of a Uniform Circulant Matrix with a Band of Two Any-Value Diagonals () and the Ménage Numbers
Here we consider a more envolved, but still simple case of a uniform circulant
matrix with a band of two
diagonals (with the entry values
and
) inside the matrix
J of all 1s:
Proposition 2. The permanent of this circulant with a band of two diagonals,is given by a solution of the following system of recurrence relationswith the initial conditions set at the starting recursive order as follows Proof. The permanent
is given by Lemma 1 applied to the matrix
A, Equation (
4), which differs from the circulant
C by one defect in the lower left corner:
Here the star
-conjugation means renaming
as per Definition 8. The permanent
is given by the Laplace expansion over the first row,
via the sum
, Equation (
8), which we find via summation of the analogs of Equation (
29) written for the circulant with a 1’s-column defect at the position
,
Taking into account that the permanent of the circulant matrix with a 1’s-column defect does not depend on the position
l of the 1’s-column defect, and hence, equals to
, we immediately get the third equation of the system (
27). The forth equation is just its
-conjugated counterpart. Plugging the third equation into Equation (
30), we get the first equation of the system (
27). At last, the second equation of the system (
27) follows from the first equation and the representation of the permanent of the matrix
with a 1’s-column defect at the position of the first column obtained by means of Lemma 1:
Equation (
26) for the circulant permanent
itself follows from Equation (
29) after plugging the equation for the
-conjugated permanent of the matrix
A:
The latter equation is a consequence of the identity
with both sides substituted with an explicit expression
which follows from Equations (
32) and (
30). The initial conditions (
28) provide the correct values for all permanents at the recursive order
, namely,
This completes the proof of the Proposition 2. □
Remark 6. The permanent of the uniform circulant matrix C with a band of two diagonals (), Equation (25), is given by the system of linear homogeneous recurrence relations with variable coefficients of the fourth order, Equation (27), whereas in the case of a band of one diagonal () the system of recurrence relations is of the second order, Equation (12). The system in Equation (27) allows one to compute the entire permanental polynomial,as a function of two valiables () for any large matrix size n and to find its asymptotics analytically. The relevant results will be presented elsewhere. Remark 7. Famous ménage numbers [52,53,55,56,57,59,60,61] counting the number of different ways to seat n husbands at a circular table of places so that men and women alternate and no adjacent couples are allowed, that is, the number of 2-discordant permutations σ of such that is not congruent to any , are equal to the permanent of the uniform circulant matrix C with a band of two zero diagonals. That is, they are equal to a particular value of the permanent when both variables are zero, , which is the constant term of the permanental polynomial in Equation (36): A well-known fourth-order recurrence equation for the ménage numbers [
53,
59]:
immediately follows from the recurrence relations for the permanent
, Equation (
27), as its particular case. Namely, for
the permanent, and hence, the ménage numbers (the sequence A000179 in [
56]) are given by a simple formula
via the permanent
of the matrix with the defect
A, Equation (
4), which coincides with the straight ménage number
, counting the number of permutations
of
such that
is not congruent to any
(that corresponds to an analogous problem of seating
n husbands at a straight-line table), and satisfies the third-order recurrence (the sequence A000271 in [
56]):
The latter immediately follows from Equation (
27) since
Thus, the method of the recursion of permanents with defects provides a simple derivation of the recurrence (
40) for the straight ménage numbers
, which is different from a long combinatorial derivation (see Theorem 1 in [
53]).
6. The Permanent of a Uniform Circulant Matrix with a Band of Three Any-Value Diagonals () and the 3-Ménage Numbers
Finally, we consider a quite complicated case of a uniform circulant
matrix with a band of three
diagonals (with the entry values
,
) inside the matrix
J of all 1s. It is depicted as
C in Equation (
3) and
in Equation (
5) below.
Theorem 1. The permanent of this circulant with a band of three diagonals isand is determined by a solution of the following system of recurrence relations: The symbols
,
in Equations (
44) and (
45) stand for the right-hand sides of Equations (
46) and (
47), respectively. In Equations (
44) and (
46), the symbol
stands for
Remark 8. The recurrence system includes the star -conjugated counterparts of Equations (44) and (46) for and . Their explicit form is given in the Appendix A. Obviously, , and . Hence, the star -conjugated counterparts of Equations (45), (47) and (48) are not needed. Note that in the present case of the star -conjugation means just renaming and leaves untouched as per Definition 8. Remark 9. The system consists of the three blocks of different origin:
- (i)
Block 1—the basis permanents (44) and (45) of the matrices with entry defects; - (ii)
Block 2—the sums of permanents (46) and (47) with a 1’s column defect; - (iii)
Block 3—the special permanent (48) of the matrix C with all 1s in the first column.
Proof of the Theorem 1. While applying Lemmas 1 and 2 below, we employ the auxiliary matrices
and
R defined in Equation (
7). They differ from the basis matrices
A and
B by one and two defects, so that their permanents are given by Lemma 1 and Lemma 2, respectively, as follows:
Equation (
43) follows from Lemma 2 applied to the
B, which differs from the
by two defects.
Equations (
44) and (
45) follow from the Laplace expansions over the first row:
Equation (
46) is based on Lemma 2 applied to the
A viewed as the
C with three defects:
Namely, we use an analog of Equation (
54) for a matrix
with a 1’s-column defect:
Equation (
46) is the sum of Equations (
55) over
with a renamed
.
Equation (
47) is based on Lemma 2 applied to the
B viewed as the
with two defects:
Namely, we use an analog of Equation (
56) for a matrix
with a 1’s-column defect:
Equation (
47) is the sum of Equations (
57) over
with a renamed
.
Equation (
48) follows from Lemma 2 applied to the
viewed as the
R with one defect:
Equation (
49) is Equation (
55) in the case
. When deriving the equations above, we plugged in some special permanents with a 1’s column defect as follows:
This completes the proof of the Theorem. □
Remark 10. By means of changing the unknown variables or reducing or increasing their number, it is possible to rewrite the system of recurrence relations in other, more or less symmetric forms. For instance, it is straightforward to solve Equation (47) for the variable in terms of the basis permanents and exclude it from the system by plugging it into the Equations (46)–(48) which, together with Equation (44) and the -conjugated Equations (A1) and (A2), constitute the six recurrence equations, each of the fourth order, for the six unknown variables . Overall, this system of linear homogeneous recurrence relations with variable coefficients is of the 24-th order. One can go further on, and similarly, exclude the variable by solving Equation (46) for and plugging it into the remaining equations. A related analysis will be done elsewhere. Note that the actual overall order of this recurrence could be less than 24 only for some special cases or if there is some hidden symmetry or identity within this system of recurrence relations. In particular, for the problem of the 3-ménage numbers (3-discordant permutations) corresponding to the case , the system of recurrence relations can be reduced to just one recurrence Equation (67) of the 8-th order for (see Remark 12 below). Remark 11. The system of recurrence relations (44)–(48) is valid for since the matrix size in the lowest-order permanent entering Equations (44) and (46) should be equal or larger than the size of the diagonal band, . The permanents of the order 6 and lower in the right-hand side of the recurrence equations (that is, , etc.) should be computed directly via the definition of the permanent in Equation (1). Direct numerical calculations, such as in Figure 1, confirm that the recurrence (44)–(48) gives easy and fast access to the correct result for the permanent of the circulant (3) with arbitrary, even complex values of the entries for any, arbitrarily large matrix size n in linear time. In fact, there are no other means to compute the permanents such as in Figure 1 for a matrix size or larger. The point is that the known deterministic algorithms [19,36,37] are not capable of computing the permanent of a matrix with a size n larger than 50 even on a supercomputer [38]. (A standard PC with Wolfram Mathematica fails already at .) A fully polynomial randomized approximation scheme [21,22] does not work for matrices with sign indefinite or complex entries and requires a rather long polynomial computing time that scales as ∼ for a general matrix with nonnegative entries or ∼ in a special case of a very dense matrix. Figure 1 illustrates a strong dependence of the permanent on the entries . It is not just strongly different from the permanent of the all-1s matrix, , but changes its asymptotic value by two orders of magnitude due to flipping a sign of a single entry . Remark 12. The famous 3-ménage numbers [51,52,53,56,57,62,63] counting the number of the 3-discordant permutations σ of such that is not congruent to any , are equal to the permanent of the uniform circulant matrix C with a band of three zero diagonals. Hence, they are given by a particular value, , of the permanentby means of the solution of the system of recurrence relationswhich are Equations (44)–(48) in the particular case when the star -conjugated counterparts are not needed since , . We checked that the correct values (see the integer sequences A000183 and A001887 in [
56]) and the known recurrence relations for the 3-ménage numbers, or 3-discordant permutations [
53,
56,
57,
62,
63]:
(which is also valid for
, see Example 4.7.17 in [
17]) and for the straight 3-ménage numbers [
53,
55]
(which is valid for
)
follow from Equations (
60)–(
65) derived above. (Equation (
66) includes the n-th Fibonacci number
, via a function
.) In particular, in order to derive Equation (
67), one can, first, exclude the
by solving for it Equation (
62) and plugging it into the remaining equations; then excluding the
by solving for it Equation (
63) and plugging it into the remaining equations; then, in a similar way, excluding the
; and finally, excluding the
.
7. Conclusions
We present the exact solution for the circulant permanent via the finite system of the linear recurrence relations which provides a full access to a highly nontrivial analytic dependence of the permanent (whose entries are all nonzero) on
or 3 independent parameters. This is especially interesting since computing the permanent in the case of 0-1 matrices with just three arbitrarily placed nonzero entries per row and column is as hard as in the general case [
64]. Exactly solvable models, like the ones discussed above, could play as important role in the understanding and theory of the matrix permanent and similar
-hard problems as the famous Onsager’s and other exactly solvable models play in the theory of critical phenomena in phase transitions [
9]. In other words, an attitude to the matrix permanent should be shifted from considering it just as a symbol of incomputability to employing it as a powerful tool for understanding and studying the
- and NP-hard problems and processes.
The circulant permanent studied above is a multivariate polynomial of
k indeterminates
and has (say, in the case
) the following form
where summation over the indexes is subject to the constraint
. The degree of such a permanental polynomial is equal to the matrix size
n. The permanental polynomials constitute a key concept of the universal polynomials in the algebraic complexity theory [
28] and their understanding is paramount.
The constant term of the permanental polynomial,
, considered as a function of the matrix size
n forms a famous integer sequence of the
k-ménage numbers, or
k-discordant permutations [
51,
52,
53,
56,
57,
58]. The recurrence relations for the
k-ménage numbers are known in an explicit form only for the cases
(derangements, or 1-ménage numbers),
(classical 2-ménage numbers), and
(3-ménage numbers). The recurrence relations (
44)–(
48) for the circulant permanent in the case
provide a compact and explicit recurrence for the 3-ménage numbers, Equations (
60)–(
65) or (
67), if one simply sets all three circulant parameters to be zero,
. Finding the recurrence for the
k-ménage numbers in the case
remains an open problem.
The finite recursion for the circulant permanents (presented above for the particular cases ) is the solution to a much more complex problem. It provides a powerful analytic and numerical tool for a detailed analysis of the entire permanental multivariate polynomial, not just its constant term that is the sequence of the k-ménage numbers. The details of such an analysis will be given elsewhere. It would be interesting to generalize this approach to the case which is challenging. As the next step, we plan to work out the aforementioned recursion in the case of the uniform circulant permanent with a band of any-value diagonals.
For calculating the permanents, the method of recurrence relations for the permanents of matrices with defects, presented here, is superior to the rook and hit polynomial approach which dominated an extensive literature on the ménage numbers (discordant permutations) in recent years [
17,
51,
52,
53,
54,
57]. The point is that the rook and hit polynomials are somewhat artificial univariate polynomials associated with the permanents of just 0-1 matrices while the actual permanental polynomials, as in Equation (
68), are multivariate ones and contain much more involved combinatorial and analytic information on permanents. Compared to the rook and hit polynomial approach, the permanent-based method is more algebraic rather than combinatorial in nature.
The most important further step would be finding the asymptotics of the permanent for some classes of the circulant constraint matrices of large size
. The recurrence relations like the ones presented above allow one to apply well-developed asymptotic methods (see, for instance, [
55,
65,
66,
67,
68] and references therein). A solution to this fundamental open problem on the permanent’s asymptotics would be incredibly important for a unified analysis of a wide range of the nature’s #P-hard problems, including problems in the physics of many-body systems, critical phenomena, quantum computing, quantum field theory, theory of chaos, fractals, number theory, cryptography, dynamical systems, generalized harmonic and wavelet analysis, etc.
Finally, it is worth noting that the outlined above possibility to compute the permanent of the uniform circulant matrices with a band of
k diagonals in polynomial time does not contradict to the belief of an impossibility to compute the permanents in the general case of arbitrary matrices which is a #P-hard problem according to the well-known Valiant’s theorem [
20] in the computational complexity theory. Although the permanents calculated above via the recurrence relations are very complex multivariant functions of the parameters
, the polynomial-time computability of such exactly solvable models is consistent with the principle of supremacy of quantum computing [
6,
7,
69]. In fact, our ability to understand, describe and compute various complex processes of nature is increasing every time we bite off new computable or exactly solvable special cases from a general-case land of NP- and #P-hard problems.