Four candidate singularity tests on three matrices, at n = 40
At its defaults it draws four candidate singularity tests on three matrices, at n = 40. A table of four quantities on three matrices. 0.1·I at n = 40 has a condition number of exactly 1 and a determinant of 10⁻⁴⁰; a matrix with κ = 10¹⁰ normalised to |det| = 1 has a determinant of one. The determinant and its nth root give the wrong verdict on both, the smallest singular value gives the wrong verdict on the normalised matrix because it carries the units, and only σₘᵢₙ/σₘₐₓ is right on all three. A test is read as saying *singular* when its number is below 10⁻⁶; green cells agree with the true verdict and red ones do not.
singularity-tests is one function in lib/figures/determinant.js —
the determinant — the scalar that answers none of the questions it is asked. 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 table of four quantities on three matrices. 0.1·I at n = 40 has a condition number of exactly 1 and a determinant of 10⁻⁴⁰; a matrix with κ = 10¹⁰ normalised to |det| = 1 has a determinant of one. The determinant and its nth root give the wrong verdict on both, the smallest singular value gives the wrong verdict on the normalised matrix because it carries the units, and only σₘᵢₙ/σₘₐₓ is right on all three. A test is read as saying *singular* when its number is below 10⁻⁶; green cells agree with the true verdict and red ones do not.
show: "ts-sign", small: 2
The arguments are the ones A second small value costs the sign nothing passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
6 bits: wrong 0%, certified 100%; 9 bits: wrong 0%, certified 100%; 12 bits: wrong 0%, certified 100%; 15 bits: wrong 0%, certified 100%; 18 bits: wrong 0%, certified 100%; 21 bits: wrong 0%, certified 100%; 24 bits: wrong 0%, certified 100%; 27 bits: wrong 0%, certified 100%; 30 bits: wrong 0%, certified 100%; 33 bits: wrong 0%, certified 100%; 36 bits: wrong 0%, certified 100%; 39 bits: wrong 0%, certified 93%; 42 bits: wrong 0%, certified 30%; 45 bits: wrong 0%, certified 0%; 48 bits: wrong 3%, certified 0%; 51 bits: wrong 48%, certified 0%. The first wrong sign is at 48 bits, and the bound certifies nine in ten to 39.
show: "ts-size"
The arguments are the ones A second small value costs the sign nothing passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
one small: below by 17 at 12, 30 at 24, 42 at 36, 53 at 48; condition 18 at 12, 31 at 24, 43 at 36, 55 at 48; two small: below by 32 at 12, 56 at 24, 80 at 36, 104 at 48; condition 19 at 12, 31 at 24, 43 at 36, 55 at 48; three small: below by 44 at 12, 79 at 24, 116 at 36, 153 at 48; condition 19 at 12, 31 at 24, 43 at 36, 55 at 48, in bits.
show: "ts-err"
The arguments are the ones A second small value costs the sign nothing passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
one small: 1e-12 at 12, 7e-9 at 24, 3e-5 at 36, 1e-1 at 48; two small: 3e-12 at 12, 9e-9 at 24, 6e-5 at 36, 1e-1 at 48; three small: 1e-12 at 12, 8e-9 at 24, 2e-5 at 36, 1e-1 at 48 bits.
show: "ts-axis"
The arguments are the ones A second small value costs the sign nothing passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
one small: 1e-12 at 17 bits below, 7e-9 at 30 bits below, 3e-5 at 42 bits below, 1e-1 at 53 bits below; two small: 3e-12 at 32 bits below, 9e-9 at 56 bits below, 6e-5 at 80 bits below, 1e-1 at 104 bits below; three small: 1e-12 at 44 bits below, 8e-9 at 79 bits below, 2e-5 at 116 bits below, 1e-1 at 153 bits below.
show: "ts-limits"
The arguments are the ones A second small value costs the sign nothing passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
order 4: one small certified to 39 and first wrong at 48, two small certified to 39 and first wrong at 48, three small certified to 39 and first wrong at 45; order 6: one small certified to 36 and first wrong at 45, two small certified to 36 and first wrong at 45, three small certified to 36 and first wrong at 48; order 8: one small certified to 36 and first wrong at 48, two small certified to 36 and first wrong at 45, three small certified to 36 and first wrong at 45.
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.
17 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 count the dial offers
a multiple of the identity is perfectly conditioned at every size
a scale the dial offers
a scale this file draws
a scaling below one, so the determinant underflows rather than overflows
a size the SVD of the small cases can afford
an order and a count this file measures
and Hilbert is the case where both numbers agree that something is wrong
and is ill-conditioned by ten orders of magnitude
and its determinant is exactly cⁿ
at least one row
curves with points on them
every Bareiss division is exact
LU is for square matrices
matmul shapes agree
the constructed matrix has κ = 10000000000
the normalised matrix has a determinant of one
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.
A second small value costs the sign nothing
A determinant's sign computed by LU was found to fail only where the value's relative error reaches one, 45 to 51 bits from singular on a matrix one rank short. Give the matrix a second small singular value and the determinant shrinks by twice as many bits, and the prediction was that the sign would therefore fail at about half the distance, near 24 bits, because a condition number sees only one small value. It fails at 48 bits at order 4 with one small value and at 48 with two, and at 45 with three. The determinant loses one, two and three bits for every bit of distance; the value's error and the condition number lose one, whatever the count. The condition number was seeing exactly what the sign depends on, and the determinant's size was the wrong scale to read it on.
Two errors, and whose fault they areThe number that decides nothing
The determinant is the first scalar anybody attaches to a matrix and the last one worth consulting. A tenth of the identity has a determinant of 10⁻⁶⁰ and a condition number of exactly one. The Hilbert matrix's determinant stops being right at n = 13 and stops being a number at n = 29, and nothing in between reports either.
Two errors, and whose fault they areThe sign is the last digit to go
The number that decides nothing allowed the determinant one use: its sign, which it called a clean integer with no error term, and a fact wherever the input is exact. The input to the classic orientation test is exact, and on a grid of adjacent doubles the sign comes back wrong on 1,712 of 2,304 points, mostly as zero. But a sign does have an error term. A bound costing three multiplications certifies every random triple down to thirty-six bits from the line and is never wrong on anything measured, and on a matrix of order four the sign is right on every draw at forty-five bits from singular, where the value has lost all but two digits. The value goes a digit at a time, and the sign is the last digit.