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

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.

Theorem 1.1 (Both signed inertia formulas)LEAN ✓

Let be any real symmetric matrix and with . Then

Theorem 1.2 (Rank-one inertia, kernel and rank)WRITTEN PROOF

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.

Proof

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.

Theorem 1.3 (Exact kernel split)LEAN ✓

Under the same hypotheses, and .

Theorem 1.4 (Exact nullity increase)LEAN ✓

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.

Corollary 1.5 (Positive-semidefinite classification)WRITTEN PROOF

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.

Proof

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.

Corollary 1.6 (Removal of a nondegenerate block)WRITTEN PROOF

Let be real symmetric, , and invertible. Set . Then

Proof

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 .

Corollary 1.7 (Changing the coefficient)WRITTEN PROOF

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.

Proof

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

Theorem 1.8 (A fixed coordinate on a connected domain)WRITTEN PROOF

Let be a nonempty connected topological space. Suppose are continuous and , for every . Exactly one alternative holds:

  1. For all , and for every .
  2. For all , , and there is a unique index such that for every , while for every and every .
Proof

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.

Theorem 1.9 (Finite-puncture path connectedness)LEAN ✓

Let , let be homeomorphic to the open -simplex, and let be finite. Then is nonempty and path connected.

Theorem 1.10 (Finite-puncture family theorem)LEAN ✓

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.

Corollary 1.11 (Countably many punctures)WRITTEN PROOF

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.

Proof

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.

Corollary 1.12 (Sharp dimension threshold)WRITTEN PROOF

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.

Proof

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.

Corollary 1.13 (Numerator bound and stationarity)WRITTEN PROOF

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.

Proof

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.

Corollary 1.14 (Infima in the earlier examples)WRITTEN PROOF

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.

Proof

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

Theorem 1.15 (A sharp polynomial sphere bound)WRITTEN PROOF

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 .

Proof

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 statementExact pinned Lean declarationRemaining written scope
Both inertia triples for arbitrary real symmetric StructuredRankOneInertia.inertia_downdateFull theorem also states rank
Kernel direct sum; nullity increasekernel_split; nullity_downdate in the same moduleRank-nullity deduction
Finite-puncture path connectednessStructuredRankOneFamily.punctured_simplex_pathConnectedCountable punctures and dimension-two boundary
Finite-puncture sign and fixed negative indexStructuredRankOneFamily.continuous_familyGeneral connected spaces and the positive-branch entry classification
Block removal, coefficient changes, sphere resultsNo matching declaration in the two inspected pinned modulesComplete 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.