Manuscript Offprint
arXiv:2609.08054Leveraged Learning: entropy destroyed per bit received
Daniel Chernowitz
September 9, 2026
In 1948 Claude Shannon introduced the world to information entropy [1]. He quantified the amount of information in a signal. What if we wanted to quantify learning in the same spirit, as the increased understanding of a problem? This work is an attempt to follow that thread. It models the problem as a boolean map, and the understanding as the aggregate ability to predict that map. And learning, as the speed at which that understanding increases, specifically as information is supplied to the learner. Some interesting relationships can be formed between the two.
Allow us to enumerate the seminal tenets of this treatise.
-
Learning is the incremental ability to answer questions correctly that follow a pattern.
-
The number of questions reviewed is not the right measure of a learner's investment. What counts is the information received from asking them. Not all questions are created equal: about some, the learner already knows something a priori, and their answers count for less.
-
Conversely, with instincts about the world, one can infer more than a single bit from a yes-no question. One answer settles expectations on any number of yet unseen questions.
-
This ability to extrapolate from prior information is codified here as leverage.
Summary of results
-
Setup. Let there be questions , which can each beget answers , for a total of maps. The true map is , and each candidate map has prior belief . Answers fed one-by-one eliminate maps. We study the surprisal of each answer, vs the remaining entropy over all questions.
-
The answer matrix. What the prior belief predicts at any point in the learning process is the answer matrix, one column per question, holding the total weight of the maps that would answer to . Its column entropies added are everything there is left to learn,
- Leverage. Asking and hearing costs the surprisal and, by culling inconsistent maps , settles some of . The two are not equal and the columns of questions never asked move with every update. Let us have seen questions. The ratio of total reduced uncertainty to surprisal is leverage,
is what we expect from a uniform prior, one bit destroyed per bit paid. Anything above it is deduction: knowledge inferred from a good prior instinct.
- The finite average. Average over the truth and uniformly over the order in which questions arrive. The whole trajectory is then generated by a single sequence, the mean entropy of the answers to questions,
Received surprisal averages to , and what remains is copies of one increment. This is exact at every size and for every prior, with no assumption about where the belief came from. The sequence is a combinatorial function of the prior, summing over the sets of questions and the answer patterns they admit,
- The thermodynamic limit. If we send at a fixed asked fraction . The increments become a profile , the received entropy its integral, and the limit is obtained,
Bounded and nonincreasing is all that is asked of .
- An Occam prior's macroscopic limit. Write a boolean map as a polynomial over and group maps by their degree. Allocate prior weight to shells of varying degrees by a CDF , dividing the uniformly over the maps inside it. A map's weights decrease strictly with degree, making this genuinely Occam, and its macroscopic profile is closed form,
which allows us to model a simplicity bias that permits an explicit TDL.
2 The general case 12 2.1 The answer matrix and the update rule ..... 13 2.2 Entropy bookkeeping ..... 14 2.3 Playing the guiding example ..... 15 2.4 Leverage ..... 21 2.5 Correlators ..... 21 2.5.1 General m ..... 28
3 Expectations 31 3.1 Choosing the questions ..... 35 3.2 The Gibbs complexity prior ..... 36 3.2.1 NAND complexity ..... 36 3.2.2 The ensemble ..... 39 3.2.3 The layered entropy books ..... 40 3.2.4 Trajectories ..... 41
4 The thermodynamic limit 43 4.1 A toy example: the spike prior ..... 43 4.1.1 The two-state renormalization flow ..... 43 4.1.2 The fixed-p thermodynamic limit leverage ..... 46 4.1.3 Exchangeable answers and de Finetti's theorem ..... 48 4.2 Thermodynamic-limit calculus ..... 50 4.2.1 The finite sequence from which the limit is taken ..... 50 4.2.2 A precise macroscopic-limit statement ..... 51
5 Polynomial degree as complexity prior 53 5.1 Polynomials over , and the butterfly ..... 53 5.2 Complexity classes and the sampling rule ..... 56 5.3 Three terms for the leverage average ..... 60 5.3.1 The table entropy ..... 60 5.3.2 The received entropy ..... 61 5.3.3 The increment ..... 65 5.4 The macroscopic curve ..... 67 5.5 Toy statistics: min and max draws ..... 68
6 Next steps 72 6.1 Stochastic truth maps ..... 72 6.2 A prior that is wrong ..... 72 6.3 Designing a curve, shell by shell ..... 72 6.4 Measuring leverage in a real learner ..... 73
Appendices 74
A More characteristics of the spike prior 75 A.1 One question, branch by branch . . . . . . . . . . . . . . . . . . . . . . . . . . 75 A.2 The extraction ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 A.3 The sharp-prior limit and the order of limits . . . . . . . . . . . . . . . . . . . 77 B Block priors and the Bernstein profile language 79 B.1 Independent blocks of questions . . . . . . . . . . . . . . . . . . . . . . . . . . 79 B.2 Block laws and their map priors . . . . . . . . . . . . . . . . . . . . . . . . . . 81 B.3 Bernstein polynomials as a profile language . . . . . . . . . . . . . . . . . . . 82 B.4 Leverage curves at finite n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 C Computing the circuit complexities 85 D Symbols 86 4
1 A thought experiment
Let us start with a small thought experiment, by introducing Werner the learner (Figure 1).

