The Glynn formula expresses the permanent of a matrix as a sum over sign vectors. For
an matrix
over a field
whose characteristic is not 2, with
a positive
integer, it states that
where the sum is over the vectors
with
(Glynn 2010).
To prove the formula, expand the product of column sums and let count the factors drawn from row
. Summing over signs cancels every term unless each
with
is odd. Since
, this forces
every
to equal 1. The surviving terms are exactly the permutation
terms defining the permanent, each with weight
.
Applying the formula to the transpose gives a sum of products of linear forms, one form in each row of
the original matrix per term. Liu (2026) reports that
this row-wise decomposition is shortest over every field
of characteristic other than 2. For , every shortest row-wise decomposition is obtained
from the Glynn decomposition by the same diagonal change of coordinates in every
row and by rescaling the factors within summands. Liu credits AI assistance in developing
the proof.
Ordering the sign choices by a Gray code changes a single sign at each step, so the column sums can be updated in
arithmetic operations. Forming their
product also takes
operations per term, giving
arithmetic complexity, the same asymptotic bound as
the implementation of the Ryser formula using a
Gray code. Here
denotes big-O notation.
In the Wolfram Language, the Glynn method can be selected in Permanent with Method -> "Glynn".
Glynn's formula also gives an upper bound of on the ordinary Chow rank of the permanent,
where the linear factors may mix entries from different rows. Xu (2026) reports that
this bound is attained for
over every field of
characteristic zero.