Generator

The error that happens before any arithmetic: |g − r| on the target set

One function in the ratapprox library, called 6 times across 1 essay. Below: what it draws at its defaults, what it draws at every value an essay asks for, the 6 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 error that happens before any arithmetic: |g − r| on the target set. γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.2 to 8.99, and its left end is 0.2 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 8.46·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00676. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

approximant-error is one function in lib/figures/ratapprox.js — the problem the solver was given — the approximation committed before the arithmetic. 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 error that happens before any arithmetic: |g − r| on the target setγ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.2 to 8.99, and its left end is 0.2 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 8.46·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00676. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.110¹10⁻⁷10⁻⁵10⁻³distance from the branch point, λ + c|g − r|the eigenvaluesdegree 98 poleschosen, not computedreach0.06left end, from the cut0.2rational, worst8.5·10⁻⁴polynomial, worst0.0068linearisation size, both54committed before the solveand invisible to it

γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.2 to 8.99, and its left end is 0.2 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 8.46·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00676. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

reach: 0.06

The arguments are the ones An error committed before the arithmetic passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The error that happens before any arithmetic: |g − r| on the target setγ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.2 to 8.99, and its left end is 0.2 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 8.46·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00676. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.110¹10⁻⁷10⁻⁵10⁻³distance from the branch point, λ + c|g − r|the eigenvaluesdegree 98 poleschosen, not computedreach0.06left end, from the cut0.2rational, worst8.5·10⁻⁴polynomial, worst0.0068linearisation size, both54committed before the solveand invisible to it

γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.2 to 8.99, and its left end is 0.2 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 8.46·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00676. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

reach: 0.02

The arguments are the ones An error committed before the arithmetic passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The error that happens before any arithmetic: |g − r| on the target setγ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.333 to 8.99, and its left end is 0.0668 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 0.00331; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.0216. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.10⁻¹110¹10⁻⁷10⁻⁵10⁻³10⁻¹distance from the branch point, λ + c|g − r|the eigenvaluesdegree 98 poleschosen, not computedreach0.02left end, from the cut0.067rational, worst0.0033polynomial, worst0.022linearisation size, both54committed before the solveand invisible to it

γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.333 to 8.99, and its left end is 0.0668 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 0.00331; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.0216. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

reach: 0.04

The arguments are the ones An error committed before the arithmetic passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The error that happens before any arithmetic: |g − r| on the target setγ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.266 to 8.99, and its left end is 0.134 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 0.0015; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.0113. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.110¹10⁻⁶10⁻⁴10⁻²distance from the branch point, λ + c|g − r|the eigenvaluesdegree 98 poleschosen, not computedreach0.04left end, from the cut0.13rational, worst0.0015polynomial, worst0.011linearisation size, both54committed before the solveand invisible to it

γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.266 to 8.99, and its left end is 0.134 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 0.0015; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.0113. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

reach: 0.1

The arguments are the ones An error committed before the arithmetic passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The error that happens before any arithmetic: |g − r| on the target setγ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.0661 to 8.99, and its left end is 0.334 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 3.54·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00295. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.110¹10⁻⁷10⁻⁵10⁻³distance from the branch point, λ + c|g − r|the eigenvaluesdegree 98 poleschosen, not computedreach0.1left end, from the cut0.33rational, worst3.5·10⁻⁴polynomial, worst0.003linearisation size, both54committed before the solveand invisible to it

γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from -0.0661 to 8.99, and its left end is 0.334 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 3.54·10⁻⁴; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 0.00295. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

reach: 0.2

The arguments are the ones An error committed before the arithmetic passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The error that happens before any arithmetic: |g − r| on the target setγ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from 0.268 to 8.99, and its left end is 0.668 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 7.42·10⁻⁵; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 6.09·10⁻⁴. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.110¹10⁻⁷10⁻⁵10⁻³distance from the branch point, λ + c|g − r|the eigenvaluesdegree 98 poleschosen, not computedreach0.2left end, from the cut0.67rational, worst7.4·10⁻⁵polynomial, worst6.1·10⁻⁴linearisation size, both54committed before the solveand invisible to it

γ√(λ + c) minus its approximant, plotted against the distance from the branch point at −0.4. The target set runs from 0.268 to 8.99, and its left end is 0.668 from the branch point — a choice made before anything is computed. The rational approximant with 8 poles clustered on the cut reaches 7.42·10⁻⁵; the polynomial of degree 9, which linearises to a matrix of the same size, reaches 6.09·10⁻⁴. Both errors are committed at this stage. No residual computed later contains either of them, because a solver's residual is taken against whichever of these two functions it was handed.

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.

6 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 branch point to the left of the spectrum

a degree the fit can carry

a size the linearisation can afford

a target set that stops short of the branch point

and so is the polynomial one

the rational fit is a fit

Against the rule

It draws a decomposition and prints its residual. It calls fitRational, fitPolynomial, 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.

The whole library · All essays · What must fail