Figure 1: Werner the learner.
In this work, we model learning as the increased ability to give the correct answer to questions, as more of the ground truth is revealed. It is Werner's job to learn a pattern. The most basic shape of a pattern is a binary map, and the most basic binary map is a map from one bit to one bit.
The setup of the experiment:
-
a question ;
-
an answer ;
-
the truth , the one fixed map nature uses to answer questions. is unknown to Werner. By definition .
There are exactly four candidate maps that could be (Table 1): each of the two inputs can be sent to either of the two outputs, independently. We index them by reading the truth table as a binary numeral: that number is .
| name | |||
|---|---|---|---|
| 0 | 0 | 0 | constant 0 |
| 1 | 0 | 1 | NOT () |
| 2 | 1 | 0 | identity () |
| 3 | 1 | 1 | constant 1 |
Table 1: The four binary maps from one bit to one bit.
1.1 An unintelligent learner
Now, if Werner is unintelligent, he has no preconceived notion of which maps are more useful, more likely, or somehow more logical than others. In practice, we would have to tell Werner the answer to every single question , before he has learned the whole pattern.
We model this with a uniform prior: writing for Werner's belief, every candidate map carries the same weight.
EXAMPLE 1
For the four maps at hand:
What does this belief predict? For each question separately, we can tabulate the probability of each possible answer : it is the total belief sum of the maps that would answer to ,
Arranged with one row per answer ( from the top) and one column per question ( from the left, descending like the digits of the numeral convention), these numbers form the matrix . Each column is a probability distribution over answers, so is column-stochastic. Werner reads it as follows: find the column of the question at hand. It's the marginal distribution over answers, according to his belief.
EXAMPLE 2
Under the uniform prior, two of the four maps answer 0 and two answer 1, at either question:
Every column is a fair coin: the unintelligent Werner predicts nothing about any answer before it is revealed.
Werner gets to predict the answer to the question . By his own belief it is a coin toss: . Let us say the answer comes back . The surprisal of this answer, to Werner, is 1 bit, because the probability he assigned to it was one half.
In general, when an event that a belief holds with probability actually occurs, its surprisal is
here for answer arriving at question . Surprisal measures how much the received information deviates from what was already expected: an answer held certain carries 0 bits: nothing new. A coin toss carries exactly 1 bit; and the surprisal grows without bound as the answer gets more unexpected, . It is additive: the surprisal of two independent events occurring is the sum of their surprisals, just as their probabilities multiply.
Moreover, Werner can use a process of elimination (an extreme form of Bayes' rule) to update his prior into a posterior. Semantically: every candidate map that would have answered the question wrongly is now ruled out, not merely disfavored. They are inconsistent with what's been learned.
EXAMPLE 3
The truth answered 1 at , and a map with cannot be . This kills the constant-0 map and the identity . The two survivors, NOT and constant 1 , both predicted the observed answer, so this round of evidence does not distinguish between them at all (Table 2).
| name | |||
|---|---|---|---|
| 0 | 0 | 0 | constant 0 |
| 1 | 0 | 1 | NOT () |
| 2 | 1 | 0 | identity () |
| 3 | 1 | 1 | constant 1 |
Table 2: The surviving candidate maps after the answer .
The surviving ratio of believabilities must be preserved, and the only update that does so is to renormalize the surviving weights to sum to one. (This is Bayes' rule with a likelihood: , and is 1 for a map that answers and 0 for a map that does not.)
EXAMPLE 4
The posterior is
Constructing the new answer matrix from by the same recipe as before:
M' = \begin{array}{c|cc}{{{a}}}&{{{q}}} \\{{{\hline 0}}}&{{{1}}}&{{{0}}} \\{{{\mathbf{1}}}}&{{{p_{0}^{\prime}+p_{1}^{\prime}}}}&{{{p_{0}^{\prime}+p_{2}^{\prime}}}} \\{{{\hline}}}&{{{p_{2}^{\prime}+p_{3}^{\prime}}}}&{{{p_{1}^{\prime}+p_{3}^{\prime}}}} \end{array} = \begin{array}{c|cc}{{{a}}}&{{{q}}} \\{{{\hline 0}}}&{{{1}}}&{{{0}}} \\{{{\mathbf{1}}}}&{{{\frac{1}{2}}}}&{{{0}}} \\{{{\hline}}}&{{{1}}}&{{{\frac{1}{2}}}}&{{{1}}} \end{array}. \tag{7}Indeed, Werner knows the answer to : that column has collapsed onto . He is still as agnostic as possible about the other answer: the column remains a fair coin. He gained 1 bit of surprisal information, and cleaned up his table to the tune of 1 bit: the column went from a full bit of answer-uncertainty to none, while the column is unchanged.
After the next question, , he learns , again a coin toss beforehand (), so again worth 1 bit of surprisal. Elimination now rules out NOT , leaving a single survivor:
p'' = (0, 0, 0, 1), \qquad M'' = \begin{array}{c|cc}{{{a}}}&{{{q}}} \\{{{\hline 0}}}&{{{1}}}&{{{0}}} \\{{{\mathbf{1}}}}&{{{0}}}&{{{0}}} \\{{{\hline}}}&{{{1}}}&{{{1}}} \end{array}. \tag{8}So this is the constant map: . Werner is done. Every column is one-hot, and he will be able to answer all questions correctly from now on.
1.2 Intelligent priors
Now, let us assume that Werner knows something about the world before he starts.
EXAMPLE 5
Let's restart, with a different . Moreover, let Werner know the map is not constant. His belief then spreads evenly over the two remaining candidates, NOT and the identity :
Is he any better at predicting ? Constructing by the usual recipe:
M = \begin{array}{c|cc}{{{\mathbf{a}}}}&{{{\mathbf{q}}}} &{{{1}}}&{{{0}}} \\{{{\hline \mathbf{0}}}} &{{{p_{0}+p_{1}}}} &{{{p_{0}+p_{2}}}} \\{{{\mathbf{1}}}} &{{{p_{2}+p_{3}}}} &{{{p_{1}+p_{3}}}} \end{array} = \begin{array}{c|cc}{{{\mathbf{a}}}} &{{{\mathbf{q}}}} &{{{1}}}&{{{0}}} \\{{{\hline \mathbf{0}}}} &{{{\frac{1}{2}}}} &{{{\frac{1}{2}}}} \\{{{\mathbf{1}}}} &{{{\frac{1}{2}}}} &{{{\frac{1}{2}}}} \end{array}. \tag{10}He is still just as bad as before: every column a fair coin.
So what has all this veteran wisdom about the nature of patterns in the world bought him? His increased ability for inference.
EXAMPLE 6
Ask as the first question, and let the answer again come back . Again a coin toss beforehand, so again worth exactly 1 bit of surprisal. Elimination rules out the identity , and the lone survivor is NOT:
p' = (0, 1, 0, 0), \qquad M' = \begin{array}{c|cc}{{{\mathbf{a}}}}&{{{\mathbf{q}}}} &{{{1}}}&{{{0}}} \\{{{\hline \mathbf{0}}}} &{{{1}}}&{{{0}}} \\{{{\mathbf{1}}}} &{{{0}}}&{{{1}}} \end{array}. \tag{11}This time both columns collapse at once. Werner received the same single bit of surprisal as before, but cleaned up 2 bits of table: the answer at he observed, and the answer at he deduced, without ever asking. Pre-empting the constants means , so his prior held the two answers perfectly anticorrelated, and settling one settles the other. He is done after one question instead of two.
We say the information from the first answer was leveraged. We will make this more precise in the upcoming chapters.
1.2.1 A one-parameter world
For more structure, let us relax the claim that there are no constant maps. Instead, we create a one-parameter world where the prior probability that the map is constant is , spread evenly within each class (Table 3):
| name | ||||
|---|---|---|---|---|
| 0 | 0 | 0 | constant 0 | |
| 1 | 0 | 1 | NOT | |
| 2 | 1 | 0 | identity | |
| 3 | 1 | 1 | constant 1 |
Table 3: The one-parameter prior: constant with probability .
In vector form, and with the answer matrix constructed by the usual recipe:
fair coins in every column, for every value of p.
How much is there to learn, in total? We account for the table as a whole by declaring entropy extensive over the columns. That is, the answer-uncertainties of the columns simply add:
Here both columns are fair coins carrying 1 bit each, so the table starts at its maximum: bits.
Now let us ask a question. Again we could use ; by the symmetry of the prior it actually does not matter for this argument. And we are now going to talk about expected values, instead of realized ones: averages over the possible maps, denoted . We must assume our prior is a priori correct: if we had better assumptions, we would have put them in the prior. In other words, we model nature to draw the truth from the very distribution Werner believes. Therefore, the average over simply zips with the weights: .
How much surprisal should Werner expect from asking a question ? The answer comes back exactly when the truth answers , which under the zipped average happens with probability - the very probability Werner assigned to it - and when it does, it costs him of surprisal. Grouping the average over maps by the answer each map gives:
The right-hand side is exactly the column entropy of equation (13): the expected surprisal of a question is the entropy of its column.
Each answer occurs with exactly the probability Werner assigned to it, so his average surprisal is his own uncertainty about that answer. This identity will do a great deal of work in what follows.
For a two-answer column, this entropy is a function of a single number, the probability x of one of the two answers: the binary entropy function [2]:
zero at (a settled answer) and maximal, 1 bit, at the fair coin . For the first question here the column is a fair coin, so
whatever the value of p.
And the other column is now cleaned up. Breaking the update down over the possible maps: with probability the answer is 1 (truth is NOT or constant 1), with probability it is 0 (truth is FALSE or the identity), and
Either way, the asked column is one-hot and the unasked column is a coin of bias p: what survives on q = 1 is precisely the class uncertainty “constant or not”. The total entropy of the table is now
a reduction of bits, purchased with a single bit of surprisal. Define the leverage after one question as the ratio of table entropy destroyed to surprisal received:
The expected surprisal on the second question is, once more, the entropy of its column,
after which the table is empty. Cumulatively over the two questions, bits of received information reduced the table by the full 2 bits it started with, so the cumulative leverage after two questions is
Our knowledge about the world has allowed us to be more certain after our inference. Set , and the prior is the uniform one of Section 1.1: , , and nothing is leveraged at all. As skews further from , the first question unlocks more. The second question carries less and less expected information, and Werner's potential for learning from it goes down with it. The column it could clean up is nearly settled already. In the limit , we recover the non-constant world from the start of Section 1.2. There is no surprisal and no improvement to left in the second question at all: it contributes nothing to denominator or numerator, and . Figure 2 traces all three curves between these extremes.


Figure 2: The one-parameter world as a function of the constant-map probability . Left: the table entropy remaining after one question, in bits. Right: the one-question leverage and the cumulative leverage after both questions. At (the uniform prior) nothing is leveraged; toward the deterministic-class extremes the first answer doubles its value.
In general, in a larger world, if there are questions to disagree on between the two maps, the reader can convince themselves that the limit as is .
2 The general case
Now let us give the definitions in full generality. Let questions be bit strings of length , and answers bit strings of length :
where is the binary field. We write the sizes of those two sets without bars,
so there are distinct questions and possible answers to each. As before, we read bit strings as the numbers they spell, using the two interchangeably: and . The truth is one of the candidate maps ; since each of the inputs can be sent to any of the outputs independently, there are
of them, and the index is again the truth table read as a numeral, now with digits in base : , running from the constant-0 map to the constant- map . Werner's belief is a distribution over all of them, .
EXAMPLE 7
The example we will use to guide the general case is , , which has maps: every boolean function of the two input bits , with represented as , or read as an ordinary binary number, . Each in Table 4 is shown as its truth table, printed in descending question order (11,10,01,00) so that the answer to question occupies the digit of weight . The printed string is exactly in binary (e.g. AND, which answers 1 only to , reads 1000, so it is ). Alongside we conjure an arbitrary prior for illustration.
| name | ||||||
|---|---|---|---|---|---|---|
| 11 | 10 | 01 | 00 | |||
| 0 | 0 | 0 | 0 | 0 | FALSE (constant 0) | 0.394 |
| 1 | 0 | 0 | 0 | 1 | (NOR) | 0.010 |
| 2 | 0 | 0 | 1 | 0 | 0.010 | |
| 3 | 0 | 0 | 1 | 1 | 0.010 | |
| 4 | 0 | 1 | 0 | 0 | 0.131 | |
| 5 | 0 | 1 | 0 | 1 | 0.010 | |
| 6 | 0 | 1 | 1 | 0 | (XOR) | 0.010 |
| 7 | 0 | 1 | 1 | 1 | (NAND) | 0.010 |
| 8 | 1 | 0 | 0 | 0 | (AND) | 0.213 |
| 9 | 1 | 0 | 0 | 1 | (XNOR) | 0.092 |
| 10 | 1 | 0 | 1 | 0 | (projection) | 0.040 |
| 11 | 1 | 0 | 1 | 1 | (IF THEN) | 0.010 |
| 12 | 1 | 1 | 0 | 0 | (projection) | 0.010 |
| 13 | 1 | 1 | 0 | 1 | (IF THEN) | 0.030 |
| 14 | 1 | 1 | 1 | 0 | (OR) | 0.010 |
| 15 | 1 | 1 | 1 | 1 | TRUE (constant 1) | 0.010 |
Table 4: The guiding example: all 16 maps of the , hypothesis space, with a contrived prior ().
2.1 The answer matrix and the update rule
The answer matrix is defined by the same rule as before: the total belief in the maps that would answer a to q:
now an matrix, still with each column a probability distribution over the possible answers: column-stochastic.
It is worth taking a moment to describe the constitution of this matrix. Because of the enumeration of (the index is the truth table) the answer matrix has a natural structure: it is the contraction of the belief vector with a fixed tensor with entries , summed along the map index,
The second form is pure arithmetic on the index: by the numeral convention, is nothing but the -th digit of in base . For this reduces to: bit of equals . So we never need to store : we read membership of in the entry directly off the digits of . Just as well: is astronomically large for even moderate and . The tensor is moreover sparse and perfectly regular: each question-slice ( fixed) holds exactly nonzero entries: every map answers exactly one , and the maps divide evenly over the answer rows, apiece. Within a slice the nonzero row follows the odometer pattern of a numeral system: runs of consecutive share a digit, cycling through all rows with period .
The odometer pattern gives every entry of the same compact closed form: for , bit of equals 0 exactly when , and equals 1 otherwise.
EXAMPLE 8
Each entry of collects the eight maps from two to one bit of Table 4 whose truth tables carry the right digit. Filling in the entries - note the period halves column by column. The outer columns are written in their simplified forms, being simply and simply “ even”.
\begin{aligned}M&=\begin{array}{c|cccc}{{{a}}}&{{{q}}} \\{{{\hline0}}} \\{{{1}}}\end{array}\begin{vmatrix}{{{11}}}&{{{10}}}&{{{01}}}&{{{00}}} \\{{{\sum_{j<8}p_{j}}}}&{{{\sum_{j\bmod8<4}p_{j}}}}&{{{\sum_{j\bmod4<2}p_{j}}}}&{{{\sum_{j\text{even}}p_{j}}}} \\{{{\sum_{j\geq8}p_{j}}}}&{{{\sum_{j\bmod8\geq4}p_{j}}}}&{{{\sum_{j\bmod4\geq2}p_{j}}}}&{{{\sum_{j\text{odd}}p_{j}}}}\end{vmatrix}\\&=\begin{array}{c|cccc}{{{a}}}&{{{q}}} \\{{{\hline0}}} \\{{{1}}}\end{array}\begin{vmatrix}{{{11}}}&{{{10}}}&{{{01}}}&{{{00}}} \\{{{0.585}}}&{{{0.779}}}&{{{0.890}}}&{{{0.818}}} \\{{{0.415}}}&{{{0.221}}}&{{{0.110}}}&{{{0.182}}}\end{vmatrix}.\end{aligned} \tag{27}The update rule also carries over verbatim. When question is asked and the answer comes back, the process of elimination reads, in one formula,
The Kronecker delta performs the elimination. Only maps that agree with survive and the division renormalizes the survivors, whose total prior mass is exactly by equation (25). Note that one and the same number prices the answer and funds the update: the event arrives with the probability , costs Werner bits of surprisal, and its belief mass becomes the normalization. Every update shrinks the support by , radically thinning, especially for large . The survivors live on a block-wave in -space. The map determines the offset and frequency. The total set of survivors depends on the set of asked questions, those that fell through the slits, not the order: updating commutes. This is illustrated in the example below.
EXAMPLE 9
Figure 3 makes the process visual for : a schematic prior over maps, drawn as vertical lines with thickness representing weight. Each answer stops 3 out of every surviving lines: maps whose truth tables carry a wrong digit at the asked question. Renormalization inflates the weight of the rest, so the total probability is always unit. Four questions cut , and the last line standing is the truth. Note the regularity of the cull: each answer keeps a single residue class of , so the cadence of the survivors is regular.

Figure 3: The update rule as a cull, for . All 256 candidate maps start as vertical lines under a schematic prior. The truth is the bitwise negation (, “0123” base 4), and the four questions are asked in the order 00, 10, 01, 11 (“0, 2, 1, 3” base 4). Each answer terminates the 3/4 of surviving maps whose truth-table digit at the asked question disagrees. Every survivor’s thickness, proportional to its weight, is rescaled by the renormalization factor of that update, preserving their ratios. After four questions a single map remains. Interestingly, the first cull’s survivors are evenly spaced because it’s the “smallest” question. After the three smallest , even spacing returns.
2.2 Entropy bookkeeping
The total entropy of the table is extensive over the columns, exactly as in equation (13):
(29) each column carrying at most bits (a uniform spread over its answers). The ceiling is the size of the entire truth table in bits, and it is attained precisely (but not exclusively) by the uniform prior: maximal ignorance prices every answer at full cost.
The belief itself carries an entropy as well, and we give its gap to the table a name:
, Werner's uncertainty about the identity of the truth, obeys the same ceiling: a distribution over N maps has entropy at most , attained again by the uniform prior. The information in the prior is not directly useful for prediction, but it is good to track.
Why is ? The answers jointly determine the map, so is the joint entropy of all answers, while sums their marginal entropies and a joint entropy never exceeds the sum of its marginals. Hence , and the gap , the total correlation of the answers, is nonnegative: knowledge stored in correlations between answers, invisible to every single column of .
We choose this convention for because in the ignorant case
-
is the total amount of information we must collect from questions to settle the map.
-
, so the ignorance agrees in both bases, without correlations.
Therefore, the scaling is sensible. How these quantities respond to an intelligent prior is the main question of this work.
2.3 Playing the guiding example
Let us watch these ledgers in motion by playing the guiding example through all four questions. Werner can compute two forecasts for every unasked question, in advance, from alone: the expected surprisal , which by equation (14) is the entropy of that question's column, and the expected drop of the whole table if that question is asked next. This is the average over possible , weighted by their probability (according to ):
where is the table after the update rule (28) processes answer a to question q. We know the entropy of column q will drop to zero, ditching entropy from M. But other columns will also respond. The excess of the second over the first is the expected transfer to unasked columns, and it can only be paid out of correlations. We append both forecasts as extra rows under M.
EXAMPLE 10
Werner's belief is the prior of Table 4 as before. He plays greedily: always asking the question with the largest forecast reduction in matrix entropy. The truth is AND .
Question 1. The starting state:
| 11 | 10 | 01 | 00 | |
|---|---|---|---|---|
| 0 | 0.585 | 0.779 | 0.890 | 0.818 |
| 1 | 0.415 | 0.221 | 0.110 | 0.182 |
| 0.979 | 0.762 | 0.500 | 0.684 | |
| 1.104 | 0.800 | 0.544 | 0.801 |

To see where the forecast entries come from, take : the answer arrives with probability and would drop from 2.925 to 1.569; the answer arrives with probability 0.415 and drops it only to 2.178, so
EXAMPLE 11
Both forecast rows point to : it is the closest thing to a coin on offer () and moves the whole table most, by a wide margin. Part of is just itself. Werner asks it, and nature answers (probability 0.415, surprisal ). Eight maps die:
| name | ||||
|---|---|---|---|---|
| 0 | 0 | FALSE (constant 0) | 0.394 | |
| 1 | 0 | (NOR) | 0.010 | |
| 2 | 0 | 0.010 | ||
| 3 | 0 | 0.010 | ||
| 4 | 0 | 0.131 | ||
| 5 | 0 | 0.010 | ||
| 6 | 0 | (XOR) | 0.010 | |
| 7 | 0 | (NAND) | 0.010 | |
| 8 | 1 | (AND) | 0.213 | 0.513 |
| 9 | 1 | (XNOR) | 0.092 | 0.222 |
| 10 | 1 | (projection) | 0.040 | 0.096 |
| 11 | 1 | (IF THEN) | 0.010 | 0.024 |
| 12 | 1 | (projection) | 0.010 | 0.024 |
| 13 | 1 | (IF THEN) | 0.030 | 0.072 |
| 14 | 1 | (OR) | 0.010 | 0.024 |
| 15 | 1 | TRUE (constant 1) | 0.010 | 0.024 |
The ledger:
Werner received 1.269 bits but destroyed only 0.748 bits of table. Correlations point the right way only on average, not on every draw. In this case, Werner got the much less informative branch, and paid the premium price for it. The destroyed-per-received ratio of this round is 0.589: well below 1, anti-leverage.
Question 1 is a reminder that the forecast rows are expectations: they hold on average over many repetitions of the experiment, and only if the world really does draw its truth from Werner's prior. On any single run the realized numbers are free to deviate.
EXAMPLE 12
Question 2. The state after the collapse, with fresh forecasts:
| a \ q | 11 | 10 | 01 | 00 |
|---|---|---|---|---|
| 0 | 0 | 0.855 | 0.831 | 0.658 |
| 1 | 1 | 0.145 | 0.169 | 0.342 |
| — | 0.596 | 0.655 | 0.927 | |
| — | 0.670 | 0.677 | 0.983 |

Greedy Werner picks . Nature answers , which is the answer Werner favored (probability 0.658), so the surprisal is only bits. Four of the eight die:
| name | ||||
|---|---|---|---|---|
| 8 | 0 | (AND) | 0.513 | 0.780 |
| 9 | 1 | (XNOR) | 0.222 | — |
| 10 | 0 | (projection) | 0.096 | 0.147 |
| 11 | 1 | (IF THEN) | 0.024 | — |
| 12 | 0 | (projection) | 0.024 | 0.037 |
| 13 | 1 | (IF THEN) | 0.072 | — |
| 14 | 0 | (OR) | 0.024 | 0.037 |
| 15 | 1 | TRUE (constant 1) | 0.024 | — |
The ledger:
This time 1.113 bits are destroyed for 0.604 received. Where did the extra 0.509 come from? Partly from the favored answer arriving - the belief dropped 1.058 against only 0.604 paid - and partly from the store: fell by 0.055. Step ratio 1.842. Cumulatively, however, 1.860 destroyed per 1.873 received gives a leverage of 0.993 after 2 steps: still a hair below 1. Even a strong second round has not quite repaid the expensive shock of question 1.
Why track , when its step-by-step changes visibly do not match the amounts deduced? Because on a single realized run the deduced part has two sources, and is the only quantity that separates them. Writing for the realized drops in one step,
an identity, since at every stage. The windfall is luck: the realized surprisal undershooting (or overshooting) the realized drop in belief entropy. Windfall is zero in expectation. The tower term is structure: a genuine withdrawal from the correlation store, and the channel with a global guarantee. Over a complete run its withdrawals sum to exactly the initial , while the windfalls average away.
EXAMPLE 13
Question 3. Two questions remain:
| aq | 11 | 10 | 01 | 00 |
|---|---|---|---|---|
| 0 | 0 | 0.927 | 0.817 | 1 |
| 1 | 1 | 0.073 | 0.183 | 0 |
| — | 0.378 | 0.687 | — | |
| — | 0.408 | 0.717 | — |

Greedy Werner picks ; nature answers (probability 0.817, surprisal ). Two die:
| name | ||||
|---|---|---|---|---|
| 8 | 0 | (AND) | 0.780 | 0.955 |
| 10 | 1 | (projection) | 0.147 | — |
| 12 | 0 | (projection) | 0.037 | 0.045 |
| 14 | 1 | (OR) | 0.037 | — |
The ledger:
Again a bargain: 0.801 destroyed for a mere 0.292 received, and the cumulative ratio finally clears unity, at 1.229. And note that has dropped to zero.
measures correlations that are not visible from . If there’s only one unknown column, there’s nothing to infer. Put another way, usually, the binary maps are an overcomplete basis for , because their number . Expressing as a linear combination of maps drops knowledge. That’s not the case once learning has reduced the number of free parameters to one each.
EXAMPLE 14
Question 4. One question, one heavily loaded coin:
| a \ q | 11 | 10 | 01 | 00 |
|---|---|---|---|---|
| 0 | 0 | 0.955 | 1 | 1 |
| 1 | 1 | 0.045 | 0 | 0 |
| — | 0.264 | — | — | |
| — | 0.264 | — | — |

The two forecasts now coincide: with there is no transfer left to hope for, and the last question can only be observed, not leveraged. Nature answers (probability 0.955, surprisal ):
| name | ||||
|---|---|---|---|---|
| 8 | 0 | (AND) | 0.955 | 1.000 |
| 12 | 1 | (projection) | 0.045 | — |
The ledger closes:
The truth is AND. The step destroyed 0.264 for 0.066 received (ratio 3.990) - not deduction this time, but luck: the destroyed amount was fixed in advance (the column's full entropy), while the realized surprisal undershot it because the likelier answer arrived. In the split of equation (34): pure windfall, tower 0.
EXAMPLE 15
Cumulatively: 2.925 bits of table destroyed, all of it, for 2.231 bits of surprisal received: a run ratio of 1.311. Most of the realized 1.311 was luck, not intelligence. Figure 4 stacks the bits after each question: what uncertainty remains, plus what was received. Once it dips below the starting entropy, our prior has done net work.

Figure 4: The realized run through the guiding example: remaining table entropy plus cumulative surprisal received, after each question, against the initial total (dashed). The gap between each stack and the line is the cumulative deduced part. At the stack tops out 0.521 bits above the line - the negative deduction of question 1, plainly visible. At the stack still grazes the line from above (0.013 bits); only from on do the stacks fall short of it, as genuine deduction overtakes the early loss.
2.4 Leverage
If the prior is good, meaning it actually models reality (the prevalence of maps), we expect graphs such as Figure 4 to drop as questions come in. The ratio of table entropy destroyed per bit of surprisal received deserves a name.
The leverage. Run the protocol for rounds: questions are asked, the answers are each processed by the update rule (28), producing the tables , and round costs the surprisal . The cumulative leverage after rounds is the table entropy destroyed per bit of surprisal received:
A leverage of 1 is the uniform-prior baseline: every bit of table entropy destroyed was paid for at face value, one bit of surprisal each. Anything above 1 is deduction: table entropy removed without ever being observed.
2.5 Correlators
This section can be skipped on a first reading: the later chapters do not depend on it.
What kind of operator is the update rule (28)? In map space it is as simple as an operator gets: multiplication by a diagonal 0/1 mask, then renormalization. But there is a change of basis in which the same operation becomes a convolution with a two-term kernel, and in which the correlation store stops being a single number and becomes visible coordinate by coordinate. The main advantage is that the effect of each update is well tabulated beforehand into a small number of targeted parameters.
This section builds that basis for ; the final paragraph deals with general . First, re-encode each answer as a spin,
so answer and . A pure relabeling, but it buys the one algebraic fact everything below turns on: .
The Walsh–Hadamard transform is built from a single matrix. For one bit,
EXAMPLE 16
Acting on a one-bit distribution,
row computes the normalization, row the spin bias. Distribution in, correlators out.
The normalization riding along is a redundancy. The original distribution also carries one variable more than its degrees of freedom.
EXAMPLE 17
Tensoring two copies (the case) does the same for two bits at once:
The Kronecker product multiplies signs, so for any number of tensor factors the entry at row , column is
with the -th bits of the row and column indices; every further tensor factor appends one more bit.
For a map is its truth table of bits (the numeral ) so Werner's belief is a vector of length , and one transform computes every correlator at once:
Each row computes the correlator of one subset of questions. In the subscript we may encode the set as its mask: written in the same descending question order as everywhere else, bit of the subscript records whether . The row index of the matrix, read as a numeral, is the mask.
EXAMPLE 18
For , the question order is so is the correlator of .
the sixteen rows of probe the sixteen subsets of . A few entries of the dictionary:
| mask | set | correlator |
|---|---|---|
| 0000 | (normalization) | |
| 0001 | ||
| 1000 | ||
| 0110 | ||
| 1111 | , the full parity |
Sort the correlators by , the number of questions probed, into shells. Shell 0 is the normalization, , riding along as a correlator. Shell 1 is in different clothes:
the bias of column . For , we see that, elegantly, the first shell correlators are the distance from fair coins. A prior invariant under negating every answer simultaneously sends , so all its odd shells vanish identically, shell 1 among them: such a prior has an agnostic matrix .
Shell 2 holds the agreement biases of pairs of questions, knowledge cannot see: two priors can share every column of and differ here. Higher shells store subtler and subtler parity knowledge. Nothing is lost in the sorting: , so . The transform is its own inverse up to a factor , and knowing every correlator is knowing the belief. The ledger also gives a signature: a product prior () factorizes every correlator, , so its upper shells repeat what shell 1 already said; correlated knowledge is precisely non-factorizing correlators.
EXAMPLE 19
The prior of Table 4 transforms to the ledger
| shell | correlators |
|---|---|
| 0 | |
| 1 | , , , |
| 2 | , , , , , |
| 3 | , , , |
| 4 |

Shell 1 reproduces the columns of equation (27): , and likewise 0.779, 0.890, 0.818. The negative entry says questions 11 and 10 disagree slightly more often than they agree; every other pair leans toward agreement. This is a reflection of the strong coherent 0-preference encoded in the prior. A prior leaning toward 1 would give a negative shell 1.
Now look at the rows of as functions of . They are block waves. The observation mask is built of the same material:
a 0/1 block wave: one constant plus one Hadamard row. And multiplication and convolution swap under this transform exactly as under Fourier: multiplying two functions of pointwise convolves their ledgers. And the observation mask's ledger has only two nonzero entries - at and at - so this convolution is no great sum: it combines each correlator with exactly one other.
The update rule, carried out entirely in the ledger, is therefore that two-term combination, followed by renormalization by the new shell 0. In index notation, learning sends every set to
where is with the membership of toggled: is added if absent, removed if present (on masks, bit is flipped). The numerator is the monomial algebra of : multiplying by toggles 's membership of the product, so every correlator is averaged with its partner: the correlator differing by , signed by the answer. The denominator is the instance of the numerator, and by equation (41) it equals : the same number that priced the answer in equation (28) renormalizes the ledger.
EXAMPLE 20

Figure 5: The update rule in the ledger, drawn for the guiding example's first question (). Every set is paired with the partner whose membership of 11 is toggled (arrows); each pair is averaged with the answer's sign and renormalized, per equation (43). The pair at the orange-bordered asked set fixes the normalization and saturates the asked bias; each blue double arrow averages a pair into both of its members, and the net flow of structure is one shell down, toward . The thin gray arrows from the asked to every other pill are a reminder that this sets the renormalization. The fill encodes each prior value to scale: darker is larger, orange is negative.
Read formula (43) by cases:
-
: partner , giving . Normalization is preserved.
-
, the asked question: partner , giving . The bias saturates to certainty - the one-hot collapse of column , derived rather than decreed.
-
, an unasked question: the partner is the pair , and one line of algebra puts the shift in terms of the connected correlator:
Unasked columns move in proportion to their covariance with the asked question: knowledge stored one shell up descends into the predictions. A product prior has zero covariance everywhere, so its unasked columns are frozen - the “ means no transfer” fact, now a one-line consequence.
- Higher shells: the same cascade. Each update marries shell- sets containing to shell- sets without it; whatever structure was stored jointly with moves one shell down, toward .
EXAMPLE 21
Question 1 of the walkthrough asked and received : sign , toggled set , mask 1000. Equation (43) maps the ledger of the previous box to
| shell | updated correlators |
|---|---|
| 0 | |
| 1 | , , , |
| 2 | , , , , , |
| 3 | , , , |
| 4 |

The asked bias saturates: . The other singletons move by equation (44): for the covariance is , so the shift is , landing on — and indeed , the column of the Question 2 box. Note also that every mask containing the asked bit is now just times its partner , etc.): with pinned, no correlator involving question 11 carries independent knowledge anymore.
EXAMPLE 22

Figure 6: The update rule of equation (43), drawn for the guiding example's first update (, , so and toggled bit 1000). One row per set . At stands the numerator as a waterfall: the bar of (blue), and beside it the partner's signed contribution (orange), hanging from the level where the first bar ends. The two subscripts differ by the flipped bit. The ray from the origin through the waterfall's endpoint rescales it, by similar triangles, to , where its height is the updated correlator .
As Werner moves through the questions, more correlators settle to . The 1-shell models the belief of the bias of each question. The 2-shell answers questions such as “if , then ”. And the higher orders are even more conditional, measuring belief about such statements, in the case of certain answers, etc. As we learn more, the conditions become satisfied or not, and the information becomes less nested.
EXAMPLE 23
The remaining questions of the run (00, 01, 10, all answered 0, so with sign +1) each saturate their own bit the same way, and since XOR toggles commute, the order does not matter - the commutativity of updating, seen again. After all four, the ledger is pure signs, , which is -1 on every set containing 11, +1 on the rest: the transform of the point mass on :
| shell | final correlators |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 |

2.5.1 General
It turns out that taking is more general but not much more instructive. With multiple output bits it is as if we have a priori independent maps per question; they just happen always to be asked and answered simultaneously, in unison. Therefore we do not have to think about what one of them teaches us about another. It would mean we have more than 2 options every question, and therefore the factor by which every update thins the hypotheses is not 2 but . The guiding example helps because the maps are represented as binary numbers, which are more familiar.
For completeness, the main formulas. The truth table is now bits: one per bit of each answer, each carrying a spin , where is the -th bit of the answer. Correlators are indexed by sets of sites: masks of bits under the same numeral convention, of them per question:
EXAMPLE 24
For , the sites form a grid: one column per question, one row per bit of the answer. A set is a pattern of hot cells in this grid, and multiplies the corresponding spins:

Any of the hot/cold patterns is a correlator, and sorting by the number of hot cells gives the shells. The mask of is the grid read as a 16-bit numeral.
Write for the block of 's sites, and for the parity of the answer on a subset . The answer matrix is read off the correlators supported on one block. There are of them per column:
The observation mask at is a function of the bits of one block, so its ledger has nonzero entries, and hearing combines every correlator with its partners — one per toggle within the asked block:
the denominator once more the instance of the numerator. For the three formulas collapse to equations (40), (41) and (43).
EXAMPLE 25
To draw the update, take a sparse prior at , : four maps, (weight 0.45), constant 00 (0.35), “11 iff ” (0.12), constant 11 (0.08). Werner asks and hears : toggle signs on , where denotes site , and denominator . The pairs of the figure become quartets:

Figure 7: For , toggling any subset of the asked block’s two sites ties four correlators into a clique that averages jointly, per equation (47). The on-block quartet (orange hull) contains the normalization and the entire block of ; its signed sum is the denominator that renormalizes every other quartet. Fills to scale for the sparse prior, as before.

Figure 8: The update, three sets from the sparse prior. The waterfall now has four segments: (blue) and its three signed quartet partners, in toggle order , , both (light to dark orange). The ray from the origin rescales the endpoint from to . The asked site saturates to ; the foreign site flips sign, ; and lands on , the renormalized value .
3 Expectations
While the games of the previous chapters may be entertaining, they don't readily divulge any universal laws. When we average (integrate) out the question order, and the specific map drawn, many more robust quantities appear. This is a stepping stone to our terminus: the thermodynamic limit, where we expect questions to flow in and learning to happen on a continuum, where such ensemble-average statements are physically instructive and often quite descriptive of nature.
Let denote expectation over both
• the truth ,
• uniformly over the question order .
We take the ratio of the expected entropy cleared from the table M to the surprisal received:
We did this implicitly in Subsection 1.2.1. There, the problem was actually symmetric in . That is not the case in general.
As stated above, in order to progress, we will be interested in such averages. Both are natural. The question order is uniform, without replacement: Without control of the questions, Werner has no reason to expect one to arrive before another. And the truth is drawn from the prior itself: Werner scores his future against his own beliefs, which is the best he can do.
The bookkeeping, especially for questions asked, simplifies at once. Updating commutes, so after rounds the state depends only on the asked set , a uniform random subset of size . Let us say the answers received form a vector
Each surprisal is paid at the posterior odds of its own round,
and the posterior column is, by construction of the update rule, exactly the conditional probability of the next answer given everything seen so far:
Take to be the mass of the maps that answer the pattern on a set . The sums of the surprisals display the chain rule of probability
where we use the shorthand that contains the first questions, and is answered by the first elements of pattern . Each conditioning cancels against the next term's outcome, and . Thus we arrive at the expression with no path dependence:
Averaging (53) over gives the entropy of the block distribution : the distribution over such sets. Everything is generated by one sequence, the mean block entropy at size :
the inner sum running over the answer patterns on the block; nothing here is specific to . The endpoints are
is by definition the mean column entropy of the first question, so the prior table entropy is
EXAMPLE 26
What a block entropy is, on the guiding space . Take the block , two questions. An answer pattern is , with four options, and by the numeral convention the maps answering each pattern are four consecutive rows of Table 4: the residue classes are read off the two leading truth-table digits.
| maps | names | ||
|---|---|---|---|
| (0,0) | 0–3 | FALSE, NOR, | 0.424 |
| (0,1) | 4–7 | , XOR, NAND | 0.161 |
| (1,0) | 8–11 | AND, XNOR, | 0.355 |
| (1,1) | 12–15 | , OR, TRUE | 0.060 |
The four masses sum to one, and the block entropy is the Shannon entropy of this four-outcome distribution, bits: Werner's joint uncertainty about the two answers before either is asked. It is one of the six size-two terms averaged into in the next example.
Two exact laws follow. The first is equation (53) averaged:
The second law describes the total column entropy of , which is the answer matrix after questions have been settled. Fix and average the posterior table over the answers. Each unasked column's entropy becomes a conditional entropy,
and the already answered columns contribute zero. Sum the unasked columns, then average over which questions were asked:
(59)
The first sum collects that way because every set of size arises as in ways, one for each . The second because is simply repeated for each of the unasked , and we invoke the definition of . Substituting cancels the prefactor and leaves
The whole expected learning curve is the discrete derivative of one monotone sequence.
EXAMPLE 27
This example illustrates equation (60): the total column entropy of the table after questions, read off a lattice. Take the guiding space, with and , and abbreviate for . Definition (54) averages over the sets of each size, so the five block entropies collect 1, 4, 6, 4, 1 terms apiece:
Those sixteen sets are the nodes of a lattice, one rank per value of , and each is the average of the entropies on rank :

Every edge up is the addition of one question, and it weighs the conditional entropy of the answer it adds: the edge from up to represents . Fix a single node. Its upward edges run to the questions still unasked, and their weights are exactly the column entropies of the posterior table. The remaining table entropy of an asked set is the total marginal weight of the up-edges leaving its node. There are of them, drawn in blue above for ; summed and averaged over the rank, they are exactly equation (60)'s , a component of the leverage.
Putting together (56), (57), and (60), equation (48) becomes
the vanishing factor retiring the undefined increment at ; at nothing has been asked or paid and the ratio is an empty . Some observations.
-
Expectation kills the windfall. Each step has , so the expected deduced part is a pure tower withdrawal: , with . It is nonnegative: anti-leverage is only ever bad luck.
-
Deduction saturates one round early: substituting at already gives . The store is empty before the last question, which can only be observed, never leveraged.
-
always, but it need not be monotone. The endpoint is forced: , the run ratio quoted in Chapter 2. This is also why equation (48) is a ratio of expectations: the expectation of the ratio is dominated by lucky runs with vanishing denominators.
Recall (46) from the discussion on correlators, Section 2.5. The joint law of the answers to any set of questions is an inverse transform over the correlators with support contained inside 's blocks. The mean block entropy does not depend on higher correlators (involving more questions) than are in . Since the expected leverage up to questions is assembled from and alone, it depends only on correlators supported on at most questions. Two priors agreeing in correlators to that order are indistinguishable through round . Deeper shells are invisible.
There is also a monotonicity property hiding in . Entropy is submodular [2]: a fresh answer is worth at most in a larger context what it was worth in a smaller one ,
because conditioning on more answers can only explain away part of its novelty, never add to it. Coupling a random -set to a random -set and averaging, the increments , which are the expected surprisals of the -th answer, decrease with : answers get cheaper as evidence accumulates. This only holds on uniformly random question order.
EXAMPLE 28
For the guiding prior of Table 4, recall the block-entropy sequence is , and the laws unfold it into the expected run:
| received | remaining | store | leverage | |
|---|---|---|---|---|
| 1 | 0.731 | 2.113 | 0.137 | 1.110 |
| 2 | 1.436 | 1.328 | 0.056 | 1.113 |
| 3 | 2.100 | 0.608 | 0 | 1.104 |
| 4 | 2.707 | 0 | 0 | 1.081 |
The expected leverage humps at and lands on . The realized run of Chapter 2 scattered around this gentle expectation: greedy questioning and a lucky truth delivered 1.311. Figure 9 stacks the expected bits.

Figure 9: The expected run through the guiding example. Conservation is now exact at every : remaining plus received plus deduced reaches , so the cake always tops out on the dashed line, and no overshoot is possible. The top layer is the expected withdrawal from the correlation store, ; it saturates at already at .
3.1 Choosing the questions
The uniform distribution on question order was a symmetry choice, not a strategy. Werner can do better along two independent axes: how far he looks ahead, and whether he commits to an order beforehand or pivots contingent on the answers so far. A Greedy Werner asks, at every step, the single question with the largest expected drop of : one step of lookahead. -optimal maximizes the expected knowledge after exactly questions, looking the whole horizon ahead. All four combinations are straightforward with the machinery at hand. 1-optimal coincides with Greedy at the start.
| order fixed beforehand | contingent on answers | |
|---|---|---|
| greedy | Add planned questions to the docket, each maximizing the immediate expected drop of , averaged over the still-unseen answers. All of this before any answer is seen, so the plan cannot react to luck. | Recompute the forecasts after every answer and ask the current argmax. Question order is a branching tree, each branch contingent on last answer. |
| -optimal | Updating commutes, so a fixed plan is just a set : search the subsets for the smallest expected remainder . The best non-adaptive knowledge; sees correlations that the one-step view misses. | Backward induction over posteriors. The Bayes-optimal policy: recompute optimal further set for remainder at , after every answer. |
Table 5: The four strategies open to Werner: one step of lookahead or , with the question order fixed in advance or chosen contingent on the answers already heard.
Expected knowledge is non-decreasing left to right and top to bottom. The dynamic program in the last cell is exact but grows quickly: its states are the reachable posteriors, one per pair of asked set and answer pattern, in all. That is 81 for the guiding example and astronomical beyond. Its policy is also horizon-dependent, since the best first question for need not open the best plan for . For the guiding prior of Table 4, contingent greedy outperforms the uniform order, and already attains the contingent -optimum at every horizon. That is a quirk of this prior, not a law: a prior that stores its knowledge in deep shells can defeat Greedy in either column: a question worth little now may unlock a cascade later.
It turns out that both -optimal protocols produce the same trajectory on every set we've tested. This agreement makes it unappealing to perform the full expensive calculation of the right column. Whether this is a law, or coincidence, needs further research.
3.2 The Gibbs complexity prior
Every prior so far was an arbitrary set of instructively chosen . This section builds the prior the other way around, from a single philosophical principle: simple explanations are likelier. How do we define simplicity? With circuit complexity as the measure, made quantitative as a Gibbs ensemble over the hypothesis space. It is an illustration: the later chapters do not depend on the rest of this section.
3.2.1 NAND complexity
There are a number of equivalent, Turing-complete sets of boolean logic gates. But it's hard to argue with a set that consists of one universal element, when ordering circuits by complexity. The choice here for that universal element is NAND. Let the complexity of a map be the fewest number of two-input NAND gates in any feed-forward circuit that computes it. For the bookkeeping we count in the equivalent and-inverter form: two-input AND gates of unit cost, with inversion free on every wire (an edge attribute, not a gate). De Morgan's laws push inverters along wires and into gates, so an and-inverter circuit converts to a NAND-only circuit of the same gate count and back; is the standard AIG-size metric of logic synthesis [13]. Reference values in this convention:
-
AND, OR, NAND and NOR all cost 1;
-
XOR costs 3;
-
constants, projections and negations cost 0.
For outputs, is the size of one joint circuit computing all output bits together, gates shared, which is practical. It is the true minimum-hardware cost, generally smaller than the sum of per-output circuits.
The and are the largest tractable setups, at 65,536 maps apiece. The tabulation is feasible because is invariant under relabeling: permitting or negating inputs, negating or (for ) swapping outputs are all free operations, so the 65,536 maps collapse to 222 and 308 equivalence classes respectively. The class values are the published optimal AIG sizes of [16], cross-checked against our own SAT-based synthesizer on random classes with zero mismatches; the values come from that synthesizer: circuit sizes are encoded as satisfiability instances, and the first satisfiable is provably minimal, every smaller size having been refuted. Appendix C gives the encoding, the symmetry reduction that makes it tractable, and the provenance of every value.
Alongside the interior cost , which takes a SAT solver to see, two descriptors are visible in one pass over the truth table:
-
the footprint , where the support counts the input bits the map actually depends on and the image size counts the distinct answers it attains (from 1 for constants up to ). The combination is bijective to the pair, as Support . Compare to base- digits, quotient Image, remainder Support. The footprint can be viewed as the map's interface: does it react to all its inputs, does it use all its values?
-
the bias : the number of 1s minus the number of 0s among the truth-table bits. This is the symmetry breaker: and are even under negating all outputs, is odd: an energy term coupling to it acts like a magnetic field, favoring 0s or 1s off the bat. In the language of Section 2.5: switching on the odd correlator shells that a pure complexity prior forbids.
EXAMPLE 29
Take again the space. Each map's data is listed for illustration. We graph two of the Gibbs priors built from these inputs, defined in Subsection 3.2.2. Occam in blue growing left, the Pragmatist in orange growing right. The Pragmatist bars are logarithmic, five decades to the full width, since a linear scale on the same axis as Occam's would show nothing but the two constants.
| map | Support | Image | prior massOccam | Pragmatist | ||||
|---|---|---|---|---|---|---|---|---|
| 0 | FALSE | 0 | 0 | 1 | 2 | -4 | ||
| 1 | (NOR) | 1 | 2 | 2 | 6 | -2 | ||
| 2 | 1 | 2 | 2 | 6 | -2 | |||
| 3 | 0 | 1 | 2 | 5 | 0 | |||
| 4 | 1 | 2 | 2 | 6 | -2 | |||
| 5 | 0 | 1 | 2 | 5 | 0 | |||
| 6 | (XOR) | 3 | 2 | 2 | 6 | 0 | ||
| 7 | (NAND) | 1 | 2 | 2 | 6 | +2 | ||
| 8 | (AND) | 1 | 2 | 2 | 6 | -2 | ||
| 9 | (XNOR) | 3 | 2 | 2 | 6 | 0 | ||
| 10 | (projection) | 0 | 1 | 2 | 5 | 0 | ||
| 11 | 1 | 2 | 2 | 6 | +2 | |||
| 12 | (projection) | 0 | 1 | 2 | 5 | 0 | ||
| 13 | 1 | 2 | 2 | 6 | +2 | |||
| 14 | (OR) | 1 | 2 | 2 | 6 | +2 | ||
| 15 | TRUE | 0 | 0 | 1 | 2 | +4 |
Occam spreads its belief mostly across the six gate-free maps (0.1106 apiece) and thins gradually with cost; the Pragmatist, punishing footprint and rewarding bits with value 1, piles 0.90 of its mass onto the two constants (0.62 on TRUE against 0.28 on FALSE), the bias breaking the tie. It all but abandons the interior of the table. If the map turns out non-constant, renormalization scales that interior up, and it becomes relevant. Grouped by the full tuple , the sixteen maps fall into six energy classes:
| members | members | ||
|---|---|---|---|
| 1 | 4 | ||
| 1 | 4 | ||
| 4 | 2 |
Note the table skips entirely: with two inputs, nothing a two-gate circuit computes is out of reach of one or zero gates.
At the larger sizes the tuple breakdown runs to hundreds of rows (102 distinct tuples at , 196 at ). It is still interesting to tabulate the complexity shells alone, with each shell's aggregate prior mass under the Occam setting alongside its head count:
EXAMPLE 30
These tables illustrate the compromise between exponentially suppressed weight per map, and combinatorics putting most maps at middling complexity.
| (4, 1) | ||
|---|---|---|
| X | maps | Occam mass |
| 0 | 10 | 0.041 |
| 1 | 48 | 0.072 |
| 2 | 256 | 0.141 |
| 3 | 940 | 0.190 |
| 4 | 2,336 | 0.174 |
| 5 | 6,464 | 0.177 |
| 6 | 10,616 | 0.107 |
| 7 | 18,984 | 0.070 |
| 8 | 17,680 | 0.024 |
| 9 | 7,882 | 0.004 |
| 10 | 320 | 0.000 |
| total | 65,536 | 1 |
| (3, 2) | ||
|---|---|---|
| X | maps | Occam mass |
| 0 | 64 | 0.058 |
| 1 | 432 | 0.144 |
| 2 | 2,064 | 0.253 |
| 3 | 4,860 | 0.219 |
| 4 | 10,832 | 0.180 |
| 5 | 16,208 | 0.099 |
| 6 | 17,060 | 0.038 |
| 7 | 10,672 | 0.009 |
| 8 | 3,312 | 0.001 |
| 9 | 32 | 0.000 |
| total | 65,536 | 1 |
The head counts are thin at both ends: ten gate-free maps at (4, 1) (two constants, eight literals) against only 320 at the ceiling . The aggregate mass shows the thermodynamic compromise this forces on Occam: the count grows faster than decays until at (4, 1) ( at (3, 2)), so even under a pure simplicity prior Werner has most faith that the map has . Shell degeneracy beats shell energy for the simplest maps.
3.2.2 The ensemble
Take the energy linear in the three descriptors and the prior as its Boltzmann weight,
with no overall temperature: it’s absorbed in the coupling fields. Positive suppresses complex maps, positive suppresses large footprints, and couples to the signed bias like a magnet. tilts toward 1-heavy tables and thereby breaks the output-negation symmetry. We explore three settings below, chosen out of principle, as well as to exhibit interesting learning behavior.
| Occam | 1 | 0 | 0 |
| Occamer | 2 | 0 | 0 |
| Pragmatist | 1.5 | 1 | -0.1 |
Table 6: The three Gibbs settings of (63), as couplings to complexity, footprint and bias.
Occam suppresses circuit complexity and nothing else. Occamer doubles the same field: an even stronger simplicity bias stores more knowledge in the prior, and stores it deeper in the correlation shells, where only the later questions of a run can release it. The Pragmatist judges by the obvious heuristics instead: a footprint reads the visible interface rather than the interior circuit, a moderate complexity field seconds it, and the tilt leans toward 1-heavy tables, breaking the output-negation symmetry that the other two settings keep. This last choice is to illustrate that Werner isn't bound to start with a uniform distribution M before the first question.
3.2.3 The layered entropy books
Let us visualize the uniform question-order average for the three ensembles, at each system size. The following graphs illustrate the flow of bits. The three quantities of (48) partition the starting table entropy at every : what is still in the table, what was paid for in surprisal, and what was inferred. The third has no standing name, so give it one,
the expected withdrawal from the correlation store. The second equality is (31) at both ends together with . In expectation, the belief entropy falls by exactly the surprisal received, so whatever else the table lost came out of . The three therefore sum to at every , and each panel below is a full-height bar whose composition shifts from all remaining uncertainty to received plus deduced. One row per system size, sharing a vertical scale in bits; one column per prior.

(2,1), Occam
(2,1), Occamer
(2,1), Pragmatist

(3,2), Occam
(3,2), Occamer

(3,2), Pragmatist

(4,1), Occam

(4,1), Occamer
(3,2), Pragmatist

(4,1), Pragmatist



3.2.4 Trajectories
Figures 10–12 show the expected cumulative leverage under the three prior hypotheses, for the uniform question-order average and the strategy grid of Section 3.1. The -optimal schedule targets the halfway horizon and is plotted only up to it: past its own horizon the optimizer's continuation is not defined. Inside the optimal set the questions are asked in random order (the graph averages that order). We omit its contingent twin everywhere: wherever we can afford to compute it, it reproduces the fixed optimum's curve to machine precision, and one for which no symmetry argument yet is known. Two consistency checks hold in every panel: all schedules agree at , because input relabeling acts transitively on the questions and the Gibbs energies are relabeling-invariant, so single questions are exchangeable; and every full-length curve ends at the same , since any policy that asks everything receives exactly on average, and clears the table . The same invariance acts on whole sets, so the -optimal objective is a function of a set's relabeling orbit and not of the set: minimizers arrive in orbits.

Figure 10: Expected leverage under the Gibbs priors at , . In both complexity-only settings every schedule coincides exactly; the Pragmatist's fields finally separate them.

Figure 11: Expected leverage under the Gibbs priors at , . Greedy Werner's fixed set is the optimal set under Occam and, up to an input negation, under Occamer. For the Pragmatist, the -optimal has the worst leverage at the horizon, a reminder that we optimize for information received, while accepting that may cost even more surprisal.

Figure 12: Expected leverage under the Gibbs priors at , . Occamer's deep correlations C bend even the uniform average curve into an interior hump; the Pragmatist releases all its instinct at the start: whether it's constant.
Three discussions, one per system size.
At (2,1), Occam and Occamer don't have enough structure to tell subsets apart, and all subsets of equal size share a single joint entropy. Occamer shows what doubling the field buys within those constraints. The whole curve lifts (endpoint 1.2224 against Occam's 1.0829, store against 0.306 bits) without creating a single strategic choice to make. The Pragmatist's fields split the pair orbits at last, and the strategy yields a lower leverage: greedy's pair knows more at than the random order but pays so much more surprisal that it is less leveraged (2.538 against 2.582).
At (3,2) there are exactly two optimal quadruples under all three settings: the even-weight inputs {000,011,101,110}, the maximally spread design, pairwise at Hamming distance two, and its odd-weight image under negating one input bit. Relabeling makes them exactly degenerate. Under the Pragmatist greedy finally falls short: its set {000,011,101,111} leaves twice the ignorance of the optimal four (0.405 against 0.198 bits remaining) while receiving 0.099 bits less and it posts the higher leverage, 4.445 against 4.355, with the strategyless average higher still at 4.476. The -optimal schedule maximizes knowledge, not leverage, and a ratio is buoyed by cheaper ignorance.
(4,1) is the richest, with the most questions, the choice becomes impactful. Doubling triples the store ( bits against Occam's 2.48) and bends even the average curve into an interior hump, rising to 2.20 at before decaying. This is the deep-shell signature promised in Subsection 3.2.2, knowledge that only becomes spendable once enough answers are in hand to cash out the higher correlations. The optimal eight questions are a parity class of the input hypercube in every setting, and as at (3,2) both classes minimize exactly; greedy misses the class under both complexity-only settings ( against the optimum's 1.262 at the Occam horizon) but finds it exactly under the Pragmatist whose prior, 0.90 of its mass on the two constants, is a two-sided spike in disguise: bits, leverage running from 12.29 down to 8.28, a great deal of inference about a game that is mostly over after two questions.
4 The thermodynamic limit
The earlier chapters describe learning on a finite question set. This chapter is arguably the real-world payoff. Here we can draw conclusions about general learning, not just boolean maps. This chapter asks what remains when the number of input bits tends to infinity. The hope is to find traces of universality: that character of learning where the microscopic details are coarse-grained out.
Recall definition 23 where , the limit is one of an exponentially growing table of possible questions. Let the measure of time be the fraction of that table already queried,
The limit at fixed is macroscopic: it records learning that occupies a nonzero fraction of the run. Learning completed in , in , or more generally in questions is compressed into a boundary layer at . That distinction will determine the class of solutions that emerges in the TDL.
Throughout, abbreviates the reciprocal answer alphabet, and counts the maps , enumerated with prior weights . One value of the truth is drawn at the start of a run and supplies every answer in it; posteriors are conditional distributions of that same random map, and expected trajectories average over its prior law and the uniformly random order.
4.1 A toy example: the spike prior
The most accessible example from micro- to macroscopics, as one calculus exercise, is arguably the spike prior. It places a distinguished weight on one map and spreads the remaining mass uniformly over every other map. The setup is also desirable due to the full support: at every system size, Werner feels the effect of the dimensionality he inhabits.
Take the earmarked boolean map to be the all-zero map, for every , so that its answer to any questions is the all-zero block . This is fully general by symmetry: the answer alphabet may be relabeled separately at each question. We then adopt the convention
The plain is the mass of the all-zero map alone at start time. We will be interested in the behavior at large (but not necessarily unit) . The interpretation is that Werner is quite sure of his hypothesis, without ruling anything out.
The example is tractable because it is closed under Bayesian conditioning. A confirming answer produces a sharper spike on a smaller map space; a refuting answer culls (among others) the special map and leaves equal weights on all survivors. The posterior therefore has a two-state flow, in which the uniform family is the stable, absorbing class: once a trajectory enters it, later conditioning keeps it there. An interior spike is a source of one-way probability current into that class, while conditional on avoiding refutation the spike sharpens.
4.1.1 The two-state renormalization flow
What happens when Werner handles the first question? He either gets a zero, or not.
The maps that produce are a proportion . One has probability , and have probability . If we started in this prior with probability (full faith), Werner avoids refuting with probability
With probability we can still believe . In this case, what exactly is the shape of the posterior? The Bayesian consistency condition holds that unconditional probability cannot be created without measurement. At this point in the ansatz, we must have the same credence in .
At every step, there is a , but as a member of an ever-shrinking cohort. Let be the height of the peak , after one question. Then we must have . The rest of the probability is spread again over the other surviving maps. Conversely, with probability , we've refuted the zero map, and are in a uniform posterior corresponding to a nonzero answer to the question.
After repeating this process times, asking the set of questions , we can infer the probability that is still in the race. Let be the probability that Werner remains in the confirming scenario: he has only seen zeros. A history remains on the spike branch exactly when , and exactly maps produce that confirming history, one of which is . The probability of confirmation is then
On that event the posterior is another spike on those maps,
so is the time-indexed posterior height of the spike evaluated on the confirming branch, with the original weight. It's pegged inversely to for all time, by the same Bayesian consistency:
If any answer is nonzero then is eliminated, every compatible survivor had the same mass , and the posterior is uniform; subsequent conditioning on answers preserves uniformity. With an equivalence across system sizes, this induces a two state flow. Renormalization sharpens the spike. The two macrostates and their directions are
EXAMPLE 31
The flow at , so and , started from . Each confirmed answer divides the surviving map space by four and renormalizes the spike upward; each refutation drops the belief into the uniform class, which nothing ever leaves.

The two columns of boxes are the macrostates of (71), each arrow is labeled by the answer that drives its transition, and each row's map space is one quarter of the row above. The outer columns track the branch probabilities and , and the invariant is visible between the bars and the bars. The bars inside the boxes measure the , on the left for the spike vs others. The spike climbs exactly as fast as its branch loses probability, .
For , we can combine equations (66) and (68) to get the limiting odds on the surviving branch and, from equation (69), the surviving posterior:
Each confirmation supplies approximately bits of evidence for the spike, in the sense of log odds:
After all questions, the only way the spike can survive is by eliminating all alternative maps. This happens with and hence ; the histories that confirm through the complete table are precisely those with . At the uniform point both posterior branches are uniform on their surviving map spaces.
In anticipation of the TDL, we observe that the same has a second reading: it is the probability of the single -answer block . For every other answer block is realized by background maps and therefore carries the common probability
for any question set S of size k. The entropy of the above distribution, coarse-grained to blocks of questions, is
as there are terms where . Every choice of questions obeys the same law, so (75) is also the mean -question block entropy of Chapter 3. In particular and , with the exact prior entropy
extensive in as and , at fixed . Prior entropy vanishes at .
4.1.2 The fixed-p thermodynamic limit leverage
The thermodynamic limit keeps the prior mass and asked fraction fixed, while sending . The guiding principle is the exact finite law (61) for : the expected leverage is built from three ingredients,
-
the prior table entropy
-
the received entropy
-
the increment .
If we can derive each for the example, we are done. The block entropy (75) supplies every through the single counting formula (68). holds for any prior: is by definition the mean entropy of one column of . Set and take the terms of (61) in turn.
All three derivations run through one exact regrouping of (75). The refuting blocks (74) share the mass evenly, so substituting into (75) and expanding the logarithm regroups the block entropy into the binary entropy of the confirm-or-refute split plus a uniform choice among the refuting blocks:
At , by (68) the spike answer carries : the special map's whole mass, plus the fraction of the background maps that happen to agree with it at any one question. Substituting that limit,
(78)
An -term features in the numerator of every macroscopic leverage, the entropy of the first answer, as in (99). The spike produces this shape; in general depends on the prior and has no closed form.
The received entropy: Evaluate (77) at . By (72) , so the split entropy stays bounded while the block-count logarithm grows linearly, :
This is the two-state flow watched at macroscopic time: for any the confirm-or-refute lottery has already resolved inside the boundary layer at , where within questions. A surviving spike answers for free; only the refuted class, probability , keeps paying the full bits per answer.
The increment: Subtract consecutive copies of (77): the bounded terms cancel in the limit, and the block-count logarithm grows by , paid only by the refuted mass:
Filling the three limits into (61) term by term,
and canceling the common factor Q gives
The 1/t term records information released in a vanishing initial fraction of the run, divided by the information received afterwards.


Figure 13: The fixed-p thermodynamic curve (81), on a logarithmic vertical scale. Every weight produces the same 1/t shape; the prior sets only the coefficient, which grows from 0.001 at p = 0.001 to above 5 at p = 0.999.
EXAMPLE 32
The approach to the hyperbolic limit (81). Both panels evaluate the exact finite law (61) on the block entropies (77) at increasing finite , and set it against the thermodynamic curve in black.


Every finite curve approaches the limit from below, and the gap closes last at the left edge: the hyperbola diverges as , while a run of questions has its first point at with a finite value there. The boundary layer is a limiting phenomenon.
4.1.3 Exchangeable answers and de Finetti's theorem
The block law (74) has a strong property. Whatever set Werner asks, the all-zero pattern carries probability and every other pattern carries . Both depend on solely through its size . Which questions were asked, and in which order, is not relevant. A prior with that property is called exchangeable, and a classical theorem constrains such priors to be equivalent to a restrictive construction.
Write the answers in the order they arrive as a sequence of random symbols,
so that is the random object Werner actually observes (in this case bits each), one coordinate per question-answer. The sequence is exchangeable when its joint law is unchanged by permuting the indices: for every permutation and every pattern ,
Exchangeability is weaker than independence. Independent answers tell each other nothing, whereas exchangeable ones may be strongly dependent; all that is asked is that they be dependent symmetrically, so that no question occupies a special position.
De Finetti's theorem [6, 7] states that symmetric dependence, for sequences of unbounded length, is equivalent to a mixture of coins. Let be a distribution on the answer alphabet , an answer law, writing for the weight it puts on the answer . Let be a distribution over such answer laws, the directing measure. Then for an exchangeable sequence there is exactly one with
(84) for every and every pattern. The RHS is executed as a two-stage experiment. Nature first draws one answer law from , once and for all, and then answers every question independently from that single . Conditional on the answers are independent; unconditionally they are correlated. The correlation is mediated by Werner considering each possible a priori. The theorem needs the sequence to extend to an infinite one, or equivalently the family of finite laws to be consistent as grows; a finite exchangeable law taken in isolation need not be a mixture of independent draws of . Sampling without replacement is the standard counterexample. In the infinite set limit, sampling with and without replacement is equivalent.
In general may spread over any collection of answer laws , finite, countable or a continuum, and the richer that collection the more there is to learn about which one was drawn. The spike prior is the simplest interesting case: is a discrete distribution on two points. Let be the spike, and let be the uniform law, which allows answers as well. These distributions on have probabilities
Then
with the point mass at , reproduces the spike exactly. Substituting (86) into (84), the confirming pattern receives full weight from and from , while every other pattern receives nothing from and from :
(87)
which are (68) and (74) exactly. The prior on boolean maps comes back too. A map is answered by on all questions only if it is , and by with weight whatever its truth table holds. We can find the prior probability of by reconstructing the probability of only receiving zero answers, through either . Starting from (84), substituting (86) at returns
And the reader can convince themselves that the probabilities of every other map (where the first term vanishes) are equal. . Together, these reproduce (66).
Why is the leverage a hyperbola? All the prior knows is which of the two answer laws was drawn, and that is settled within questions. Afterwards, every remaining answer is an independent draw from a known law and costs the same bits of surprisal, so the profile is flat on and (99) has no freedom left but a curve. The coefficient can be read off as well. Since
the numerator of (81) is the mutual information between the drawn answer law and a single answer: the whole of the spike's leverage is what one question reveals about which world Werner is in, divided by what an answer costs him once he knows.
For the spike, here in its simplest form: the weight of a map depends on its truth table only through whether the Hamming weight vanishes. This generalizes, and both the exchangeability and its consequence for the limit are recognizable from the prior alone. Any whose weight depends on the truth table only through the count of each answer is exchangeable, and vice versa. Under convergence of those counts in distribution to some as , the profile is flat and the leverage curve is a hyperbola, whether or not any finite prior along the way is literally a mixture of independent draws.
We have explored a number of other characteristics of the spike prior in Appendix A: the branch-by-branch effect of the first question, the extraction ratio, and various further limits, among them the sharp prior and its noncommutation with .
4.2 Thermodynamic-limit calculus
The spike is solvable because all subsets of questions of the same size () have the same entropy . Averages are free. The general theory replaces that symmetry by an average over subsets, which in general have distinct entropies. Any symmetry of the prior reduces that average to a sum over orbits of -subsets, weighted by orbit size, and the spike is the extreme case: invariant under every permutation of the questions, it has one orbit per size and collapses to a single term. Less symmetrical priors divide the number of terms by their order. Nonetheless, this is instrumental in obtaining moderate results numerically. More comments in Appendix C, for instance.
4.2.1 The finite sequence from which the limit is taken
For each fixed question set the vector collects the answers to those questions, and its entropy is taken under the prior law of with held fixed. The mean block entropy is that of equation (54), now carrying the system size explicitly:
so that and , where is the prior law of the random map at size , with increments
By the entropy chain rule, exactly as in the derivation of equation (60), the increment is the mean conditional entropy of one fresh answer,
We write to emphasize the average over the selected distinct from . The additional average here: the conditional entropy averages over answer histories under the prior on the random map. Conditioning reduces entropy, so coupling a random -set to a random -set yields a
This monotonicity is deterministic, the truth and the subset having already been averaged over. Recall, this is a property of the average, not of any constituent terms. Concentration of individual learning trajectories would be a separate result. The two laws (57) and (60) then read
for , with zero remaining entropy at , and equation (61) becomes
4.2.2 A precise macroscopic-limit statement
The next step is to find continuous limits of the functions: from and from .
The leverage has only these two functions in the numerator. In fact, so we might be tempted to express everything in terms of the one function , and find the coarse-grained limit of that. However, that would miss a crucial delta-like contribution to the learning.
It is instead useful to keep the initial marginal entropy separate from the macroscopic profile on the right, since that allows an -question boundary layer at . Let
which in general will be allowed to converge to something distinct from . Suppose the staircases have an almost-everywhere limit on , with at any particular where the remaining entropy is evaluated. At such a point is the expected entropy of one more answer after a random -fraction has been observed. Four hypotheses suffice:
-
Fixed answer width. The integer is fixed, which supplies the uniform bound .
-
Initial-entropy convergence. The limit exists.
-
Profile convergence. The staircase converges almost everywhere on , with direct convergence at any where the remaining entropy is evaluated. At continuity points of a selected monotone limit this causes no ambiguity.
-
Positive entropy density. The limiting area is positive, .
The fourth condition is the nondegenerate form of extensivity, in other words, learning continues into the bulk and doesn't settle within a boundary around . It implies .
Extend the finite increments to a staircase on by . Telescoping with equation (91) gives an exact Riemann-sum identity at grid points,
ignoring the last undefined endpoint in the limit. Since , dominated convergence gives
using the coordinated construction . Substituting both into (95) proves
Since is nonnegative and nonincreasing, a positive integral makes for every . Let us go over the pieces, for physical intuition:
: the price of the next answer. It is the expected entropy of one fresh answer after a random -fraction of the table has already been observed: what Werner still doesn't know about a question he hasn't asked, given everything he has. It starts at most and decreases monotonically, because each answer can only explain away some of the next one's novelty. is the running rate at which surprisal is still available.
-
: the total bill so far. Summing the price of each answer as it was bought gives the cumulative surprisal received by macroscopic time . It is the area under the profile to the left of , and it sits in the denominator of the leverage because it is exactly what Werner “paid”.
-
: the size of the job at the outset. It is the marginal entropy of a single answer before anything is learned, so is the whole table's starting uncertainty : the total to be destroyed, by asking or by deducing. It is kept as its own constant rather than read off as because learning finished in questions leaves no trace on the profile, and the gap is precisely that boundary layer.
-
Together: reads as (everything there was to know) minus (what the unasked columns still hold), over what was paid.

Figure 14: From the finite increments to the profile. Each bar has width and height , so the shaded bars sum, the telescoping identity (97), to exactly , here at . Refining shrinks the bars onto the staircase's limit, and dominated convergence turns the shaded sum into the area : received information per question becomes the dark area under the profile.
Monotonicity and boundedness guarantee convergent subsequences by a Helly selection argument [5], but they do not guarantee that the full sequence of priors selects a unique profile: a family can alternate between two constructions on even and odd . At the prior level one therefore needs a coherent construction, or must take profile convergence itself as a hypothesis. In the next chapter, as well as the appendices, we give examples and explain why they converge neatly.
5 Polynomial degree as complexity prior
What could the TDL of an explicit simplicity-based prior look like? Unfortunately, but not unexpectedly, we also must grapple with no-free-lunch. It is not possible to find general circuit complexities as in Subsection 3.2.1 for large . However, Werner has another avenue at his disposal: write the boolean map as a polynomial in the question inputs, and consider the complexity to be the degree of that polynomial. He can construct a prior of decreasing faith with this degree, which turns out to work elegantly. It is constructive: computable from the truth table by a fast transform, thus tractable at every .
There are two guiding insights in this chapter. First, we are interested in demonstrating that the leverage in the TDL can be more than a hyperbola. In order for this to happen, the rate of information cannot be a flat constant in the bulk. This flatness is conspicuously difficult to escape. Many naive constructions are virtually “finding out what latent set of maps Werner is in”. The simplest example was “spike-or-not” of Section 4.1. Even when this is made richer with more variation, it still costs bits to learn the set label, and therefore concludes around . Once the set is settled (no pun intended), the rate inside is often constant. Instead, we need a construction that maintains stores of information that don’t settle until macroscopic times. The polynomial degree prior has that property.
Second, weighting maps by complexity through a single temperature, with an exponentially vanishing weight with degree like the Gibbs ensemble does, reduces to only effectively consider a thin shell of contributing maps. At low degrees, there are too few maps. At high, there’s too little weight.
This may be desirable in statistical physics to find averages, but as a philosophical choice, Werner won’t rule anything out in his learning journey. The repair is to sample maps from a shared quota of weight per degree, which keeps every shell, and every single map, at positive weight all the way into the thermodynamic limit.
Throughout this chapter the answer size is , so and a fresh uninformed answer carries at most one bit. As we saw before, larger mainly changes the rate of culling, and behaves much like independent maps being learned simultaneously. The single-bit case is fully instructive, and costs little generality.
5.1 Polynomials over , and the butterfly
All linear algebra in this chapter is over the smallest field there is, the two-element field , whose two operations are
Three observations:
-
Every element is its own additive inverse, , so there is no subtraction and there are no minus signs: a term contributed twice cancels.
-
Every element is idempotent, , so no variable is ever squared, and a product of input bits is fixed by which bits it contains, never by how often.
-
All matrices, vectors, ranks and inverses below are read mod 2.
These define the rules of this space and the functions that inhabit it.
As a consequence, we only need to consider monomials in the input bits of a question. Each monomial is labeled by the set of bit positions it contains: is the map answering 1 exactly when every bit is 1, the AND of those bits, and the empty set gives the empty product, the constant map 1. Write, for example, for a set of input bits, and the subscript on a coefficient is tantamount to the monomial itself: represents , the monomial made from , just as belongs to the constant. There are bit sets, hence monomials. Creating functions in this space is akin to deciding which monomials are present, which are one (remember property 1: no non-unit coefficients). There are ways to switch them on and off: exactly as many as there are maps, and the correspondence is one to one.
One more piece of vocabulary. The support of a question is the set of bit positions where it holds a 1,
A question and a set of bits are the same data in two manifestations, and we use the identification freely: names a monomial and equally the question whose 1s sit exactly at . The condition then picks out the below : the questions that are 0 everywhere outside and free inside it.
EXAMPLE 33
For instance at , has . If this is , the subcube below is .
Every map now has a unique vector of single-bit coefficients , saying whether monomial is present or absent, and the dictionary between the two descriptions is the algebraic normal form,
It is worth being explicit about which symbol does what. Above, is the free variable, the question being asked, and a dummy running over all monomials. This is evaluation, coefficients in, an answer out. The middle expression is the same sum with the dead () terms dropped, since equals 1 precisely when . How to go the other way?
Conversely, here is the free variable, the coefficient being extracted, and the dummy, running over the subcube below : this is inversion, truth table in, one coefficient out. The dictionary is both identities, the second formula being Möbius inversion. The degree is the largest carrying ; it is the complexity notion of this chapter.
Both directions are in fact literally the same matrix. Write for the truth table of a map read as a vector, , with the questions in the descending order of Table 4, and for the coefficient vector with the bit sets in the matching order. Per bit the kernel is upper triangular, and on bits its tensor power is the subset indicator: with rows and columns descending 11, 10, 01, 00 (per bit: 1, 0),
where evaluates a statement to a bit (1 is True, 0 is False). The matrix is called the XOR-butterfly, owing to the mod-2 space. This way, row is the indicator of the subcube below . Under the identification of bit sets with questions the two halves of (102) are the one matrix multiplying the two vectors,
at any : to read off a map's polynomial, transform its truth table; to tabulate a polynomial, transform its coefficients. The two are the same operation because over the kernel is its own inverse, as the one-bit case already shows: has entries , and , so and by extension.
In practice, computing is an efficient operation up to high due to its tensor product nature. See an example on the space.
EXAMPLE 34
Take NAND, map of Table 4, which answers 0 only when both input bits are 1, so that
Its four supports are , , and : the same four bit sets that label the four monomials. For each , gather the questions whose support fits inside it. As the set grows, so does its subcube:
Each coefficient is the XOR of T over its own subcube, so the four lines below have identical shape and only the subcube grows:
Stacking those four lines is (105) at n = 2,
where the two middle rows show the cancellation that makes a monomial absent.
Read the other way, (105) evaluates. Ask : its support is , so row 01 gives , which is what returns at , . Hence NAND , of degree 2: the top monomial is present, NAND is not affine, and its truth table knows it.
For readers of Section 2.5: Z is the triangular half of the Walsh–Hadamard kernel (37), since in the same 1,0 ordering
The ledger transform is two Möbius passes with a rescaling between them, and reducing mod 2 leaves exactly the XOR butterfly.
EXAMPLE 35
The butterfly on every map of the guiding example, truth tables – so that T read as a binary numeral is the index j – and coefficients ordered .
| j | map | T | polynomial | deg | |
|---|---|---|---|---|---|
| 0 | FALSE | (0,0,0,0) | (0,0,0,0) | 0 | 0 |
| 1 | NOR | (0,0,0,1) | (1,1,1,1) | 2 | |
| 2 | (0,0,1,0) | (1,0,1,0) | 2 | ||
| 3 | (0,0,1,1) | (0,1,0,1) | 1 | ||
| 4 | (0,1,0,0) | (1,1,0,0) | 2 | ||
| 5 | (0,1,0,1) | (0,0,1,1) | 1 | ||
| 6 | XOR | (0,1,1,0) | (0,1,1,0) | 1 | |
| 7 | NAND | (0,1,1,1) | (1,0,0,1) | 2 | |
| 8 | AND | (1,0,0,0) | (1,0,0,0) | 2 | |
| 9 | XNOR | (1,0,0,1) | (0,1,1,1) | 1 | |
| 10 | (1,0,1,0) | (0,0,1,0) | 1 | ||
| 11 | (1,0,1,1) | (1,1,0,1) | 2 | ||
| 12 | (1,1,0,0) | (0,1,0,0) | 1 | ||
| 13 | (1,1,0,1) | (1,0,1,1) | 2 | ||
| 14 | OR | (1,1,1,0) | (1,1,1,0) | 2 | |
| 15 | TRUE | (1,1,1,1) | (0,0,0,1) | 1 | 0 |
Table 7: The guiding example in both bases: every map of Table 4 as a truth table T and as a coefficient vector , with its polynomial and its degree.
Read the table from both ends at once: and are negations of each other, and their coefficient vectors differ in alone, negation flipping the constant and nothing else. Four maps are fixed points of the butterfly, : FALSE, XOR, AND and OR. The eight with are the affine ones, class , and the other eight are the curved ones that the top monomial buys.
5.2 Complexity classes and the sampling rule
Using the dictionary, every map is bijective with a polynomial, and each polynomial has a degree. Grade the hypothesis space by degree. The class of all maps of degree at most d is a linear space of dimension
counts one coefficient bit per allowed monomial. It is a linear space because polynomials distribute, and any sum of polynomials, each with degree , is again a polynomial of degree , and therefore the space is closed.
The classes run from the two constant polynomials ( ) to the full map space ( ). In coding theory this class is the Reed-Muller code [9]. We posit two definitions to avoid confusion:
-
the class d is the union of all maps of degree at most d. Classes are nested.
-
A class's outermost layer, the maps of degree exactly , is the shell . Shells are disjoint.
The class's rate is its dimension per question,
and it will turn out to be the fraction of a full run at which the class is “learned out”, i.e., Werner has settled whether the map is this class or not. Consecutive rates slice into rate gaps of lengths
This partition refines as grows. Rate gaps can be seen as the proportional thickness of the shells.
EXAMPLE 36
This graphic explains the stochastic process that samples . Sampling determines a class (a maximum degree ). Inside that linear space, any polynomial is equally likely. Higher classes have exponentially more maps in them. The graphic illustrates : take one box per monomial, grouped by into shells. Each box is one coefficient bit, which has 50-50 odds to be included in the true polynomial of . So , the number of monomials under consideration is the class measured in bits, holding maps, and shell is the boxes the class adds to the previous. The boxes lie ordered along a sampled line. Dividing the position of the edge of a class by puts the class boundaries at the rates , with the shells inhabiting the rate gaps.
The shell widths 1,4,6,4,1 below the boxes are the populations' logarithmic footprints, while the map counts explode left to right.

So far, the structure is fixed and none of it depends on . The statistic enters only through the dart: draw uniformly on the vertical axis, bounce off the graph of , and land at , drawn here for (the smaller of two uniform draws: the member of the constant-leverage family (125)), which favors simple (low-degree) maps. The rate-gap the dart hits determines , the maximum . For this dart, , and we sample uniformly from polynomials of the form .
The exponential explosion in numbers: the share of maps of degree exactly is , and
| degree | share | ||||
|---|---|---|---|---|---|
| 50% | 50% | 50% | 50% | ||
| 37.5% | 46.9% | 49.2% | 49.8% | ||
| 12.5% | 3.1% | 0.78% | 0.20% | ||
| - | |||||
| rest | - |
Table 8: The share of all maps carried by each degree. Half sit at full degree at every size, and the shells below thin out geometrically.
Half of all maps sit at full degree, all but a sliver in the top two shells, and everything below is doubly exponentially rare: this is the population contour any per-map weight has to compensate. In our case, we allocate a macroscopic amount of weight to each shell by construction. Then divide that weight among the constituent maps. This scales nicely in the TDL, to never effectively rule out any degree, but also keep nonzero weight on each individual map.
-
draw a single random number (the statistic) from a fixed law with CDF and, when it exists, density ;
-
let be the class whose rate gap contains ;
-
draw the truth uniformly from class : each allowed monomial coefficient by a fair coin.
So and only decide which monomials are ruled out as too high a degree. The form the deterministic grid that lands in. Only are allowed: those with .
The class label is latent, meaning Werner never observes it. It is one value among , worth at most bits. Due to nested classes, a map of degree can result from any . To find the probability of that map, we integrate over .
with telescoping. If increases across every gap (any positive density), then every , and two properties follow trivially:
• is strictly decreasing in the degree, each step up losing a factor of order
• for every single map: full support, at every and in the limit.
Every shell, and every map, gets a chance, and still it's a genuine Occam prior. Semantically, budgets the shells while nestedness orders the maps: is, up to an exponentially suppressed sliver leaking in from higher classes, the total weight of the degree- shell, split evenly within it.
A judicious choice of is what puts the correct portion of aggregate belief on the complexity that Werner expects from nature. The per-map Occam ordering holds for every , and decides only how much aggregate weight each shell carries. The Occam ordering comes from the natural explosion of maps at higher degrees, sharing the shell's marginal weight. The heaviest shell itself is rarely the simplest one: it is whichever rate gap carries the most -mass. The maximizing from equation (110) is a contest between the gap width , widest at , and the density of there. See Example 42 at the end of the chapter for an illustration.
EXAMPLE 37
A geometric interpretation of the prior (110) at with the guiding statistic , which is concave (the member of (124)). The three classes have
so the rates are and 1. Class offers each map it contains a rectangle: width , the chance the lottery calls that class, times height , the chance the class then calls that map. A map of degree lies in every class , so it collects every block from rightward: all the blocks a harder map collects, and one more besides.

Each step up in degree curtails the sum from the left, so falls with the degree by construction, regardless of : the two constants of Table 4 take all three blocks, , the six affine maps lose the biggest, , and the eight curved maps keep only the last, . The blocks are drawn to scale, illustrating the Occam prior. A concave boosts early widths. The small occupancy of low shells boosts early heights. The check closes the distribution.

5.3 Three terms for the leverage average
The exact finite law (61), in the TDL chapter's notation (95), needs three ingredients:
-
the prior table entropy ,
-
the received entropy ,
-
the increment .
Each reduces to a statement about .
5.3.1 The table entropy
A class is a linear code. We'll make the structure explicit. The generator matrix of class is a matrix over . Monomials are trivially themselves polynomials, and therefore boolean maps. 's rows are the monomials that the class contains, evaluated at every question .
so that a uniformly random class member is with uniformly random on . Every column of is nonzero (its constant-monomial entry is 1), so each single answer is the image of a uniform under a surjective linear map onto : a fair bit, in every class. Any bit that is flipped with 50% chance is fair, which is what happens when the constant bit is added. In other words, the initial is fully uniform. At every finite , with no limit taken and no reference to ,
The prior predicts nothing about any single answer; its entire content is correlational.
EXAMPLE 38
The generator matrix at : the questions across the top in descending order, the monomials down the side in degree order, and the entry where they cross: the value (111) gives. The three boxes are the three classes, each keeping the first rows, which is what makes them nest:
| 11 | 10 | 01 | 00 | |
|---|---|---|---|---|
| 1 | 1 | 1 | 1 | |
| 1 | 0 | 1 | 0 | |
| 1 | 1 | 0 | 0 | |
| 1 | 0 | 0 | 0 |
A class member is , the element-wise XOR of the rows that the coin-sequence switches on. The rows are independent, so is a bijection onto the class: flipping fair coins, one per allowed monomial, lands on each of the maps exactly once, which is step 3 of the sampling rule and why no map inside a class is favored over another. Three examples of coin-sequences, yield three maps, at three different class degrees
Every column carries the constant row's 1, so flipping flips the answer to every question at once: the maps pair off into complementary halves and at every question, in every class, for every . The table starts knowing nothing, . Compare to (104), is transposed, its rows sorted by degree so that every class is a prefix.
5.3.2 The received entropy
Let us approach this answer in steps. For a straightforward intermediate, suppose Werner were told the class. His prior would instantly collapse to only those maps. Inside class the truth is with a string of fair coins, so his answers are uniform on the image of the columns of he has asked and their entropy is that submatrix's rank. Every fresh column (question & answer) independent of its predecessors buys one whole bit; once the rank of the submatrix seen this way reaches , the coins are pinned. is known, and every answer after that is completely determined, and there is no more entropy. Average that behavior over the classes with weight and the received entropy would be settled.
Two things spoil this reasoning at finite , and both dissolve in the TDL. Asking questions is not the same as reconstructing a full rank submatrix, because the columns are not in general position: the smallest dependent set has members, the minimum distance of the dual code [9], and for the middle classes that falls well short of . For instance, four questions against at , eight against at . Four questions whose bit patterns XOR to zero already determine each other for an affine () map, whatever else is unsettled. So a question can be redundant early and the rank often is not full until late: the switch from one bit per question to none is a smeared step, not a sharp one, though the total entropy encloses area regardless. Only the two ends escape, the constants and the full space being the codes for which every columns really are independent. And Werner is not told the class; he has to read it off the answers, and that costs information.
Again, let be the set of questions asked at some point during learning, and be the class label. Computing by the chain rule in both orders prices the second of these,
mixture entropy is mean class entropy plus what the answers reveal about the label, and the label is cheap: bits per question. Within class the answers on are , uniform on the image of the column submatrix, so exactly: the number of -linearly independent columns, the number of bits needed to describe those answers.
Averaging (113) over the sets of size turns the left side into of (90) and the right side into a mean rank, one per class:
where is the label term of (113) averaged over the same sets, inheriting its bound. Only ever enters the leverage, and , so the label costs a vanishing fraction of the run: and have the same limit at every . It is enough to find the class averages.
EXAMPLE 39
Say Werner knows d = 1. This means:
In the matrix below, see how the sum of all questions vanishes for such affine maps (a linear dependence).
Ask any three questions , the covered submatrix is square and of full rank 3.
| q | 11 | 10 | 01 | 00 | ||
|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 1 | 1 | 1 | |
| 1 | 0 | 1 | 0 | 0 | ||
| 1 | 1 | 0 | 0 | 0 |
That means the first three questions all have , they carry a bit of surprisal. After that, at , through a system of equations we can infer which monomials are present in the polynomial of . The final cannot have any uncertainty left, and . In total then, the received entropy is capped at .
Three facts pin the limit of the class average . The mean increment is nonincreasing in , by rank submodularity (what is dependent on few columns is dependent on more). The increments telescope to the dimension,
the finite- area theorem. Inside a class , there can be at most linearly independent questions, and at most bits to learn. And we must invoke one external result: Reed-Muller codes achieve capacity on the binary erasure channel. Kudekar, Kumar, Mondelli, Pfister, Şaşoğlu and Urbanke [10] showed that revealing any fraction beyond the rate determines a fresh answer with probability tending to one:
So if the class rate tends to the statistic , the support of the entropy rate tends to below . Here , which bounds the increment: . Such a nonincreasing sequence with area and no mass to the right of it has no freedom. These characteristics force the shape, so along that same sequence of classes the increments converge pointwise to a pure step, written with the Heaviside function , which is 1 when its argument is positive and 0 otherwise:
each class pays one full bit per question until its tank runs out at its own rate, and nothing after.
EXAMPLE 40
Where the step in comes from. Conditional on the latent class , the answers on are , so their entropy is the rank of that column submatrix, and is the chance a fresh column is still independent of the already asked.
To see the limit approach, hold the draw fixed at and let grow. The sampling rule hands back whichever class's rate gap contains it, so the class index climbs with , taking below, while itself stays put; by (116) the increment tends to the black step at . Outside the window is flat: one to the left, nothing to the right.

Two things converge, at very different speeds. The shape goes fast: the drop from down to 0.1 measures six questions at every here, so as a fraction of the run it closes like , from 0.094 at to 0.0015 at . The position of the transition goes slowly with : each curve steps at its own rate, which is rounded up to the grid and so overshoots by at most the gap width . Here 0.056, 0.037, 0.023, 0.013. Whatever the overshoot, each curve encloses exactly its own rate: the increments telescope to the dimension, , at every and with no approximation.
So, for a given sampled , class is pinned, and it is exactly a sequence of the kind (117) asks for: is rounded up to the top of its gap, and by (109) that gap is at most wide, so and . All that is left is to integrate over to get the true prior average.
Since is 1-Lipschitz the same gap bound controls the expectation, and the class average converges to an average over the statistic,
The last step is achieved through integration by parts. Pointwise
by the defining sampling process . Received information per question is a mean of the rates per class, weighted by the expected contribution of those classes. The correction from the mutual information term from equation (113) vanishes in the TDL.
5.3.3 The increment
This one now follows for free. The sequence is concave (increments nonincreasing), and slopes of concave functions converge wherever the limit is differentiable, so at every continuity point of
This caps the construction: the mean conditional entropy of a fresh answer is the probability that the true class is not yet exhausted. The survival function of the statistic is not a postulate; it is the increment term of the finite law.
EXAMPLE 41
This example is meant to illustrate how equation (113) behaves in the TDL. Concisely, the left sum leads to a staircase in , and the mutual information adds an extra dusting of uncertainty that lies on top.
The shaded region has height : the sampling distribution. The average over has contributions from all classes present. Dashed vertical lines are the class rate boundaries . The horizontal lines are the aggregate class weights, largest below, adding lower classes as we rise. This puts the shortest-lived ones on top, so as we move to the right through time, more and more classes “settle”, and stop contributing uncertainty. Increasing cuts the region into more filigree rate gaps horizontally, and more class weights vertically. The two jagged functions on top are two exact increments, the entropy of a single answer, under two states of knowledge. Dashed: what a fresh answer is worth to someone already told the class, . Solid: is what it's worth to Werner, who is not.

By (113) the mixture is more uncertain than its components by exactly what the answers say about the label, so the gray shaded region between the two integrates to : the label, and the white between the dashed curve and the region is due to the coarseness of the rate grid. Pretending the steps are smooth is (118). Ignoring the gray is (114).
The relative value of the label vanishes with as . As grows, the sliver of scales away.
The steps emerge because at a given time a class has either been settled, and contributes no uncertainty, or is still running, and contributes its full bit (scaled by the probability of that class: the step height) at every question, until the next class boundary is reached. The number of questions in which rank (total information) is reached inside a class, statistically, is , which rounds the step edges. At low , they bleed together, but at high , the steps become distinct.
The steps hug as , by construction of the sampling protocol (110).
5.4 The macroscopic curve
Substitute (112), (118) and (120) into (61) and cancel the common factor ; the numerator tidies from to
This is the master law (99) realized with
the convergence hypotheses for the TDL hold naturally, being bounded and nonincreasing by construction. The numerator has its own reading: destroyed uncertainty density is the asked fraction plus per unasked question (column), since an unasked answer is deductible exactly for maps whose class died before . Asked plus deduced, over received. Zooming in on the endpoints,
the curve starts at baseline plus the density of the statistic at zero, and completes at the reciprocal mean class rate.
Conversely, any nonincreasing profile with values in is the survival function of exactly one law . This means (121) is invertible: pick any desired increment profile, and (99) at can achieve it with .
A parallel construction, in which we build priors by postulating that blocks of questions have exchangeable answers, is mathematically complete in the same sense. However, as it is less philosophically aligned with modeling a learner, it is collected in Appendix B.
5.5 Toy statistics: min and max draws

Figure 15: The two families of (125) and (127) at , meeting at ; their profiles are in Figure 16. The larger of two draws , orange) delays its deductions and climbs from the baseline to ; the smaller of two draws , green) holds the constant ; between them lies the single uniform draw , blue), the one statistic the families share, at . Dots are finite- leverage: filled (all question sets enumerated, exact), circles and triangles (Monte Carlo over question orders, subset entropies exact via the nested rank profile, latent-label information included). Convergence is slow from below: the label costs of the available bits, and the mean rate approaches its limit only as . The left edge is a boundary layer: presumes , while at the only exhaustible class is the constants and , the early deductions being spent on identifying the latent label. The finite curves also scallop, most visibly at : each surge is one class being learned out near its rate , a discreteness the limit scrunches away as the rate grid refines.

