Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Choosing weights for a path

Take a row of points joined to their neighbors in both directions, and add loops at selected points. Can we put nonzero real weights on these connections so that the resulting table has no hidden algebraic obstruction? S. Koljančić and P. Oblak’s Question 5.11 asks this for an even number of points. The answer is yes whenever at least one loop is present. The paper gives the full existence criterion as well: for an odd number of points, at least one loop must be at an odd-numbered position, counting from an endpoint. Every admissible pattern has a symmetric example whose nonzero entries are positive integers.

This is an explanation of version 2 of the paper by Haobo Ma and Wenlin Zhang. Their manuscript credits Carptopus with an earlier proof of the full existence criterion and the single-loop spectral characterization, dated 19 August 2026 and revised 22 August. The present paper gives an explicit integer construction, a greatest-common-divisor test for unit edge weights, and classifications of two loop families. Sources and contributions identifies the original question, earlier proof, and present paper.

How a table records a path

Start with five points numbered , both arrows between each neighboring pair, and a loop only at point 3. Record the weights in a real matrix : the entry is the weight from to . An arrow requires a nonzero entry; a missing arrow requires zero. A symmetric choice gives opposite arrows equal weights. For example,

A pattern allows a property if at least one choice of its weights has it. It requires that property if every legal choice has it. A single pattern can have both successful and unsuccessful choices. This five-point pattern does: unit edge weights fail, while changing the two edges on the left to 3 succeeds.

The property here is the non-symmetric Strong Spectral Property, abbreviated nSSP. It is a linear algebra test. Take any real matrix and impose

The first product is entry by entry: wherever is nonzero, must be zero. The second equation says that and the transpose of commute: their multiplication order makes no difference. If the zero matrix is the only passing both tests, has nSSP. The test matrix need not be symmetric and has no imposed zero diagonal. Choosing a symmetric does not restrict the test.

A two-point calculation makes the test tangible. Choose

The entrywise condition leaves only one possible unknown:

Ordinary matrix multiplication takes the dot product of a row with a column. Here it gives

Equality forces . This is an nSSP witness on two points with one loop. It also shows why we must allow diagonal entries in : the test itself, rather than a preliminary restriction, eliminates .

Remove the looped point and inspect the branches

Remove point 3 in the example. Two paths of two points remain. A two-point branch has matrix

It multiplies the vector by and by . Such multipliers are called eigenvalues; their collection is the spectrum. Thus the left branch has spectrum and the right branch has . They are disjoint.

The paper proves that a symmetric path matrix with nonzero neighboring weights and exactly one nonzero loop has nSSP precisely when these two branch spectra are disjoint. Unit weights give identical two-point branches and fail. The displayed weights separate their spectra and succeed. The edges attaching the branches to the center also have nonzero weights, and the central loop is 1. Precise statements and proofs gives the equivalence, including an empty branch when the loop is at an endpoint.

The film follows this example through spectral separation, recovery of weight changes, and insertion of additional loops.

Film 001 · Separate the branches, build the path · 2:56

Two branches of a five-point path: unit weights share eigenvalues; weights 3 on the left and 1 on the right separate their spectra.

Why parity controls existence

Number the points from an endpoint and let be the loop set. The criterion is ready to use:

Number of pointsNecessary and sufficient condition for allowing nSSPExample
even is nonemptyOn six points, a loop at any position suffices
odd contains an odd positionOn five points, a loop at 3 works; a sole loop at 2 cannot

Choose an admissible loop . Removing it leaves branches of lengths and . If is even, is odd, so one branch length is even and the other is odd. If is odd and is odd, both lengths are even. In either admissible case, at least one branch has even length.

An even-length branch with zero diagonal has no zero eigenvalue. Its weights can therefore be enlarged to move every eigenvalue away from zero. The manuscript makes the choice explicit: on an even branch of length , give every internal edge and its attachment to the center weight ; give all edges on the other side weight 1. Every eigenvalue on the scaled branch then has absolute value greater than 2, while every eigenvalue on the unit branch has absolute value less than 2. An empty branch has no eigenvalues to collide with anything.

