perturbation-shape
At its defaults it draws the two perturbations that make one computed solution exact, on a 10×10 toeplitz system. A Kac–Murdock–Szegő matrix at ρ = 0.95, solved by Levinson's recursion. Every backward-error claim on this site says the computed answer solves a nearby problem exactly, and the nearby problem is the top matrix: the smallest perturbation of any kind, 1.89·10⁻¹⁷ relative, rank one, and constant along 0.97 of the way to none of its diagonals. The bottom matrix is the smallest perturbation that is itself a symmetric Toeplitz matrix — the same kind of object the problem was posed with — and it is 2.65·10⁻¹³, larger by a factor of 1.41·10⁴. Both explain the same computed answer exactly. Only one of them is a problem anybody could have posed.
perturbation-shape is one function in lib/figures/structbe.js —
structured backward error — whether the nearby problem is the same kind of problem. 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.
A Kac–Murdock–Szegő matrix at ρ = 0.95, solved by Levinson's recursion. Every backward-error claim on this site says the computed answer solves a nearby problem exactly, and the nearby problem is the top matrix: the smallest perturbation of any kind, 1.89·10⁻¹⁷ relative, rank one, and constant along 0.97 of the way to none of its diagonals. The bottom matrix is the smallest perturbation that is itself a symmetric Toeplitz matrix — the same kind of object the problem was posed with — and it is 2.65·10⁻¹³, larger by a factor of 1.41·10⁴. Both explain the same computed answer exactly. Only one of them is a problem anybody could have posed.
n: 10
The arguments are the ones A nearby problem of the wrong kind passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A Kac–Murdock–Szegő matrix at ρ = 0.95, solved by Levinson's recursion. Every backward-error claim on this site says the computed answer solves a nearby problem exactly, and the nearby problem is the top matrix: the smallest perturbation of any kind, 1.89·10⁻¹⁷ relative, rank one, and constant along 0.97 of the way to none of its diagonals. The bottom matrix is the smallest perturbation that is itself a symmetric Toeplitz matrix — the same kind of object the problem was posed with — and it is 2.65·10⁻¹³, larger by a factor of 1.41·10⁴. Both explain the same computed answer exactly. Only one of them is a problem anybody could have posed.
rho: 0.5
The arguments are the ones A nearby problem of the wrong kind passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A Kac–Murdock–Szegő matrix at ρ = 0.5, solved by Levinson's recursion. Every backward-error claim on this site says the computed answer solves a nearby problem exactly, and the nearby problem is the top matrix: the smallest perturbation of any kind, 2.17·10⁻¹⁷ relative, rank one, and constant along 0.93 of the way to none of its diagonals. The bottom matrix is the smallest perturbation that is itself a symmetric Toeplitz matrix — the same kind of object the problem was posed with — and it is 3.83·10⁻¹⁵, larger by a factor of 177. Both explain the same computed answer exactly. Only one of them is a problem anybody could have posed.
n: 12
The arguments are the ones A nearby problem of the wrong kind passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A Kac–Murdock–Szegő matrix at ρ = 0.95, solved by Levinson's recursion. Every backward-error claim on this site says the computed answer solves a nearby problem exactly, and the nearby problem is the top matrix: the smallest perturbation of any kind, 2.18·10⁻¹⁷ relative, rank one, and constant along 0.98 of the way to none of its diagonals. The bottom matrix is the smallest perturbation that is itself a symmetric Toeplitz matrix — the same kind of object the problem was posed with — and it is 3.72·10⁻¹², larger by a factor of 1.71·10⁵. Both explain the same computed answer exactly. Only one of them is a problem anybody could have posed.
rho: 0.9
The arguments are the ones The condition number of the model passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A Kac–Murdock–Szegő matrix at ρ = 0.9, solved by Levinson's recursion. Every backward-error claim on this site says the computed answer solves a nearby problem exactly, and the nearby problem is the top matrix: the smallest perturbation of any kind, 1.72·10⁻¹⁷ relative, rank one, and constant along 0.88 of the way to none of its diagonals. The bottom matrix is the smallest perturbation that is itself a symmetric Toeplitz matrix — the same kind of object the problem was posed with — and it is 1.01·10⁻¹³, larger by a factor of 5834. Both explain the same computed answer exactly. Only one of them is a problem anybody could have posed.
What it checked while drawing
Every figure above asserted its own claims on the way to being drawn, and a claim that failed
would have failed the build rather than drawn a wrong picture. Those assertions 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.
7 distinct claims across 5 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.
a Kac–Murdock–Szegő parameter inside the unit interval
a positive definite Toeplitz matrix, whose reflection coefficients stay inside the unit circle
a size at which every entry is still a visible cell
a symmetric Toeplitz perturbation that explains the answer exists
and it cannot be smaller than the smallest of all
and the constrained one is exactly constant along them
the unconstrained one is nowhere near constant along its diagonals
Against the rule
It draws a decomposition and prints its residual. It calls
levinson, structuredBackwardError,
and every figure above carries the badge — which residualcheck verifies by looking
for it in the emitted SVG rather than by finding the call that builds one. A badge that is
constructed and then left out of the body is the failure that check exists for.
Across the library: the rule bites on 113
of 219 generators —
98 print a residual and
15 are exempt with a published reason;
106 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.
A nearby problem of the wrong kind
A good algorithm returns the exact answer to a nearby problem. A hundred and eighteen essays have measured the distance and not one has asked what the nearby problem looks like. On a Toeplitz system it is a rank-one matrix that is constant along none of its diagonals — and the smallest one that is Toeplitz is two and a half million times larger.
Structure, and the solver that cannot see itThe condition number of the model
Describe a 40×40 Toeplitz matrix by its 1,600 entries and its condition number is 78,800. Describe it by the one number it actually contains and the condition number is 61.9. The three decades in between are not an approximation or a bound — they are what κ has been over-stating, and the drop is not where the linear algebra is.