Integer Gram inequality with overlapping spectra and noncollinear differences
ProvedRybinAI2026.P01.matrix_integral_inequality_integer_gram_noncollinearintegral-inequalitymatrix-analysispositive-definite-matrices
Let , let be a positive integer, and let be integer matrices. Embed their entries into the reals and set
Assume the small-regularizer bound
Assume no positive scalar satisfies both Loewner comparisons
Finally, assume the two differences do not lie in any common real matrix direction: there are no real matrix and real scalars such that
With the spherical integral from Problem 1,
the remaining assertion is
This is the unresolved complementary case after the proved collinear-difference weighted bound. It retains every hypothesis of the earlier overlapping-spectra frontier and excludes precisely configurations whose differences span at most one matrix direction. It is an open subproblem, not a completed proof of Problem 1.
Preamble
import Definitions.Def_rybin2026_p01_matrix_integral open Matrix RybinAI2026.P01 open scoped BigOperators
Formal statement
theorem RybinAI2026.P01.matrix_integral_inequality_integer_gram_noncollinear
{n : ℕ} (hn : 0 < n) (m : ℤ) (hm : 0 < m)
(P Q R S : Matrix (Fin n) (Fin n) ℤ)
(hsmall : (m : ℝ) < 3 * (∑ i : Fin n, ∑ j : Fin n,
((P i j : ℝ)^2 + (Q i j : ℝ)^2 + (R i j : ℝ)^2 + (S i j : ℝ)^2))) :
let p : Matrix (Fin n) (Fin n) ℝ := P.map (fun q : ℤ => (q : ℝ))
let q : Matrix (Fin n) (Fin n) ℝ := Q.map (fun q : ℤ => (q : ℝ))
let r : Matrix (Fin n) (Fin n) ℝ := R.map (fun q : ℤ => (q : ℝ))
let s : Matrix (Fin n) (Fin n) ℝ := S.map (fun q : ℤ => (q : ℝ))
let A := p.transpose * p + (m : ℝ) • 1
let B := q.transpose * q + (m : ℝ) • 1
let C := r.transpose * r + (m : ℝ) • 1
let D := s.transpose * s + (m : ℝ) • 1
(¬ ∃ t : ℝ, 0 < t ∧
((B - t • A).PosSemidef ∨ (D - t • C).PosSemidef) ∧
((t • A - B).PosSemidef ∨ (t • C - D).PosSemidef)) →
(¬ ∃ M : Matrix (Fin n) (Fin n) ℝ, ∃ α β : ℝ,
A-C = α • M ∧ B-D = β • M) →
distance (A + B) (C + D) ≤ max (distance A C) (distance B D) := by
sorrySource