The forbidden cases also have concrete obstructions. Without loops, the identity matrix vanishes wherever is nonzero and commutes with , so it is a nonzero test matrix. At odd order, if all loops are at even positions, there is one more odd position than even position. This size difference supplies nonzero right and left nullvectors supported on the odd positions. Their outer product produces a nonzero test matrix. This obstruction is due to Koljančić–Oblak, Theorem 5.7(Cc); the exact argument appears in the proof of the criterion.

Why separation detects every hidden matrix

Polynomials turn the branch spectra into algebra we can track term by term. Write for the square of an edge weight and define

For example, and . The roots of are the eigenvalues of the -point branch. The recurrence also shows that has only even powers when is even, and only odd powers when is odd. These recursive polynomials are called continuants.

Now change every edge weight and the loop a little. A dot denotes its rate of change, such as . Suppose the characteristic polynomial of the whole path has zero first-order change. The nonzero loop separates this condition into even and odd polynomial parts. Disjoint branch spectra mean that their polynomials have no common factor. This fact, together with degree bounds, forces the two branch-polynomial variations separately to be zero. Running the recurrence backward forces every and the loop variation to be zero too.

There is one more bridge to the unrestricted matrix . A symmetric path with nonzero neighboring weights has distinct eigenvalues: an eigenvector’s first coordinate determines the rest successively through the row equations. In eigenvector coordinates, a commuting matrix must be diagonal. The first-order recovery just proved says that changes in the edges and loop detect every diagonal direction independently. Meanwhile makes orthogonal to all those changes. The final calculation is a sum of real squares equal to zero, forcing each term to vanish. The exact detection map and sum-of-squares calculation are in the complete proof.

From one loop to every prescribed loop

nSSP says that a linear system has only the zero solution, or equivalently that its coefficient matrix has full column rank. A nonzero determinant of a square submatrix witnesses that rank. A sufficiently small continuous change preserves its nonzero value. Thus we may add small positive weights at the other required loop positions and keep nSSP.

The integer conclusion survives too. Let be the integer one-loop witness and let have entry 1 at each loop still to be added. For every sufficiently large positive integer ,

has nSSP. Multiplying the whole matrix by preserves the zero-solution test, so

is a positive-integer witness with exactly the desired support. This proves existence; it does not give a formula for the smallest suitable .

A test that avoids computing eigenvalues

With exactly one nonzero loop and every edge weight equal to 1, the test becomes

For six points and , , so unit weights succeed. For five points and , , so unit weights fail, although the adjusted weights at the beginning succeed. This arithmetic condition tests the specified unit-edge matrix; it does not replace the parity criterion for existence of some weights.

The exact real existence statement at even order for every nonempty loop set, and the branch-recovery lemma, have pinned Lean declarations. Symmetry, positive integrality, the odd-order extension, the single-loop equivalence and the two family classifications receive manuscript-based written proofs in the next chapter, where each statement is matched to its evidence. A general classification of patterns that require nSSP is a separate question.

The aligned Chinese and English seminar editions use the same example and inference order.

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

Theorem 2.1 (Full existence criterion)WRITTEN PROOF

The double path allows nSSP if and only if

Whenever it allows nSSP, it has a symmetric witness with positive integer nonzero entries.

Theorem 2.2 (Even-order existence)LEAN ✓

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.

Lemma 2.3 (Backward recovery)LEAN ✓

For every integer , real parameters , and arbitrary real variations , if , then for every .

Proof

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 .

Lemma 2.4 (Joined recovery)WRITTEN PROOF

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.

Proof

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

Lemma 2.5 (Integer separation)WRITTEN PROOF

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.

Proof

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

Proof

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

Corollary 2.6 (Single-loop criterion)WRITTEN PROOF

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 .

Proof

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

Corollary 2.7 (Loop families)WRITTEN PROOF

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.

Proof

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.

Sources, evidence and contributions

Haobo Ma and Wenlin Zhang, Koljančić–Oblak Question 5.11 (arXiv:2604.21552v1, Section 5): nSSP witnesses for looped double paths, version 2 (2026), version DOI:10.5281/zenodo.23920568, CC BY 4.0. The concept DOI 10.5281/zenodo.23920567 identifies the version family; citations here use version 2. The public manuscript source contains Theorem 1, Lemmas 2–4, Corollaries 5–6 and the complete source arguments. Haobo Ma’s affiliation is ChronoAI Pte Ltd, Singapore. Wenlin Zhang is affiliated with the National University of Singapore and ChronoAI Pte Ltd, Singapore.

