Mode of #cas
eigenvalueBounds
Decimal bounds on the smallest and the largest eigenvalue of a symmetric matrix, with a theorem that they hold and are sharp.
#cas [eigenvalueBounds] A#cas (digits := d) [eigenvalueBounds] AFor a symmetric matrix, the extreme eigenvalues are the extreme values of on the unit sphere, and in a proof that is usually the form you need: for every . eigenvalueBounds proves exactly this, with decimals and . It also proves that neither bound improves by , so the bounds are as tight as the digits allow. I find this most useful when the exact eigenvalues are roots of a high-degree polynomial and the argument only needs a bound on the quadratic form.
Examples (13)#
Basic Examples (2)
The eigenvalues of this matrix are 1 and 3, and the bounds are exact:
#cas [eigenvalueBounds] !![2, 1; 1, 2]
Rayleigh bounds
1.000000 ≤ λ_min, λ_max ≤ 3.000000- Domain
2 × 2 symmetric real matrix- Input (matrix)
!![2, 1; 1, 2]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), 1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j ≤ 3.000000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j < 1.000001 * ∑ i, x i ^ 2) ∧ ∃ x, 2.999999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), 1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j ≤ 3.000000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j < 1.000001 * ∑ i, x i ^ 2) ∧ ∃ x, 2.999999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![2, 1; 1, 2] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-6) |x|² and yᵀAy > (μ - 10^-6) |y|²
Here the extreme eigenvalues are , rounded outward:
#cas [eigenvalueBounds] !![4, 1, 0; 1, 3, 1; 0, 1, 2]
Rayleigh bounds
1.267949 ≤ λ_min, λ_max ≤ 4.732051- Domain
3 × 3 symmetric real matrix- Input (matrix)
!![4, 1, 0; 1, 3, 1; 0, 1, 2]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 3 → ℝ), 1.267949 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ≤ 4.732051 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j < 1.267950 * ∑ i, x i ^ 2) ∧ ∃ x, 4.732050 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 3 → ℝ), 1.267949 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ≤ 4.732051 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j < 1.267950 * ∑ i, x i ^ 2) ∧ ∃ x, 4.732050 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-6) |x|² and yᵀAy > (μ - 10^-6) |y|²
Scope (3)
Eigenvalues of very different sizes:
#cas [eigenvalueBounds] !![1000000, 0; 0, 1]
Rayleigh bounds
1.000000 ≤ λ_min, λ_max ≤ 1000000.000000- Domain
2 × 2 symmetric real matrix- Input (matrix)
!![1000000, 0; 0, 1]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), 1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j ∧ ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j ≤ 1000000.000000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j < 1.000001 * ∑ i, x i ^ 2) ∧ ∃ x, 999999.999999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), 1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j ∧ ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j ≤ 1000000.000000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j < 1.000001 * ∑ i, x i ^ 2) ∧ ∃ x, 999999.999999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1000000, 0; 0, 1] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-6) |x|² and yᵀAy > (μ - 10^-6) |y|²
A negative eigenvalue:
#cas [eigenvalueBounds] !![1, 2; 2, 1]
Rayleigh bounds
-1.000000 ≤ λ_min, λ_max ≤ 3.000000- Domain
2 × 2 symmetric real matrix- Input (matrix)
!![1, 2; 2, 1]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), -1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j ∧ ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j ≤ 3.000000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j < -0.999999 * ∑ i, x i ^ 2) ∧ ∃ x, 2.999999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), -1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j ∧ ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j ≤ 3.000000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j < -0.999999 * ∑ i, x i ^ 2) ∧ ∃ x, 2.999999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1, 2; 2, 1] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-6) |x|² and yᵀAy > (μ - 10^-6) |y|²
Fractions, written as a list of rows:
#cas [eigenvalueBounds] [[1/2, 1/4], [1/4, 1/2]]
Rayleigh bounds
0.250000 ≤ λ_min, λ_max ≤ 0.750000- Domain
2 × 2 symmetric real matrix- Input (matrix)
[[1/2, 1/4], [1/4, 1/2]]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), 0.250000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j ∧ ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j ≤ 0.750000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j < 0.250001 * ∑ i, x i ^ 2) ∧ ∃ x, 0.749999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-6
(∀ (x : Fin 2 → ℝ), 0.250000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j ∧ ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j ≤ 0.750000 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j < 0.250001 * ∑ i, x i ^ 2) ∧ ∃ x, 0.749999 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1 / 2, 1 / 4; 1 / 4, 1 / 2] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-6) |x|² and yᵀAy > (μ - 10^-6) |y|²
Options (2)
Three decimal places:
#cas (digits := 3) [eigenvalueBounds] !![4, 1, 0; 1, 3, 1; 0, 1, 2]
Rayleigh bounds
1.267 ≤ λ_min, λ_max ≤ 4.733- Domain
3 × 3 symmetric real matrix- Input (matrix)
!![4, 1, 0; 1, 3, 1; 0, 1, 2]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-3
(∀ (x : Fin 3 → ℝ), 1.267 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ≤ 4.733 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j < 1.268 * ∑ i, x i ^ 2) ∧ ∃ x, 4.732 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-3
(∀ (x : Fin 3 → ℝ), 1.267 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j ≤ 4.733 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j < 1.268 * ∑ i, x i ^ 2) ∧ ∃ x, 4.732 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![4, 1, 0; 1, 3, 1; 0, 1, 2] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-3) |x|² and yᵀAy > (μ - 10^-3) |y|²
Twenty places for the eigenvalues of this matrix:
#cas (digits := 20) [eigenvalueBounds] !![2, 1; 1, 3]
Rayleigh bounds
1.38196601125010515179 ≤ λ_min, λ_max ≤ 3.61803398874989484821- Domain
2 × 2 symmetric real matrix- Input (matrix)
!![2, 1; 1, 3]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-20
(∀ (x : Fin 2 → ℝ), 1.38196601125010515179 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j ∧ ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j ≤ 3.61803398874989484821 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j < 1.38196601125010515180 * ∑ i, x i ^ 2) ∧ ∃ x, 3.61803398874989484820 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-20
(∀ (x : Fin 2 → ℝ), 1.38196601125010515179 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j ∧ ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j ≤ 3.61803398874989484821 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j < 1.38196601125010515180 * ∑ i, x i ^ 2) ∧ ∃ x, 3.61803398874989484820 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![2, 1; 1, 3] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-20) |x|² and yᵀAy > (μ - 10^-20) |y|²
Applications (1)
A proof can take the first part of the printed theorem as a hypothesis and use its lower bound. Only the three standard axioms are used:
theorem rayleigh_lower (h : ∀ x : Fin 2 → ℝ, 1.000000 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![(2 : ℝ), 1; 1, 2] i j * x i * x j ∧ ∑ i, ∑ j, !![(2 : ℝ), 1; 1, 2] i j * x i * x j ≤ 3.000000 * ∑ i, x i ^ 2) (x : Fin 2 → ℝ) : ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![(2 : ℝ), 1; 1, 2] i j * x i * x j := by have e : (1.000000 : ℝ) = 1 := by norm_num have h₁ := (h x).1 rw [e, one_mul] at h₁ exact h₁ #print axioms rayleigh_lower
rayleigh_lower depends on the axioms propext, Classical.choice, Quot.sound.
Properties and Relations (2)
eigenvalues gives the exact eigenvalues, here 1 and 3:
#cas [eigenvalues] !![2, 1; 1, 2]
eigenvalues with multiplicity
[1, 3]- Domain
ℚ^(2×2)- Input (matrix)
!![2, 1; 1, 2]
Checked by Lean’s kernel: Characteristic polynomial factored over ℚ
!![2, 1; 1, 2].charpoly = (Polynomial.X - 1) * (Polynomial.X - 3)
The certificate: 1 checked step
Characteristic polynomial factored over ℚ
!![2, 1; 1, 2].charpoly = (Polynomial.X - 1) * (Polynomial.X - 3)
A lower bound above 0 says that the matrix is positive definite, which positiveDefinite decides exactly:
#cas [positiveDefinite] !![2, 1; 1, 2]
Boolean
True- Domain
2 × 2 real matrix- Input (matrix)
!![2, 1; 1, 2]
Checked by Lean’s kernel: The matrix is positive definite
!![2, 1; 1, 2].PosDef
The certificate: 1 checked step
The matrix is positive definite
!![2, 1; 1, 2].PosDef
The computation
Certificate
A = L D Lᵀ over ℚ with pivots D = [2, 3/2], all positive
Possible Issues (2)
The matrix has to be symmetric. eigenvalues takes every square matrix:
#cas [eigenvalueBounds] !![1, 2; 3, 4]
Error
eigenvalueBounds needs a symmetric matrix
The number of places is between 1 and cas.maxDigits:
#cas (digits := 0) [eigenvalueBounds] !![2, 1; 1, 2]
Error
eigenvalueBounds accepts between 1 and 2000 digits
Neat Examples (1)
The Hilbert matrix, with entries , is the classic example of an ill-conditioned matrix. Its smallest eigenvalue is about , and fourteen places bound it away from 0. In the theorem, Lean prints the decimals 0.00000000000010 and 0.00000000000011 as 10e-14 and 11e-14:
#cas (digits := 14) [eigenvalueBounds] !![1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10; 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11; 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12; 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13; 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14; 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15; 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16; 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16, 1/17; 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16, 1/17, 1/18; 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16, 1/17, 1/18, 1/19]
Rayleigh bounds
0.00000000000010 ≤ λ_min, λ_max ≤ 1.75191967026518- Domain
10 × 10 symmetric real matrix- Input (matrix)
!![1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10; 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11; 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12; 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13; 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14; 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15; 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16; 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16, 1/17; 1/9, 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16, 1/17, 1/18; 1/10, 1/11, 1/12, 1/13, 1/14, 1/15, 1/16, 1/17, 1/18, 1/19]
Checked by Lean’s kernel: Rayleigh bounds, sharp to 10^-14
(∀ (x : Fin 10 → ℝ), 10e-14 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1, 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10; 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11; 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 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/ 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17; 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18; 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18, 1 / 19] i j * x i * x j ≤ 1.75191967026518 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1, 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10; 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11; 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12; 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13; 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14; 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15; 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16; 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17; 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18; 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18, 1 / 19] i j * x i * x j < 11e-14 * ∑ i, x i ^ 2) ∧ ∃ x, 1.75191967026517 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1, 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10; 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11; 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12; 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13; 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14; 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15; 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16; 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17; 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18; 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18, 1 / 19] i j * x i * x j
The certificate: 1 checked step
Rayleigh bounds, sharp to 10^-14
(∀ (x : Fin 10 → ℝ), 10e-14 * ∑ i, x i ^ 2 ≤ ∑ i, ∑ j, !![1, 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10; 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11; 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12; 1 / 4, 1 / 5, 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/ 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17; 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18; 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18, 1 / 19] i j * x i * x j ≤ 1.75191967026518 * ∑ i, x i ^ 2) ∧ (∃ x, ∑ i, ∑ j, !![1, 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10; 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11; 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12; 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13; 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14; 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15; 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16; 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17; 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18; 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18, 1 / 19] i j * x i * x j < 11e-14 * ∑ i, x i ^ 2) ∧ ∃ x, 1.75191967026517 * ∑ i, x i ^ 2 < ∑ i, ∑ j, !![1, 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10; 1 / 2, 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11; 1 / 3, 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12; 1 / 4, 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13; 1 / 5, 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14; 1 / 6, 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15; 1 / 7, 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16; 1 / 8, 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17; 1 / 9, 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18; 1 / 10, 1 / 11, 1 / 12, 1 / 13, 1 / 14, 1 / 15, 1 / 16, 1 / 17, 1 / 18, 1 / 19] i j * x i * x j
The computation
Certificate
A - cI = L D Lᵀ and μI - A = L' D' L'ᵀ over ℚ, with nonnegative pivots x, y over ℚ with xᵀAx < (c + 10^-14) |x|² and yᵀAy > (μ - 10^-14) |y|²
See Also
eigenvalues · positiveDefinite · N · enclose · Options
