Q3 · Dual certificates
Which dual certificates force nonstorage?
All storage-capacity questions
Start here: primal and dual
The primal asks for weights and fields that store every prescribed pattern. The dual asks for a weighted combination of the requirements that proves this impossible.
If the same quantity must be both positive and negative, adding the requirements exposes the contradiction:
$$u>0,\qquad -u>0\quad\Longrightarrow\quad 0>0.$$A dual certificate does this with many inequalities: its nonnegative weights cancel every unknown network parameter.
Q3.1 · Learn the LP foundations for this problem — signed margins, constraint rows, weighted contradictions, and the primal–dual LP pair.
Main statements
D1. Exact finite primal–dual alternative
Attempt 1 · Proved in the stated scope
Exact finite alternative. For integers \(n\ge2,m\ge1\), let \(s^1,\ldots,s^m\in\{-1,1\}^n\). These spin patterns are not jointly storable if and only if there are real multipliers
$$\lambda_i^\mu\ge0,\qquad\sum_{i=1}^n\sum_{\mu=1}^m\lambda_i^\mu=1,$$
such that
$$\sum_{\mu=1}^m\lambda_i^\mu s_i^\mu=0\quad(1\le i\le n),$$
$$\sum_{\mu=1}^m(\lambda_i^\mu+\lambda_j^\mu)s_i^\mu s_j^\mu=0\quad(1\le i<j\le n).$$
When such a witness exists, one exists with at most \(n(n+1)/2+1\) positive entries. The allowed networks have symmetric real weights, zero diagonal, and free fields.
Model and endpoint definitions
For integers \(n\ge2\), \(1\le m\le2^n\), sample distinct spin patterns uniformly:
$$D_{n,m}=\{s^1,\ldots,s^m\}\sim\operatorname{Unif}\binom{\{-1,1\}^n}{m}.$$
$$\begin{gathered}J\in\mathbb R^{n\times n},\quad J=J^\top,\quad J_{ii}=0,\quad h\in\mathbb R^n,\\ F_n(m)=\{\exists(J,h):\ s_i^\mu((Js^\mu)_i+h_i)>0\quad\forall i\in[n],\ \mu\in[m]\},\\ p_n(m)=\Pr(F_n(m)).\end{gathered}$$
$$\begin{aligned}\alpha_-&=\sup\{u>0:p_n(\lfloor un\rfloor)\to1\},\\ \alpha_+&=\inf\{u>0:p_n(\lfloor un\rfloor)\to0\}.\end{aligned}$$
Each limit fixes \(u>0\) and sends \(n\to\infty\); the weights and fields may depend on the whole sample.
Supporting results and open gaps
D2. Coupled moment equations
Exact alternative established in Attempt 1; coupled moment forms established in Attempt 2. · Proved in the stated scope
Let \(S=[s^1\ \cdots\ s^m]\), \(\Lambda=(\lambda_i^\mu)\ge0\), \(B=\Lambda\odot S\), and \(t=\Lambda\mathbf1\). Nonstorage is equivalent to existence of such multipliers satisfying $$B\mathbf1=0,\qquad BS^\top=\operatorname{diag}(t)+K,\qquad K^\top=-K,\qquad\mathbf1^\top t=1.$$ This is a finite equivalence; certificate occurrence at a fixed load remains unestimated.
D3. Extensive pattern support
Attempt 1 · Proved in the stated scope
Linear pattern support. Let \(n\ge8\), \(1\le m\le2n\), and let \(D\) be a uniform distinct \(m\)-subset of \(\{-1,1\}^n\). Set
$$r=\lfloor n/8\rfloor,\qquad H(t)=-t\log t-(1-t)\log(1-t),\qquad c_0=\tfrac78\log2-2H(1/16)>0.$$
Then
$$\Pr\{\exists E\subseteq D:\ |E|\le r,\ E\text{ nonstorable}\}\le\frac{2n e^{-c_0n}}{1-\binom r2 2^{-n}}.$$
For a normalized nonnegative dual witness satisfying the equations on the Exact duality page, define its active pattern set by
$$T(\lambda)=\{\mu:\ \sum_{i=1}^n\lambda_i^\mu>0\}.$$
Every such active set is itself nonstorable. Thus, for every fixed \(0<\alpha\le2\) at \(m=\lfloor\alpha n\rfloor\), with probability tending to one every nonstorage witness has \(|T(\lambda)|>\lfloor n/8\rfloor\). This assertion is vacuous when the full sample is storable.
D4. Extensive neuron support
Neuron-support bound established in Attempt 2; the earlier pattern-support bound is from Attempt 1. · Proved in the stated scope
For each fixed \(0<u<2\), some \(\beta(u)>0\) satisfies, at \(m=\lfloor un\rfloor\), $$\Pr\{\exists\text{ normalized exact nonnegative dual supported on at most }\lfloor\beta(u)n\rfloor\text{ neurons}\}\longrightarrow0.$$ This excludes small neuron supports and leaves the probability of an unrestricted certificate open.
D5. Pairwise relaxation is insufficient
Attempt 1 · Proved in the stated scope
Pairwise necessity is insufficient. For distinct spins \(s^1,\ldots,s^m\in\{-1,1\}^n\), put \(d^{\mu\nu}=s^\mu-s^\nu\). Joint storage implies that some symmetric zero-diagonal real matrix \(J\) satisfies
$$(d^{\mu\nu})^\top Jd^{\mu\nu}>0\qquad(1\le\mu<\nu\le m).$$
Failure of the pairwise system is equivalent to the existence of real coefficients
$$c_{\mu\nu}\ge0,\qquad\sum_{\mu<\nu}c_{\mu\nu}>0,\qquad\sum_{\mu<\nu}c_{\mu\nu}d^{\mu\nu}(d^{\mu\nu})^\top\text{ is diagonal}.$$
Such coefficients certify nonstorage. Satisfying the pairwise inequalities does not certify storage: a six-pattern example in dimension five satisfies all pairwise inequalities but admits no storing network. For every fixed \(\alpha>2\), a uniform distinct sample of \(m=\lfloor\alpha n\rfloor\) patterns is, with probability tending to one, nonstorable while satisfying the pairwise inequalities.
Prefix boundary and thinness
Attempt 3 · Proved reduction; occurrence remains open
Let \(D_{n,m}\) be a uniform distinct \(m\)-subset of the spin cube. Write \(F_n(m)\) for strict simultaneous storage by one real symmetric zero-diagonal matrix and unrestricted fields, and \(p_n(m)=\Pr(F_n(m))\).Fix \(m=\lfloor33n/20\rfloor\), \(k=m-1\). For a uniform ordered distinct prefix of length \(r\), put \(Q_r=F_n(r)^c\), and $$\varphi_r=\max_{\lambda\ge0,\,\mathbf1^\top\lambda=1,\,A_r^\top\lambda=0}\min_{i,\mu}\lambda_{i\mu},$$ with zero on an empty dual set. Let \(c>0\) be a fixed augmented-pattern conditioning constant at length k, and $$a_n=\frac{n^{-4}(1+\sqrt n/c)}{1-n^{-3}}\sim c^{-1}n^{-7/2}.$$ For the full positive thin child event, $$\Pr\{Q_m,0<\varphi_m<n^{-4}\}\le\Delta_n+\Pr(Q_k,\varphi_k=0)+\Pr(Q_k,0<\varphi_k<a_n)+o(1).$$
Uniform extension
Attempt 3 · Proof
For a deterministic prefix with augmented least singular value σ>0, every exact normalized dual of positive floor a extends across every cube pattern with floor at least $$t(a,\sigma)=\frac a{1+na+n/\sigma}. $$
Split the full thin child event
Attempt 3 · Proof
Let \(D_{n,m}\) be a uniform distinct \(m\)-subset of the spin cube. Write \(F_n(m)\) for strict simultaneous storage by one real symmetric zero-diagonal matrix and unrestricted fields, and \(p_n(m)=\Pr(F_n(m))\).Fix \(m=\lfloor33n/20\rfloor\), \(k=m-1\). For a uniform ordered distinct prefix of length \(r\), put \(Q_r=F_n(r)^c\), and $$\varphi_r=\max_{\lambda\ge0,\,\mathbf1^\top\lambda=1,\,A_r^\top\lambda=0}\min_{i,\mu}\lambda_{i\mu},$$ with zero on an empty dual set. Let \(c>0\) be a fixed augmented-pattern conditioning constant at length k, and $$a_n=\frac{n^{-4}(1+\sqrt n/c)}{1-n^{-3}}\sim c^{-1}n^{-7/2}.$$ On conditioning, \(\varphi_k\ge a_n\) excludes \(0<\varphi_m<n^{-4}\). The remaining cases are birth, prefix boundary and positive prefix thinness.
Three unproved prefix limits
Attempt 3 · Proof conditioned on Gap 7, Gap 8 and Gap 9
Attempt 4
Exact coupled dual
Attempt 4 · proved; paired checks hold; outside the audited scope; the alternative of D1, proved again
S3-3. Nonstorage iff nonnegative nonzero multipliers balance all fields and shared edges
S3-4. Field balance, exterior absorption, active-pair balance and the single-neuron case
Recorded statements
S3-3 · proved
Let \(n\ge2\), \(m\ge1\), and let \(D=\{s^1,\ldots,s^m\}\subseteq\{-1,1\}^n\) consist of distinct patterns. The following are equivalent.
(a) \(D\) is not stored: there is no \(J\in\mathbb R^{n\times n}\) with \(J=J^\top\), \(J_{ii}=0\), and no \(h\in\mathbb R^n\), such that \(s_i^\mu((Js^\mu)_i+h_i)>0\) for all \(i\in[n]\), \(\mu\in[m]\).
(b) There is \(\lambda\in\mathbb R^{n\times m}\) with \(\lambda_{i\mu}\ge0\) for all \((i,\mu)\), \(\lambda\ne0\), and $$\sum_{\mu=1}^m\lambda_{i\mu}s_i^\mu=0\quad(1\le i\le n),\qquad\sum_{\mu=1}^m(\lambda_{i\mu}+\lambda_{j\mu})\,s_i^\mu s_j^\mu=0\quad(1\le i<j\le n).$$
(c) The same with the normalization \(\sum_{i,\mu}\lambda_{i\mu}=1\); i.e. \(\mathcal C(D)=\{\lambda\ge0:\ \sum_{i,\mu}\lambda_{i\mu}=1,\ \text{equations of (b)}\}\ne\emptyset\).
(d) \(0\in\operatorname{conv}\{a_{i\mu}:(i,\mu)\in[n]\times[m]\}\subset\mathbb R^{d}\), \(d=n(n+1)/2\), where \(a_{i\mu}\) has \(h_k\)-coordinate \(\mathbf 1\{k=i\}s_i^\mu\) and \(J_{\{k,l\}}\)-coordinate \(\mathbf 1\{i\in\{k,l\}\}s_k^\mu s_l^\mu\).
Distinctness of the patterns is not used; the equivalence holds for any finite list of cube vectors.
S3-4 · proved
Let \(n\ge2\), \(m\ge1\), \(D=\{s^1,\ldots,s^m\}\subseteq\{-1,1\}^n\) distinct. Call \(\lambda\in\mathbb R^{n\times m}\) a certificate for \(D\) if \(\lambda\ge0\), \(\lambda\ne0\), $$(F_i)\ \sum_{\mu}\lambda_{i\mu}s_i^\mu=0\ (i\in[n]),\qquad(E_{ij})\ \sum_\mu(\lambda_{i\mu}+\lambda_{j\mu})s_i^\mu s_j^\mu=0\ (i<j).$$ Put \(t_i=\sum_\mu\lambda_{i\mu}\), \(I(\lambda)=\{i:t_i>0\}\), \(T_i(\lambda)=\{\mu:\lambda_{i\mu}>0\}\), \(T(\lambda)=\bigcup_iT_i(\lambda)\). Then for every certificate \(\lambda\):
(i) Field balance. For every \(i\), \(\sum_{\mu:s_i^\mu=1}\lambda_{i\mu}=\sum_{\mu:s_i^\mu=-1}\lambda_{i\mu}=t_i/2\). Hence each \(i\in I(\lambda)\) has active patterns of both signs at coordinate \(i\): \(|T_i(\lambda)|\ge2\), and \(|T(\lambda)|\ge2\).
(ii) Exterior absorption. For \(i\in I(\lambda)\) and \(k\notin I(\lambda)\): \(\sum_\mu\lambda_{i\mu}s_i^\mu s_k^\mu=0\). With \(\pi_{i\mu}=\lambda_{i\mu}/t_i\) (a probability vector supported on \(T_i(\lambda)\)), $$\sum_{\mu\in T_i(\lambda)}\pi_{i\mu}\big(s_i^\mu,(s_i^\mu s_k^\mu)_{k\notin I(\lambda)}\big)=0\in\mathbb R^{1+n-|I(\lambda)|},$$ so no \(w\in\mathbb R^{1+n-|I(\lambda)|}\) has \(w\cdot(s_i^\mu,(s_i^\mu s_k^\mu)_{k\notin I(\lambda)})>0\) for all \(\mu\in T_i(\lambda)\).
(iii) Active-pair balance. For \(i\ne j\) in \(I(\lambda)\), with \(X_{ij}=t_i^{-1}\sum_\mu\lambda_{i\mu}s_i^\mu s_j^\mu\in[-1,1]\): \(t_iX_{ij}+t_jX_{ji}=0\).
(iv) Restriction. \(\lambda|_{[n]\times T(\lambda)}\) is a certificate for \(D_{T(\lambda)}=\{s^\mu:\mu\in T(\lambda)\}\), and \(D_{T(\lambda)}\) (hence \(D\)) is not stored.
(v) Single active neuron. \(I(\lambda)=\{i\}\) iff \(\lambda\) is the zero-extension of a per-neuron certificate: \(\lambda_i\in\mathbb R^m_{\ge0}\setminus\{0\}\) with \(\sum_\mu\lambda_{i\mu}s_i^\mu=0\) and \(\sum_\mu\lambda_{i\mu}s_i^\mu s_k^\mu=0\) for all \(k\ne i\). Such \(\lambda_i\) exists iff the per-neuron system \(E_i\) (some \((w,b)\in\mathbb R^{n-1}\times\mathbb R\) with \(s_i^\mu(\sum_{k\ne i}w_ks_k^\mu+b)>0\) for all \(\mu\)) is infeasible. Consequently, if every \(E_i\) is feasible and \(D\) has a certificate, then every certificate has \(|I(\lambda)|\ge2\), each active neuron having at least two active patterns.
(vi) Example. If \(s^\mu,s^\nu\in D\) differ in exactly one coordinate \(i\), then \(\lambda_{i\mu}=\lambda_{i\nu}=1/2\), all other entries \(0\), is a certificate with \(I(\lambda)=\{i\}\); so any \(D\) containing two patterns at Hamming distance one is not stored.
Extensive certificates
Attempt 4 · proved; paired checks hold; outside the audited scope
S4-11. Extensive active support: explicit \(\beta(u)\); sharp \(1-u/2\) for robust certificates
S4-15. Extensive pattern support: certificates use \(>\theta n\) patterns w.h.p. (\(\theta=1/8\))
Recorded statements
S4-11 · proved
Setting. \(n\ge2\), \(1\le m\le2^n\), \(D=\{s^1,\dots,s^m\}\) a uniform set of \(m\) distinct patterns of \(\{-1,1\}^n\) (problem.md). A certificate for \(D\) is \(\lambda\in\mathbb R^{n\times m}_{\ge0}\) with \(\sum_{i,\mu}\lambda_{i\mu}=1\), $$\sum_{\mu}\lambda_{i\mu}s_i^\mu=0\ \ (i\in[n]),\qquad \sum_\mu(\lambda_{i\mu}+\lambda_{j\mu})s_i^\mu s_j^\mu=0\ \ (i<j),$$ (the exact nonstorage certificate of S3-3(c) and S4-5); its active set is \(I(\lambda)=\{i:\sum_\mu\lambda_{i\mu}>0\}\). For \(I\subseteq[n]\), \(i\in I\), \(\mu\in[m]\) put \(d(I)=n-|I|+1\) and $$v^{i\mu}_I=\big(s_i^\mu,\ (s_i^\mu s_k^\mu)_{k\notin I}\big)\in\{-1,1\}^{d(I)}.$$ A certificate is robust if for every \(i\in I(\lambda)\) the origin lies in the interior of \(\operatorname{conv}\{v^{i\mu}_{I(\lambda)}:\mu\in[m]\}\) (equivalently, no \(z\ne0\) has \(\langle z,v^{i\mu}_{I(\lambda)}\rangle\ge0\) for all \(\mu\)). Let \(c_R>0\) be the constant of Tikhomirov, Theorem 1.2, for subgaussian parameter \(K=2\) (Rademacher coordinates). For \(1\le k\le n-1\) let \(d_k=n-k+1\), \(M=\max\{m,n+1\}\), \(p_k=\Pr\{\mathrm{Bin}(M-1,\tfrac12)\ge d_k\}=2^{-(M-1)}\sum_{j\ge d_k}\binom{M-1}{j}\), and for \(1\le r\le n-1\) let \(B_r\) (resp. \(B_r^{\rm rob}\)) be the event that some certificate (resp. some robust certificate) for \(D\) has \(|I(\lambda)|\le r\).
(i) Finite bound. \(\displaystyle \Pr(B_r)\le\sum_{k=1}^{r}\binom nk\Big[p_k^{\,k}+4k\,e^{-c_Rd_k}\Big]+\binom m2 2^{-n}\), and \(\displaystyle \Pr(B_r^{\rm rob})\le\sum_{k=1}^{r}\binom nk p_k^{\,k}+\binom m2 2^{-n}\).
(ii) Fixed load. Fix \(u\in(0,2)\), put \(\bar u=\max\{u,1\}\), \(m_n=\lfloor un\rfloor\), and fix \(\beta\in(0,1-\bar u/2)\), \(\gamma=1-\beta-\bar u/2>0\), \(r_n=\lfloor\beta n\rfloor\), \(H(\beta)=-\beta\log\beta-(1-\beta)\log(1-\beta)\). There is \(n_0(u,\beta)\) such that for all \(n\ge n_0\): $$\Pr(B^{\rm rob}_{r_n})\le 2n\,e^{-2\gamma^2n/\bar u}+\frac{u^2n^2}{2^{n+1}}\longrightarrow0,$$ $$\Pr(B_{r_n})\le 2n\,e^{-2\gamma^2n/\bar u}+4\beta n\,e^{-n[c_R(1-\beta)-H(\beta)]}+\frac{u^2n^2}{2^{n+1}}.$$ Hence, with \(\beta_0(c_R):=\sup\{\beta\in(0,\tfrac12]:H(\beta)<c_R(1-\beta)\}>0\): for every \(\beta<\beta(u):=\min\{1-\bar u/2,\ \beta_0(c_R)\}\), with probability tending to one (exponentially fast) no certificate has an active set of size \(\le\beta n\); for every \(\beta<1-\bar u/2\) the same holds for robust certificates with no dependence on \(c_R\).
(iii) What is explicit. \(\beta(u)\) is an explicit function of \(u\) and of the source constant \(c_R\) (whose numerical value the source does not provide). The sharp value is reached, i.e. \(\beta(u)=1-u/2\) for \(u\in[1,2)\), exactly when \(c_R\,u/2\ge H(1-u/2)\); otherwise the general statement holds up to \(\beta_0(c_R)<1-u/2\) while robust certificates are excluded on the full range \(\beta<1-u/2\). Nothing is asserted for \(\beta\ge1-u/2\) (there the one-row obstruction disappears, S3-14(iv)).
(iv) Sublinear supports. For every fixed \(u\in(0,2)\) and every sequence \(r_n=o(n)\): \(\Pr(B_{r_n})\to0\). In particular certificates with a bounded number of active neurons, such as the two-neuron certificates of S4-5, have probability tending to zero at every fixed load \(u<2\).
S4-15 · proved
Setting. \(n\ge2\), \(1\le m\le2^n\), \(D=\{s^1,\dots,s^m\}\) a uniform set of \(m\) distinct patterns in \(\{-1,1\}^n\). A certificate \(\lambda\) is as in S3-3(c)/S4-11: \(\lambda\in\mathbb R^{n\times m}_{\ge0}\), \(\sum\lambda=1\), \(\sum_\mu\lambda_{i\mu}s_i^\mu=0\) \((i\in[n])\), \(\sum_\mu(\lambda_{i\mu}+\lambda_{j\mu})s_i^\mu s_j^\mu=0\) \((i<j)\); its active pattern set is \(T(\lambda)=\{\mu:\sum_i\lambda_{i\mu}>0\}\). Let \(H(x)=-x\log x-(1-x)\log(1-x)\).
(i) Deterministic. If \(\lambda\) is a certificate for \(D\), then \(E=\{s^\mu:\mu\in T(\lambda)\}\) is itself not storable. If \(E=\{s^1,\dots,s^k\}\subseteq\{-1,1\}^n\) (distinct or not) has linearly independent columns \(S=[s^1\cdots s^k]\) and \(e_i\notin\operatorname{col}S\) for every \(i\in[n]\), then \(E\) is stored by \(J=P-\operatorname{diag}P\), \(h=0\), \(P=S(S^\top S)^{-1}S^\top\), with margins \(1-P_{ii}>0\). Consequently, if \(E\) is not storable then for some \(i\in[n]\) the \((n-1)\times k\) matrix \(S_{-i}\) (row \(i\) deleted) has rank \(<k\).
(ii) Finite bound. For \(1\le r\le n-2\), let \(B^{\rm pat}_r\) be the event that some certificate for \(D\) has \(|T(\lambda)|\le r\). Then $$\Pr(B^{\rm pat}_r)\le\Pr\{\exists E\subseteq D,\ 1\le|E|\le r,\ E\text{ not storable}\}\le 2n\sum_{k=1}^{r}\binom mk2^{-(n-k)}+\binom m22^{-n}.$$
(iii) Fixed load. Fix \(u>0\), put \(\bar u=\max\{u,1\}\), \(m_n=\lfloor un\rfloor\), and let \(\theta\in(0,\tfrac12]\) satisfy \(c(u,\theta):=(1-\theta)\log2-\bar u\,H(\theta/\bar u)>0\). Then with \(r_n=\lfloor\theta n\rfloor\), for all large \(n\), $$\Pr(B^{\rm pat}_{r_n})\le 2n\,e^{-c(u,\theta)n+o(n)}+\frac{u^2n^2}{2^{n+1}}\longrightarrow0,$$ so with probability tending to one every certificate has active pattern set of size \(>\theta n\). The choice \(\theta=\tfrac18\) works for every \(u\le2\), with \(c(u,\tfrac18)\ge c_0:=\tfrac78\log2-2H(\tfrac1{16})=0.1389\ldots>0\), and still for every \(u\le\tfrac{21}{10}\), with \(c(u,\tfrac18)\ge\tfrac78\log2-\tfrac{21}{10}H(\tfrac{10}{168})=0.1326\ldots>0\); the largest admissible \(\theta\) at \(u=2\) is the root \(\theta^*(2)=0.168\ldots\) of \((1-\theta)\log2=2H(\theta/2)\), and at \(u=17/10\) it is \(\theta^*(1.7)=0.178\ldots\). (In particular bounded nonstorable subsets, "bounded witnesses", occur in \(D\) with probability tending to zero at every load \(u\le2\).)
Attempt 4 · Open problem G1′. Restricted certificates at β = 3/4
Prove \(\liminf_n\Pr\{\mathcal C_{[\lfloor3n/4\rfloor]}(D_n)\ne\emptyset\}>0\) at \(m_n=\lfloor1.7n\rfloor\), where \(\mathcal C_I(D)\) is the restricted-certificate set of S3-15. This implies \(\alpha_-\le1.7\).
Round 4 reduced it to a cap test (S3-36, S3-38); S3-35 fails as a reduction, because its remaining estimate is equivalent to the open problem. Restricted feasibility is monotone and exchangeable (S3-27).
Open gaps
Attempt 3 · Gap 7. Exact prefix boundary
Prove $$\Pr\{Q_k,\varphi_k=0\}\longrightarrow0.$$
Recorded G24 (S5.G2). Small-support exclusion leaves the dense boundary; the probability of that event remains unestimated.
Attempt 3 · Gap 8. One-pattern birth increment
Prove $$\Delta_n:=\Pr(Q_m,\neg Q_k)=p_n(k)-p_n(m)\longrightarrow0.$$
Recorded G23 (S5.G1). The exact expected repairing-pattern count is mΔ_n. Bounds for one certificate support do not upper-bound the common support intersection over every certificate.
Attempt 3 · Gap 9. Positive prefix thinness
Prove $$\Pr\{Q_k,0<\varphi_k<a_n\}\longrightarrow0.$$
Recorded G25 (S5.G3). The prefix threshold is larger than n^-4; the uniform extension theorem supplies an implication, without an occurrence estimate.