Precise statements and complete proofs
Write , . The pattern has both arcs between consecutive vertices and exactly the loops at . A matrix has this pattern when its nonzero entries are exactly these positions. It has nSSP if, for every real matrix ,
“Allows” is existential over matrices with that exact support; “requires” is universal. The statements below correspond to the manuscript’s Theorem 1, Lemmas 2–4 and Corollaries 5–6, which share one numbering counter. Proofs are adapted from those source arguments. Carptopus previously proved the full existence criterion and single-loop equivalence; the odd-order obstruction is Koljančić–Oblak’s Theorem 5.7(Cc).
The criterion and its even-order part
The double path allows nSSP if and only if
Whenever it allows nSSP, it has a symmetric witness with positive integer nonzero entries.
For every positive even integer and every nonempty , there exists a real matrix with exact support and nSSP, tested against all real without symmetry or diagonal restrictions.
This is the exact even-order existential part of Theorem 2.1. Its Lean statement asserts real existence and exact support. The symmetry and positive-integer conclusions belong to the broader written statement above. The full criterion is proved after its supporting lemmas, in the proof below.
Recovering edge variations
For a real sequence define the continuants and their linearized variations by
For a branch of vertices, parameters describe its internal edges and its attachment to the center. For actual symmetric edges , . Induction gives: is monic of degree and parity ; has the same parity and degree at most for . The initial variations are zero. Degree inequalities below include the zero polynomial.
For every integer , real parameters , and arbitrary real variations , if , then for every .
For there is nothing to recover. For , the recurrence and the two zero variations give
The coefficient of is , since is monic and has lower degree. Thus . Nonvanishing of then gives . Descend to length with the consecutive zero variations . This also handles , where and . This is the recovery argument of manuscript Lemma 2 and the cited Lean theorem.
Take a chosen loop at , put , , and read both branches from their far endpoints toward the center. Use and for their continuants, with , . If the central loop has weight , expansion of at that vertex gives
omitting a branch term when its length is zero. Substituting the recurrence yields
This formula includes or : the corresponding continuants are .
Let . If , all edge parameters on both branches (including their attaching edges) are nonzero, and are coprime, then forces and every edge-parameter variation to vanish.
Set . Differentiation gives
All terms of have parity ; and have parity . The two polynomial parities therefore give and . Since is monic of degree and has strictly lower degree (or is zero when ), its top coefficient gives . As , .
From and coprimality, and . Strict degree bounds force both variations to vanish. Now reduces to
Coprimality again gives and . For a positive branch length, and ; for a zero length the corresponding variation is identically zero. Thus these two variations vanish. Apply Lemma 2.3 on each branch. The separation into opposite polynomial parities works for every , without a parity restriction on . This is manuscript Lemma 3.
Choosing integer branch weights
If at least one of the nonnegative branch lengths is even, the branches can be chosen with positive integer edge weights, including their attachments, and coprime characteristic polynomials.
An empty branch has polynomial 1, so any positive integer weights on the other branch suffice. Otherwise choose an even branch length . Give its internal and attaching edges weight , and every edge on the other side weight 1. A zero-diagonal -point path with constant weight has eigenvalues
Indeed, the vector with th coordinate satisfies the eigenvector equation by the sine addition identity, including zero boundary coordinates at . These eigenvalues are distinct, so they exhaust the spectrum. Since is even, the least absolute value is
using for . The unit-weight branch has all eigenvalues strictly between and by the same formula. Hence the spectra are disjoint. Real symmetric matrices have real eigenvalues and characteristic polynomials splitting over ; disjoint roots mean coprime polynomials. Attachments do not change the spectra of the branches after deletion, and the chosen attaching weights are positive integers. This proves manuscript Lemma 4.
From recovery to nSSP
First suppose a loop can be selected so that at least one branch length is even. Use Lemma 2.5 and loop weight to form the symmetric integer one-loop matrix .
We first explain why coprime branches imply nSSP for any real symmetric one-loop path with nonzero edges; the argument will also be used for Corollary 2.6. Such a matrix has simple spectrum. For an eigenvector, the first row determines its second coordinate from its first, and successive rows determine every subsequent coordinate because each adjacent edge is nonzero. A zero first coordinate forces the whole vector to vanish. Each eigenspace has dimension at most one; the symmetric spectral theorem yields an orthogonal and distinct real eigenvalues with .
Let be the real space of symmetric matrices supported on the path edges and the chosen loop. It has dimension . Consider the linear map
If this diagonal is zero, the derivative of at is
This follows by differentiating the determinant at the diagonal matrix in eigenvector coordinates; a first-order term replaces one row, and only its diagonal entry contributes. Thus the whole polynomial derivative is zero. For an edge , the squared parameter changes by . Each , so Lemma 2.4 forces all edge changes and the loop change to vanish: . The map is injective between spaces of equal finite dimension, and therefore surjective.
Let any unrestricted real pass the nSSP tests. Then commutes with . Its off-diagonal entries satisfy , so . For every , entrywise annihilation gives . By surjectivity choose whose spectral diagonal is . Invariance of trace now gives
All vanish, hence . No symmetry assumption on was used.
To add the remaining loops, view nSSP as injectivity of the linear map
In fixed bases its entries depend continuously on . Injectivity is full column rank, witnessed by a nonzero maximal minor; its nonzero value persists in a neighborhood of . Let . Therefore has nSSP for all sufficiently large positive integers . Since for , has nSSP, exact support, symmetry and positive integer nonzero entries. If no loops are added, take .
For even , is odd, so every loop choice gives an even branch. For odd and odd , both branches are even. The construction includes : take the matrix .
For necessity, if , the nonzero matrix passes both tests for every matrix of the pattern. If and all loops are even, order the odd vertices before the even vertices. An arbitrary, possibly nonsymmetric, matrix of this pattern has form
Dimension gives nonzero with and . Extend them by zero on the even vertices. Then , , and is supported on odd–odd positions, where is zero. Furthermore commutes with , since both products are zero. This is Koljančić–Oblak’s obstruction. It proves necessity and completes manuscript Theorem 1, using Lemmas 2–4 and Section 4’s enlargement argument.
A fixed single-loop matrix
For a real symmetric irreducible tridiagonal matrix with exactly one nonzero diagonal entry, at , nSSP holds if and only if the two branches obtained by deleting have disjoint spectra. In particular, if every edge has weight 1 and the loop has any nonzero value, nSSP holds exactly when .
The sufficiency argument is the spectral-diagonal map in the preceding proof, using Lemma 2.4. It applies to any signed nonzero edges, since their squares are positive and still implies .
For necessity, suppose the branches share an eigenvalue . Each branch eigenvector has a nonzero coordinate at its attachment, by the same endpoint recurrence used for simple spectrum. Rescale the two eigenvectors so their weighted contributions at the central row cancel. Combining them and putting zero at gives a nonzero vector with . Let be the diagonal matrix with alternating signs along the path. The zero-diagonal part satisfies . As , . Therefore
is nonzero, symmetric, and commutes with . It is nonzero because its trace is . At each neighboring pair the two outer-product entries cancel because the signs alternate; at the loop they vanish because . Thus , contradicting nSSP. This is the single-loop obstruction credited to Carptopus, Theorem 4.1.
For unit edges, put . The branch eigenvalues are
Cosine is injective on , so a common eigenvalue is equivalent to for an interior fraction. Such a fraction exists exactly when : for , use , ; conversely a reduced common fraction has denominator greater than 1 dividing both and . Finally . An endpoint branch is empty, its denominator is 1, and there is no common eigenvalue. This includes . This proves manuscript Corollary 5.
Consequences and failures of requirement
For odd with the sole loop at the central vertex, the pattern allows but does not require nSSP when , and does not allow nSSP when . The pattern with loops at all interior vertices allows but does not require nSSP for every ; for it does not allow nSSP. The one-point pattern with its loop requires nSSP. Every directed superpattern of an allowing path also allows nSSP with a positive-integer witness.
The central vertex is odd precisely when , so Theorem 2.1 gives the existence alternatives. For every odd , the unit-edge central-loop matrix fails the gcd test because . In the allowing class this proves nonrequirement.
For even , the interior loop set is nonempty. For odd , it contains the odd position 3. Thus both allow. For the interior is empty, and for its sole vertex is even, so none of these smaller patterns allows.
To show nonrequirement, let be the unit-edge path matrix with unit loops at its two endpoints, and let be the all-ones matrix. Each row and column sum of is 2, hence . Put
Then has nonzero diagonal exactly at interior vertices and nonzero entries on every path edge, so it has the required pattern. On these support positions is zero: its interior diagonal is , and its neighbor entries are . At a nonneighbor position, for example when , , so . Since commute, ; is symmetric, hence it is a nonzero nSSP test matrix for . This is the construction related to Koljančić–Oblak’s Theorem 5.7(A).
For with its loop, , , and directly forces .
Finally let be a positive-integer witness for an allowing path and let equal 1 at each added directed arc and 0 elsewhere. The same openness argument gives with nSSP for all sufficiently large positive integers . Scaling gives the exact superpattern witness . It need not be symmetric when the added arcs are directed. This proves manuscript Corollary 6; the literature’s similarity-preserving Superpattern Lemma is stronger than this existence consequence.