← decomposition.ai
Optimization & Dynamics · v1 · November 27, 2026

Exact invariant-polytope certificates for irrational joint spectral radii, with a Lean 4 soundness theorem

Editorial Plate

16:9 archival plate
Swiss mathematical edition

Exact invariant-polytope certificates for irrational joint spectral radii, with a Lean 4 soundness theorem — Swiss editorial mathematical plate
Plate — Exact invariant-polytope JSR certificates & Lean 4 soundness (14 pairs) (doi:10.5281/zenodo.24586862). Full-res JPG ↗

Abstract

Seconds to minutes (exact number fields)
Exact arithmetic

The joint spectral radius (JSR) of matrices $A_0,\dots,A_{k-1}$ is $\rho=\lim_{N\to\infty}\max_{|w|=N}\|A_w\|^{1/N}$. In the invariant-polytope algorithm of Guglielmi and Protasov, proving $\rho=\lambda$ requires a spectrum-maximizing product $A_w$ with $\rho(A_w)^{1/|w|}=\lambda$ and a polytope $P$ satisfying $A_j P\subseteq\lambda P$. When $\lambda$ is irrational, boundary inclusions hold with exact equality and must be verified in a real number field $K$ rather than floating point. We archive exact-arithmetic certificates (12 real polytopes and 2 conjugate-symmetric complex polytopes over $K[y]/(y^2+D)$) for $14$ matrix pairs ($11$ rational, $3$ real-number-field), checked by two zero-shared-code exact verifiers (Python stdlib and C++20). In Lean 4 with Mathlib, we formalize the soundness theorem showing a real certificate implies $\lim_N\max_{|w|=N}\|A_w\|_1^{1/N}=\inf_N\max_{|w|=N}\|A_w\|_1^{1/N}=\lambda$ and prove $5$ of the $14$ pairs end-to-end in the Lean kernel without `native_decide` (golden-ratio pair, $4$-point scheme with $\omega=3/32$, binary $3\times 3$ pair, $12$-tap Dubuc–Deslauriers mask, and Daubechies $4$-tap). Seven of the $14$ values or structures are known in prior literature; no priority is claimed for the remaining six.

Main Results

Theorem 1 (Lean 4 Soundness & 5 End-to-End Formal JSR Proofs)
Formalized in Lean 4 + Mathlib: any valid exact real invariant-polytope certificate implies $\lim_N\max_{|w|=N}\|A_w\|_1^{1/N} = \inf_N\max_{|w|=N}\|A_w\|_1^{1/N} = \lambda$, with $5$ irrational-JSR matrix pairs (including Daubechies $4$-tap and the $12$-tap mask) proved end-to-end in the Lean kernel without `native_decide`.
Theorem 2 (14 Exact Number-Field Invariant-Polytope Certificates)
All $14$ matrix pairs ($12$ real polytopes and $2$ conjugate-symmetric complex polytopes over $K[y]/(y^2+D)$) are verified with zero floating-point arithmetic by two independent exact verifiers (Python stdlib and C++20).
Motion study — invariant Barabanov polytope enclosing contracting matrix orbits in exact number-field geometry. Still plate ↗ MP4 ↓

Construction

Number-Field Polytope Inclusion Without Floating-Point Slack. Representing polytope vertices and nonnegative convex-combination weights exactly in $K = \mathbb{Q}(\lambda)$ certifies tight boundary equalities $A_j v \in \lambda P$ directly:

$$A_j v_i = \lambda \sum_m c_{j,i,m} v_m \quad (c_{j,i,m} \in K_{\ge 0},\; \sum_m |c_{j,i,m}| \le 1) \implies \rho(\mathcal{A}) = \lambda$$

Scope caveat: 9 of the 14 pairs are checked by Python + C++20 rather than Lean; complex-certificate soundness rests on a short paper lemma; minimal-polynomial irreducibility is checked by the verifiers, not in Lean.

Exact Proof

  1. 01
    Exact Number-Field Arithmetic Over K = ℚ(λ)
    Check minimal polynomial irreducibility, isolating interval of the real root $\lambda$, spectrum-maximizing product $A_w$, and nonnegative convex weights for every $A_j v_i \in \lambda P$.
  2. 02
    Lean 4 + Mathlib Soundness Theorem & 5 Kernel Proofs
    Compile the pinned Lean 4 + Mathlib project proving JSR certificate soundness and checking 5 pairs end-to-end in the kernel without `native_decide`.
  3. 03
    Zero-Shared-Code Python & C++20 Suite Replay
    Run both independent exact verifiers across all 14 JSON certificates via the bundled one-command script.

Verify Locally

Papers: CC BY 4.0
Code & certs: MIT

Download and unzip jsr-exact-barabanov-certificates-v1.zip, then run:

sh run_all.sh
PASS: All 14 exact number-field JSR certificates verified (Python + C++20) and 5 pairs + soundness theorem verified in Lean 4.
  • Lean 4 + pinned Mathlib soundness theorem + 5 end-to-end kernel proofs (no native_decide)
  • Python 3 stdlib exact algebraic-number verifier
  • C++20 zero-shared-code exact arithmetic verifier + reference logs

Use of AI: Certificates, verifiers, and Lean 4 formalization were developed with substantial AI assistance; correctness rests solely on the Lean kernel and the independent exact-arithmetic checkers.

References

  1. N. Guglielmi, V. Protasov, Exact computation of joint spectral characteristics of linear operators, Found. Comput. Math. 13 (2013), arXiv:1106.3755.
  2. M. S. Floater, G. Muntingh, Exact regularity of the 8-point Dubuc–Deslauriers subdivision scheme, arXiv:1209.2692.
  3. I. D. Morris, N. Sidorov, On a devil's staircase associated to the joint spectral radii of a family of pairs of matrices, arXiv:1107.3506.