open-memory-associative-capacity
Sharp Non-Asymptotic Capacity, Macroscopic Basins & Zero-Spurious-Attractor Classification for Transformer Attention / Modern Hopfield Memory
Sharp deterministic non-asymptotic theory of continuous Modern Hopfield / Transformer self-attention memory $T_\beta(\xi) = \sum_\mu p_\mu(\xi) X_\mu$: proves exact Fréchet covariance Jacobian & Global Amnesia phase transition ($\beta < 4/D^2$, exact via $M=2$ pitchfork), universal $M$-independent attractor confinement $\min_\mu \|\xi^*-X_\mu\| \le \sqrt{d/\beta}$ & Simpson attention purity $1 - \sum p_\mu^2 \le 2d/(\beta d_{\min}^2)$ (exact on Helmert regular $(d+1)$-simplex at $\beta=d$, with every symmetric $k$-mixture unstable), squares Ramsauer et al. (ICLR 2021) Theorem 4 capacity from $O(\beta^{-1/2}e^{\frac{1}{2}\beta\Delta})$ to $M-1 \le \frac{L}{2e\beta\Delta}e^{\beta\Delta}$ ($1.32\times 10^9\times$ larger at $\beta=50, \Delta=1$) with 1-step macroscopic Voronoi capture, proves a matching global Jensen converse ($\le \frac{2}{e\beta}e^\beta$, closing worst-case capacity to universal pure constant $4/L$), and proves the Global Zero-Spurious-Attractor Bijection Theorem at exponential capacity $M = \exp(\Omega(d))$ across all of $\mathbb{R}^d$ (57 verified theorems, 2,645 lines, 15/15 clean axioms).
Contribution status
Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.
How results are classifiedComplete sharp deterministic non-asymptotic theory of Modern Hopfield / Transformer Self-Attention Associative Memory $T_\beta(\xi) = \sum_{\mu=1}^M p_\mu(\xi) X_\mu$: proves the exact Global Amnesia contraction threshold ($\beta < 4/\mathrm{diam}(X)^2$, sharp via $M=2$ pitchfork), universal $M$-independent attractor confinement $\min_\mu \|\xi^* - X_\mu\| \le \sqrt{d/\beta}$ and Simpson purity $1 - \sum p_\mu^2 \le 2d/(\beta d_{\min}^2)$ (both exact on the Helmert regular $(d+1)$-simplex at $\beta=d$, with all $k$-mixtures unstable), squares Ramsauer et al. (ICLR 2021) Theorem 4 capacity to $M - 1 \le \frac{L}{2e\beta\Delta} e^{\beta\Delta}$ ($1.32 \times 10^9\times$ larger at $\beta=50,\Delta=1$) with 1-step macroscopic Voronoi capture, closes worst-case deterministic capacity to a universal pure constant $4/L$ via the Balanced Spherical Cone global Jensen converse ($\le \frac{2}{e\beta}e^\beta$), and proves the Global Zero-Spurious-Attractor Classification Theorem (exact cardinality-$M$ bijection of all local minima on $\mathbb{R}^d$ at exponential capacity $M = \exp(\Omega(d))$; 57 verified theorems, 2,645 lines, 0 warnings, 15/15 clean axioms).
AttentionMemoryCapacity.lean, 2,645 lines, 57 verified theorems/lemmas, 0 warnings, 15/15 clean standard axioms) plus reproducible numerical benchmark verify_theorems.py.- H. Ramsauer et al. (ICLR 2021, arXiv:2008.02217): Introduced continuous Modern Hopfield Networks identical to Transformer self-attention and proved Theorem 4 deterministic storage $M = O(\beta^{-1/2} e^{\frac{1}{2}\beta\Delta})$ on vanishing balls of radius $1/(\beta M R)$.
- D. Krotov & J. J. Hopfield (NeurIPS 2016); M. Demircigil et al. (J. Stat. Phys. 2017): Introduced Dense Associative Memory ($F(x)=x^p$ and $e^x$) and probabilistic exponential capacity for random binary Rademacher patterns.
- C. Lucibello & M. Mézard (PRL 2024); V. M. Schimmenti & M. Ciarchi (arXiv:2609.07757, Sept 2026): Statistical-physics replica capacity and ensemble-level bifurcation phenomenology for random/structured Modern Hopfield networks.
AttentionMemoryCapacity.lean, 2,645 lines, 57 verified theorems, 0 warnings, 15/15 clean axioms) proving hasFDerivAt_attnMap, global_amnesia_unique_fixedPoint, pitchfork_bifurcation_two_patterns, universal_attractor_confinement, universal_attention_purity_simpson, regularSimplex_confinement_and_purity_exact, regularSimplex_k_mixture_always_unstable, sharp_attention_contraction_and_fixedPoint, macroscopic_voronoi_basin_capture, beats_ramsauer_exponentially, balancedCone_global_fixedPoint_bound, balancedCone_orthogonal_impossibility, attention_capacity_sharp_sandwich, and global_zero_spurious_attractor_classification.⊢ Mathematical Constructions & Proof Explorer
Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.
Mathematical Overview & Verification Notes
A completely self-contained, machine-checked Lean 4 formalization (AttentionMemoryCapacity.lean, 2,645 lines, 57 theorems & lemmas, 0 errors, 0 warnings, 0 sorry/admit/axiom/native_decide, 15/15 clean #print axioms using only [propext, Classical.choice, Quot.sound]) establishing the sharp non-asymptotic deterministic worst-case theory of the continuous Modern Hopfield / Transformer self-attention memory dynamics:
together with its dual Lyapunov energy function
1. Intuition: What These Theorems Mean for AI Attention & Biological Memory
A single head of Transformer self-attention (with keys and values $X_1, \dots, X_M \in \mathbb{R}^d$, query $\xi \in \mathbb{R}^d$, and inverse temperature $\beta = 1/\sqrt{d_k}$) is mathematically identical to the Modern Hopfield Network update map $T_\beta(\xi)$ (Ramsauer et al., ICLR 2021). As the inverse temperature $\beta$ is dialed from $0$ to $\infty$, associative memory undergoes a sequence of sharp geometric phase transitions:
- Complete Amnesia Phase ($\beta < 4 / \mathrm{diam}(X)^2$): Attention is a global strict contraction on all of $\mathbb{R}^d$. Every query collapses to a single global fixed point — no memory can be retrieved. This threshold is exact for $M = 2$ antipodal memories, where a pitchfork bifurcation occurs at $\beta_c = 4/D^2$.
- Universal Attractor Confinement ($\mathrm{dist}(\xi^*, X) \le \sqrt{d/\beta}$): For any number of stored memories $M$ — even $M = 10^{1000}$ — and without any separation assumption, every stable attractor (local minimum of $E_\beta$) is forced to lie within Euclidean distance $\sqrt{d/\beta}$ of some stored memory! Moreover, the attention distribution's collision purity obeys $1 - \max_\mu p_\mu(\xi^*) \le 1 - \sum_\mu p_\mu(\xi^*)^2 \le \frac{2d}{\beta d_{\min}^2}$, and both bounds hold with exact equality on the regular $(d+1)$-simplex at $\beta = d$.
- Destabilization of Spurious Mixtures: Unlike classical quadratic Hopfield networks ($p = 2$), where odd $k$-memory blends $\mathrm{sgn}(X_1 + X_2 + X_3)$ form stable spurious attractors, in Attention Memory any pair of separated memories sharing substantial attention weight destabilizes along $X_a - X_b$; on the regular $(d+1)$-simplex, every non-zero symmetric $k$-mixture ($2 \le k \le d$) is always an unstable hyperbolic saddle with exact transverse Jacobian eigenvalue $\lambda_{\mathrm{break}} = \frac{s e^s}{e^s - 1} > 1$ for all $\beta > 0$.
- Exact Worst-Case Capacity Law ($M - 1 = \Theta(\frac{1}{\beta} e^\beta)$) — Squaring Ramsauer et al. (2020): Ramsauer et al. (ICLR 2021, Theorem 4) proved deterministic retrieval only up to $M_{\mathrm{Ram}} = O(\beta^{-1/2} e^{\frac{1}{2}\beta\Delta})$ on a vanishing ball of radius $1/(\beta M)$. Using the exact Voronoi geometry on $\mathbb{S}^{d-1}$ and the exact covariance Jacobian $D T_\beta(\xi) = \beta\,\mathrm{Cov}_{p(\xi)}(X)$, we square the deterministic capacity to $M - 1 \le \frac{L}{2e\beta\Delta} e^{\beta\Delta}$, expand the basin of attraction to any macroscopic Voronoi sub-ball $r < \sqrt{\Delta/2}$ (captured in a single attention step!), and prove via Jensen's inequality on the Balanced Spherical Cone that at $\Delta = 1$, no fixed point with $p_0(\xi) \ge 1/2$ can exist anywhere in $\mathbb{R}^{M-1}$ once $M - 1 > \frac{2}{e\beta} e^\beta$ — closing the worst-case capacity law to a universal pure constant $4/L$ across all dimensions $d$, memory sizes $M$, and inverse temperatures $\beta$.
- Zero Spurious Attractors Across All of $\mathbb{R}^d$ at Exponential Capacity: Combining our $M$-independent confinement ($\sqrt{d/\beta}$) with our macroscopic 1-step Voronoi capture proves that as soon as $\beta\Delta > 2d$ and $M - 1 \le \frac{L}{2e\beta\Delta} \exp(\beta\Delta - \sqrt{2d\beta\Delta})$ (allowing exponentially many memories $M = \exp(\Omega(d))$ once $\beta\Delta \ge 8d$), the set of all local minima of $E_\beta$ on the entire space $\mathbb{R}^d$ is in exact cardinality-$M$ bijection with the stored patterns $\{X_1, \dots, X_M\}$ — literally zero spurious attractors exist anywhere.
2. Main Formalized Theorems
All theorems live in AttentionMemoryCapacity.lean under namespace AttentionMemory.
Pillar 1 — Exact Attention-Memory Calculus & Global Amnesia Threshold
- Exact Attention Jacobian (
hasFDerivAt_attnMap): Everywhere on $\mathbb{R}^d$,$$D T_\beta(\xi) \;=\; \beta\,\mathrm{Cov}_{p(\xi)}(X) \;=\; \beta \sum_{\mu=1}^M p_\mu(\xi)\,(X_\mu - T_\beta(\xi))(X_\mu - T_\beta(\xi))^\top.$$ - Exact First & Second Directional Derivatives of Energy (
hasDerivAt_hopfieldEnergy_line,hasDerivAt_hopfieldEnergy_line_deriv,isLocalMin_hopfieldEnergy_fixedPoint,isLocalMin_hopfieldEnergy_second_order): Every local minimum $\xi^*$ of $E_\beta$ satisfies $T_\beta(\xi^*) = \xi^*$ and $\beta\,\mathrm{Var}_{p(\xi^*)}(\langle X, u \rangle) \le \|u\|^2$ for all $u \in \mathbb{R}^d$. - Theorem 1a — Global Amnesia Contraction Threshold (
global_amnesia_unique_fixedPoint): If $0 \le \beta$ and $\beta D^2 < 4$ (where $D \ge \max_{\mu,\nu}\|X_\mu - X_\nu\|$), then $T_\beta$ is a global strict contraction on $\mathbb{R}^d$ with a unique global fixed point. - Theorem 1b — Exactness via $M = 2$ Pitchfork Bifurcation (
pitchfork_bifurcation_two_patterns): For two antipodal patterns at distance $D > 0$, $0$ is the unique fixed point for $0 \le \beta < 4/D^2$, whereas for every $\beta > 4/D^2$ there exist three strictly distinct fixed points $0, +t^* e_0, -t^* e_0$ ($0 < t^* < D/2$).
Pillar 2 — Universal $M$-Independent Confinement, Purity & Regular-Simplex Exactness
- Theorem 2a — Universal $M$-Independent Attractor Confinement (
universal_attractor_confinement): For arbitrary $M \ge 1$ patterns $X_1, \dots, X_M \in \mathbb{R}^d$, $\beta > 0$, and any local minimum $\xi^*$ of $E_\beta$,$$\min_{1 \le \mu \le M} \|\xi^* - X_\mu\| \;\le\; \sqrt{\frac{d}{\beta}}.$$ - Theorem 2b — Universal Attention Purity & Simpson-Index Bound (
universal_attention_purity_simpson): If $\|X_\mu - X_\nu\| \ge d_{\min} > 0$ for all $\mu \ne \nu$, then every local minimum $\xi^*$ of $E_\beta$ satisfies$$1 - \max_{1 \le \mu \le M} p_\mu(\xi^*) \;\le\; 1 - \sum_{\mu=1}^M p_\mu(\xi^*)^2 \;\le\; \frac{2 d}{\beta \, d_{\min}^2}.$$ - Theorem 2c — Universal Pairwise Spurious-Mixture Instability (
universal_pairwise_mixture_instability): For any distinct patterns $X_a, X_b$ and any local minimum $\xi^*$ of $E_\beta$,$$\beta \cdot \frac{p_a(\xi^*) p_b(\xi^*)}{p_a(\xi^*) + p_b(\xi^*)} \, \|X_a - X_b\|^2 \;\le\; 1.$$ - Theorem 2d — Exact Sharpness on the Helmert Regular $(d+1)$-Simplex (
regularSimplex_confinement_and_purity_exact): For every $d \ge 1$, on the explicit Helmert regular $(d+1)$-simplex on $\mathbb{S}^{d-1}$, the barycenter $0$ is a local minimum for all $0 < \beta < d$, becomes critical at $\beta = d$, and achieves exact equality in both Theorem 2a ($\|0 - X_\mu\| = 1 = \sqrt{d/d}$) and Theorem 2b ($1 - \sum_\mu p_\mu(0)^2 = \frac{d}{d+1} = \frac{2d}{d\cdot d_{\min}^2}$). - Theorem 2e — Universal Transverse Instability of All $k$-Mixtures (
regularSimplex_k_mixture_always_unstable): On the regular $(d+1)$-simplex ($d \ge 2$), for every $2 \le k \le d$, every $\beta > 0$, and every non-zero symmetric $k$-mixture fixed point $\xi = t \cdot \frac{1}{k}\sum_{j < k} v_j$ ($t > 0$), $\xi$ is never a local minimum of $E_\beta$ (transverse eigenvalue $\frac{s}{1 - e^{-s}} = \frac{s e^s}{e^s - 1} > 1$).
Pillar 3 — Sharp Voronoi-Covariance Contraction, Macroscopic Basins & Exponential Improvement over Ramsauer (2020)
- Theorem 3a — Sharp Local Contraction & Unique Fixed Point (
sharp_attention_contraction_and_fixedPoint): For unit-sphere patterns $X_1, \dots, X_M \in \mathbb{S}^{d-1}$ with separation $\Delta = \min_{\mu \ne \nu}(1 - \langle X_\mu, X_\nu \rangle) > 0$, any $L \in (0, 1)$, and any $\beta\Delta \ge 2$, if$$M - 1 \;\le\; \frac{L}{2 e \, \beta \Delta} \, e^{\beta \Delta},$$
then on $\overline{B}(X_\alpha, r^*)$ with $r^* = \frac{1}{\beta\sqrt{2\Delta}}$, $T_\beta$ is an $L$-Lipschitz self-contraction with a unique fixed point $x_\alpha^* \in \overline{B}(X_\alpha, r^*)$ satisfying $\|x_\alpha^* - X_\alpha\| \le L r^*$, and $x_\alpha^*$ is a strict local minimum of $E_\beta$. - Theorem 3b — Macroscopic Voronoi-Ball 1-Step Capture (
macroscopic_voronoi_basin_capture): For any macroscopic radius $r \in [0, \sqrt{\Delta/2}]$ (up to the exact Voronoi inscribed ball radius $r_{\mathrm{Vor}} = \sqrt{\Delta/2}$) satisfying$$M - 1 \;\le\; \frac{1}{2 \beta \Delta} \, e^{\beta(\Delta - r\sqrt{2\Delta})},$$
every query $\xi \in \overline{B}(X_\alpha, r)$ jumps in 1 step into $\overline{B}(X_\alpha, r^*)$ and converges geometrically: $\|T_\beta^{k+1}(\xi) - x_\alpha^*\| \le L^k \cdot 2 r^*$. - Theorem 3c — Exponential Improvement over Ramsauer et al. (2020) Theorem 4 (
beats_ramsauer_exponentially): For every $\Delta > 0$ and every multiplier $K > 0$, for all sufficiently large $\beta$, our guaranteed deterministic capacity $1 + \frac{1}{4 e \beta \Delta} e^{\beta\Delta}$ strictly exceeds $K \cdot M_{\mathrm{Ram}}$ for every $M_{\mathrm{Ram}}$ satisfying Ramsauer et al. (2020) Theorem 4 ($\Delta \ge \frac{2}{\beta M} + \frac{1}{\beta}\ln(2(M-1)M\beta)$).
Pillar 4 — Matching Global Impossibility via Balanced Spherical Cone & Exact Capacity Sandwich
- Theorem 4a — Global Jensen Fixed-Point Bound (
balancedCone_global_fixedPoint_bound): On the explicit Balanced Spherical ConebalancedCone m Δ($M = m + 2$ unit vectors in $\mathbb{R}^{m+1}$ with exact minimum separation $\Delta \in (0, 1]$), every fixed point $\xi \in \mathbb{R}^{m+1}$ of $T_\beta$ (anywhere in space, not restricted to any 1D ray!) obeys$$M - 1 \;\le\; \frac{1 - u}{u} \, e^{\beta \Delta (1 - \Delta + \Delta u)}, \qquad u := p_0(\xi).$$ - Theorem 4b — Global Impossibility at $\Delta = 1$ (
balancedCone_orthogonal_impossibility): At $\Delta = 1$, if $M - 1 > \frac{2}{e\,\beta} e^\beta$, then $T_\beta$ has ZERO fixed points with $p_0(\xi) \ge 1/2$ (or $\langle \xi, X_0 \rangle \ge 1/2$) anywhere in $\mathbb{R}^{M-1}$. - Theorem 4c — Sharp Two-Sided Worst-Case Capacity Sandwich (
attention_capacity_sharp_sandwich): Combines Theorems 3a and 4b at $\Delta = 1$:$$\frac{L}{2 e \, \beta} \, e^\beta \;\le\; M_{\max}^{\mathrm{det}}(\beta, \Delta = 1) - 1 \;\le\; \frac{2}{e \, \beta} \, e^\beta,$$
closing the worst-case deterministic capacity to the universal pure constant $4 / L$ across all $d, M, \beta \ge 2$.
Pillar 5 — Global Zero-Spurious-Attractor Classification Theorem at Exponential Capacity
- Theorem 5 — Exact Global Attractor Bijection (
global_zero_spurious_attractor_classification): For any $d \ge 1$, $M \ge 1$, unit-sphere patterns $X_1, \dots, X_M \in \mathbb{S}^{d-1}$ with separation $\Delta > 0$, any $L \in (0, 1)$, and any $\beta > 0$ satisfying$$\beta \Delta > 2 d \qquad \text{and} \qquad M - 1 \;\le\; \frac{L}{2 e \, \beta \Delta} \, \exp\!\Big(\beta \Delta - \sqrt{2 d \, \beta \Delta}\Big),$$
there exists an injective map $\alpha \mapsto x_\alpha^*$ (Fin M → Euc d) with $\|x_\alpha^* - X_\alpha\| \le \frac{L}{\beta\sqrt{2\Delta}}$ and $T_\beta(x_\alpha^*) = x_\alpha^*$ such that for every $\xi \in \mathbb{R}^d$,$$\mathrm{IsLocalMin}\,(E_\beta)\,\xi \;\Longleftrightarrow\; \exists \alpha : \mathrm{Fin}\,M,\; \xi = x_\alpha^*.$$
3. Quantitative Comparison Tables
Reproducible via verify_theorems.py:
A. Deterministic Worst-Case Capacity at $\Delta = 1$ (Ramsauer et al. 2020 Thm 4 vs. Our Exact Sandwich)
| $\beta$ | Ramsauer et al. (2020) Thm 4 $M_{\mathrm{Ram}}$ | Our Theorem 3a ($L = \tfrac{1}{2}$) $M_{\mathrm{ours}}$ | Our Theorem 4b Converse $M_{\mathrm{conv}}$ | Improvement $M_{\mathrm{ours}} / M_{\mathrm{Ram}}$ | Sandwich Ratio $\frac{M_{\mathrm{conv}}-1}{M_{\mathrm{ours}}-1}$ |
|---|---|---|---|---|---|
| $10$ | $32$ | $203$ | $1{,}621$ | $6.34\times$ | $8.02\times$ |
| $20$ | $3{,}482$ | $2{,}231{,}029$ | $17{,}848{,}231$ | $6.41 \times 10^2\times$ | $8.00\times$ |
| $30$ | $422{,}027$ | $3.276 \times 10^{10}$ | $2.621 \times 10^{11}$ | $7.76 \times 10^4\times$ | $8.00\times$ |
| $50$ | $7{,}200{,}489{,}933$ | $9.537 \times 10^{18}$ | $7.629 \times 10^{19}$ | $1.32 \times 10^9\times$ | $8.00\times$ |
(Note: As $L \to 1^-$, the sandwich ratio tightens further from $8.00\times$ to $4.00\times$ universally for all $\beta \ge 2$.)
B. Global Zero-Spurious-Attractor Classification Capacity in Log-Scale ($\Delta = 1$, $\beta = 10 d$)
| Dimension $d$ | $\beta = 10 d$ | $\ln M_{\mathrm{Ram}}$ (Ramsauer 2020) | $\ln M_{\mathrm{ZeroSpur}}$ (Theorem 5, zero spurious in $\mathbb{R}^d$) | $\ln M_{\mathrm{ours}}$ (Theorem 3a) | $\ln M_{\mathrm{conv}}$ (Theorem 4b) | Gap $\ln M_{\mathrm{conv}} - \ln M_{\mathrm{ours}}$ |
|---|---|---|---|---|---|---|
| $16$ | $160$ | $77.12$ | $80.98$ | $152.54$ | $154.62$ | $2.0794 = \ln 8$ |
| $64$ | $640$ | $316.42$ | $344.94$ | $631.15$ | $633.23$ | $2.0794 = \ln 8$ |
| $256$ | $2560$ | $1275.73$ | $1404.90$ | $2549.77$ | $2551.85$ | $2.0794 = \ln 8$ |
| $1024$ | $10240$ | $5115.04$ | $5648.91$ | $10228.38$ | $10230.46$ | $2.0794 = \ln 8$ |
4. Prior-Art Attribution & Mandatory Novelty-Check Receipt
Literature Survey (through November 2026)
| Work | Setting & Main Result | How Our Work Strictly Advances / Differs |
|---|---|---|
| Krotov & Hopfield (NeurIPS 2016); Demircigil et al. (J. Stat. Phys. 2017) | Discrete binary Dense Associative Memory ($F(x)=x^p$ and $e^x$); probabilistic capacity for i.i.d. Rademacher patterns | Our results are deterministic, worst-case, non-asymptotic, and apply to continuous Transformer self-attention $T_\beta$ in $\mathbb{R}^d$ |
Ramsauer et al. (ICLR 2021, arXiv:2008.02217), Theorem 4 & Lemma A.4 | Continuous Modern Hopfield / Attention update $T_\beta$; sufficient retrieval condition $\Delta \ge \frac{2}{\beta M} + \frac{1}{\beta}\ln(2(M-1)M\beta R^2)$ on vanishing ball of radius $1/(\beta M R)$ | We square the deterministic capacity from $O(\beta^{-1/2} e^{\frac{1}{2}\beta\Delta})$ to $\Omega(\frac{1}{\beta\Delta} e^{\beta\Delta})$, expand the basin to macroscopic Voronoi balls $r < \sqrt{\Delta/2}$ with 1-step capture, and prove a matching global converse $\le \frac{2}{e\beta} e^\beta$ |
| Hu et al. (NeurIPS 2023; ICML 2024; 2025); Santos et al. (ICML 2024, Hopfield–Fenchel–Young) | Sparsemax / entmax / nonparametric Hopfield variants, adapting Ramsauer's proof template | Do not establish our $\sqrt{d/\beta}$ trace-covariance confinement, regular-simplex exactness, Jensen balanced-cone global converse, or global zero-spurious bijection |
| Lucibello & Mézard (Phys. Rev. Lett. 132, 077301, 2024); Achilli et al. (2025) | Statistical-physics replica calculations of exponential capacity for random / hidden-manifold ensembles as $d \to \infty$ | Asymptotic probabilistic replica analysis; our theorems are exact non-asymptotic deterministic bounds holding for every $d, M, \beta$ |
Schimmenti & Ciarchi (arXiv:2609.07757, Sept 2026), A Bifurcation Theory for the Equilibria of Modern Hopfield Networks | Statistical-physics bifurcation analysis for random, block-correlated, and hierarchical ensembles (MNIST / hematopoiesis) | Ensemble-level bifurcation phenomenology; does not prove our universal $M$-independent $\sqrt{d/\beta}$ confinement, Simpson-index purity, Voronoi-covariance capacity sandwich, or global zero-spurious-attractor bijection in $\mathbb{R}^d$ |
Mandatory Novelty-Check Receipt
- Workspace overlap check: Verified against all directories in
/Users/arthurcolle/math_rip/new-results/andLIVE_FORMALIZATION_LEDGER.md— zero overlap with any coding-theory, graph-theory, number-theory, or combinatorics track. - External literature check (through Nov 2026): Checked via OpenAlex, Semantic Scholar, and web search across Ramsauer et al. (2020/2021), Demircigil et al. (2017), Hu et al. (2023–2025), Santos et al. (2024), Lucibello–Mézard (PRL 2024), Achilli et al. (2025), and Schimmenti–Ciarchi (Sept 2026). None establish:
- The universal $M$-independent confinement $\min_\mu \|\xi^* - X_\mu\| \le \sqrt{d/\beta}$ and Simpson-index purity $1 - \sum_\mu p_\mu(\xi^*)^2 \le \frac{2d}{\beta d_{\min}^2}$ with exact equality on the regular $(d+1)$-simplex at $\beta = d$;
- The sharp deterministic worst-case capacity sandwich $\frac{L}{2e\beta} e^\beta \le M_{\max}^{\mathrm{det}}(\beta, 1) - 1 \le \frac{2}{e\beta} e^\beta$ (squaring Ramsauer et al. Theorem 4 and matching to universal constant $4/L$ via the Balanced Spherical Cone Jensen impossibility);
- The global zero-spurious-attractor bijection theorem classifying all local minima of $E_\beta$ across all of $\mathbb{R}^d$ at exponential capacity $M = \exp(\Omega(d))$.
5. Verification & Reproducibility
Lean 4 Compilation & Axiom Audit
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence
lake env lean /Users/arthurcolle/math_rip/new-results/open-memory-associative-capacity/AttentionMemoryCapacity.lean
- Compiler:
leanprover/lean4:v4.33.0-rc2with Mathlib - Status: Exit code
0, 0 errors, 0 warnings, 0 forbidden tokens (sorry,admit,axiom,native_decide) - Axioms: All 15
#print axiomschecks report exclusively[propext, Classical.choice, Quot.sound].
Python Numerical Verification
python3 /Users/arthurcolle/math_rip/new-results/open-memory-associative-capacity/verify_theorems.py