Figure 16: The increment profiles behind Figure 15: the survival function of each statistic. By (120) it is the mean entropy (expected surprisal) of one fresh answer at macroscopic time t. Convex, straight and concave F give concave, straight and convex profiles respectively; the smaller of two draws spends its predictive power earliest, the larger of two hoards it.
Two one-parameter families are enough to see the law work. Draw independent uniformly random values on and keep one of them: keeping the smallest suppresses it toward zero, keeping the largest inflates it toward one, controls how hard. Every curve in Figure 15 comes from this extended family.
The smaller of r draws: All r land above x with probability , so
The density is a decreasing function, so budget (weight) is pulled into the low shells. Substituting into (121), the numerator factorizes and the denominator ends up carrying the same bracket,
at every macroscopic time: a whole ladder of constant curves, one rung per , deduced bits accompanying each received one. Both endpoint identities below (121) return that same number, at the start and at the finish, and with a constant curve they have no choice but to agree.
The larger of r draws: All r land below x with probability , so
an increasing density, budget on the high shells. Nothing telescopes now and the leverage varies with t,
rising monotonically across the run. At the start the density vanishes and for every r > 1: no leverage at all, each early answer releases no direct deductions. At the finish , so the deductions are late-loaded, but even the last of them buys only 1/r extra. The two finishes are complements, , because the mean of the smaller and the mean of the larger of the same r draws sum to one.
Pushing below 1 gives up the min-max reading and flips the tilt of back to concave, but with an infinite density at the origin ( at ), and diverges: front-loaded deduction, the shape of a boundary layer, no longer a constant.
Where do the two choices meet? At the min is the max, and both families collapse onto the single uniform draw , whose numerator cancels its denominator to leave exactly. That is the hinge of Figure 15: the blue line is the shared case, and the curves either side of it are the members of the two families, climbing from 1 to and . The uniform draw is also the flattest Occam on offer, each shell receiving exactly the share of coefficient space its degree inhabits, . An observed flat leverage does not mean we had this microscopic prescription: Appendix B produces the same constant 2 by a completely different mechanism.
The concave direction may look like the natural one, a simplicity prior ought to favor simple worlds, but never decides whether Werner is an Occamist. The classes are nested, so the weight of a single map falls with its degree for every whatsoever, and even the convex , which loads the high shells, still ranks each complicated (high-degree, highly composite) map as less likely than each simple one. What moves is the aggregate: which shell carries the belief, and with it the leverage, from deduced bits per received one under down to at most under .
EXAMPLE 42
How is belief split over the aggregate degree shells? We will illustrate for , , with the statistic: , the smaller of two uniform draws. The five classes have dimensions
using (110) with rates . We can visualize what prior weight maps of each polynomial degree receive.

