Generator

The preconditioned spectrum on four grids (ρ = 0.9)

One function in the bttb library, called 39 times across 7 essays. Below: what it draws at its defaults, what it draws at every value an essay asks for, the 29 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 the preconditioned spectrum on four grids (ρ = 0.9). Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.

cluster-thinning is one function in lib/figures/bttb.js — block toeplitz — the second dimension, where the cluster thins. 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 preconditioned spectrum on four grids (ρ = 0.9)Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.357911110¹grid side meigenvalue of C⁻¹Awithin ½ of onethe cluster grows like the sidem = 4: inside of 169m = 6: inside of 3611m = 8: inside of 6413m = 10: inside of 10017the cluster grows with the sideand the spectrum with the area

Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.

rho: 0.92

The arguments are the ones Four orders of conditioning, and four steps passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The preconditioned spectrum on four grids (ρ = 0.92)Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.357911110¹grid side meigenvalue of C⁻¹Awithin ½ of onethe cluster grows like the sidem = 4: inside of 169m = 6: inside of 3611m = 8: inside of 6413m = 10: inside of 10017the cluster grows with the sideand the spectrum with the area

Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.

rho: 0.85

The arguments are the ones Four orders of conditioning, and four steps passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The preconditioned spectrum on four grids (ρ = 0.85)Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.357911110¹grid side meigenvalue of C⁻¹Awithin ½ of onethe cluster grows like the sidem = 4: inside of 169m = 6: inside of 3611m = 8: inside of 6413m = 10: inside of 10017the cluster grows with the sideand the spectrum with the area

Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.

rho: 0.95

The arguments are the ones Four orders of conditioning, and four steps passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The preconditioned spectrum on four grids (ρ = 0.95)Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.357911110¹grid side meigenvalue of C⁻¹Awithin ½ of onethe cluster grows like the sidem = 4: inside of 169m = 6: inside of 3611m = 8: inside of 6413m = 10: inside of 10017the cluster grows with the sideand the spectrum with the area

Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17 while the number of unknowns goes 16, 36, 64, 100 — so the share clustered falls from 56% to 17%.

rho: 0.9, grids: [8, 9, 10, 11, 12]

The arguments are the ones Four orders of conditioning, and four steps passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The preconditioned spectrum on four grids (ρ = 0.9)Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 13, 15, 17, 19, 21 while the number of unknowns goes 64, 81, 100, 121, 144 — so the share clustered falls from 20% to 15%.791113110¹grid side meigenvalue of C⁻¹Awithin ½ of onethe cluster grows like the sidem = 8: inside of 6413m = 9: inside of 8115m = 10: inside of 10017m = 11: inside of 12119m = 12: inside of 14421the cluster grows with the sideand the spectrum with the area

Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 13, 15, 17, 19, 21 while the number of unknowns goes 64, 81, 100, 121, 144 — so the share clustered falls from 20% to 15%.

rho: 0.98, grids: [4, 6, 8, 10, 12]

The arguments are the ones Four orders of conditioning, and four steps passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The preconditioned spectrum on four grids (ρ = 0.98)Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17, 21 while the number of unknowns goes 16, 36, 64, 100, 144 — so the share clustered falls from 56% to 15%.35791113110¹grid side meigenvalue of C⁻¹Awithin ½ of onethe cluster grows like the sidem = 4: inside of 169m = 6: inside of 3611m = 8: inside of 6413m = 10: inside of 10017m = 12: inside of 14421the cluster grows with the sideand the spectrum with the area

Every eigenvalue of C⁻¹A, drawn as a point above the grid it belongs to, on a logarithmic vertical axis. The shaded band is within half a unit of one. The number of eigenvalues inside it goes 9, 11, 13, 17, 21 while the number of unknowns goes 16, 36, 64, 100, 144 — so the share clustered falls from 56% to 15%.

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.

29 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.

so the share inside falls at m = 6 — checked 6 times

the cluster grows at m = 6 — checked 6 times

a circulant this file builds

a correction and tolerance the sweep runs

a correlation the family is conditioned at

a correlation the sweep draws

a grid the dense eigensolve is affordable on

a grid the sweep runs

a kernel the symbol circulant is drawn for

a kernel the symbol circulant is measured on

a p-norm kernel between the separable and the isotropic

a tolerance the sweep runs

a two-dimensional kernel this file builds

an ε the dial offers

and grows like the side rather than the area

Jacobi needs a symmetric matrix

matmul shapes agree

the similarity transform is symmetric

the two-dimensional operator is positive definite

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.

Structure, and the solver that cannot see it

Four orders of conditioning, and four steps

On a 10×10 grid the two-dimensional kernel's condition number runs from 62 at ρ = 0.5 to 818,561 at ρ = 0.98. The preconditioned step count over the same range runs 18, 21, 21, 22, 21, 19, 18, and the count of eigenvalues the preconditioner actually brings within half a unit of one does not move at all — it is 9, 11, 13, 17 at every correlation the figure will draw.

