Two rank decisions for one integer: the McMillan degree of a 40-state model
At its defaults it draws two rank decisions for one integer: the mcmillan degree of a 40-state model. Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 9.46·10⁴ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 6714.1 — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 3·10³⁷. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
mcmillan-degree is one function in lib/figures/lti.js —
a model that is a rational function — the degree that is a rank, by two routes that disagree. 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.
Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 9.46·10⁴ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 6714.1 — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 3·10³⁷. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
n: 40
The arguments are the ones A model that is a rational function passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 9.46·10⁴ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 6714.1 — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 3·10³⁷. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
n: 12
The arguments are the ones A model that is a rational function passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 9.53·10⁵ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 666.18 — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 2.7·10³⁶. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
n: 20
The arguments are the ones A model that is a rational function passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 3.51·10⁵ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 1754.1 — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 1.4·10³⁷. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
n: 60
The arguments are the ones A model that is a rational function passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 7.4·10⁴ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 1.4874·10⁴ — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 3.5·10³⁷. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
n: 80
The arguments are the ones A model that is a rational function passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Singular values, each divided by the largest of its own set. The Loewner matrix is built from 32 samples of H on the imaginary axis and never touches A: its 6th singular value stands 2.91·10⁴ above the next, so the rank decision is not a close call. The Hankel matrix of Markov parameters CAᵏB is built from A, B and C — strictly more information — and has no cliff, because those parameters grow like ‖A‖₂ᵏ with ‖A‖₂ = 2.6234·10⁴ — just under 4(n+1)², not the (n+1)² the stencil is scaled by — and its entries span 3.7·10³⁷. It returns 2 where the answer is 6. The definition is not the algorithm, and the route with less information is the one that works.
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.
12 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.
a degree the sampling can resolve
a degree the state dimension can carry
a division by a complex number that is not zero
a grid fine enough to have modes and coarse enough to draw
a state dimension the sweep can afford
an actuator and a sensor on the grid
an even number of samples, at least four
and the Markov-parameter rank is not
enough Markov parameters for the block asked for
LU is for square matrices
matmul shapes agree
the Loewner rank is the degree that was built in
Against the rule
It draws a decomposition and prints its residual. It calls
loewnerDegree, markovDegree,
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 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.
A model that is a rational function
A state matrix has a hundred thousand rows and the thing anyone wants from it is a function of one complex variable. The number that says how much of that size was ever the complexity is a rank — and the rank a derivation writes down cannot be computed, while one built from samples alone can.
Reduction, and what a model is forThe definition asks for more of what defeats it
The rank of a p × p Hankel matrix of Markov parameters resolves a degree of p, and it needs 2p parameters to do it. Those parameters grow like the norm of the state matrix raised to their index, so the count that buys resolution is the same count that buys dynamic range. One model, four run lengths, and a spread that runs from 10¹¹ to 10¹⁰².