Generator

poly-code

A generator in the computation library, called 8 times across 3 essays. Below: what it draws at its defaults and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

poly-code is one function. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

A degree-2 polynomial over GF(11), and the 7 values sentA grid of the finite field with the polynomial's value at each point marked, and the transmitted symbols picked out.012345678910012345678910sentf(0) = 4f(1) = 8f(2) = 7f(3) = 1f(4) = 1f(5) = 7f(6) = 8the message 4, 1, 3 read as 3x² + 1x + 4 over GF(11), evaluated at x = 0…6all 35 ways of keeping 3 of the 7 values were interpolated and every one returned the message

show: "erase"

4 symbols lost out of 7, and the message recoveredA row of transmitted symbols with some erased, the surviving ones used to interpolate, and the erased ones filled back in.sentreceivedrebuilt444x=08?8x=1777x=21?1x=3111x=47?7x=58?8x=64 of the 7 symbols lost, 3 left, and 3 is all it takes — the message came backexactlywith one fewer survivor, 11 different messages fit the points that remain, which isevery value the missing symbol could take

show: "distance"

The weight of every codeword of a [6, 2] polynomial codeA bar chart of how many codewords have each number of non-zero symbols, with the lightest non-zero weight marked.011234560660how many codewords have that weightweightall 121 codewords weighed: the lightest non-zero one has 5 symbols not zero, and n − k + 1= 5so any two codewords differ in at least that many places, which is the most any code ofthis size can manage

What it checks while it draws

Collected by running the family and recording what it asserted, not written here. The count is how many separate times the claim was put to the test while these drawings were made.

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 · What the figures prove