Structure, and the solver that cannot see it

Six steps were six eigenvalues

A circulant sampled from a separable kernel's symbol held conjugate gradients at eight steps on every grid, because the preconditioned spectrum was six values. Add a fraction ε of the isotropic kernel and the prediction was that the six treads would widen, the count would stay near eight while they stayed under one per cent, and then climb towards the isotropic count. A ten-thousandth of isotropy leaves six clusters at the one-per-cent rule and takes the count from 8 to 13–15; a millionth takes it to 11. The eight steps were finite termination on six distinct eigenvalues, not convergence on six clusters, and once the eigenvalues are distinct what a tread costs is set by its width against the solver's tolerance: at a tolerance of 10⁻⁴ a ten-thousandth of isotropy costs two steps. The widths grow in proportion to ε, and summed tread by tread they account for the climb to within four steps. Past a tenth the mixture is harder than either kernel alone — 37 steps on a 16 × 16 grid against 35 for the isotropic kernel — while its condition number is lower than both.

Structure, and the solver that cannot see it

The part a circulant can cancel

A separable kernel with a small isotropic part was preconditioned by the circulant sampled from the whole mixture's symbol. The cheaper choice keeps only the separable part's symbol and leaves the isotropy as error, and the prediction was that it widens the same treads by about the same amount — the same step count to a thousandth of isotropy — and falls behind past a hundredth. The step count is the same to within one on every grid up to ε = 10⁻³, and the cheaper preconditioner is behind on every grid from ε = 0.1. But it does not widen the same treads. It puts its error on the tread at one, where sixty-four of the hundred eigenvalues sit, widening it 7.6 times as fast as the mixture's symbol does, and it leaves the tread the mixture widens most nine times narrower. The counts agree because conjugate gradients pays for the widest tread's logarithm, not for which tread it is.

Structure, and the solver that cannot see it

The slopes were in the symbols

A separable BTTB kernel with a small isotropic part ε, preconditioned by the separable part's symbol circulant alone, has sixty-four eigenvalues at one that spread as ε grows — 13 times ε wide and shifted 7.7 times ε — while the mixture's own symbol spreads them only 1.7 times ε. Both slopes were predicted to follow, to five per cent, from first-order perturbation of that sixty-four-dimensional eigenspace: the shift as the mean of the perturbation's eigenvalues on it, the width as their spread. The widths come out at 13.372 and 1.732, matching the measurements to four digits. The shift does not come out as the mean, which is 5.77; it comes out as the midpoint of the extremes, 7.671, because that is what the measurement reads. And the decomposition says what the cheap preconditioner costs: the circulant part of the isotropic correction, which the separable symbol leaves in, carries ninety-nine per cent of its width. What looked like first order failing at a hundredth was the tread's centre moving, not its eigenvalues.

Structure, and the solver that cannot see it

The staircase a separable kernel builds

A block-circulant preconditioner took 18, 21, 22, 21, 19 and 18 steps on a 10 × 10 Toeplitz-block-Toeplitz system as the correlation rose from 0.5 to 0.98 and the unpreconditioned count rose from 43 to 178 — the parameter that makes the problem hard was the one the solver did not notice. That kernel factorises. The isotropic kernel with the same correlation along each axis does not, and on it the preconditioned count climbs 17, 22, 27, 29, 33, 36, while the preconditioner buys a factor of 1.4 where it bought ten. The reason is the spectrum's shape: a product of two one-dimensional spectra is a staircase of ten treads, and a kernel that is not a product gives a ramp of thirty-eight.

Structure, and the solver that cannot see it

The symbol that builds the staircase

A block-circulant preconditioner left the isotropic kernel's spectrum a ramp of thirty-eight clusters where the separable kernel's was a staircase of ten, and the proposal was a circulant sampled from the isotropic kernel's own symbol, to gather the ramp into treads of its own. It gathers the separable kernel instead: six clusters at every grid from 4 to 10 and every correlation, sixty-four of a hundred eigenvalues at exactly one, and eight conjugate-gradient steps at every side from 6 to 16 while Chan's circulant climbs from 18 to 28. On the isotropic kernel it shortens the ramp from 38 clusters to 30 and the step count by about a sixth, and both still grow with the grid. The treads come from a Kronecker product, not from a small difference: on both kernels the matrix and its symbol circulant differ in dozens of directions.

Structure, and the solver that cannot see it

Two dimensions, and the cluster that thins

The same kernel, the same averaging, the same transform — applied along two axes instead of one. In one dimension the preconditioned step count is 7, 10, 10, 10; on square grids with the same unknown counts it is 10, 18, 20, 21, and the share of the spectrum near one falls from 56% to 17%.

The whole library · All essays · What must fail