Generator

Iterative refinement of the inverse-and-multiply solve at κ = 10^14

One function in the inverse library, called 7 times across 2 essays. Below: what it draws at its defaults, what it draws at every value an essay asks for, the 20 claims it put to the test while drawing them, and where it stands against the rule this site is named for.

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.

Iterative refinement of the inverse-and-multiply solve at κ = 10^14The 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.01234510⁻¹⁸10⁻¹⁵10⁻¹²10⁻⁹10⁻⁶10⁻³1correction steprelative errorLU route: η = 2.2·10⁻¹⁷LU route: forward 2.8·10⁻⁴forward errorbackward errorwhat a correction buysη before refinement4.5·10⁻⁵η after four steps2.8·10⁻¹⁷forward, unchanged7.1·10⁻⁴cost of a step, flops1800the residual is repairableand the accuracy floor is the problem's

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.

Iterative refinement of the inverse-and-multiply solve at κ = 10^14The 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.01234510⁻¹⁸10⁻¹⁵10⁻¹²10⁻⁹10⁻⁶10⁻³1correction steprelative errorLU route: η = 2.2·10⁻¹⁷LU route: forward 2.8·10⁻⁴forward errorbackward errorwhat a correction buysη before refinement4.5·10⁻⁵η after four steps2.8·10⁻¹⁷forward, unchanged7.1·10⁻⁴cost of a step, flops1800the residual is repairableand the accuracy floor is the problem's

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.

Iterative refinement of the inverse-and-multiply solve at κ = 10^6The 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.01234510⁻¹⁸10⁻¹⁵10⁻¹²10⁻⁹10⁻⁶10⁻³1correction steprelative errorLU route: η = 3.3·10⁻¹⁷LU route: forward 1.2·10⁻¹¹forward errorbackward errorwhat a correction buysη before refinement1.9·10⁻¹²η after four steps1.9·10⁻¹⁷forward, unchanged9.2·10⁻¹²cost of a step, flops1800the residual is repairableand the accuracy floor is the problem's

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.

Iterative refinement of the inverse-and-multiply solve at κ = 10^10The 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.01234510⁻¹⁸10⁻¹⁵10⁻¹²10⁻⁹10⁻⁶10⁻³1correction steprelative errorLU route: η = 2.9·10⁻¹⁷LU route: forward 2·10⁻⁸forward errorbackward errorwhat a correction buysη before refinement6.4·10⁻⁹η after four steps2·10⁻¹⁷forward, unchanged4.9·10⁻⁸cost of a step, flops1800the residual is repairableand the accuracy floor is the problem's

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.

Iterative refinement of the inverse-and-multiply solve at κ = 10^13The 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.01234510⁻¹⁸10⁻¹⁵10⁻¹²10⁻⁹10⁻⁶10⁻³1correction steprelative errorLU route: η = 2.5·10⁻¹⁷LU route: forward 6.3·10⁻⁵forward errorbackward errorwhat a correction buysη before refinement5.7·10⁻⁶η after four steps2.2·10⁻¹⁷forward, unchanged2.7·10⁻⁵cost of a step, flops1800the residual is repairableand the accuracy floor is the problem's

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.

Iterative refinement of the inverse-and-multiply solve at κ = 10^12The 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.01234510⁻¹⁸10⁻¹⁵10⁻¹²10⁻⁹10⁻⁶10⁻³1correction steprelative errorLU route: η = 5.2·10⁻¹⁸LU route: forward 3.7·10⁻⁶forward errorbackward errorwhat a correction buysη before refinement2.4·10⁻⁷η after four steps5.4·10⁻¹⁸forward, unchanged3.7·10⁻⁶cost of a step, flops512the residual is repairableand the accuracy floor is the problem's

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 whole library · All essays · What must fail