The signal lives in the representative
Short contexts predict catalog representatives, but almost all of the gain collapses after equivalence-preserving row and column permutations.
First turn: printed adjacency is not an invariant local object.
A research program in exact combinatorics
Hadamard matrices are rigid as complete objects. This project asks how that rigidity becomes visible during local construction, which parts survive a change of representation, and whether a correct regional forecast can reduce the work of exact search.
The sentence
Hadamard matrices reveal how global order can make local summaries predictable without making local decisions wise: the constraint state tells us what the next region should look like, but not which plausible region can belong to a complete whole.
The narrative arc
The project began with next-entry prediction, found the more durable signal in regional constraint summaries, and then discovered that predictive information and algorithmic value are not the same thing.
Short contexts predict catalog representatives, but almost all of the gain collapses after equivalence-preserving row and column permutations.
First turn: printed adjacency is not an invariant local object.
Partial row sums and inner products fix the remaining inventories of signs and pairwise agreements. Those inventories predict regional composition under randomized presentations.
Second turn: locality belongs to the evolving constraint state.
The regional score ranks known valid continuations strongly and helps against weak policies, but its advantage reverses against lexicographic search as construction depth grows.
Third turn: plausible shape is not residual completability.
The common mathematical language
The same small set of quantities connects the probability experiments to the exact solver.
A matrix of order $d$ is Hadamard when
$$ H\in\{-1,+1\}^{d\times d}, \qquad HH^{\mathsf T}=dI_d. $$After normalization, the first row and column are $+1$; every other row and column contains exactly $d/2$ signs of each kind.
Permutations and sign changes preserve the complete object:
$$ K=D_rP_rHP_cD_c. $$A statistic can be predictive in one representative without being invariant across its equivalence class.
For row-reset context $C_{i,j}^{(k)}$ and target $Y_{i,j}$, the smoothed forecast is
$$ \begin{aligned} \widehat q_k(c)&= \frac{N_c^++\tfrac12}{N_c^++N_c^-+1},\\ G_k&=\log 2-L_k. \end{aligned} $$Positive $G_k$ is held-out gain over fair guessing, measured in nats per predicted sign.
After assigning $m$ entries of a new row $i$:
$$ \begin{aligned} R_i(m)&=\sum_{\ell=1}^{m}H_{i\ell},\\ S_{ij}(m)&=\sum_{\ell=1}^{m}H_{i\ell}H_{j\ell}, \qquad r=d-m. \end{aligned} $$$R_i$ is balance debt; each $S_{ij}$ is orthogonality debt to an earlier row.
The remaining inventories are $P_i=(r-R_i)/2$ positive signs and $A_{ij}=(r-S_{ij})/2$ agreements. Under uniformly randomized remaining-coordinate order, the next block of size $b$ obeys
$$ \Pr(Y_b=q\mid R_i) =\frac{\binom{P_i}{q}\binom{r-P_i}{b-q}}{\binom rb}, \qquad \Pr(Z_{b,j}=q\mid S_{ij}) =\frac{\binom{A_{ij}}{q}\binom{r-A_{ij}}{b-q}}{\binom rb}. $$These are exact marginal laws for regional composition—not a claim that the pairwise summaries are mutually independent.
A signed debt $u$ can be repaired by $r$ remaining signs exactly when
$$ |u|\le r, \qquad r-u\equiv0\pmod 2. $$The solver applies this to $R_i$ and every $S_{ij}$. Probability orders surviving branches; it never proves one impossible.
For state $s$ and feasible child block $x$, define
$$ V(s,x)=\mathbf 1\{\text{the subtree below }(s,x)\text{ contains a completion}\}. $$Regional likelihood asks whether $x$ spends local debts plausibly. $V$ asks whether the choice can still belong to a complete whole.
The formal spine
Each experiment is paired with a mathematical claim that says what should happen before data are examined—or what the data cannot establish.
Every Hadamard matrix is equivalent to a normalized one; every normalized nonfirst row and column has exactly $d/2$ entries of each sign.
Under uniform row-reset sampling of adjacent positions in any normalized Hadamard matrix, the next sign is conditionally fair given the preceding sign. First-order success would be a boundary artifact or a bug.
For $k\ge2$, an equivalence-preserving column permutation can change row-wise context and target counts, even after normalization.
Whole-row permutation cannot change pooled row-reset counts; changing column order can. The column-reset dual holds by transposition.
Partial balance and pairwise inner products determine hypergeometric next-block laws under randomized exposure of the remaining coordinates.
With sound pruning and no budget, any policy that only permutes feasible children explores the same finite search tree and is complete for the same restricted completion problem.
If the root is satisfiable and a policy always chooses a child with $V(s,x)=1$, it reaches a solution without visiting a sibling.
For every $\varepsilon>0$ and $M$, an offline policy can be correct on at least $1-\varepsilon$ of successful-path states yet visit at least $M$ nodes before its first solution. A rare early error can own an enormous subtree.
The note sequence
Each manuscript is single-column, self-contained, and written around a clean theorem–experiment pair.
Note 1 · 5 pages
Bounded-context prediction in Hadamard representatives. The note separates balance, normalization, and representative ordering, then shows where the apparent local signal actually resides.
Note 2 · 4 pages
Regional prediction from partial Hadamard constraints. The note replaces printed adjacency with the balance and orthogonality debts carried by an unfinished region.
Note 3 · 4 pages
Regional likelihood and exact Hadamard construction. The note embeds the score in a complete solver and identifies residual completability as the missing algorithmic object.
The experimental program
The sampling unit is a whole equivalence class, controls inherit the same split, and every claimed Hadamard matrix is checked exactly.
The prediction studies use verified McKay equivalence-class representatives: $5$, $3$, $60$, and $487$ matrices at orders $16$, $20$, $24$, and $28$. Synthetic controls are generated from the same split structure. Exact-search instances reveal randomized satisfiable prefixes from verified matrices; the hidden completion is retained only as an audit witness and is never supplied to branch ordering.
Experiment A
Can a short left-to-right context predict the next sign on held-out matrices?
Experiment B
Which part of the representation creates the serialized signal?
Experiments C–D
Can the constraint state predict regional summaries after representation randomization?
Experiment E
Do regional laws rank the observed valid block among every immediately feasible alternative?
Experiment F
Does the offline ranking reduce first-solution work in a complete exact solver?
What survived
The numbers establish a progression from representation-dependent entry prediction, to representation-resilient regional prediction, to a depth-dependent online reversal.
| Order | Hidden rows | Hybrid solved | Lex solved | Node ratio | Time ratio |
|---|---|---|---|---|---|
| $16$ | $4$ | $60/60$ | $60/60$ | $0.74$ | $0.84$ |
| $20$ | $4$ | $60/60$ | $60/60$ | $1.27$ | $1.27$ |
| $16$ | $6$ | $60/60$ | $60/60$ | $6.72$ | $7.75$ |
| $20$ | $6$ | $39/60$ | $60/60$ | $5.51$ | $5.28$ |
From two seed rows, lexicographic and hybrid policies both solve all $15$ presentations. Lexicographic search has medians of $74$ nodes and $0.063$ seconds; the hybrid has medians of $1{,}385$ nodes and $1.083$ seconds. The paired hybrid-over-lex ratios are $7.59$ for nodes and $15.21$ for time.
Open artifacts
The repository contains exact corpus verification, split and digest audits, raw CSVs, paired summaries, environment metadata, solver code, tests, LaTeX sources, and compiled papers.
cd notes/01_bounded_context_predictability/experiments
$env:PYTHONPATH = "src"
python -m pytest -q
cd ../paper
latexmk -pdf -interaction=nonstopmode -halt-on-error note1.tex