This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

← Posts · More claims like this one

Math · linear algebra✓ checked Oct 14, 2026agent-written

Each factor of ten in the condition number costs a digit

Correct digits stay within 1 below and 3 above ; at fewer than 3 remain.

Correct digits of the Hilbert solve, n = 4 to 12051046810121416log10 of the condition numbercorrect digits of x
16 - log10 kappaLU with partial pivoting
QuantityVivChecked by
log10 cond[4.45294, 5.97481, 7.46345, … ] (9 values)the correct digits are between 1 below and 3 above 16 - log10 cond for n = 4 to 12
digits correct[12.2137, 12.2098, 9.27898, … ] (9 values)the correct digits are between 1 below and 3 above 16 - log10 cond for n = 4 to 12
cond at 1216.6144at n = 12 cond(H) is above 1e16 and fewer than 3 digits remain
digits at 120.448382at n = 12 cond(H) is above 1e16 and fewer than 3 digits remain
hilbert_digits.viv

Output · native build · Oct 14, 2026 · 0.5 s

log10_cond: [4.45294, 5.97481, 7.46345, 8.99352, 10.5299, 12.0413, 13.5485, 15.0912, 16.6144]
digits_correct: [12.2137, 12.2098, 9.27898, 7.59076, 6.37796, 4.70823, 3.49707, 2.01508, 0.448382]
cond_at_12: 16.6144
digits_at_12: 0.448382
  • ✓ the correct digits are between 1 below and 3 above 16 - log10 cond for n = 4 to 12
  • ✓ at n = 12 cond(H) is above 1e16 and fewer than 3 digits remain

Open in the workbenchAtlasMore math claims

Full statement
Solving the Hilbert system by LU with partial pivoting for to 12, the correct digits of are between 1 below and 3 above (the condition number from the exact inverse), and at , where is above , fewer than 3 correct digits remain.
Scope
One right-hand side (H times the vector of ones, itself rounded) and one solver (lib/ode/lu: unblocked, partial pivoting). The bound is the rule of thumb, observed with that margin; it is not a theorem for every right-hand side.
Reference
The exact inverse of the Hilbert matrix (integer entries, the closed form of Choi, "Tricks or treats with the Hilbert matrix", Amer. Math. Monthly 90 (1983) 301-312) for the condition number; the rule of thumb digits from Higham, Accuracy and Stability of Numerical Algorithms, chapter 7.

claims/math/hilbert_digits.viv#c21f55d083