Paper VIII visual guide · Visual 20 of 32 · CONTINUOUS AND CLIPPED PRECISION

Spend error where it is cheapest

Traditional pp. 27, 28 / Theorem 8.4, Theorem 8.5.

Start reading

Resources & source

Original plate in the visual-guide PDF · Original atlas source

Skip contents and start reading

Take sensitivities \(s=(1,2,4)\), cost coefficients \(c=(1,1,2)\), and budget \(\tau=1\). Minimizing \(\sum_ec_e\log(1/\epsilon_e)\) subject to \(\sum_es_e\epsilon_e=1\) gives

\[ \epsilon_e=\frac{c_e}{4s_e},\qquad \epsilon=(1/4,1/8,1/8). \]
A continuous error budget and clipped choices
Original drawing. Read the description below; expand the labels and data for selectable text.

Reading the drawing

The plotted allocation follows the declared error model and cost data. Bounds on allowable choices clip the continuous solution and must remain part of the optimization.

Drawing labels and data 15 labels

Read the original labels as selectable text. Tables preserve grid relationships; other short labels are grouped compactly.

  • unclipped contributions \(s_e\epsilon_e\)
  • edge 1

\(\frac{1}{4}\)

  • edge 2

\(\frac{1}{4}\)

  • edge 3

\(\frac{1}{2}\)

  • clipped contributions
  • edge 1

\(\frac{1}{10}\)

  • edge 2

\(\frac{3}{10}\)

  • edge 3

\(\frac{3}{5}\)

Both allocations spend exactly one unit of error budget.

Open the full-size drawing

The budget is weighted

The three contributions to the error allowance are \((1/4,1/4,1/2)\). Equal cost coefficients give equal weighted contributions, not equal tolerances. The third edge has twice the cost coefficient of the second, which offsets its doubled sensitivity in this example.

Now impose upper tolerances \(m=(1/10,1/2,1/2)\). The first edge must stop at its tighter cap. With multiplier \(\lambda=10/3\), the clipped solution is

\[ \epsilon_e=\min\{m_e,c_e/(\lambda s_e)\},\qquad \epsilon=(1/10,3/20,3/20). \]

Its weighted contributions are \((1/10,3/10,3/5)\) and still sum to one. The checker verifies the active cap, the multiplier equations, and the budget exactly.

From tolerance to a real data type

The continuous objective is a model. Actual kernels offer discrete precisions and may use different accumulation types. A tolerance below one does not identify a particular hardware format. The finite option program on the next page is the correct next step once admissible costs and error bounds have been supplied.

Read this as

Precision allocation is an optimization over certified sensitivities and costs. It does not infer error bounds from a data-type name alone.

Source and conversion record

The original atlas wording, equations, and drawing labels are retained. Drawings are views of the retained visual-guide PDF. Text descriptions and table headings are added reading aids. This conversion does not rebuild TeX, rerun the examples, audit proofs or compile Lean.

The revised crosswalk binds all 32 plates to the retained PDF. Manuscript links use stable source labels checked against the manuscript. The guide’s “Classical input 7.5” resolves to the manuscript’s “Standard fact 7.5” at the same label.

Conversion checks and source hashes

Notation in Paper VIII

Look up a symbol without leaving this chapter. Select text before opening help to search for it.

Search this work’s notation.

    Symbols can have different meanings in different passages. Read each result in its own context.

    Open the full notation index