On the left, per map: the weight drops by a factor 5.7, then 69, 64, 49, matching the factor that the next class costs in dimension, tilted by the budget ratio . Six decades across five degrees, which is why the axis is logarithmic. Occam is priced per map, and it is highly undemocratic. On the right, one shell: the maps of each degree carry the belief in blue on a linear axis, peaking at the affine () maps.
| maps in shell | shell weight | budget | |
|---|---|---|---|
| 0 | 2 | 14.7% | 12.1% |
| 1 | 30 | 38.6% | 40.6% |
| 2 | 2,016 | 37.5% | 37.5% |
| 3 | 30,720 | 9.0% | 9.4% |
| 4 | 32,768 | 0.2% | 0.4% |
| total | 65,536 | 100% | 100% |
In general, population can beat simplicity in the aggregate, while the per-map ordering never wavers. The white bars are the budgets , and the slight difference between the two is the leakage into a degree from higher classes.
6 Next steps
6.1 Stochastic truth maps
To all questions in this essay, nature answers deterministically: is a map, and an answer that disagrees with a candidate kills it outright. Replace the truth by a conditional law and the update rule (28) becomes genuine Bayes conditioning, reweighting each candidate by its likelihood instead of eliminating it. The hypothesis for the single truth space becomes a simplex rather than the finite set of maps. Much of the bookkeeping should survive the change: (53) and the two laws that follow from it use only the chain rule for the joint law of the answers, which does not care whether that law came from a map. An example of what breaks is the identification . Answers no longer pin down the truth fully, so a complete run does not end with the belief settled. The profile inherits that: no class is ever finished, so stays positive forever, as faith in individual answers grows asymptotically. The question is what becomes of the master law (99) when its numerator can no longer reach zero.
6.2 A prior that is wrong
Every average in this work assumes Werner's prior is that from which nature samples. This assumption is woven into all results. It is what makes the expected surprisal of a question equal to the entropy of its own column. Let nature draw from while Werner believes , and his expected surprisal at becomes a cross-entropy, [2]: costing him the true uncertainty plus the divergence of his belief from it. The numerator of (35) is still measured in his own units, so the ratio falls twice over, once for the inflated bill and once for deductions drawn on correlations that are not there. Some quantities analogous to the KL-divergence could be derived. The interesting assumption is a prior with full support, so under elimination Werner can't rule out the truth outright, which would leave at some later question: an infinite surprisal and an undefined update. Two questions in particular: does expected leverage ever fall below one? If so, is the deficit a divergence, or a sum of per-question KL terms? For the denominator alone the answer is already known: the cumulative excess surprisal of a wrong model is exactly the relative entropy between the two joint laws, which is the redundancy of universal prediction [3]. What that literature does not price is the numerator.
6.3 Designing a curve, shell by shell
The truncation remark of Chapter 3 cuts both ways. Read forward it says the first rounds cannot see correlators spanning more than questions; read backward it says the shell of order is the first place that has an influence on learning at step . Suppose then that we want a particular sequence of leverages. Equation (61) inverts,
so the demanded curve fixes the whole block-entropy sequence recursively from . Each in that recursion, with the previously fixed correlators, forms a set of conditions on shell . One could then try to build the prior a shell at a time: shell 1 to fix , shell 2 to fix , and onward, leaving the earlier rounds untouched. One constraint is submodularity on , which forces it to be concave with increments in . What makes this nontrivial is that not every set of correlators is admissible. The shells cannot be chosen freely: they must be the transform of an actual distribution. The positivity and boundedness of every is a global constraint that a shell-by-shell construction has no local way to respect. The admissible sets form the correlation polytope, and deciding membership in it is NP-complete [11], so no local rule can exist to be found. The same language is worth carrying into the limit. To second order the block entropy reads
and the inclusion probability of a correlator touching questions tends to at macroscopic time. Each shell enters the profile suppressed by its own power of . This codifies the idea of storing knowledge in deep correlations that do not surface until late. For this approach to work, along the way, we would develop TDLs of the correlators themselves, which would be an interesting exercise in its own right.
6.4 Measuring leverage in a real learner
The protocol of Chapter 2 is an experiment, not only a calculation, and a language model is a convenient Werner: its answer matrix is directly observable, the token probabilities in response to a prompt being the column itself. Fix a finite universe of questions with a latent rule, ask them one at a time, record the surprisal of each answer and the drop in total predictive entropy over the questions not yet asked, and both halves of (35) are measured rather than modeled. The same protocol runs on a network during training, reading the predictive entropy off a held-out question set between updates. Tracking a learner's predictive entropy is established ground, and its sub-extensive part is already the standard measure of how much there was to learn [4]. That work models learning as mutual information between past and future, in a statistical physics paradigm. It reproduces the de Finetti result for settling of the label. In our language, that would emerge as hyperbolic leverage. Let us now apply these ideas to LLMs. Perhaps they store their correlations deeper. The obstacle is scale: needs a question universe small enough to exhaust, or the whole experiment lives in the boundary layer at and reports nothing about macroscopic learning. Nonetheless, we think the TDL is the correct regime to understand neural networks, as the scale should be large enough to coarse-grain away the microscopic details of boolean maps.
Appendices
Appendix A continues the spike-prior example of Section 4.1. Appendix B collects the block-prior construction and its Bernstein profile language, a block-based route to the same family of macroscopic curves. Appendix C records how the circuit complexities of Subsection 3.2.1 were obtained, the symmetry reduction and the satisfiability encoding that make a minimum over all circuits computable at all. Appendix D collects every symbol used in this work on one page, in the order the argument introduces them.
A More characteristics of the spike prior
This appendix continues the toy example of Section 4.1: the anatomy of a single question, the fraction of the dependency stock it extracts, and the sharp-prior limit with its order-of-limits structure.
A.1 One question, branch by branch
For a single question abbreviate and , so that : the zero answer has probability , while each particular nonzero answer has probability . Here correct means that the observed answer agrees with the spike map at this question; it does not assert that the entire spike map is the truth. The surprisals are
a particular wrong answer having probability , not . Before asking, every one of the columns carries the same answer distribution and hence entropy , so . Conditional on confirmation the next unasked answer has probabilities for zero and for each nonzero symbol, with entropy
the asked column being fixed while all Q-1 unasked columns share that conditional marginal. Refutation instead leaves equal posterior weights on all compatible maps, so every unasked answer is uniform on A symbols and . Weighting the two branches,
the first equality ordinary branch averaging, the second the case of (60).


