Mathematics

Rational sums-of-squares lengths of biquadratic forms and orthogonal dilations

Carles Marín Muñoz

Version 2DOI 10.5281/zenodo.24413664CC BY 4.0

Sums of squares & real algebraic geometry Combinatorics & graphs Isabelle/HOL Labs in the browser Biquadratic sums of squares (BSR)

Abstract

For a rational symmetric matrix H of order n with spectrum in [−1, 1], how many squares of rational bilinear forms are needed to write P_H(x, y) = (x₁² + x₂²)|y|² + 2x₁x₂ yᵀHy? Over the reals the answer is n or n + 1 (Blekherman–Plaumann–Sinn–Vinzant, Hanselka–Sinn). Over the rationals it is the least dimension of a sum of squares carrying an orthogonal dilation of a contraction with symmetric part H, and the obstruction is arithmetic: a rotation with rational cosine λ has the real sine √(1 − λ²), and what decides is the imaginary quadratic field ℚ(√(λ² − 1)) of its eigenvalues. For H with one interior eigenvalue we reduce the length to a positive complement inside a sum of squares and decide it by an exact finite local procedure; the excess over n is at most 7, and 7 is attained, first in order 6. Two consequences are explicit: ℓ_ℚ(λI_m) in closed form, governed by the number of rational squares needed for 1 − λ², and the length of the normalized complete graphs (J − I)/(n − 1) for every n, which for odd n is n, n + 3 or n + 5 according to squares and n modulo 8. We also give a criterion over ℚ(t), the integer length of every graph and the smallest gaps between ℝ and ℚ.

English and Spanish versions, LaTeX sources and the scripts that check the computational steps are included. Parts of the proofs are formalized in Isabelle/HOL and Lean 4 (https://github.com/karlesmarin/formalizations), some of them relative to named classical theorems; the companion site https://karlesmarin.github.io/blueprints/real-rational-integer/ says, for each statement, what is formalized, what is checked by computation and what has a written proof only. We worked with an AI assistant.

Full text

Read the PDF (1.7 MB)

Identical to the file lengths.pdf of the Zenodo record (same MD5 checksum).

Cite

Carles Marín Muñoz, Rational sums-of-squares lengths of biquadratic forms and orthogonal dilations. Zenodo, 2026. doi:10.5281/zenodo.24413664

BibTeX
@misc{Carles2026rational,
  author    = {Carles Marín Muñoz},
  title     = {Rational sums-of-squares lengths of biquadratic forms and orthogonal dilations},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24413664},
  url       = {https://doi.org/10.5281/zenodo.24413664}
}