One direction leaves one zero direction
Can a matrix that already has zero directions still lose exactly one positive or negative direction? Haobo Ma and Wenlin Zhang’s revision-two paper answers yes. When a chosen direction has nonzero quadratic value, a special rank-one modification creates exactly one new zero direction. Continuity turns this local fact into a global restriction: the unique negative coordinate cannot switch places in a connected diagonal family. A linked sphere problem gives another surprise: even a very regular cubic odd polynomial does not always allow the worst case to be compressed to two coordinates.
The questions come from Lucid’s MathOverflow 513954 revision two and its linked discussion. The earlier proof of the inertia formula is credited to user1551. Ma and Zhang give a self-contained proof, the family argument and extensions, and an exact polynomial sphere infimum. We start with school algebra; the next chapter contains complete precise statements and proofs.
First calculate an example with a zero direction
A measurement assigns to . It is negative along the first axis, positive along the third, and unaffected by the second. Write
The superscript means transpose. Then , , and
The old zero direction survives, and becomes an independent new one. The denominator is the number ; we never invert . The original matrix is singular, yet the calculation works.
A real symmetric matrix assigns the quadratic value . Suitable coordinates split it into positive, negative and zero terms. Their eigenvalue counts, including multiplicity, form the inertia . This does not count every vector with zero measurement. For example vanishes at although the matrix has zero kernel. The kernel requires , stronger than one quadratic value being zero.
Set , , and . The inertia result says that removes one positive eigenvalue, whereas removes one negative eigenvalue. The other nonzero count stays unchanged and the zero count rises by one. The complete result says the new kernel is the direct sum of the old kernel and the line through , so rank falls by one. The sign counts are controlled; the other eigenvalues need not retain their numerical values.
Why does just one block change?
Let . Since , lies outside this hyperplane, and
The first part lies in , the second along . The spaces meet only at zero, making the split unique. It is like moving along until landing in the hyperplane. The hyperplane is perpendicular to , not necessarily to .
Symmetry eliminates cross terms. Use a basis of followed by :
The block may have its own zero directions; all of it survives. Replacing by zero explains the answer. Invertible coordinate changes preserve inertia, a fact called Sylvester’s law. The proof explains why singular matrices are included.
The same mathematical story in motion: a scalar block becomes zero, connectedness fixes the negative coordinate, and a diffuse tail defeats two-coordinate reduction.
Why can the negative coordinate not hand over?
Positive semidefinite means every , or no negative eigenvalues. The inertia formula says that when and is positive semidefinite, the original diagonal matrix has exactly one negative entry; the others may vanish. The positive branch requires the original matrix itself to be positive semidefinite.
Let the diagonal entries and vary continuously over a nonempty connected parameter space, keeping and positive semidefinite. A continuous nonzero real function cannot change sign. In the negative branch, let be the parameters where entry is negative. These sets are open, disjoint and cover the space. Each complement is the union of the other , so each is closed too. Connectedness forces one such region to be the whole space: the same coordinate stays negative. This is the continuous-family theorem.
An open triangle with a few points removed still permits two-segment paths around them; higher dimensions work too, even with countably many punctures. But removing an interval’s midpoint disconnects it. Coordinate one can be negative on the left and coordinate two on the right, continuously on the punctured space. The simplex dimension threshold of two is essential.
Two-coordinate intuition fails on the sphere
A unit vector satisfies . Apply to every coordinate and define
The numerator is a dot product; the denominator removes the transformed vector’s length. Since , this is the cosine of the angle between the vectors. The source assumes continuous with and asks whether the all-finite-dimension infimum needs at most two positive coordinates. When is unspecified, zero coordinates are omitted. For the polynomial below , so either convention agrees.
daw had proposed : its infimum with positive coordinates is , tending to zero with dimension, while at most two coordinates give . Exodd’s already tends to zero in dimension two. The paper uses
It is odd, strictly increasing on , and strictly decreases. Even so, the polynomial theorem gives
These are approximately and : a small but strict gap. Squared coordinates already give , so three coordinates beat every two-coordinate vector.
One large coordinate and an increasingly diffuse tail
Put , distributing mass one. With and , expansion gives
Let . Every , so . Increasing the denominator decreases the fraction; hence
This one-variable function is minimized at . Take one squared coordinate and divide the remaining equally among coordinates. As grows, the tail’s contributions to the square and cube sums disappear, leaving and . The ratio approaches the exact constant. This is a sequence of finite vectors, not a finite-dimensional minimizer.
Finite equality forces every positive ; their total being one then gives . Together with , this forces and squared ratio one, above the optimal constant. The diffuse tail is the approximation mechanism, not disposable noise.
The matrix lesson is “isolate a nonzero block and replace it by zero.” The family lesson is “local uniqueness plus connectedness gives global uniqueness.” The sphere lesson is “moments give a uniform bound and a diffuse tail approaches it.” Block removal, coefficient changes and all boundary cases are in the proof chapter. A classification for general , and the source’s observation about an unspecified polynomial, lie outside this paper’s settlement.
Authors: Haobo Ma (Chrono AI, Singapore); Wenlin Zhang (National University of Singapore and Chrono AI, Singapore). Version 2, CC BY 4.0, version DOI: 10.5281/zenodo.23920598. Original questions, earlier proofs and exact formalization scope appear in the sources chapter.
Precise statements and proofs
The matrix result replaces one nonzero scalar block by zero; the family result then uses connectedness to keep the negative coordinate fixed. The sphere result uses moments to reduce an arbitrary-dimensional lower bound to one variable. We give the complete arguments from Ma and Zhang’s version-2 paper, with the original result numbers in the evidence links. The attribution and exact Lean scope are collected in Sources and coverage.
A nonzero pivot in a possibly singular form
For a real symmetric matrix , let count positive, negative and zero eigenvalues with multiplicity. Write for positive semidefiniteness. For the rest of this section set
The assumption implies and . It does not require to be invertible. When the formula adds a positive-semidefinite rank-one matrix; “signed downdate” covers both signs.
Let be any real symmetric matrix and with . Then
Let be any real symmetric matrix and with . Then
Moreover,
The direct sum describes vectors annihilated by the matrix, not all vectors with zero quadratic value.
Put . Every decomposes as
The first summand lies in because . If , then , so . Thus . Choose a basis matrix of and put . This matrix is invertible even when is singular. Symmetry gives . Also and the rank-one term vanishes on . Therefore, with ,
To justify inertia invariance for singular matrices, the spectral theorem identifies with the largest dimension of a subspace on which is positive definite. The positive eigenspace attains that dimension. Any subspace of larger dimension intersects the nonpositive eigenspace nontrivially, so cannot be positive definite. An invertible substitution preserves this maximal dimension. Apply the same reasoning to for ; then . This proves the required Sylvester law without a nonsingularity hypothesis. Additivity on the displayed blocks yields the two inertia formulas. In particular the count from which one is subtracted is at least one.
If , symmetry gives , hence . Conversely, implies
Together with , this proves the sum of kernels. If , then , so the intersection is zero. Its dimension is therefore , and rank-nullity gives the rank formula. For the block is empty and the same proof applies. The case is excluded: the defining quotient is then undefined.
This is the written proof of manuscript Theorem 1; its hyperplane mechanism is proposed in Lucid’s question, and user1551’s earlier inertia proof is credited in the sources.
Under the same hypotheses, and .
Under the same hypotheses, .
The preceding two substatements isolate exactly the kernel and nullity declarations; the rank conclusion in the full theorem follows by the written rank-nullity deduction.
Under the hypotheses of the rank-one theorem,
For diagonal in the negative branch, this is equivalent to exactly one and all for . Zeros among the other entries are allowed.
A real symmetric matrix is positive semidefinite exactly when its negative index is zero. Insert the negative counts of the pinned inertia_downdate declaration. A diagonal matrix has its entries as eigenvalues. This proves manuscript Corollary 2.
Let be real symmetric, , and invertible. Set . Then
If , then , so ; thus has rank . Let . Every has the decomposition
The first term lies in . If , then , so the sum is direct. In a basis adapted to it,
Indeed, and . Sylvester’s law gives the inertia. If , then . Conversely kills both and . Their intersection is zero because implies . Rank-nullity finishes manuscript Corollary 3. The case , with the usual empty-block convention, gives .
Under the rank-one hypotheses, let and . Componentwise,
Thus preserves inertia; gives the rank-one theorem; replaces one sign by its opposite and preserves nullity.
The same matrix used in the rank-one proof gives . Subtract the contribution of and add that of . For its sign agrees with ; for it is zero; for it is nonzero with opposite sign. This proves manuscript Corollary 4.
Continuous families and punctures
For continuous maps , define
Let be a nonempty connected topological space. Suppose are continuous and , for every . Exactly one alternative holds:
- For all , and for every .
- For all , , and there is a unique index such that for every , while for every and every .
The continuous function never vanishes. Its positive and negative inverse images are disjoint open sets covering . Connectedness and nonemptiness force one to be empty, so its sign is constant. In the positive case apply the PSD classification pointwise. In the negative case that classification says exactly one diagonal entry is negative at each point. Put . These sets are open, pairwise disjoint and cover . The complement of each is the union of the others, so is closed as well. At least one is nonempty; a nonempty subset both open and closed in a connected space is the entire space. Thus one and every other is empty. Nonemptiness also proves uniqueness of . The other entries can vanish. This proves manuscript Theorem 5.
Let , let be homeomorphic to the open -simplex, and let be finite. Then is nonempty and path connected.
Under the domain hypotheses of the pinned punctured_simplex_pathConnected declaration, let be continuous. If and everywhere, then is nonempty and either everywhere, or everywhere with a unique index such that everywhere and every other everywhere.
Manuscript Corollary 6 applies the full connected-domain theorem above to this finite-puncture domain, including in the positive branch. The exact family declaration just stated supplies the sign and negative-branch conclusion; the additional positive-branch classification follows from the written PSD corollary.
To see the domain property directly, transport it to
with deleted set . Given , consider all lines through or with . Choose a small circle in a two-dimensional affine plane lying in . Each forbidden line meets the circle in at most two points, so a point of the circle avoids all these lines. Convexity keeps and in ; if either segment met a deleted point, would lie on a forbidden line. These two segments give the path. The circle also shows that the complement of a finite set is nonempty. Transport back and apply the connected-domain theorem.
The full finite-puncture conclusion remains true when is countable: for , a space homeomorphic to an open -simplex has nonempty path-connected , and the hypotheses of the family theorem imply its two alternatives there.
In the preceding two-segment construction there are now countably many forbidden lines. Their intersections with the small circle form a countable set, whereas the circle is uncountable. A permissible still exists. The open simplex itself contains that circle, so removing countably many points cannot empty it. Thus the domain is nonempty and path connected, hence connected, and the family theorem applies. This is manuscript Corollary 7. The pinned path-connectedness declaration assumes a finite deleted set; this countable extension is the written argument here.
The requirement is sharp for a finite-puncture family conclusion uniform over all finite deleted sets. In dimension , deleting one point can allow the negative coordinate to switch between components.
Let and . On set and ; on set and . These maps are continuous on , since they are constant on its two open components. In both components . The resulting is respectively and , both positive semidefinite. But the negative coordinate is respectively the first and the second. The interval is homeomorphic to an open one-simplex, so this meets the domain description for and disproves a uniform extension of the conclusion. It does not contradict the theorem on a connected domain. This proves manuscript Corollary 8.
Sphere ratios: regularity and the earlier examples
The linked question takes continuous with for . For a positive unit vector , set
Here . “Active coordinates” means that zero coordinates are omitted, because a general has no specified value at zero. For the polynomial below , so adding zero coordinates leaves the ratio unchanged.
Under these hypotheses, . If is differentiable near every active coordinate of a positive unit vector with for all , an interior stationary point satisfies, for some real ,
for every . Continuity alone does not justify the derivatives.
Multiply by and sum: . This termwise argument is already in Lucid’s linked question. Under the differentiability assumption, and . Thus the quotient rule gives as the left side of the displayed equation divided by . The unit-sphere constraint has gradient , so the Lagrange multiplier rule yields the equation. The condition ensures an ordinary neighborhood of each active coordinate is available. This proves manuscript Corollary 9.
With active coordinates, has fixed-dimension infimum and all-finite-dimension infimum zero; at most two active coordinates give infimum . For , the infimum is already zero in dimension two.
For , , since . For , take positive unit vectors approaching to approach this bound; for it is attained. Letting gives zero, while taking the smaller infimum for gives . For and , write ; then , , and as . Ratios are positive, so these limiting lower bounds are the infima. Both functions meet the source inequality. The choices and are due to daw and Exodd respectively, as credited in the sources. This proves manuscript Corollary 10.
The polynomial: a moment identity and a diffuse tail
Let on . It is the restriction of an odd polynomial, is strictly increasing, and satisfies and strictly decreasing on . For nonnegative unit vectors of arbitrary finite dimension,
No finite-dimensional vector attains this infimum. With at most two nonzero coordinates, the attained minimum is
Squared coordinates give . The all-dimension infimum is approached by one squared coordinate and squared coordinates , as .
Polynomial and moment identity. Since for , integration over any nontrivial subinterval proves strict increase, including at the endpoint . The formula for proves its strict decrease and . Put , , . Then and . Expanding gives
hence the moment identity
The denominator is positive because and , so it is at least .
Exact two-coordinate gap. Write the two squared coordinates as , allowing endpoints for a single active coordinate, and set . Then , , and
Equality holds precisely when , feasible at or . Both coordinates are positive. Endpoints instead give ratio squared .
Three coordinates already improve the value. For , and . Substitution gives , with exact gap
Thus the proposed universal reduction to two coordinates fails even under all the stated polynomial regularity conditions.
Dimension-free lower bound. Put . Every since . Thus , and positivity of denominators gives
On the denominator is at least . Differentiation gives
The roots of the last quadratic are . Only lies in . All other displayed factors are positive in the interior; hence decreases before and increases after it. Its unique minimum is .
Sharpness through a diffuse tail. For each positive integer , use squared coordinates with tail entries. They are positive and sum to one. Their moments are
These converge to . The limiting denominator is positive, so continuity of the rational expression proves convergence to . This proves sharpness over finite vectors whose dimension grows.
Nonattainment. Attaining the lower bound would force equality in . The nonnegative summands must then all be zero, so every positive . Consequently , while by definition . Since , we get , exactly one active coordinate and . But (for example and the minimum is no larger). Hence no finite vector attains the smaller infimum. This completes manuscript Theorem 11.
What the formal declarations cover
| Mathematical statement | Exact pinned Lean declaration | Remaining written scope |
|---|---|---|
| Both inertia triples for arbitrary real symmetric | StructuredRankOneInertia.inertia_downdate | Full theorem also states rank |
| Kernel direct sum; nullity increase | kernel_split; nullity_downdate in the same module | Rank-nullity deduction |
| Finite-puncture path connectedness | StructuredRankOneFamily.punctured_simplex_pathConnected | Countable punctures and dimension-two boundary |
| Finite-puncture sign and fixed negative index | StructuredRankOneFamily.continuous_family | General connected spaces and the positive-branch entry classification |
| Block removal, coefficient changes, sphere results | No matching declaration in the two inspected pinned modules | Complete written proofs above |
The names in this table abbreviate the namespace D5.S3.QuadraticForms. The coverage chapter links each declaration at the full pinned revision and the existing contribution requests. The broader classification for general , and the source’s numerical observation about an unspecified odd polynomial, are not settled here.
Sources, attribution and formal coverage
Haobo Ma (Chrono AI, Singapore) and Wenlin Zhang (National University of Singapore and Chrono AI, Singapore) are the authors of the version-2 paper. Its exact-version DOI is 10.5281/zenodo.23920598; 10.5281/zenodo.23920597 identifies the version family. The paper and this authored explanation carry CC BY 4.0. The original question, earlier answer and linked discussion retain their own attribution and licences.
Original mathematical sources
- Lucid, MathOverflow 513954, revision 2, 5 August 2026: the singular diagonal inertia question, proposed hyperplane argument and continuous-family question (CC BY-SA 4.0).
- user1551, Mathematics Stack Exchange answer 5146353, 7 August 2026: the earlier proof of the matrix inertia formula, credited by Ma and Zhang (CC BY-SA 4.0). The zero count follows from dimension minus the positive and negative counts.
- Lucid, Mathematics Stack Exchange question 5146381, 7 August 2026: the sphere ratio, numerator estimate, stationarity discussion and proposed reduction to few active coordinates. The negative-coordinate handoff comment is answered by the clopen-set argument.
- daw, comment 11110291, 8 August 2026: the choice (CC BY-SA 4.0).
- Exodd, answer 5146715, 11 August 2026: the choice (CC BY-SA 4.0).
Ma and Zhang give the self-contained symmetric-matrix proof and its kernel/rank consequences, the connected-family argument and extensions, and the exact polynomial sphere result. The earlier questions and examples retain the credit just listed. The accessible guide and proof chapter explain this same version; they do not replace its source record.
Exact pinned declarations
The pin is 0f1f822c673c1903dc6b0a209a23dacebca2aa6c. Both source modules use the namespace D5.S3.QuadraticForms. The links below go directly to the declarations in that revision.
| Statement | Declaration | Exact mathematical scope |
|---|---|---|
| Both signed inertia triples | StructuredRankOneInertia.inertia_downdate | Arbitrary real symmetric matrix, including singular input; nonzero pivot |
| Kernel direct sum | StructuredRankOneInertia.kernel_split | Kernel equality and disjointness; same matrix hypotheses |
| Nullity increase | StructuredRankOneInertia.nullity_downdate | Kernel dimension increases by exactly one |
| Diagonal sign counts | StructuredRankOneInertia.diagonal_counts | Positive and negative indices equal the entry sign counts |
| Finite-puncture topology | StructuredRankOneFamily.punctured_simplex_pathConnected | Finite deletion, open simplex of dimension at least two; nonempty path-connected complement |
| Source-domain family | StructuredRankOneFamily.continuous_family | Finite-puncture domain; constant pivot sign; unique fixed negative coordinate in negative branch |
| Original source conjunction | StructuredRankOneFamily.mo513954_revision2 | Diagonal inertia formulas together with the preceding source-domain family conclusion |
The full rank-one manuscript theorem combines these exact inertia/kernel/nullity results with a written rank-nullity consequence. The general connected-domain family theorem is broader than the pinned finite-puncture declaration. In its positive branch, entrywise nonnegativity follows from the written PSD classification; that clause is not listed in continuous_family. The public path-connectedness declaration assumes finite deletion even though its proof uses a countable-complement theorem. Countable punctures, the dimension-two counterexample, block removal, coefficient changes and the sphere results have the complete written proofs in the preceding chapter.
Exact rational finite-instance checks are reported in the original paper’s verification supplement. They illustrate the identities and do not replace either the all-parameter written proofs or the pinned declarations. No claim here promotes the paper’s separate public verification status.
Existing formalization contributions
These are the ten canonical requests associated with the manuscript results. The requested work should reuse the exact declarations above: the rank consequence does not require reconstructing the inertia or kernel proofs, and the PSD classification follows from the inertia counts. The finite-puncture source result has existing declarations and no separate new request.
| Manuscript locator | Remaining mathematical scope | Canonical request |
|---|---|---|
| Theorem 1 | Rank consequence and complete conjunction | #169 |
| Corollary 2 | Both PSD branches and diagonal classification | #170 |
| Corollary 3 | Nondegenerate block removal | #171 |
| Corollary 4 | All-real coefficient identity | #172 |
| Theorem 5 | General connected domain and full positive branch | #173 |
| Corollary 7 | Countable-puncture extension | #174 |
| Corollary 8 | Dimension-two witness and sharp threshold | #175 |
| Corollary 9 | Numerator bound and qualified stationarity | #176 |
| Corollary 10 | Infima for the attributed earlier examples | #177 |
| Theorem 11 | Polynomial moments, gap, infimum and nonattainment | #178 |
A request is a place to contribute a missing formal statement, not a proof certificate. Focused contributions follow the upstream contribution instructions and should link the relevant existing request.
Mathematical boundary
The matrix formula assumes a nonzero pivot and permits singular matrices. The connected-family theorem permits zero values among the other diagonal entries. The simplex dimension threshold concerns uniform survival under punctures, not the rank-one matrix identity. The polynomial construction disproves universal two-coordinate reduction and computes this polynomial’s exact all-dimension infimum; it does not classify arbitrary continuous or identify the source author’s unspecified polynomial.
#pagebreak()
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 0f1f822c673c · the-omega-institute/trureturing
| Item | Title | Lean declaration | Frozen state |
|---|---|---|---|
| Theorem 1.1 | Both signed inertia formulas | D5.S3.QuadraticForms.StructuredRankOneInertia.inertia_downdate | bbbe814090 |
| Theorem 1.3 | Exact kernel split | D5.S3.QuadraticForms.StructuredRankOneInertia.kernel_split | bbbe814090 |
| Theorem 1.4 | Exact nullity increase | D5.S3.QuadraticForms.StructuredRankOneInertia.nullity_downdate | bbbe814090 |
| Theorem 1.9 | Finite-puncture path connectedness | D5.S3.QuadraticForms.StructuredRankOneFamily.punctured_simplex_pathConnected | cb874c2d61 |
| Theorem 1.10 | Finite-puncture family theorem | D5.S3.QuadraticForms.StructuredRankOneFamily.continuous_family | cb874c2d61 |
Written proofs
These results cite DOI sources, book proofs and registered formalization requests. They are not kernel-verified and are excluded from LEAN ✓ counts.
- Theorem 1.2 — Rank-one inertia, kernel and rank · Proof · DOI: 10.5281/zenodo.23920598 · Theorem 1 · trureturing-requests#169
- Corollary 1.5 — Positive-semidefinite classification · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 2 · trureturing-requests#170
- Corollary 1.6 — Removal of a nondegenerate block · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 3 · trureturing-requests#171
- Corollary 1.7 — Changing the coefficient · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 4 · trureturing-requests#172
- Theorem 1.8 — A fixed coordinate on a connected domain · Proof · DOI: 10.5281/zenodo.23920598 · Theorem 5 · trureturing-requests#173
- Corollary 1.11 — Countably many punctures · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 7 · trureturing-requests#174
- Corollary 1.12 — Sharp dimension threshold · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 8 · trureturing-requests#175
- Corollary 1.13 — Numerator bound and stationarity · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 9 · trureturing-requests#176
- Corollary 1.14 — Infima in the earlier examples · Proof · DOI: 10.5281/zenodo.23920598 · Corollary 10 · trureturing-requests#177
- Theorem 1.15 — A sharp polynomial sphere bound · Proof · DOI: 10.5281/zenodo.23920598 · Theorem 11 · trureturing-requests#178
Open problems and conjectures
The following items are explicitly marked open; the book does not treat them as proved.
(none)