Figure 17: One-question anatomy of the spike prior against the special map's mass : the branch surprisals (130) (solid), the answer-matrix entropy before the question (dotted) and on each branch after it (131) (dashed). Both panels carry bits of table entropy at the uniform point.
For the branch leverages divide the vertical distance between the pre-question curve and each branch curve by that branch's own surprisal,
(133) whereas the expected leverage is the ratio of the two expected totals,
The branch formulas use realized surprisals; the expected formula divides the expected entropy drop by the expected surprisal and is therefore not the probability-weighted average of the two branch ratios.


uniform baseline correct wrong expected
Figure 18: Branchwise (133) and expected (134) leverage of the first question. A refuting answer carries so much surprisal that its own ratio falls below the uniform baseline and eventually below zero, yet the expectation stays well above 1 because the confirming branch is both likely and cheap.
A.2 The extraction ratio
The total correlation is the information stored in dependencies among answers rather than visible in their separate marginals. Only the part of the expected entropy drop beyond the received entropy comes out of that store, so when the share of it freed by a single question is
The two ratios differ only in their denominator: measures against the whole dependency stock, leverage against the received surprisal, and
Thus is a stock-extraction fraction while is released dependency information per received bit. At both the numerator of and vanish; expanding (75) with gives the exact finite- ratio limit
the second expression being the additional large-N approximation. At the exact value is against the approximation's 0.75. Both share the thermodynamic limit


