Generator

two-norms

One function in the ratkrylov library, called 6 times across 3 essays. Below: what it draws at its defaults, what it draws at every value an essay asks for, the 16 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 each method wins the norm it was designed for, and by less than anyone guesses. Ratios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.

two-norms is one function in lib/figures/ratkrylov.js — matching the function where you choose — interpolation points, the basis they need, and the fixed point. 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.

Each method wins the norm it was designed for, and by less than anyone guessesRatios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.loser's error ÷ winner's error24 states, degree 8, r = 4 · H₂1.007924 states, degree 8, r = 4 · H∞1.155824 states, degree 8, r = 3 · H₂1.012624 states, degree 8, r = 3 · H∞1.232630 states, degree 10, r = 5 · H₂1.004230 states, degree 10, r = 5 · H∞1.123424 states, degree 12, r = 4 · H₂1.019424 states, degree 12, r = 4 · H∞1.2480IRKA wins the average, balanced truncation the maximum, on every systemH₂ to the interpolationH∞ to the bound

Ratios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.

which: "h2"

The arguments are the ones A basis that is the same subspace and not the same thing 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.

Each method wins the norm it was designed for, and by less than anyone guessesRatios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.loser's error ÷ winner's error24 states, degree 8, r = 4 · H₂1.007924 states, degree 8, r = 4 · H∞1.155824 states, degree 8, r = 3 · H₂1.012624 states, degree 8, r = 3 · H∞1.232630 states, degree 10, r = 5 · H₂1.004230 states, degree 10, r = 5 · H∞1.123424 states, degree 12, r = 4 · H₂1.019424 states, degree 12, r = 4 · H∞1.2480H₂, where IRKA wins by 1.9% at mostH₂ to the interpolationH∞ to the bound

Ratios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.

which: "both"

The arguments are the ones Exact at the points that were named 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.

Each method wins the norm it was designed for, and by less than anyone guessesRatios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.loser's error ÷ winner's error24 states, degree 8, r = 4 · H₂1.007924 states, degree 8, r = 4 · H∞1.155824 states, degree 8, r = 3 · H₂1.012624 states, degree 8, r = 3 · H∞1.232630 states, degree 10, r = 5 · H₂1.004230 states, degree 10, r = 5 · H∞1.123424 states, degree 12, r = 4 · H₂1.019424 states, degree 12, r = 4 · H∞1.2480IRKA wins the average, balanced truncation the maximum, on every systemH₂ to the interpolationH∞ to the bound

Ratios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.

which: "hinf"

The arguments are the ones Interpolating at the model’s own poles 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.

Each method wins the norm it was designed for, and by less than anyone guessesRatios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.loser's error ÷ winner's error24 states, degree 8, r = 4 · H₂1.007924 states, degree 8, r = 4 · H∞1.155824 states, degree 8, r = 3 · H₂1.012624 states, degree 8, r = 3 · H∞1.232630 states, degree 10, r = 5 · H₂1.004230 states, degree 10, r = 5 · H∞1.123424 states, degree 12, r = 4 · H₂1.019424 states, degree 12, r = 4 · H∞1.2480H∞, where balanced truncation wins by 25% at mostH₂ to the interpolationH∞ to the bound

Ratios of the loser's error to the winner's, on 4 systems. In H₂ the interpolatory model wins every time, by 0.8%, 1.3%, 0.4%, 1.9% — IRKA satisfies the first-order conditions for that norm and balanced truncation does not. In H∞ balanced truncation wins every time, by 16%, 23%, 12%, 25%, which is the norm its bound is stated in. Both orderings hold on every system, so this is not a coin flip; and the H₂ margin is under two per cent, so a method costing r solves lands within two per cent of one costing two Lyapunov solves in the norm the cheap one optimises. The choice in this field is about cost.

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.

16 distinct claims across 4 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 degree the state dimension can carry

a grid fine enough to have modes and coarse enough to draw

a Lyapunov equation with a solution

a norm this figure has been drawn for

a projection that exists

a reduction that removes something and keeps something

a truncation above the numerical rank of the Gramians

an actuator and a sensor on the grid

an interpolation point that adds a direction

and balanced truncation wins H∞

IRKA wins H₂ on every system

Jacobi needs a symmetric matrix

LU is for square matrices

matmul shapes agree

the projection is biorthogonal as normalised

with an H₂ margin under five per cent

Against the rule

It calls a factoriser without drawing a factorisation (balancedTruncation, reductionError, irka, h2Error), so the rule is written down as not applying, with the reason: the bars are ratios of two measured errors, each a norm of a function obtained through a Lyapunov solve; nothing factorised is displayed and the comparison is the whole figure

The exemption list is the interesting half of the rule rather than an escape hatch — it is where a decision about a figure had to be argued in one line. residualcheck refuses an exemption that is not doing work, and rejected ten of the fifteen written for the expansion's figures on exactly that ground: a figure whose vertical axis is a residual satisfies the rule by construction, and touching a factoriser does not by itself require an entry.

Across the library: the rule bites on 192 of 346 generators — 174 print a residual and 18 are exempt with a published reason; 154 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