Where the mathematics comes from

  • S. Koljančić and P. Oblak, Combinatorial aspects of the nonsymmetric strong spectral property for graphs, Electronic Journal of Linear Algebra 42 (2026), 755–779, DOI:10.13001/ela.2026.10523; arXiv:2604.21552v1. Definitions 1.1, 1.3, 1.5 give the property and allow/require distinction. Question 5.11 is in Section 5, journal p. 776. Theorem 5.7(Cc) gives the odd-order obstruction, and Theorem 5.7(A) supplies the interior-loop failure construction.
  • Carptopus, Spectral separation and the non-symmetric strong spectral property for looped double paths, dated 19 August 2026, revised 22 August 2026; dated source, version 0.2 DOI:10.5281/zenodo.22059007. Theorem 4.1 proves the single-loop spectral equivalence, Theorem 5.2 gives single-loop existence, Theorem 6.1 the full existence criterion, and Corollary 6.2 the even-order answer. The present manuscript acknowledges this priority and uses the same parity separation mechanism.
  • J. Michor and G. Teschl, Reconstructing Jacobi matrices from three spectra, in Spectral Methods for Operators of Mathematical Physics, OTAA 154 (2004), 151–154, DOI:10.1007/978-3-0348-7947-7_9. Theorem 2.1 provides related three-spectra reconstruction context. Our proof uses the explicit differential calculation; it does not infer a nonsingular derivative solely from global reconstruction uniqueness.
  • S. M. Fallat, H. Tracy Hall, J. C.-H. Lin and B. L. Shader, The bifurcation lemma for strong properties in the inverse eigenvalue problem of a graph, Linear Algebra and its Applications 648 (2022), 70–87, DOI:10.1016/j.laa.2022.04.009, Theorem 5.4; compare Koljančić–Oblak’s Lemma 1.2. Their similarity-preserving Superpattern Lemma is stronger than the positive-integer existence consequence proved here.

What the formal statements cover

The even-order Lean theorem states existence of a real witness with exact support for every positive even order and nonempty loop set, with an unrestricted real test matrix. The branch-recovery theorem states the all-length recovery lemma. Those are the two exact correspondences displayed in the statement chapter.

The broader written arguments establish symmetry and positive integrality, the odd-order criterion, joined recovery without restricting the parity of , integer branch separation, the fixed-matrix spectral equivalence, the gcd test, and the family consequences. The source reports finite rational checks through order eight for all loop sets, through ten for branch differentials, through twelve for the 78 single-loop positions, and orders three through twelve for the interior failure construction. These are reported finite checks; the all-orders conclusions follow from the written arguments.

Focused contributions

The shared requests coordinate formalization of proved mathematics:

  • General joined recovery: reuse the existing branch recovery and characteristic-polynomial differential, and remove the extra parity hypothesis on .
  • Integer branch separation: formalize the explicit construction for every admissible branch parity.
  • Full existence criterion: use those prerequisites for odd order and positive-integer symmetric witnesses; retain the existing exact even-order theorem.
  • Single-loop equivalence and gcd test: reuse the recovery argument, add the common-eigenvalue obstruction, then deduce the arithmetic criterion.
  • Loop families and superpatterns: deduce the classifications from the criterion and spectral equivalence, preserving the small-order cases and explicit failure matrices.

Coordinate scope on the canonical request, then use a focused branch in a contributor’s fork and a pull request directly to upstream dev under its existing rules. The original problem authors, earlier proof author, manuscript authors and formalization contributors retain their respective credit. A merged pull request and a platform verification receipt are distinct evidence.

Verification ledger

Lean-verified results correspond to frozen declarations in trureturing. Written proofs and open items are listed separately below. The table lists the Lean correspondence; links are fixed to the pinned commit, so they do not drift with upstream changes.

Formal basis: trureturing commit 8a24ea4e79de · the-omega-institute/trureturing

Written proofs

These results cite DOI sources, book proofs and registered formalization requests. They are not kernel-verified and are excluded from LEAN ✓ counts.

Open problems and conjectures

The following items are explicitly marked open; the book does not treat them as proved.

(none)