Figure 19: The exact one-question extraction ratio (135) of the spike prior, plotted only where it is defined . Dashed lines are the exact finite-N limits (137) as . Growing n drives them down to ; growing m lifts them toward one.
For the spike-plus-uniform family (138) is a theorem. Extending it to a broader class of uninformative hedges would require a precise definition and a separate extremal argument: full support alone is not sufficient.
A.3 The sharp-prior limit and the order of limits
The sharp-prior calculation takes with and fixed. It is a limit toward the delta prior, not evaluation at , where leverage is . With the entropy coefficient we have , the other outcomes share mass , and
at fixed finite and . Substituting into (61) cancels the common factor and leaves, for ,
The second term decays geometrically in and does not depend on at all. In particular , so
The coefficient is the fraction of the hypothesis count eliminated by one answer. Its equality with the normalized leverage follows from the entropy asymptotics and should not be read as literally settling that fraction of every individual column. The limiting operation is necessary: at p = 1 the learner already assigns probability one to the truth, so received and destroyed information both vanish and leverage is 0/0. The finite value is the ratio at which the two vanish as . Taking in (140) gives the same constant at every t > 0, with the uniform bound
(142) so the microscopic boundary term survives only as an correction to the unnormalized leverage.



Figure 20: Left: the culling coefficient (141) against the answer width. Middle: the sharp-prior curve (140) normalized by , whose boundary layer is squeezed into the origin as grows, leaving the plateau at . Right: the approach at fixed , , labeled by . Tightening the prior lifts the curve only logarithmically, so the plateau is approached pointwise in but never uniformly.
As the fixed-p coefficient of (81) diverges, , which is the noncommutation in explicit form. Writing and comparing under the same normalization,
Before dividing by the first ordering is extensive while the second diverges only logarithmically in . The two orders are the endpoints of a family of joint scalings. Choose with prescribed exponential sharpness
so that recovers the scaling behind the second limit and the formal endpoint the first. Putting , the leading entropies for and are , and , and substitution into (61) gives the crossover
At the increment is undefined and the same value follows instead from the completion formula. The two familiar orders are thus endpoints of a larger family.
B Block priors and the Bernstein profile language
Subsection 4.1.3 read the spike prior as a mixture over two answer laws. Nothing there forced the number to be two, and the whole exchangeable family is worth seeing before it is left behind. Let be any distribution over answer laws on . Reading (84) at , the prior it induces on maps is
a map drawn by fixing one answer law and then answering every question independently from it, and by de Finetti's theorem [6, 7] every projectively consistent exchangeable prior is of this form and no other.
The construction is generous. Support is full wherever 's is, with no sliver to argue about. Consistency across sizes holds by definition, since carries no reference to , so the sequence of priors converges without the separate hypothesis that Section 4.2 otherwise has to assume. And every block law depends on through its size alone, so is the entropy of block probabilities, each a moment of , and the limit closes in form:
the numerator once more a mutual information, as at (89). Take and uniform on the coin biases, for instance. The prior is then , with the number of ones in the truth table, positive on every one of the maps, and against gives
exactly: a full-support prior whose thermodynamic limit is closed form, with no external theorem needed to take it.
And there the family stops. Every member has a flat interior profile and therefore a hyperbola, so a curve that changes throughout needs a prior that retains structure tied to particular groups or addresses of questions, and a fixed partition into local blocks is the simplest solvable construction. The escape is narrower than it looks. Failing to be a mixture of independent draws is not enough: a prior supported on the truth tables with an even number of ones is exchangeable and is no such mixture at any , since giving zero weight to a single one forces the mixing law onto the two constant answers and thereby kills every other count as well, yet its frequencies still converge and its profile still goes flat. What does escape is a family whose count law never settles, alternating between constructions on even and odd ; that sequence has no limiting frequency law, and so no thermodynamic limit to speak of.
B.1 Independent blocks of questions
Partition into independent blocks drawn from a fixed finite set of types, writing for the partition and indexing types by . At finite let count the type- blocks and set , the fraction of all questions belonging to them, assuming with . A type carries a size , a fixed joint distribution on its answers shared by every block of that type up to relabeling, and a mean subset-entropy profile defined as follows. Let be one particular block of type , fix an ordering of it once and for all, and give every subset the inherited order, so that is its random answer vector. For define
Here is the number of questions selected from the block, not a question label, and measures the learner's uncertainty in their joint answers, not uncertainty about which questions were selected: the set is known. No symmetry is required for this averaged definition, although every zoo member below has the stronger property of entropy homogeneity, meaning that itself depends only on . Full permutation invariance is sufficient for that but not necessary: MDS code blocks [9] are entropy homogeneous even though their coordinate distribution is not invariant under every permutation.
The profile records how much answer uncertainty remains visible after looking at locations inside a block, and its purpose is that successive differences have an operational meaning. Averaging the chain rule over a uniform -subset and then a fresh question drawn uniformly from gives the within-block increments
the mean uncertainty in one fresh answer after of its block partners have been answered. It's restricted to a block type. This is why the block-entropy profile is useful: it converts a joint law on an entire block into exactly the conditional entropies the learning curve needs. The endpoints make the meaning concrete, while is the entropy of the whole block taken jointly. Two independent fair binary answers have profile and increments ; the same fair bit copied into both questions has profile and increments , since after either answer is known the other carries no remaining uncertainty.
For a fresh question in a block of size , the number of its partners already present in a uniformly random -set is hypergeometric, so exactly at finite Q, for ,
Holding every fixed, taking and assuming , sampling without replacement approaches independent sampling,
which simultaneously defines the Bernstein basis polynomial and, probabilistically, is the limiting probability that exactly i of the fresh question's r-1 partners have been asked by macroscopic time t. The limiting profile is therefore
At the start of the run no partner has been asked, so only the term survives and : the same block-entropy profile supplies both the initial marginal entropy and the entire macroscopic conditional-entropy curve.
To construct a sequence with prescribed fractions, choose integer block counts with and , assigning only leftover sites, whose treatment does not affect the limit; at finite any leftovers can be recorded as an additional block type, so (151) still includes every question and remains exact. If block sizes grow with the proof changes, a useful sufficient condition for the hypergeometric-to-binomial approximation being . For countably many types, pointwise frequency convergence must be replaced by an or tightness condition.
EXAMPLE 43
Two types tile the growing table: pairs and quads , aiming at and . Integer counts force detours. At only a pair fits and at only a quad, while at and the best leftover-free tilings still miss the target shares by .

