Iterative refinement of the inverse-and-multiply solve at κ = 10^14
At its defaults it draws iterative refinement of the inverse-and-multiply solve at κ = 10^14. The backward error starts at 4.5·10⁻⁵ and falls by about κu a step — 8.1·10⁻⁹, 5.3·10⁻¹², 3.3·10⁻¹⁵, 3.1·10⁻¹⁷, 2.8·10⁻¹⁷ — reaching the LU route's 2.2·10⁻¹⁷ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 0.015 to 7.1·10⁻⁴, against the LU route's 2.8·10⁻⁴. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
refinement-trail is one function in lib/figures/inverse.js —
the inverse — an object almost nobody needs, and the backward error of forming it. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
The backward error starts at 4.5·10⁻⁵ and falls by about κu a step — 8.1·10⁻⁹, 5.3·10⁻¹², 3.3·10⁻¹⁵, 3.1·10⁻¹⁷, 2.8·10⁻¹⁷ — reaching the LU route's 2.2·10⁻¹⁷ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 0.015 to 7.1·10⁻⁴, against the LU route's 2.8·10⁻⁴. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
logKappa: 14
The arguments are the ones The gap refinement can close passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The backward error starts at 4.5·10⁻⁵ and falls by about κu a step — 8.1·10⁻⁹, 5.3·10⁻¹², 3.3·10⁻¹⁵, 3.1·10⁻¹⁷, 2.8·10⁻¹⁷ — reaching the LU route's 2.2·10⁻¹⁷ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 0.015 to 7.1·10⁻⁴, against the LU route's 2.8·10⁻⁴. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
logKappa: 6, n: 30
The arguments are the ones The gap refinement can close passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The backward error starts at 1.9·10⁻¹² and falls by about κu a step — 2·10⁻¹⁷, 2.4·10⁻¹⁷, 2.3·10⁻¹⁷, 2·10⁻¹⁷, 1.9·10⁻¹⁷ — reaching the LU route's 3.3·10⁻¹⁷ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 2.6·10⁻¹¹ to 9.2·10⁻¹², against the LU route's 1.2·10⁻¹¹. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
logKappa: 10
The arguments are the ones The gap refinement can close passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The backward error starts at 6.4·10⁻⁹ and falls by about κu a step — 1.5·10⁻¹⁶, 2.2·10⁻¹⁷, 2.4·10⁻¹⁷, 2.4·10⁻¹⁷, 2·10⁻¹⁷ — reaching the LU route's 2.9·10⁻¹⁷ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 1.1·10⁻⁶ to 4.9·10⁻⁸, against the LU route's 2·10⁻⁸. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
logKappa: 13
The arguments are the ones The gap refinement can close passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The backward error starts at 5.7·10⁻⁶ and falls by about κu a step — 7.3·10⁻¹¹, 1.3·10⁻¹⁵, 2.2·10⁻¹⁷, 1.9·10⁻¹⁷, 2.2·10⁻¹⁷ — reaching the LU route's 2.5·10⁻¹⁷ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 0.001 to 2.7·10⁻⁵, against the LU route's 6.3·10⁻⁵. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
logKappa: 12, n: 16
The arguments are the ones The gap refinement can close passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The backward error starts at 2.4·10⁻⁷ and falls by about κu a step — 2.4·10⁻¹², 2.6·10⁻¹⁷, 1.1·10⁻¹⁷, 1.2·10⁻¹⁷, 5.4·10⁻¹⁸ — reaching the LU route's 5.2·10⁻¹⁸ after 5 corrections, each costing 2n² flops against the 2n³ the inversion cost. The forward error, drawn above, does not improve: 3.4·10⁻⁵ to 3.7·10⁻⁶, against the LU route's 3.7·10⁻⁶. What refinement at working precision buys is stability, and the accuracy floor belongs to the problem.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
20 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
the constructed matrix has κ = 100000000000000 — checked 7 times
step 1 takes the backward error down by at least two decades — checked 5 times
a conditioning where the effect is above rounding and below breakdown
a power of ten rather than an exponent literal
a size the repeated inversions can afford
and after four of them it is where the LU route started
and the refinement bought orders of magnitude of stability against a small factor of accuracy
LU is for square matrices
matmul shapes agree
while the forward error stays at the LU route's number, which is the problem's floor
Against the rule
The rule does not apply to it. It factorises nothing, so there is no residual it could be withholding. That is worth stating rather than leaving blank: a site that reported the rule as satisfied by every generator would be counting mostly generators the rule never reached.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
The gap refinement can close
Multiplying by a computed inverse is not backward stable, and refinement at the working precision repairs it. That much is settled. The claim beside it — that the forward error does not move — was read at one conditioning and four corrections too late. Swept over ten, it moves at every one, and it lands on the LU route's own number after a single correction.
When the problem arrives againThe problem that arrives again
A hundred and thirty essays have solved a system once and measured how wrong the answer was. Almost no computation is shaped like that. A solve is one step of an outer loop, its answer is an input rather than a deliverable, and four quantities treated here as accuracy requirements turn out to be assets with a shelf life.