Each cell is one question and each rounded group is one block, so the counts can be read off: . The pair share closes in on its target by halving steps, and at the tiling is exact: .
B.2 Block laws and their map priors
The profile machinery never displayed the prior itself. It is constructive: each block law prices the restriction of a map to its block, and independence across blocks multiplies the prices. A map restricts to the answer tuple on block , and
The classical block laws, with the factor each contributes to (154) and the curve it produces:
| block law | a size-r block is sampled by | factor | leverage |
|---|---|---|---|
| clique | one value copied to every question | if , else 0 | , exact at every |
| parity () | uniform on the coset | on the coset, else 0 | rises , late |
| tilted parity | i.i.d. Bernoulli() bits conditioned on the coset | on the coset, else 0 | same shape, bent by |
| MDS | uniform on an MDS code () | on codewords, else 0 | ; interior peak when mixed with fresh sites |
| lapse () | any law above, replaced by the uniform block with probability | full support; |
Table 9: The classical block laws: how a block of size is sampled, the factor it contributes to (154), and the leverage that follows.
The supports multiply as well: cliques carry the maps constant on every block, parity carries the maps landing in every coset, a code carries maps, and the lapse restores everywhere, playing the role the top class played in Chapter 5.
EXAMPLE 44
Cliques at : partition the four questions by their high bit, and , with and on the answers . A supported map must be constant on both blocks, so it can depend only on : of the sixteen maps of Table 4, only FALSE , (), () and TRUE () survive, with product weights , , , , and for the other twelve. One answer from either block settles that block's remaining question for free: .
From any row of the table the route to leverage is the one already walked in Chapter 5. The block law fixes the subset entropies (149), their differences give the increments (150), and the hypergeometric average (151) is exact at every finite ; its binomial limit is the Bernstein profile (153). No capacity theorem is needed: blocks are bounded, so elementary hypergeometric-to-binomial convergence replaces it. The finite law (95) then gives exactly at every , and the master law (99) gives the curve, with .
B.3 Bernstein polynomials as a profile language
For a single block type, suppressing the type label, equation (153) reads in the Bernstein basis [8]
at , and at . Some useful coefficient vectors, with the entropy of one independent fresh answer and the entropy of the value copied through a clique:
| block | profile | |
|---|---|---|
| independent fresh answers | ||
| clique | ||
| parity | ||
| MDS | entries , then zeros |
Table 10: Coefficient vectors for the block laws above, and the profile each one generates.
Entropy submodularity gives , and the derivative identity for Bernstein polynomials makes the macroscopic monotonicity explicit,
so is nonincreasing as the general entropy calculus requires. Leverage itself need not be monotone.

Figure 21: The degree-three Bernstein basis: bump functions scanning left to right, the -th peaked at . A block profile is a positive combination of such bumps weighted by the microscopic conditional entropies , so the shape of becomes a question about where the coefficients drop.
Equation (153) describes every prior in the stated class of independent blocks drawn from a fixed finite list of bounded types, and mixing types mixes their profiles linearly. There is also a useful approximation result when the answer alphabet is allowed to grow: mixtures of common-length MDS blocks realize any nonincreasing Bernstein coefficient sequence, and Bernstein polynomials approximate every continuous nonincreasing profile. A Reed–Solomon block of length needs , however, so sending in that approximation also requires , or a different family of realizable entropy vectors. It is not a completeness theorem at fixed answer width.
B.4 Leverage curves at finite
Because (151) is exact, the finite- curves need no simulation: the hypergeometric increments feed the finite law (95) directly, and the limits below are the master law (99) applied to the Bernstein profiles of the table above. Three representative members, at and against their limits:



Figure 22: Exact finite- leverage (dots, and 64) against the macroscopic limits (dashed), from (151) and (95) with no simulation. Left: cliques of four with a fair shared bit; the dots sit exactly on the constant at every finite . Middle: parity blocks of four; deductions concentrate late and the finite curves approach the rise to from below. Right: a 3:1 mixture of [4,2] MDS code blocks () with fresh questions; the code releases its deductions around the threshold and the fresh sites keep receiving afterwards, an interior maximum of at against the completion value 1.6.
C Computing the circuit complexities
We read the footprint and the bias of Subsection 3.2.1 off a truth table in one pass. The complexity we cannot: it is a minimum over all circuits, and we have to compute it. This appendix records how we obtained the 65,536 values in each of the and tables. We describe the pipeline in gibbs_complexity.md, and implement it in aig_synth.py, groups.py, run_synth_3to2.py and the build_table drivers.
Reduction by symmetry: Relabeling wires is free in an and-inverter circuit: permitting inputs is rewiring, negating an input or an output is an edge attribute, and for m = 2 swapping the two outputs renames which wire is which. So is constant on the orbits of the relabeling groups
the first being the standard NPN group of logic synthesis [12]. In groups.py we apply every group element to every truth table and keep the numerically smallest image as the class representative, which collapses 65,536 maps to 222 classes at and 308 at . We then run exact synthesis a few hundred times instead of 65,536.
Exact synthesis as satisfiability: For a fixed gate budget , in aig_synth.py we build a formula that is satisfiable exactly when some -gate and-inverter circuit computes the target. Three families of variables carry it. First , the bit that signal holds on truth-table row , with signal 0 the constant and signals the inputs, all pinned by unit clauses. Then a one-hot selector saying that gate draws its two fanins from earlier signals , inverted according to ; restricting to earlier signals is what makes the circuit acyclic by construction, so we need no ordering constraints. Last a one-hot selector naming which signal, at which polarity, carries output . The AND semantics costs three clauses per gate, candidate and row, and the output constraint pins the chosen signal to the target column on every row. We add two structural clauses that tighten the search without excluding any minimum circuit: every gate must feed a later gate or an output, and no two gates may carry identical truth tables. Then
which we search by trying upward. We get a proven minimum rather than a best effort: the solver refuted every smaller budget, and did not merely fail to find one. We run CaDiCaL [15] as the back end, through PySAT [14]. Run as a script, the synthesizer reproduces the textbook two-input values, AND, OR and NAND at 1 and XOR at 3.
Provenance: At (4,1) we adopt the class values from the published reproducibility dataset [16] of the 222 NPN classes, and in crosscheck.py we re-derive ten of them at random with our own synthesizer, finding no mismatch. At (3,2) there is no reference table, so we synthesized all 308 classes from scratch with run_synth_3to2.py over a process pool. The resulting ranges are at (4,1) and at (3,2), and we tabulate the head counts in Subsection 3.2.1.
Why we adopt the values rather than recompute them: All 222 entries of [16] are proven optimal, the two hardest classes included: and , at 10 gates each, which is the ceiling of the range. Our own synthesizer agrees wherever it can reach, but it cannot reach that far. For it refutes in under a second and in half a minute, and does not settle within fifteen: the instance grows steeply with the budget, since the selector family for gate already carries candidates and its at-most-one encoding is quadratic in that. Hence our division of labour. We take the column from the reference dataset and sample it against our own synthesizer, while the classes, being one input bit smaller and so a much smaller formula, we synthesize here from scratch.
D Symbols
| n | number of bits in a question |
|---|---|
| m | number of bits in an answer |
| q, a | one question and one answer |
| how many distinct questions exist, the width of M | |
| how many answers any one question admits | |
| how many candidate maps exist, the size of the hypothesis space | |
| the truth: the single map nature uses to answer, unknown to Werner | |
| candidate map j, indexed by its truth table read as a numeral | |
| Werner's prior belief that | |
| the answer matrix: his belief that question q is answered a | |
| table entropy, the column entropies of M added | |
| entropy of the belief itself, over the N maps | |
| C | correlation store , knowledge no single column sees |
| correlator: the mean parity of the answers on a set of sites | |
| the set of questions asked so far | |
| how many have been asked, | |
| the pattern of answers received on | |
| surprisal of round k, minus the log of the probability that answer had | |
| leverage: table entropy destroyed per bit of surprisal received | |
| mean entropy of the answers to k questions, averaged over which k | |
| increment , what one fresh answer is worth | |
| macroscopic time, the fraction of the table already asked | |
| the profile: the increment's limit, entropy of a fresh answer at t | |
| , the surprisal received per question by time t | |
| marginal entropy of one answer before anything has been asked | |
| the statistic: a law on [0,1] and the value drawn from it | |
| the complexity class that draw selects | |
| prior weight of class d, the F-measure of its rate gap | |
| dimension of class d, the number of monomials of degree | |
| rate of class d, its dimension per question | |
| coefficient of the monomial in a map's polynomial | |
| generator matrix: a class's monomials evaluated at every question | |
| the coin string that picks a map uniformly inside a class |
Table 11: Every symbol used in this work, in the order the argument introduces it.
References
[1] C. E. Shannon, "A mathematical theory of communication", Bell System Technical Journal 27, 379–423 and 623–656, 1948.
[2] T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley-Interscience, 2006.
[3] N. Merhav and M. Feder, “Universal prediction”, IEEE Transactions on Information Theory 44(6), 2124–2147, 1998.
[4] W. Bialek, I. Nemenman and N. Tishby, “Predictability, complexity, and learning”, Neural Computation 13(11), 2409–2463, 2001.
[5] W. Rudin, Principles of Mathematical Analysis, 3rd ed., McGraw-Hill, 1976.
[6] B. de Finetti, “La prévision: ses lois logiques, ses sources subjectives”, Annales de l'Institut Henri Poincaré 7, 1–68, 1937.
[7] E. Hewitt and L. J. Savage, “Symmetric measures on Cartesian products”, Transactions of the American Mathematical Society 80, 470–501, 1955.
[8] G. G. Lorentz, Bernstein Polynomials, 2nd ed., AMS Chelsea Publishing, 1986.
[9] F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, North-Holland Mathematical Library 16, North-Holland, 1977.
[10] S. Kudekar, S. Kumar, M. Mondelli, H. D. Pfister, E. Şaşoğlu and R. L. Urbanke, “Reed–Muller codes achieve capacity on erasure channels”, IEEE Transactions on Information Theory 63(7), 4298–4316, 2017.
[11] I. Pitowsky, “Correlation polytopes: their geometry and complexity”, Mathematical Programming 50, 395–414, 1991.
[12] D. E. Knuth, The Art of Computer Programming, Volume 4A: Combinatorial Algorithms, Part 1, Addison-Wesley, 2011.
[13] A. Mishchenko, S. Chatterjee and R. K. Brayton, “DAG-aware AIG rewriting: a fresh look at combinational logic synthesis”, Proceedings of the 43rd Design Automation Conference, 532–535, 2006.
[14] A. Ignatiev, A. Morgado and J. Marques-Silva, “PySAT: a Python toolkit for prototyping with SAT oracles”, Theory and Applications of Satisfiability Testing (SAT 2018), LNCS 10929, 428–437, 2018.
[15] A. Biere, K. Fazekas, M. Fleury and M. Heisinger, “CaDiCaL, Kissat, Paracooba, Plingeling and Treengeling entering the SAT Competition 2020”, Proceedings of SAT Competition 2020: Solver and Benchmark Descriptions, Department of Computer Science Report Series B, vol. B-2020-1, University of Helsinki, 50–53, 2020.
[16] krinkin, bounds: a reproducibility package giving proven optimal AIG sizes for all 222 four-variable NPN classes, with witness circuits and verification scripts. https://github.com/krinkin/bounds