[{"content":"On December 2 the NSA told owners and operators of national security systems to accelerate their move to post-quantum cryptography immediately, citing recent discoveries that frontier AI companies had disclosed to the government. It did not say what the discoveries were. The next day Bitcoin fell as much as 14% intraday, to about $51,000, its largest one-day drop since the collapse of FTX. This post sorts out what the public documents say, which parts of Bitcoin they could touch, and which classical results would fit the clues.\nStatus. Speculation from public documents as of December 3, 2026. I have no inside information, and the weights below are my own.\nWhat happened November 30: Anthropic&rsquo;s lattice papers. Anthropic released four papers on lattices, with a Lean formalization of their main theorems. The headline result is a quasi-polynomial quantum algorithm for search Module-LWE: for every fixed rank and all large power-of-two degrees n, it solves almost all instances in time 2O(log2 n), with a constant that grows like the eighth power of the rank. The release says the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA, and the paper&rsquo;s own title calls them galactic. Trail of Bits adds that the result does not touch RSA, elliptic curves, hashing or Bitcoin. (Paper 2 of the same release is the starting point of my note on module lattices.) December 2: the NSA advisory. The Cybersecurity Advisory Immediate Actions to Push Toward Post-Quantum: Inventory: it asks systems to find &ldquo;elliptic curves other than P-384 or P-521 for ECDH or ECDSA&rdquo;, and also EdDSA, deprecated Diffie-Hellman groups and pairing-based cryptography. Interim: RSA-3072 or P-384 as the base for roots of trust, with 2048-bit RSA allowed for legacy support. Target: CNSA 2.0, meaning ML-KEM-1024 and ML-DSA-87. December 2: the government&rsquo;s framing. A joint statement from ONCD, NSA and CISA said the recent advances &ldquo;do not present an immediate and widespread threat to that cryptography.&rdquo; Eight companies (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle) issued a joint statement backing the migration. December 2, evening: Valsorda&rsquo;s reading. Filippo Valsorda, who maintains Go&rsquo;s cryptography libraries, read the advisory as pointing to a classical attack. In his view, 256-bit curves (P-256 and Curve25519) &ldquo;are likely broken or significantly weaker than we thought.&rdquo; He considers RSA and P-384 a possible stopgap and ML-KEM and ML-DSA sound. He does not mention secp256k1. December 3: Cloudflare and the market. Cloudflare moved its fully post-quantum target from 2029 to 2027, and its CEO said publicly that the company had been briefed. Bitcoin fell, with more than $2 billion of leveraged positions liquidated. The drop extended a slide already under way: Bitcoin lost 23% in November, while US spot Bitcoin ETFs saw record outflows. What Bitcoin&rsquo;s security rests on Ownership: signatures on secp256k1. These are ECDSA, plus Schnorr signatures since Taproot. The curve: y2 = x3 + 7 over Fp with p = 2256 \u2212 232 \u2212 977. It has prime order and j-invariant 0. Security: forging a signature means solving the elliptic-curve discrete logarithm problem (ECDLP). The curve&rsquo;s order-six automorphism group gives Pollard rho a \u221a3 speedup on top of the usual \u221a2 from negation, which leaves about 127 bits of classical security. Exposure: this is the part any new ECDLP attack, classical or quantum, would hit. Mining and addresses: SHA-256 (and RIPEMD-160 inside HASH160). Grover&rsquo;s algorithm gives at most a square-root speedup, which error-correction overhead and its serial depth largely cancel for mining. Nothing in this week&rsquo;s news concerns hash functions. RSA: not used anywhere in Bitcoin. On the quantum side, Google estimated in March that Shor&rsquo;s algorithm breaks secp256k1 with fewer than 500,000 superconducting physical qubits. A September paper (arXiv:2609.05625) estimates about 19,400 trapped-ion qubits running for about 26 days. For comparison, Gidney&rsquo;s 2025 estimate for RSA-2048 is under a million noisy qubits running for under a week. Nothing close to either exists. The largest error-corrected demonstrations so far are dozens of logical qubits. This week&rsquo;s worry is a classical result, not a machine.\nWhat the wording constrains The cutoff sits between 256-bit and 384-bit curves. Generic attacks on an n-bit curve cost about 2n\/2. Consider an attack that cut the exponent to about n\/3. It would put 256-bit curves at about 285, within reach of a state, and leave P-384 at about 2128. That fits the advisory. But the list is not new. P-384 and P-521 as the only elliptic curves, with no EdDSA, no small Diffie-Hellman groups and no pairings, is already CNSA 2.0 policy. On its own, the list is weak evidence. RSA is kept as the interim choice. A factoring advance is unlikely to be the news. The remedies include applying vendor updates and reissuing certificates. These fit implementation problems as well as new mathematics. &ldquo;No immediate and widespread threat.&rdquo; Either the costs are still high, or the affected deployments are narrow. Something real was disclosed. The companies said they were briefed, and Cloudflare moved its deadline two years earlier. Candidate results, ranked The weights are rough, and more than one could be true: the advisory speaks of discoveries, plural.\nA classical ECDLP improvement for prime-field curves, about 28%. For example, summation polynomials or index calculus finally giving 2cn with c &lt; 1\/2. Fits: the 256\/384 cutoff and Valsorda&rsquo;s reading. Against: it would be the biggest result in the area in decades, and the cutoff predates it. secp256k1: very likely affected. AI-scaled implementation or protocol attacks, about 23%. Nonce bias, side channels, weak key generation of the ROCA kind, invalid-curve attacks. Fits: &ldquo;systems currently in use&rdquo;, vendor updates, certificate reissue, &ldquo;not widespread&rdquo;. Against: it does not explain a list of algorithms to leave. secp256k1: depends on the wallet. The core library, libsecp256k1, is heavily audited, and most wallets derive nonces deterministically (RFC 6979). A number-field-sieve improvement for discrete logarithms in finite fields, about 20%. Fits: the explicit mention of deprecated Diffie-Hellman groups and pairing-based cryptography. Pairing curves have already lost security this way: BN254 went from 128 bits to about 100. Against: it does not explain the elliptic-curve list, unless that line is CNSA boilerplate. secp256k1: not affected, because its embedding degree is enormous. Pairing curves such as BN254 and BLS12-381, and the systems built on them, would take the hit. A weakness tied to curve structure, about 12%. For example, small CM discriminant, efficient endomorphisms, or one particular curve model. Fits: EdDSA is named separately. Against: P-256 and Curve25519 share little structure. secp256k1: either way. With j = 0 and discriminant \u22123, it is the most structured of the three. A factoring advance, about 7%. RSA being kept argues against it. A classical improvement against lattices, about 5%. The advisory still prescribes ML-KEM-1024 and ML-DSA-87. For Bitcoin this matters only for the choice of what to migrate to. A policy push with nothing new behind it, about 3%. The briefings argue against it. Hash functions or symmetric ciphers, about 2%. There is no hint of this, and SHA-384 and AES-256 remain in CNSA 2.0. This is the only route to SHA-256. Net for Bitcoin:\nAbout 30% that secp256k1 is materially weakened: mostly candidate 1, plus part of candidate 4. About 45% that the disclosed results do not reach Bitcoin&rsquo;s mathematics at all. The rest is unclear. Why Bitcoin is exposed anyway Migration is slow. A website rotates certificates in months. Bitcoin needs a soft fork and then action from every owner of every coin. BIP-360 (Pay-to-Merkle-Root, a Taproot-like output without the key-path spend) is a draft. BIP-361, a pre-announced sunset of ECDSA and Schnorr signatures, is a draft and contested. Many public keys are already on chain. This includes pay-to-public-key outputs (most early mined coins among them), reused addresses, and Taproot key-path outputs. Public estimates range from about 6 to 7 million BTC, roughly a third of supply. A coin behind a hashed address is exposed only between broadcast and confirmation. The replacements have tradeoffs. Lattice signatures (ML-DSA, FN-DSA) are compact. Hash-based SLH-DSA reduces to the security of the hash, at about 8 to 50 KB per signature. This week&rsquo;s lattice result is a small argument for the hash-based option. Was the sell-off overdone? Three things moved together: a downtrend already two months old, a flush of leveraged positions, and a repricing of tail risk.\nWhat the drop implies. Suppose the whole 14% were news. Then a risk-neutral market would be adding about 14 points of probability to near-total loss. Net out the forced selling and the trend, and it is more like high single digits. Overdone. That is a lot for a hint that no one has confirmed, and whose most-cited reading does not name Bitcoin&rsquo;s curve. Not irrational. The one credible hint points at the kind of mathematics Bitcoin&rsquo;s ownership rests on, and Bitcoin is the slowest system there is to migrate. What would settle it A disclosure from the NSA or the companies. A public discrete logarithm on a 160- to 200-bit prime-field curve. That would separate candidates 1 and 3 at once. Any statement on secp256k1 specifically. On chain: whether long-dormant coins keep moving to hash-protected addresses. Four wallets from 2010 moved 50 BTC each on December 3. References Anthropic, Four papers on lattices: a Lean 4 formalization (November 30, 2026), GitHub. Trail of Bits, Answering your questions about Anthropic&rsquo;s lattice cryptography results (December 1, 2026), blog. NSA, Immediate Actions to Push Toward Post-Quantum, Cybersecurity Advisory (December 2, 2026), PDF. ONCD, NSA and CISA, Joint statement on recent advances in cryptographic and AI capabilities (December 2, 2026), nsa.gov. F. Valsorda, What to make of the NSA advisory (December 2, 2026), blog. Cloudflare, Cloudflare will be fully post-quantum in 2027 (December 3, 2026), blog. C. Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits (2025), arXiv:2505.15917. Computing 256-bit elliptic curve discrete logarithms in 26 days on a fault-tolerant trapped-ion quantum computer with 20,000 qubits (2026), arXiv:2609.05625. BIP-360, Pay-to-Merkle-Root, and BIP-361, Post Quantum Migration and Legacy Signature Sunset, bitcoin\/bips. ","permalink":"https:\/\/peabrane.github.io\/post\/nsa-advisory-bitcoin\/","summary":"<p>On December 2 the NSA told owners and operators of national security systems to accelerate their move to post-quantum cryptography immediately, citing recent discoveries that frontier AI companies had disclosed to the government. It did not say what the discoveries were. The next day Bitcoin fell as much as 14% intraday, to about $51,000, its largest one-day drop since the collapse of FTX. This post sorts out what the public documents say, which parts of Bitcoin they could touch, and which classical results would fit the clues.<\/p>","title":"The NSA's post-quantum advisory, and what it might mean for Bitcoin"},{"content":"Lattice cryptography built on Ring-LWE and Module-LWE rests on structured lattices: ideal and module lattices over rings such as \u2124[x]\/(xN+1). A natural question about them is whether a random lattice in the class is as hard as the hardest one, so that an algorithm that works on average would also work in the worst case. The known reductions of this kind inside the class all assumed something extra: a factoring oracle (Gentry), or the extended Riemann hypothesis (de Boer, Ducas, Pellet-Mary and Wesolowski for ideal lattices; de Boer, Page, Toma and Wesolowski for modules of a fixed rank), or GRH (de Boer, Bombar, Page and van Woerden). My new note removes the assumption.\nRead it: Zenodo, doi:10.5281\/zenodo.24707497 \u00b7 PDF\nStatus. This is a preprint. It has not been peer reviewed.\nThe result Let N be a power of two, O = \u2124[x]\/(xN+1), r \u2265 1 a module rank and n = rN. The note gives an explicit, efficiently samplable distribution WO,r of submodules of Or of finite index, and proves (Theorem 1):\nGiven an oracle that solves Hermite-SVP\u00b1g on WO,r with success probability at least \u03b4, a classical probabilistic algorithm finds, with probability at least 1 \u2212 2\u2212n, linearly independent vectors v1, \u2026, vn in any module lattice M of rank r with \u2016vi\u2016 \u2264 \u03b3\u03bbn(M), where \u03b3 = 720\u00b7nN\u00b7(50n4)1\/r\u00b7g. It runs in expected time polynomial in the input and in 1\/\u03b4, and uses no factoring oracle and no unproved hypothesis.\nAlways \u03b3 \u2264 36000\u00b7n6\u00b7g. Every query has the same rank r as the input.\nIdeal lattices (rank one). To my knowledge this is the first classical worst-case to average-case reduction for ideal lattices of power-of-two cyclotomic fields that needs neither ERH nor factoring. Its loss is O(N6), against \u00d5(\u221aN) under ERH (and a hypothesis on h+) in the CRYPTO 2020 reduction of de Boer, Ducas, Pellet-Mary and Wesolowski. Modules of rank at least two. The earlier reductions assume ERH or GRH and a fixed rank. Here the rank is arbitrary. The distribution is the natural one. After a tiny Gaussian perturbation (width 2\u22126n), a lattice drawn from WO,r is within statistical distance 23\u22124n of the invariant measure on the space of all module lattices of rank r, over all Steinitz classes. Where the Riemann hypothesis used to enter The earlier reductions randomize a worst-case lattice by a random walk: Hecke steps at random prime ideals of polynomially bounded norm. The walk has to mix on the space of lattices, and how fast it mixes is a statement about Hecke L-functions of the number field near s = 1. That is where ERH or GRH was assumed.\nHow it is avoided The note does not use a random walk. It follows the dimension-preserving reduction in paper 2 of Anthropic&rsquo;s formal-mathematics release (Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP) and transfers it to module lattices:\nSum over all sublattices, not over a walk. Instead of a few prime steps, take all submodules M\u2032 \u2286 M in an index window, weighted by [M : M\u2032]\u2212r. An unfolding identity then gives the law of the query exactly, in terms of the lattice HomO(Y, M) of O-linear maps from the query lattice Y into M. Lattice-point counting replaces spectral theory. With the exact law in hand, Poisson summation on HomO(Y, M) shows the query is close to invariant, once HomO(Y, M) is smooth at the scale of the perturbation. That holds as soon as the randomizing submodules have index (poly n)n; in rank one, ideals of norm (poly N)N. This step is unconditional, and it is where the polynomial loss comes from: the ERH-based reductions get away with prime ideals of polynomial norm. Sampling without factoring. What remains arithmetic is drawing M\u2032 with probability exactly proportional to [M : M\u2032]\u2212r, over all submodules of all Steinitz classes. Kalai&rsquo;s method for generating random factored numbers, applied to prime ideals as in Gentry&rsquo;s thesis, does this without a factoring oracle. The only analytic number theory left is in the running time: the Brun\u2013Titchmarsh inequality and Stark&rsquo;s lemma on zeros of the Dedekind zeta function near s = 1 bound the acceptance rate of the sampler. Both are unconditional.\nWhat about the recent Lean proof of GRH? The Lean development released on 20 November 2026 (see my reading guide) claims the Riemann hypothesis and GRH for Dirichlet L-functions, and has not been independently checked. Even if it is correct, its statement is about Dirichlet L-functions, while the random-walk reductions need ERH for Hecke L-functions of the number field, including characters of infinite order, which that statement does not cover. The result here does not depend on either.\nOpen questions The loss. O(N6) against \u00d5(\u221aN) under ERH. Can the unconditional loss be brought down? Other rings. The note treats power-of-two cyclotomics, the case used in practice. General number fields need different bounds on the residue of the zeta function. The average case that matters. Hermite-SVP on random module lattices is not the same as Module-LWE. Connecting the two without hypotheses would be the real prize. References K. de Boer, L. Ducas, A. Pellet-Mary, B. Wesolowski, Random self-reducibility of ideal-SVP via Arakelov random walks, CRYPTO 2020, doi:10.1007\/978-3-030-56880-1_9. K. de Boer, A. Page, R. Toma, B. Wesolowski, Average hardness of SIVP for module lattices of fixed rank, arXiv:2511.13659 (2025). K. de Boer, M. Bombar, A. Page, W. van Woerden, Average-case hardness of lattice problems in special genera of fixed rank, Cryptology ePrint Archive 2026\/2411. Anthropic, Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP, formal-mathematics release, lattices paper 2 (2026), PDF. C. Gentry, A Fully Homomorphic Encryption Scheme, PhD thesis, Stanford (2009), PDF. A. Kalai, Generating random factored numbers, easily, J. Cryptology 16 (2003), doi:10.1007\/s00145-003-0051-5. A. Langlois, D. Stehl\u00e9, Worst-case to average-case reductions for module lattices, Des. Codes Cryptogr. 75 (2015), doi:10.1007\/s10623-014-9938-4. V. Lyubashevsky, C. Peikert, O. Regev, On ideal lattices and learning with errors over rings, J. ACM 60 (2013), doi:10.1145\/2535925. ","permalink":"https:\/\/peabrane.github.io\/post\/erh-free-module-lattices\/","summary":"<p>Lattice cryptography built on Ring-LWE and Module-LWE rests on structured lattices: ideal and module lattices over rings such as \u2124[x]\/(x<sup>N<\/sup>+1). A natural question about them is whether a random lattice in the class is as hard as the hardest one, so that an algorithm that works on average would also work in the worst case. The known reductions of this kind inside the class all assumed something extra: a factoring oracle (Gentry), or the extended Riemann hypothesis (de Boer, Ducas, Pellet-Mary and Wesolowski for ideal lattices; de Boer, Page, Toma and Wesolowski for modules of a fixed rank), or GRH (de Boer, Bombar, Page and van Woerden). My new note removes the assumption.<\/p>\n<p><strong>Read it:<\/strong> <a href=\"https:\/\/doi.org\/10.5281\/zenodo.24707497\">Zenodo, doi:10.5281\/zenodo.24707497<\/a> \u00b7 <a href=\"\/files\/pei-2026-erh-free-module-worst-to-average.pdf\">PDF<\/a><\/p>","title":"Worst-case to average-case for module lattices, without the extended Riemann hypothesis"},{"content":"On 20 November 2026 Levent Alp\u00f6ge released a Lean 4 development, made with Claude, that claims a formal proof of the Riemann hypothesis and of GRH for Dirichlet L-functions. It has about 175,000 files and 17 million lines, and no comments. I have written a reading guide to it: what the argument is, which parts are standard background, where the weight rests, and how human readers could split up the work of understanding and checking it.\nRead it: Zenodo, doi:10.5281\/zenodo.24405360 \u00b7 PDF\nStatus. At the time of writing, no independent check of the development had been reported. I did not build it, and the note makes no claim that the proof is correct. It reads the development&rsquo;s definitions and theorem statements and the author&rsquo;s four-page remark. Every step is tied to a frozen file and line at a pinned commit of a byte-exact public mirror.\nAt a glance About 81% of the lines re-prove standard or published mathematics: \u00e9tale cohomology, resolution of singularities, p-adic Hodge theory, arithmetic intersection theory, theta correspondences, automorphy lifting. This can be set aside, except for a few inputs inside it that the argument depends on: the covolume bound, the Galois-representation and local inputs, and parts of the archimedean budget. About 19% is candidate new argument. About 5% (\u22480.85 million lines) is the core the note maps. The top-level Formalism\/Statement*.lean files are abandoned designs, never proved or used. Don&rsquo;t start reading there. The argument in one paragraph As I read it, the development runs Stepanov&rsquo;s method over \u2124. Stepanov proved the Riemann hypothesis for curves over finite fields with three ingredients: Frobenius makes high-order vanishing free at the points being counted, a degree bound turns vanishing into a count, and a multiplicity parameter is traded against the global cost. The development replaces each of these:\nFrobenius. At primes inert in a CM field, integral theta-function periods are forced to be divisible by a large power of p. Summed over p, those exponents form a Riesz mean of \u039b(n)(1\u2212\u03c7(n)). Degree bound. An averaged Bost slope inequality from Arakelov geometry. The archimedean side of the same objects (Stirling and the Chowla\u2013Selberg period) is exactly the explicit-formula main term, so the inequality reads &ldquo;prime sum \u2264 its own main term + error&rdquo;. Multiplicity. Over \u2124 there is no derivative to raise it. The development instead lifts m \u2248 \u221ax times between definite unitary groups by theta correspondence. Each lift adds one copy of the signal, while the global costs are paid once. The error x\/m + m is smallest at m \u2248 \u221ax, and that is where the exponent 1\/2 comes from. Finite Fourier analysis over an auxiliary abelian field and a windowed form of Landau&rsquo;s theorem then turn the one-sided bound into zero-free half-planes.\nHow the claimed theorem is proved, as I read it. Shaded boxes are steps without a classical model; double-bordered boxes are steps whose statement or method has one (Landau, Bost, second moments, arithmetic proportionality, Galois representations), even where the development&rsquo;s version is new. Tags such as [II1] refer to the reading plan below.\nWhere to look first These are not findings of error. They are where, in my reading, the weight of the argument rests.\nForced divisibility. The claim is that Bessel periods of m-fold iterated theta lifts are divisible by the inert-prime &ldquo;factorial excess&rdquo;, on a sublattice of small colength. I know of no published analogue. Along one code path the relevant clause holds only by definition, so check the binding to a real valuation first. Sharpness. The slope inequality must be exact to relative error x\u22121\/2, uniformly over unitary groups of rank polynomial in x and fields of degree about x\u00b2. The Selmer bound. It needs a bound on Selmer groups of Dirichlet characters that is uniform in \u2113. That is a theorem of independent weight; the author describes it as a significant weakening of Vandiver&rsquo;s conjecture. The covolume bound. It needs arithmetic proportionality on general-signature unitary Shimura varieties, which the literature has in special cases only. Two weakened inputs. The slots named for local Langlands and for Caraiani&rsquo;s local\u2013global compatibility are filled by weaker statements. A plan for human readers The note proposes eleven write-up targets in three tiers, each with its Lean entry points and what to check first:\nTier I, self-contained analytic statements. These are short and need only analytic number theory, so they make good first targets: [I1] the windowed one-sided Landau theorem; [I2] the balance identity; [I3] the deduction to the level-sum bound; [I4] the choice of auxiliary conductors by second moments. Tier II, the arithmetic heart. These decide whether the method works: [II1] forced divisibility, with a CM-curve warm-up; [II2] the slope inequality with frame defects; [II3] the archimedean budget; [II4] near-orthogonality from a relative trace formula. Tier III, inputs of independent weight. Each could be a paper; start with a statement-level audit: [III1] the Selmer bound; [III2] the covolume bound; [III3] the Galois-representation and local inputs. Suggested order: [I1], [I2] and the cheap audit [III3]; then the warm-up for [II1], because if that fails nothing downstream matters; then [I3] with [II3]; then the rest.\nInspection of the Lean code and the writing of the note were done with substantial help from the AI models Claude Opus 5.5 and Claude Fable 5.2.\n","permalink":"https:\/\/peabrane.github.io\/post\/riemann-hypothesis-lean-roadmap\/","summary":"<p>On 20 November 2026 Levent Alp\u00f6ge released a Lean 4 development, made with Claude, that claims a formal proof of the Riemann hypothesis and of GRH for Dirichlet <em>L<\/em>-functions. It has about 175,000 files and 17 million lines, and no comments. I have written a reading guide to it: what the argument is, which parts are standard background, where the weight rests, and how human readers could split up the work of understanding and checking it.<\/p>\n<p><strong>Read it:<\/strong> <a href=\"https:\/\/doi.org\/10.5281\/zenodo.24405360\">Zenodo, doi:10.5281\/zenodo.24405360<\/a> \u00b7 <a href=\"\/files\/pei-2026-claimed-lean-proof-rh-roadmap.pdf\">PDF<\/a><\/p>","title":"A roadmap of the claimed Lean proof of the Riemann hypothesis"},{"content":"I have posted a long review of the Edwards\u2013Anderson spin glass: Dancing with frustration. Short-range Ising spin glasses: what is proved, what is believed, and where proofs break. It records where the mathematics of the short-range model stands as of November 2026.\nRead it (257 pages): Zenodo, doi:10.5281\/zenodo.24061128 \u00b7 PDF \u00b7 certificate programs: doi:10.5281\/zenodo.24061127\nThe question Take Ising spins on \u2124d and put an independent symmetric random coupling, for example \u00b1J or Gaussian, on every nearest-neighbour edge. Then lower the temperature. Does the system freeze into a spin-glass phase, with long-range order in the overlap of two replicas? And if so, in which dimensions? This is the question Edwards and Anderson posed in 1975, when they introduced the model as the simplest short-range model of a spin glass.\nPhysicists have a fairly confident answer from numerics and renormalization-group reasoning: no transition at positive temperature in two dimensions, and a transition in three dimensions and above. Mathematically, almost none of this is proved. There is no proof of spin-glass order for symmetric independent couplings in any finite dimension, at any temperature. For undiluted laws such as \u00b1J or Gaussian, there is also no proof that the two-dimensional model is disordered at all positive temperatures. For diluted laws just above the percolation threshold, that has been proved.\nWhy another review The standard accounts of spin-glass theory are mostly about mean field, centred on the Sherrington\u2013Kirkpatrick model. The substantive mathematical treatments of the short-range model are Newman&rsquo;s lectures and the surveys and book of Newman and Stein, together with a recent chapter on metastates by Newman, Read and Stein. Much has happened since those accounts were written:\nzero-temperature chaos and droplet theorems; two-dimensional fluctuation bounds, and their limits; new graphical representations; classifications on hierarchical lattices; results on the Nishimori line; computer-assisted theorems. The review is meant partly as a progress tracker.\nI also expect the short-range spin glass to become one of the holy grails of mathematical physics in the coming years. It is a natural test bed for AI systems that do mathematics. The questions are precise and long open, and partial results come with checkable hypotheses. The barriers collected in the review give concrete test cases that any proposed argument must pass.\nThree threads The subtitle names the three threads that run through the review.\nWhat is proved. These are the theorems about states, metastates, ground states, chaos, graphical representations and special lattices. Each is stated exactly and, where it teaches something, proved or sketched. Results from several programmes are restated in one notation. What is believed. These are the competing physical pictures and the numerics that calibrate them, kept visibly separate from the theorems. The pictures are replica symmetry breaking, droplets, trivial\u2013nontrivial and chaotic pairs. Where proofs break. Route warnings record attractive lines of argument together with the lemma each one would need and the cases in which that lemma fails. Every statement carries its status: theorem, conjecture, physics prediction, observation (with how it was checked), route warning or open problem. Results of my own programme are marked with their status. Each computer-assisted proof states what its certificate checks. A few results in the blue-percolation chapter come from a revised preprint that is not yet public, and they are marked as such where they appear.\nWhat is inside The question. The model, gauge symmetry and what &ldquo;order&rdquo; means, together with the physical pictures and the numerics. States, metastates and two dimensions. Metastates, the tool that makes &ldquo;many states&rdquo; a precise question, and the two-dimensional fluctuation programme. Zero temperature. Ground states, domain walls and zero-temperature dynamics, then disorder chaos and superconcentration, including Chatterjee&rsquo;s zero-temperature theorems. Graphical representations. The cluster representations proposed for frustrated systems, side by side, and two-replica blue percolation followed as far as it goes toward order. Toward non-order in low dimension. High-temperature methods and the comparison with the random-field Ising model, whose analogous questions are solved. This part also develops a comparison with spanning forests and electrical networks. Testbeds and the Nishimori line. Hierarchical and long-range proxies, diluted and decorated lattices, gauge symmetry, the Nishimori line and biased disorder. Where proofs break, and what to aim at. The barriers that any proof of order or non-order must respect, small test cases for candidate inequalities, and open problems. The reader&rsquo;s guide at the start suggests reading paths: for the open problems only, for techniques, for the cluster and comparison routes, and for readers coming from physics.\nRelated posts: spin-glass chaos with Boolean Fourier analysis, an elementary exposition of one of the chaos results the review covers.\n","permalink":"https:\/\/peabrane.github.io\/post\/dancing-with-frustration\/","summary":"<p>I have posted a long review of the Edwards\u2013Anderson spin glass: <em>Dancing with frustration. Short-range Ising spin glasses: what is proved, what is believed, and where proofs break.<\/em> It records where the mathematics of the short-range model stands as of November 2026.<\/p>\n<p><strong>Read it (257 pages):<\/strong> <a href=\"https:\/\/doi.org\/10.5281\/zenodo.24061128\">Zenodo, doi:10.5281\/zenodo.24061128<\/a> \u00b7 <a href=\"\/files\/pei-2026-dancing-with-frustration.pdf\">PDF<\/a> \u00b7 certificate programs: <a href=\"https:\/\/doi.org\/10.5281\/zenodo.24061127\">doi:10.5281\/zenodo.24061127<\/a><\/p>","title":"Dancing with frustration: a review of short-range Ising spin glasses"},{"content":"The joint gluing inequality is the step that my animated tour of the \u03b8(p_c) = 0 proof calls the hard part. I wrote a short note that retells OpenAI&rsquo;s proof of it in the language of Markov-chain potential theory: Green functions, killed chains, excessive functions and the Poisson equation. Probabilists who work with random walks already speak this language.\nThe note is an exposition. The estimates and key identities are OpenAI&rsquo;s, and it claims no new theorem. It adds only a change of language and a few elementary rearrangements, which it flags as such.\nRead the note (7 pages): Zenodo, doi:10.5281\/zenodo.24062184 \u00b7 PDF\nThe inequality Take independent percolation on a graph with countably many vertices and edges, with edge probabilities in \\([0,1]\\). Write \\(C(x)\\) for the open cluster of \\(x\\). For a vertex \\(o\\), a nonempty vertex set \\(A\\) and any vertex set \\(T\\),\n\\[ \\mathbb P(o\\leftrightarrow A,\\ o\\leftrightarrow T)\\ \\ge\\ \\mathbb P(o\\leftrightarrow A)\\,\\inf_{a\\in A}\\mathbb P(a\\leftrightarrow T). \\] With \\(T=\\{b\\}\\), and after enlarging the event on the left, this is the multiplicative gluing inequality of Kozma and Nitzan (their Conjecture 1). They reduced \\(\\theta(p_c)=0\\) on \\(\\mathbb Z^d\\) to conjectured inequalities of this kind.\nThe matrix H, on a 4-cycle List the relays \\(x_1,\\dots,x_N\\) and put \\(o\\) last. Let \\(E_k\\) be the event that the cluster of \\(x_k\\) avoids the earlier relays, and \\(d_k=\\mathbb P(E_k)\\). Column \\(k\\) of the matrix \\(H\\) describes that conditioned cluster, and row \\(i\\) asks whether it contains \\(x_i\\):\n\\[ H_{ik}=\\mathbb P\\bigl(x_i\\in C(x_k)\\mid E_k\\bigr). \\] So \\(H\\) is unit lower triangular. The organizing fact is the first-label partition: the event that \\(x_k\\) is the first listed vertex of \\(C(x_i)\\) is \\(E_k\\cap\\{x_i\\in C(x_k)\\}\\), with probability \\(H_{ik}d_k\\). Each row therefore satisfies \\(\\sum_k H_{ik}d_k=1\\).\nThe matrix \\(H\\) for the 4-cycle with relays listed \\(x_1,x_2,x_3,o\\) and every edge open with probability \\(\\tfrac12\\), computed exactly. Column \\(k\\) is the cluster of \\(x_k\\) (blue), conditioned to avoid the earlier relays (crossed); row \\(i\\) asks whether it contains \\(x_i\\) (red ring). In row \\(o\\) the products \\(H_{ok}d_k=\\tfrac9{16},\\tfrac1{16},\\tfrac18,\\tfrac14\\) are the law of the first listed vertex of \\(C(o)\\), and they sum to 1. H is a Green matrix Put \\(\\Gamma=I-H^{-1}\\), which is strictly lower triangular. The central lemma of OpenAI&rsquo;s proof is that \\(\\Gamma\\ge0\\) entrywise. Granting it, row \\(i\\) of \\(\\Gamma\\) consists of nonnegative numbers on earlier relays, with \\(\\sum_j\\Gamma_{ij}=1-d_i\\). So \\(\\Gamma\\) is the transition kernel of a Markov chain on the relays: from \\(x_i\\) it jumps to an earlier relay \\(x_j\\) with probability \\(\\Gamma_{ij}\\), and it is killed with probability \\(d_i\\). Indices only decrease, so \\(H=\\sum_{n\\ge0}\\Gamma^n\\) is a finite sum, and\n\\[ H_{ik}=\\mathbb P_i(\\text{the chain visits }x_k). \\] In words, \\(H\\) is the Green (visit) matrix of this killed relay chain. The chain&rsquo;s killing-site law, \\(\\mathbb P_i(\\text{killed at }x_k)=H_{ik}d_k\\), coincides with the law of the first listed vertex of \\(C(x_i)\\). The note uses this only at the level of laws: it claims no pathwise coupling of the chain with the clusters.\nThe relay chain \\(\\Gamma=I-H^{-1}\\) of the same example. Solid arrows carry jump probabilities and dashed arrows killing probabilities. There is no arrow \\(o\\to x_2\\), yet \\(H_{o,x_2}=\\tfrac13\\cdot\\tfrac37=\\tfrac17\\) is the chance of visiting \\(x_2\\). The blue arrows from \\(o\\) carry the relay weights, which sum to \\(\\tfrac34=\\mathbb P(o\\leftrightarrow A)\\). Joint gluing is one step of the chain. For an increasing function \\(F\\ge0\\) of the cluster, put \\(y_i=\\mathbb E\\,F(C(x_i))\\). The full positivity statement (OpenAI&rsquo;s cone lemma, below) gives \\((I-\\Gamma)y\\ge0\\), that is,\n\\[ y\\ \\ge\\ \\Gamma y . \\] So \\(y\\) is excessive for the relay chain, and Gou\u00e9r\u00e9 states this row inequality in exactly this form (his Theorem 2). Now list the vertices of \\(A\\) first, put \\(o\\) last, and take \\(F(U)=\\mathbf 1\\{U\\cap A\\ne\\varnothing,\\ U\\cap T\\ne\\varnothing\\}\\). Then \\(y_i=\\mathbb P(x_i\\leftrightarrow T)\\) for \\(x_i\\in A\\), the last entry \\(y_o\\) is the left side of the inequality, and \\(\\sum_i\\Gamma_{oi}=1-d_o=\\mathbb P(o\\leftrightarrow A)\\). Hence, on a finite graph (OpenAI reduce to this case),\n\\[ \\mathbb P(o\\leftrightarrow A,\\ o\\leftrightarrow T)=y_o\\ \\ge\\ \\sum_i\\Gamma_{oi}\\,y_i\\ \\ge\\ \\mathbb P(o\\leftrightarrow A)\\,\\min_{a\\in A}\\mathbb P(a\\leftrightarrow T). \\] The relay weights of the video are exactly the first-step probabilities \\(\\Gamma_{oi}\\) of the relay chain from \\(o\\).\nWhy \u0393 \u2265 0: one Poisson equation Fix \\(k\\), write \\(s=x_k\\), and let \\(\\mu_k\\) be the law of \\(C(s)\\) given \\(E_k\\). OpenAI&rsquo;s proof runs the two-cluster Gibbs sampler \\(P\\) of van den Berg, H\u00e4ggstr\u00f6m and Kahn. Given the cluster of \\(s\\), it resamples the cluster of the earlier relays in the rest of the graph. It then resamples a fresh cluster of \\(s\\) where that cluster is absent. The law \\(\\mu_k\\) is stationary, and every step isolates \\(s\\) with probability at least some \\(\\delta>0\\). Write \\(v_k^F\\) for the column built from \\(F\\) under \\(\\mu_k\\), so that \\(h_k=v_k^{1}\\) is column \\(k\\) of \\(H\\). OpenAI&rsquo;s column identity reads\n\\[ v_k^F=v_k^{PF}+\\sum_{l>k}\\frac{d_l}{d_k}\\,v_l^{R_F}, \\] where the deleted-set residual \\(R_F\\) is nonnegative and increasing when \\(F\\) is. OpenAI iterate this identity and pass to the limit in a closed cone.\nThe Green-function form sums the iteration first. By the Doeblin bound, the series\n\\[ \\Psi=\\sum_{j\\ge0}\\bigl(P^jF-\\mu_k(F)\\bigr) \\] converges uniformly. It is increasing when \\(F\\) is, and it solves the Poisson equation \\(\\Psi-P\\Psi=F-\\mu_k(F)\\): \\(\\Psi\\) is the sampler&rsquo;s own Green function applied to the centred \\(F\\). The column identity is linear in \\(F\\), so one application to \\(\\Psi\\) gives\n\\[ v_k^F-\\mu_k(F)\\,h_k=\\sum_{l>k}\\frac{d_l}{d_k}\\,v_l^{R_\\Psi}. \\] By downward induction on \\(k\\), each \\(v_l^{R_\\Psi}\\) lies in the cone spanned by the columns \\(h_j\\), \\(j\\ge l\\). So the left side lies in the cone of the later columns. That is the cone lemma, and taking \\(F\\) to be &ldquo;the cluster meets a later relay&rdquo; gives \\(\\Gamma\\ge0\\).\nThe proof is no shorter. The Doeblin bound is still what makes the sum converge; only the closed-cone limit disappears.\nWhat is new, and what is not The estimates and identities are OpenAI&rsquo;s, from Section 6 of their preprint: the first-label partition, \\(H^{-1}=I-\\Gamma\\) with \\(\\Gamma\\ge0\\), the column identity, the deleted-set residual and the Doeblin bound. The preprint has not been peer reviewed. The sampler and its iteration go back to van den Berg, H\u00e4ggstr\u00f6m and Kahn. Leder uses the same scheme in his guide to the formalized proof. Analogous iterations appear in the lecture notes prompted by A. Bou-Rabee, in Blanc-Renaudie&rsquo;s notes and in Gou\u00e9r\u00e9&rsquo;s exposition. The Poisson equation and the fundamental matrix are classical (Kemeny and Snell). The note&rsquo;s own additions are elementary rearrangements: the Green-matrix reading of \\(H\\) at the level of laws, the Poisson form of the iteration, an explicit coefficient recursion, and the extensions to real-valued \\(F\\). Sources Yan Ru Pei, The joint gluing inequality in the language of Green&rsquo;s functions: An exposition of a proof by OpenAI, 2026, doi:10.5281\/zenodo.24062184. OpenAI, No percolation at criticality on quasi-transitive graphs, preprint, 24 September 2026 (openai\/math), Section 6. G. Kozma, S. Nitzan, A reduction of the \u03b8(p_c) = 0 problem to a conjectured inequality, arXiv:2401.12397 (2024). J. van den Berg, O. H\u00e4ggstr\u00f6m, J. Kahn, Some conditional correlation inequalities for percolation and related processes, arXiv:math\/0408176 (2006). A. Blanc-Renaudie, Notes on Kozma and Nitzan&rsquo;s proof of \u03b8(p_c) = 0, arXiv:2610.10502 (2026). J.-B. Gou\u00e9r\u00e9, On the proof of the Kozma\u2013Nitzan conjecture, arXiv:2610.30063 (2026). J. G. Kemeny, J. L. Snell, Finite Markov Chains, Van Nostrand (1960). ","permalink":"https:\/\/peabrane.github.io\/post\/gluing-green-functions\/","summary":"<p>The <em>joint gluing inequality<\/em> is the step that my <a href=\"\/post\/theta-pc-visualized\/\">animated tour of the \u03b8(p_c) = 0 proof<\/a> calls the hard part. I wrote a short note that retells OpenAI&rsquo;s proof of it in the language of Markov-chain potential theory: Green functions, killed chains, excessive functions and the Poisson equation. Probabilists who work with random walks already speak this language.<\/p>\n<p>The note is an exposition. The estimates and key identities are OpenAI&rsquo;s, and it claims no new theorem. It adds only a change of language and a few elementary rearrangements, which it flags as such.<\/p>\n<p><strong>Read the note (7 pages):<\/strong> <a href=\"https:\/\/doi.org\/10.5281\/zenodo.24062184\">Zenodo, doi:10.5281\/zenodo.24062184<\/a> \u00b7 <a href=\"\/files\/pei-2026-gluing-green-functions.pdf\">PDF<\/a><\/p>","title":"The joint gluing inequality in the language of Green's functions"},{"content":"Change a small fraction of the bonds in a spin glass. How much of the spin configuration changes? For the fair \u00b1J Edwards\u2013Anderson model, there is a short answer using Fourier analysis on the Boolean cube. The decisive observation is geometric: every surviving Fourier term for a two-spin correlation must contain a path between those spins. The usual noise operator then suppresses it.\nThis is an exposition of a known result. Chatterjee&rsquo;s 2023 paper proved site-overlap disorder chaos at zero temperature for Gaussian couplings. Chen, Kim and Sen, first posted in 2024 and revised in 2025, extended the result to general symmetric disorder and all temperatures. Here is the fair-bimodal, bond-resampling specialization of their argument, written directly in the language of Boolean Fourier analysis.\nThe model and the quantity to control Take a nonempty finite simple graph \\(G=(V,E)\\), with \\(N=|V|\\), no external field, and no fixed spins. This includes a nearest-neighbor box with free boundaries or a periodic torus. Give each edge an independent fair sign \\(x_e\\in\\{-1,+1\\}\\). Set the coupling magnitude to one; another common magnitude can be absorbed into the inverse temperature \\(\\beta\\).\nThe Gibbs measure is\n\\[ \\mu_{x,\\beta}(\\sigma) =Z_{x,\\beta}^{-1} \\exp\\!\\left(\\beta\\sum_{\\{u,v\\}\\in E}x_{\\{u,v\\}}\\sigma_u\\sigma_v\\right). \\] Write \\(\\langle\\cdot\\rangle_x\\) for its expectation. At \\(\\beta=\\infty\\), use the uniform measure on all ground states. This convention matters: bimodal disorder can have many ground states.\nFor \\(0<\\varepsilon\\le1\\), construct \\(x^\\varepsilon\\) by independently replacing each bond with a fresh fair sign with probability \\(\\varepsilon\\). Replacement actually changes the sign with probability \\(\\varepsilon\/2\\). Draw \\(\\sigma\\) from \\(\\mu_{x,\\beta}\\) and \\(\\tau\\) independently from \\(\\mu_{x^\\varepsilon,\\beta}\\), conditional on the two disorders. Their site overlap is \\(R=N^{-1}\\sum_i\\sigma_i\\tau_i\\).\nThe square removes the arbitrary global spin orientation. Let \\(f_{ij}(x)=\\langle\\sigma_i\\sigma_j\\rangle_x\\). Conditional independence gives\n\\[ \\mathbb E_\\varepsilon\\langle R^2\\rangle =\\frac{1}{N^2}\\sum_{i,j} \\mathbb E_\\varepsilon[f_{ij}(x)f_{ij}(x^\\varepsilon)]. \\] Here the bracket averages the two spin samples; \\(\\mathbb E_\\varepsilon\\) averages the original bonds and their resampling. The problem has become a noise-stability calculation for bounded functions of independent bits.\nGauge symmetry forces a path For \\(S\\subseteq E\\), let \\(\\chi_S(x)=\\prod_{e\\in S}x_e\\). These Walsh characters form an orthonormal basis under the uniform bond law, so\n\\[ \\begin{aligned} f_{ij}(x)&=\\sum_{S\\subseteq E}\\widehat f_{ij}(S)\\chi_S(x),\\\\ \\widehat f_{ij}(S)&=\\mathbb E[f_{ij}(x)\\chi_S(x)]. \\end{aligned} \\] Assume \\(i\\ne j\\). Flip spin \\(v\\) and all bond signs incident to \\(v\\). Every interaction is unchanged after this joint transformation. Therefore \\(f_{ij}\\) changes sign exactly when \\(v=i\\) or \\(v=j\\). Meanwhile, \\(\\chi_S\\) changes sign exactly when the degree of \\(v\\) in the subgraph \\(S\\) is odd.\nThe transformed bonds still have the uniform law. Changing variables in the Fourier coefficient gives\n\\[ \\widehat f_{ij}(S) =(-1)^{\\mathbf 1_{\\{v=i\\}}+\\mathbf 1_{\\{v=j\\}}+\\deg_S(v)} \\widehat f_{ij}(S). \\] A nonzero coefficient requires odd degree at \\(i,j\\) and even degree everywhere else.\nEvery connected component of a finite graph has an even number of odd-degree vertices. Thus \\(i\\) and \\(j\\) must lie in the same component of \\(S\\). That component contains a path between them, and consequently\n\\[ \\widehat f_{ij}(S)\\ne0 \\quad\\Longrightarrow\\quad |S|\\ge d_G(i,j). \\] Colored edges are the Fourier support S, not satisfied bonds or a physical spin cluster. A connecting path is necessary; cycles are allowed. The parity condition permits a coefficient to survive, but does not guarantee that it is nonzero. That is the model-specific step. It works for Gibbs correlations at every temperature because the spin flip is a bijection of configurations, including the ground-state set.\nThe noise operator finishes the estimate Set \\(q=1-\\varepsilon\\). A resampled bit has conditional mean \\(q x_e\\), and the resampling is independent across edges. Hence \\(\\mathbb E[\\chi_S(x^\\varepsilon)\\mid x]=q^{|S|}\\chi_S(x)\\). Orthogonality now gives the standard noise-stability identity:\n\\[ \\mathbb E_\\varepsilon[f_{ij}(x)f_{ij}(x^\\varepsilon)] =\\sum_S q^{|S|}\\widehat f_{ij}(S)^2. \\] For \\(i\\ne j\\), all surviving sets have at least \\(d_G(i,j)\\) edges. Parseval and \\(|f_{ij}|\\le1\\) therefore give\n\\[ \\begin{aligned} 0&\\le \\mathbb E_\\varepsilon[f_{ij}(x)f_{ij}(x^\\varepsilon)]\\\\ &\\le q^{d_G(i,j)}\\sum_S\\widehat f_{ij}(S)^2\\\\ &\\le q^{d_G(i,j)}. \\end{aligned} \\] For \\(i=j\\), \\(f_{ii}=1\\), so the same bound holds with distance zero. For distinct disconnected vertices the correlation is zero by flipping one whole component. Summing yields\n\\[ \\boxed{\\displaystyle \\mathbb E_\\varepsilon\\langle R^2\\rangle \\le \\frac{1}{N^2}\\sum_{i,j}q^{d_G(i,j)}.} \\] At \\(\\varepsilon=1\\), read the diagonal contribution as one: the bound is \\(1\/N\\). The spectral calculation is the familiar one from O&rsquo;Donnell&rsquo;s Analysis of Boolean Functions, \u00a72.4. No influence estimate or hypercontractive inequality is needed.\nHow small can the perturbation be? For a nearest-neighbor box of side length \\(L\\) in \\(d\\) dimensions, \\(N=L^d\\). The distance sum is bounded by the corresponding sum on the full lattice:\n\\[ \\sum_j q^{d_G(i,j)} \\le \\left(\\sum_{m\\in\\mathbb Z}q^{|m|}\\right)^d =\\left(\\frac{1+q}{1-q}\\right)^d. \\] The same bound holds on the torus by choosing a shortest coordinate representative for each vertex. Thus, for \\(0<\\varepsilon\\le1\\),\n\\[ \\mathbb E_\\varepsilon\\langle R^2\\rangle \\le \\frac{1}{L^d} \\left(\\frac{2-\\varepsilon}{\\varepsilon}\\right)^d \\le \\left(\\frac{2}{\\varepsilon L}\\right)^d. \\] In particular, \\(\\varepsilon_L\\to0\\) is allowed as long as \\(\\varepsilon_L L\\to\\infty\\). For example, replacing bonds at rate \\(L^{-1\/2}\\) makes the overlap tend to zero. Markov&rsquo;s inequality turns the second-moment estimate into convergence in probability, under the full joint disorder-and-spin law.\nThe bound is uniform in temperature. It also holds for independently sampled uniform ground states, either by the same gauge argument or by taking \\(\\beta\\to\\infty\\) in finite volume. It does not assert the conclusion for every deterministic rule that selects one of many ground states.\nWhy the broader paper uses Hermite analysis Chen, Kim and Sen represent symmetric couplings as an odd function of a Gaussian variable. Fourier\u2013Hermite analysis then treats several disorder laws, two kinds of perturbation, and hypergraph interactions within one framework. They explicitly connect bond resampling to Boolean noise sensitivity, citing Garban and Steif.\nFor fair \u00b1J couplings and resampling, the Walsh basis exposes the argument with less machinery: gauge symmetry forces a path, and noise damps every Fourier term carrying that path. This is the elementary specialization of their Lemma 2.2, Proposition 2.4, and Theorem 1.3.\nFinally, disorder chaos compares different bond realizations. It does not by itself establish a finite-temperature ordered phase for a single realization: the unperturbed overlap can already be small. Fixed boundary spins or an external field also change the gauge argument and require a separate treatment.\nP.S. UGC and a ground-state approximation gap Assuming the Unique Games Conjecture (UGC) is true\u2014which OpenAI recently claimed to prove\u2014there is a neat, already-known consequence for approximating Ising ground states on general interaction graphs. The implication below takes UGC as an assumption.\nGive each edge a coupling \\(J_{uv}\\in\\{-1,+1\\}\\), and let \\(m=|E|\\). Count satisfied bonds, meaning those with \\(J_{uv}\\sigma_u\\sigma_v=+1\\):\n\\[ \\begin{aligned} S(\\sigma)&=\\sum_{\\{u,v\\}\\in E} \\frac{1+J_{uv}\\sigma_u\\sigma_v}{2},\\\\ H_J(\\sigma)&=-\\sum_{\\{u,v\\}\\in E}J_{uv}\\sigma_u\\sigma_v =m-2S(\\sigma). \\end{aligned} \\] Writing \\(\\sigma_v=(-1)^{x_v}\\), each satisfied bond is the XOR constraint \\(x_u\\oplus x_v=(1-J_{uv})\/2\\). Thus maximizing \\(S\\) is exactly Max-2-Lin over \\(\\mathbb F_2\\). In the special case \\(J_{uv}=-1\\) on every edge, satisfied bonds are precisely edges crossing the spin-defined cut. Max-Cut is already an Ising ground-state problem on the same graph. No embedding gadgets are needed.\nKhot, Kindler, Mossel and O&rsquo;Donnell (KKMO), Theorem 1, show that UGC makes it NP-hard to approximate Max-Cut within any factor greater than the Goemans\u2013Williamson constant \\(\\alpha_{\\mathrm{GW}}\\approx0.878567\\). Consequently, for any fixed \\(\\eta>0\\), finding spins guaranteed to satisfy \\(S(\\sigma)\\ge(\\alpha_{\\mathrm{GW}}+\\eta)S_{\\mathrm{opt}}\\) is NP-hard for the general \\(\\pm J\\) class as well. This is an existing hardness theorem expressed in spin-glass language.\nFor a concrete ground-state energy-density gap, write \\(E_0=\\min_\\sigma H_J(\\sigma)\\). KKMO&rsquo;s theorem says that for every fixed \\(-1<\\rho<0\\) and \\(\\delta>0\\), it is NP-hard to distinguish a maximum satisfied fraction at least \\((1-\\rho)\/2\\) from one at most \\(\\arccos(\\rho)\/\\pi+\\delta\\). The identity \\(E_0=m-2S_{\\mathrm{opt}}\\) gives the following energy bounds in the two cases, respectively:\n\\[ \\begin{aligned} E_0\/m&\\le\\rho,\\\\ E_0\/m&\\ge 1-\\frac{2}{\\pi}\\arccos(\\rho)-2\\delta. \\end{aligned} \\] At the parameter giving \\(\\alpha_{\\mathrm{GW}}\\), \\(\\rho\\approx-0.689158\\). The two thresholds are approximately \\(-0.689158\\) versus \\(-0.484039\\), with arbitrarily small slack in the latter. These numbers are just KKMO&rsquo;s gap converted into energy units; the \\(0.878567\\) approximation ratio itself applies to satisfied bonds, whose objective includes the constant offset \\(m\\).\nThe scope matters. These are worst-case instances on general graphs, not a hardness result for independently sampled fair bonds. Fixed-dimensional nearest-neighbor lattices admit polynomial-time approximation schemes for the satisfied-bond objective; see Bansal, Bravyi and Terhal. Also, this optimization hardness is a separate statement from the disorder-chaos estimate above. The connection back to the lectures is that KKMO&rsquo;s proof uses Boolean noise stability and the Majority Is Stablest theorem.\nSources Sourav Chatterjee, Spin glass phase at zero temperature in the Edwards\u2013Anderson model. Wei-Kuo Chen, Heejune Kim and Arnab Sen, Disorder Chaos in Short-Range, Diluted, and L\u00e9vy Spin Glasses, v4, especially \u00a7\u00a72.2\u20132.3 and \u00a73. Ryan O&rsquo;Donnell, Analysis of Boolean Functions, \u00a72.4. Subhash Khot, Guy Kindler, Elchanan Mossel and Ryan O&rsquo;Donnell, Optimal Inapproximability Results for MAX-CUT and Other 2-Variable CSPs?, Theorem 1. Nikhil Bansal, Sergey Bravyi and Barbara M. Terhal, Classical approximation schemes for the ground-state energy of quantum and classical Ising spin Hamiltonians on planar graphs. ","permalink":"https:\/\/peabrane.github.io\/post\/spin-glass-chaos-boolean-fourier\/","summary":"<p>Change a small fraction of the bonds in a spin glass. How much of the spin configuration changes? For the fair \u00b1J Edwards\u2013Anderson model, there is a short answer using Fourier analysis on the Boolean cube. The decisive observation is geometric: every surviving Fourier term for a two-spin correlation must contain a path between those spins. The usual noise operator then suppresses it.<\/p>\n<p>This is an exposition of a known result. <a href=\"https:\/\/arxiv.org\/abs\/2301.04112\">Chatterjee&rsquo;s 2023 paper<\/a> proved site-overlap disorder chaos at zero temperature for Gaussian couplings. <a href=\"https:\/\/arxiv.org\/abs\/2404.09409v4\">Chen, Kim and Sen<\/a>, first posted in 2024 and revised in 2025, extended the result to general symmetric disorder and all temperatures. Here is the fair-bimodal, bond-resampling specialization of their argument, written directly in the language of Boolean Fourier analysis.<\/p>","title":"Spin-glass chaos with Boolean Fourier analysis"},{"content":"The machine didn&rsquo;t know what it had just proved.\nIn September 2026 OpenAI posted a collection of 719 mathematics manuscripts. Reading its mathematical-physics part, I kept running into the same pattern:\na main theorem settles some statement X; the literature has known for decades that &ldquo;if X then Y&rdquo;, where Y is itself a named open problem; nobody writes down Y. It isn&rsquo;t in the paper, and it isn&rsquo;t in a footnote either. I searched all 719 manuscripts and the literature, and could not find any of the four corollaries below stated anywhere.\nNone of them needs new mathematics. Each one is an OpenAI theorem plus a classical result, and all the depth is in the cited papers. My guess is that this is an agentic-harness effect. The corollaries the manuscripts do state reuse the proof&rsquo;s own machinery (examples below). What gets missed is noticing that a theorem answers someone else&rsquo;s question, posed in a different language. That takes a literature step nobody seems to have run.\nAll links to OpenAI manuscripts point to commit fd4aeeb of openai\/math. The manuscripts have not been peer reviewed, and each corollary inherits that status.\n1. The 2D random ferromagnet has only two ground states What OpenAI proved. No bigeodesics in planar first-passage percolation (result family 212). Put iid nonnegative random weights on the edges of \u2124\u00b2. Assume their law has no atoms, and that the minimum of four independent copies has finite second moment. Then almost surely there is no bigeodesic: no doubly infinite self-avoiding path every finite piece of which is a shortest path between its endpoints.\nWhat was still open. Take the disordered Ising ferromagnet on \u2124\u00b2:\nspins \u03c3x = \u00b11; energy \u2212\u03a3 Jxy \u03c3x\u03c3y, with iid random couplings Jxy \u2265 0. A ground configuration is one whose energy cannot be lowered by flipping finitely many spins. All-plus and all-minus always qualify. Are there any others?\nBassan, Gilboa and Peled call this &ldquo;a long-standing challenge&rdquo; (their Question 1.1). They show that non-constant ground configurations do exist in dimensions \u2265 4 for sufficiently concentrated disorder. In 2D the expected answer is no, but it had only been proved under unverified assumptions or for exactly solvable relatives of the model.\nThe argument. The key input is Newman&rsquo;s dictionary: non-constant ground configurations exist if and only if the dual first-passage model has bigeodesics. In that dual model, the weight of each dual edge is the coupling it crosses. The dictionary is in Topics in Disordered Systems (1997), Chapter 1, Propositions 1.1\u20131.2, and is sketched in Damron\u2013Hanson, \u00a72.3. In words:\nThe wall is a path in a random metric. Draw the domain wall of a configuration: the curve of dual edges crossing every bond whose two spins disagree. Its energy relative to all-plus is twice the total coupling it crosses, that is, twice its length in the random metric. The wall must be locally shortest. Flipping a finite block of spins reroutes the wall locally. So in a ground configuration no local reroute can shorten the wall, which means every finite piece of it is a shortest path. No loops, so a bigeodesic appears. With continuous couplings, shortest paths are unique, so the wall has no loops: a loop would give two different shortest paths between the same two points. A wall that never ends and has no loops contains a path that runs to infinity in both directions, and that is a bigeodesic. OpenAI&rsquo;s theorem says no bigeodesic exists. So the wall is empty and the configuration is constant.\nCorollary. Take iid couplings with an atomless law whose minimum of four copies has finite second moment, for example uniform or exponential couplings. Then almost surely the only ground configurations of the 2D disordered ferromagnet are all-plus and all-minus.\nAmusingly, the OpenAI manuscript cites Wehr and Woo. Their 1998 paper introduces the bigeodesic problem as being equivalent to exactly this ferromagnet question, yet the manuscript never mentions ferromagnets.\n2. The spin-1 Heisenberg chain has a finite correlation length What OpenAI proved. The periodic spin-one Haldane gap (family 268). Take the antiferromagnetic spin-1 Heisenberg chain H = \u03a3 Si\u00b7Si+1 on a ring of L sites. For every even L \u2265 60 the ground state is unique and the spectral gap satisfies \u03b3L &gt; (4\/105)\u00b7ln(80\/79) \u2248 4.8\u00d710\u207b\u2074.\nWhat was still open. Haldane&rsquo;s 1983 prediction for integer spin has two halves:\na gapped, unique ground state; exponentially decaying correlations. Young&rsquo;s 2023 survey says numerics support these properties for spin 1, &ldquo;but a rigorous proof has still not been found&rdquo;. OpenAI&rsquo;s papers prove the first half. A companion paper also gets a topological index. Neither says anything about correlations.\nThe argument. It uses the exponential clustering theorem (Hastings\u2013Koma; Nachtergaele\u2013Sims; both 2006). Take a finite-range Hamiltonian with a gap above a unique ground state. Then connected correlations decay exponentially with distance, at a rate that depends only on the gap and the interaction strength.\nThe intuition:\nby the Lieb\u2013Robinson bound, influence spreads at a bounded speed v; the gap makes the ground state forget a local disturbance within a time of about 1\/\u03b3; so two observables farther apart than roughly v\/\u03b3 cannot stay correlated. Every ring has the same nearest-neighbour terms, and OpenAI&rsquo;s gap holds uniformly in L. So the bound is uniform in L, and it passes to the infinite chain.\nCorollary. In the ground state of the spin-1 Heisenberg ring, |\u27e8AB\u27e9 \u2212 \u27e8A\u27e9\u27e8B\u27e9| decays exponentially in the distance between the local observables A and B, with constants independent of L. Every infinite-volume limit of these ground states therefore has a finite correlation length. That is the second half of Haldane&rsquo;s prediction.\nThe result is only qualitative. The proven gap is nearly a thousand times smaller than the true gap (about 0.41), so the correlation-length bound is far larger than the true value of about 6 lattice spacings. It also does not give area-law or matrix-product-state statements for open chains, which have spin-\u00bd edge states.\n3. Minimal spanning forest trees have one end, including on \u2124\u00b3 What OpenAI proved. No percolation at criticality on quasi-transitive graphs (family 213). On every infinite, connected, locally finite quasi-transitive graph with pc &lt; 1, critical Bernoulli bond percolation has no infinite cluster: \u03b8(pc) = 0. This includes \u2124d for every d \u2265 2. On \u2124d this was previously known only for d = 2 and d \u2265 11 (I made a video about the proof).\nWhat was still open. Give each edge an independent uniform label. The wired minimal spanning forest (WMSF) deletes every edge whose label is the largest on some cycle or on some bi-infinite path. Does every tree of this forest have exactly one end, that is, contain no doubly infinite path?\nAlexander (1995) proved this on \u2124d assuming \u03b8(pc) = 0. Lyons, Peres and Schramm (2006), Theorem 1.1, proved it on every unimodular quasi-transitive graph under the same assumption. So the conclusion was open exactly where \u03b8(pc) = 0 was open, including \u2124\u00b3 through \u2124\u00b9\u2070.\nThe argument. Plug \u03b8(pc) = 0 into those theorems. Roughly, Alexander showed that the only way a tree of the forest can have two ends is by swallowing an entire infinite cluster of critical percolation. With no infinite critical clusters, every tree has one end.\nCorollary. On every unimodular quasi-transitive graph with pc &lt; 1 (in particular on \u2124\u00b3), almost surely every tree of the wired minimal spanning forest has one end. On amenable graphs such as \u2124d the free and wired forests coincide, so this is the minimal spanning forest. Alexander also notes a consequence for invasion percolation on \u2124d: from every site there is a unique optimal (minimax) path to infinity.\n4. Free and wired minimal spanning forests differ on every nonamenable graph What OpenAI proved. Nonuniqueness of percolation on nonamenable quasi-transitive graphs (family 214) proves pc &lt; pu on every nonamenable quasi-transitive graph. This is the Benjamini\u2013Schramm nonuniqueness conjecture: there is a window of p in which there are infinitely many infinite clusters.\nWhat was still open. The free minimal spanning forest (FMSF) deletes only the edges whose label is the largest on some finite cycle. Lyons, Peres and Schramm asked, as Question 6.6: does every nonamenable quasi-transitive graph satisfy FMSF \u2260 WMSF? They also observed that a positive answer is equivalent to pc &lt; pu.\nThe argument. Their Proposition 3.6 says FMSF = WMSF exactly when, for almost every p, there is at most one infinite cluster. On quasi-transitive graphs, uniqueness monotonicity (H\u00e4ggstr\u00f6m\u2013Peres, Schonmann) turns this into pc = pu.\nIn words, take an edge such that:\nits label p falls in the nonuniqueness window; its two endpoints lie in two different infinite clusters of the edges with lower labels. No finite cycle through this edge has all its other labels below p, so the free forest keeps it. But a bi-infinite path running out through the two clusters makes it the largest label on that path, so the wired forest deletes it. When there are infinitely many infinite clusters, such edges exist with positive probability.\nCorollary. On every nonamenable quasi-transitive graph, FMSF \u2260 WMSF. This answers Lyons\u2013Peres\u2013Schramm&rsquo;s Question 6.6. Admittedly it is the cheapest of the four, since they had already reduced it to the Benjamini\u2013Schramm conjecture.\nWhat the manuscripts did state The manuscripts do derive corollaries, when the corollary reuses the proof&rsquo;s own machinery:\nThe SK limiting-law manuscript derives disorder chaos from its variance asymptotics, via Chatterjee&rsquo;s identity. The nonuniqueness manuscript derives the critical triangle condition and mean-field critical laws from its operator bound. The boundary-field companion derives Tasaki&rsquo;s topological index from its gap. What gets missed is the other kind of corollary: noticing that the theorem answers a question posed elsewhere, in a different language (spin systems, spanning forests, correlation decay). That requires a step like &ldquo;search the literature for &lsquo;if X then \u2026&rsquo; and &rsquo;equivalent to X&rsquo;&rdquo;. A human specialist gets that step for free from years of talks. A pipeline that writes one focused manuscript per result apparently does not run it.\nAside: why the bigeodesic trick needs a ferromagnet The first corollary works because a ferromagnet has a frustration-free reference state. All-plus satisfies every bond, so a domain wall&rsquo;s cost is a positive, additive length. Walls are then geodesics in a random metric, and subadditivity, planar topology and decades of first-passage tools all apply.\nIn a spin glass, couplings of both signs leave frustrated plaquettes, and no configuration satisfies every bond. The cost along an interface between two ground states becomes a signed sum with no triangle inequality. The planar topology survives but the metric does not. So the bigeodesic theorem says nothing about whether the 2D Edwards\u2013Anderson spin glass has incongruent ground states.\nFine print All four corollaries inherit the status of the underlying preprints, which have not been refereed.\n&ldquo;Not written anywhere&rdquo; means three things:\nit is not in any of the 719 manuscripts at the pinned commit (I searched all of them); it is not in the collection&rsquo;s Lean documentation or overview; it is not in any of the literature I could find. If one of these is already in print, please tell me and I will update the post with credit.\nAll of the depth is in the cited work: OpenAI&rsquo;s theorems, and the classical results of Newman, Alexander, Lyons\u2013Peres\u2013Schramm, Hastings\u2013Koma and Nachtergaele\u2013Sims.\n","permalink":"https:\/\/peabrane.github.io\/post\/unwritten-corollaries\/","summary":"<p><em>The machine didn&rsquo;t know what it had just proved.<\/em><\/p>\n<p>In September 2026 OpenAI posted a <a href=\"https:\/\/github.com\/openai\/math\/tree\/fd4aeeb2ee4fc729c18d98444fed42fd0529eeeb\">collection of 719 mathematics manuscripts<\/a>. Reading its mathematical-physics part, I kept running into the same pattern:<\/p>\n<ul>\n<li>a main theorem settles some statement <em>X<\/em>;<\/li>\n<li>the literature has known for decades that &ldquo;if <em>X<\/em> then <em>Y<\/em>&rdquo;, where <em>Y<\/em> is itself a named open problem;<\/li>\n<li>nobody writes down <em>Y<\/em>. It isn&rsquo;t in the paper, and it isn&rsquo;t in a footnote either.<\/li>\n<\/ul>\n<p>I searched all 719 manuscripts and the literature, and could not find any of the four corollaries below stated anywhere.<\/p>\n<p>None of them needs new mathematics. Each one is an OpenAI theorem plus a classical result, and all the depth is in the cited papers. My guess is that this is an agentic-harness effect. The corollaries the manuscripts <em>do<\/em> state reuse the proof&rsquo;s own machinery (examples <a href=\"#what-the-manuscripts-did-state\">below<\/a>). What gets missed is noticing that a theorem answers someone else&rsquo;s question, posed in a different language. That takes a literature step nobody seems to have run.<\/p>","title":"Corollaries Nobody Wrote Down"},{"content":"The part of this percolation argument that kept tripping me up was the collection of boxes. There is a seed box, a buffer around a different box, an auxiliary cube, a target inside a neighboring coarse box, and then a sequence of contractions and translations. What is actually moving? Why would making a target smaller help? And if fully open seeds are rare, aren&rsquo;t we spending all our probability before we get anywhere?\nThis is the version I wanted to read: the whole geometric and probabilistic route, in pictures, with the error budgets left out. We will take the gluing theorem as given. Its matrix and cone proof is a separate project; the question here is what that theorem lets us build.\nThe source is OpenAI&rsquo;s September 2026 preprint Critical bond and site percolation on the cubic lattice. This post explains its proposed argument, specializing to independent bond percolation in three dimensions. My animated tour discusses a related manuscript and spends more time on gluing itself.\nThere is also a 14-page picture guide to download. The figures below are schematic: flat squares usually stand for three-dimensional boxes, and their relative sizes are exaggerated for readability.\nThe route through the proof The local work makes one extension reliable. The global work makes those extensions usable repeatedly.\nOpen full-size diagram \u2197 In bond percolation, each lattice edge is independently open or closed. A cluster consists of vertices joined by open paths. Below the critical density, there is no infinite cluster; above it, there is one. The question is what happens exactly at the critical density.\nThe argument starts by assuming that an infinite cluster exists there. It turns this assumption into very reliable finite crossing events. Once the required boxes are fixed, lowering the edge density slightly changes those crossing probabilities only slightly. The proof then uses the surviving local crossings to construct an infinite cluster below criticality. That gives the contradiction.\nThe important word is finite. We are not moving the infinite-cluster event below criticality by continuity. We move a finite collection of local estimates, and build infinite growth afterward.\n1. A seed catches a piece of infinity A seed is a small cube compared with the regions we will eventually work in. It can nevertheless be very large in lattice units.\nUnder the contradiction assumption, an infinite cluster exists almost surely. As a centered seed box grows, it becomes increasingly likely to touch one. It does not contain the whole infinite cluster. It contains a vertex whose open paths continue outside every finite surrounding box.\nThat gives a reliable connection from the seed to the boundary of a larger cube. But a connection to somewhere on the boundary is too vague for the geometry ahead. We will want it to land on a particular patch.\nThe large seed supplies a reliable way out. Symmetry and FKG turn boundary reachability into a crossing to a prescribed quarter-face.\nOpen full-size diagram \u2197 Divide each face of the surrounding cube into four quarters. Symmetry makes the probabilities of missing the different quarter-faces equal. For independent edges, these miss events are positively correlated: learning that one patch was missed can only increase the chance of missing another. The FKG inequality turns this observation into a bound on missing all the patches together. If missing the entire boundary is extremely unlikely, no prescribed quarter-face can have a large miss probability.\nSo we obtain a useful local statement: the seed is very likely to connect to whichever quarter-face the construction specifies in advance. We are not observing the configuration and choosing a patch it happened to reach.\nAt this point, the seed&rsquo;s internal edges do not have to be fully open. Full opening has a different job later.\nAfter fixing all the finite boxes needed in the construction, we lower the edge density slightly. The required local crossing tests remain reliable. Everything that follows then runs at that lower density.\nThe crossing probabilities remain high. The matching purple routes are schematic; continuity does not preserve the same realized path.\nOpen full-size diagram \u2197 2. Keep the regions straight Here is a single extension, before worrying about a whole lattice of boxes.\nThe small seed, the auxiliary cube, and the next target have different jobs. The auxiliary cube may protrude beyond the target; its selected landing patch must fit inside it.\nOpen full-size diagram \u2197 The current target is the rectangle the incoming connection is trying to reach. Its buffer supplies a surrounding region with many candidate entry layers. A small seed is a possible attachment point near a reachable entrance. An auxiliary cube around that seed supplies the reliable seed-to-quarter-face crossing. The next target contains the selected quarter-face. The auxiliary cubes all fit inside a larger fresh region. Fresh means that, given what has been revealed so far, its edges still have their original independent law. It does not mean that the region contains no open paths.\nThe extension statement controls the event that the source reaches the current target but misses the next one. This distinction matters. We have not first revealed a successful arrival and then assumed that all onward probabilities survived that conditioning.\n3. The buffer supplies entrances Picture the buffer as nested fences around the current target. If the source reaches the target, it must get through every surrounding fence.\nFor one candidate layer, expose the exterior connections and count the reachable entrances. If there are only a few, closing their crossing edges can seal the layer at a definite probability cost. Those crossing edges are still fresh.\nA reachable, completely sealed outer layer prevents the source from reaching a smaller inner layer. Those blocking events cannot pile up in the same configuration.\nOpen full-size diagram \u2197 Now use the nesting. Once an outer layer is reachable and completely sealed, no inner layer can also be reachable from the source. The corresponding blocking events are mutually exclusive, so their probabilities share a limited total budget.\nWith enough candidate layers, at least one fixed layer makes reaching the target with only a few entrances unlikely. This is the Grimmett\u2013Marstrand layer-selection trick.\nThe choice is deterministic. We choose the layer from its probability estimate, before seeing which random configuration occurs. We are not searching a realized configuration for its luckiest fence.\n4. Rare open seeds become useful through repetition Near the reachable entrances, place separated seed boxes. A successful trial requires the entrance edge and all internal seed edges to be open.\nThat can be extremely rare. We pay for it with space: keep the seed size fixed, then arrange enough separated trials that some succeed. Each trial uses a disjoint set of fresh edges.\nWe only need some attempts to succeed. These are naturally occurring open seeds in one configuration, not edges we force open or repeatedly resample.\nOpen full-size diagram \u2197 Why insist on full opening? The local crossing estimate says that some vertex of the seed connects onward. The incoming path might attach at a different vertex. Opening every internal edge joins the incoming entrance to whichever vertex has the onward connection.\nWhy not use the entire buffer as one giant seed? Because increasing its size would make the all-open event rarer while leaving us with essentially one attempt. Small seeds let us increase the number of opportunities without increasing the cost of each opportunity.\nThere is one more filter: an attached seed should have good conditional onward prospects after the relevant interior configuration is fixed. Here, the interior means the region inside the chosen buffer layer, not just an individual seed. The proof shows that open-but-poor seeds are uncommon. The intuition is an averaging argument. Open seeds have very low average onward failure, so a large fraction of them cannot have substantial conditional failure. Many successful trials then leave a reached seed with reliable onward prospects.\n5. Gluing handles the selection problem The tempting argument is: choose the first seed the source reaches, then use that seed&rsquo;s ordinary onward connection probability.\nThe trouble is the word first. It tells us both that one seed was reached and that earlier seeds were not. Those negative facts can reveal obstructions in the same configuration we want to use for the onward connection. An ordinary, unconditioned crossing estimate need not survive that selection.\nThe gluing theorem supplies the statement we need: if every relay in a specified set has reliable onward prospects, reaching the relay set but missing the target is unlikely. It handles the fact that the incoming cluster chooses its own point of attachment.\nDashed curves represent conditional prospects, not paths already revealed. Gluing handles which reliable seed the incoming connection reaches.\nOpen full-size diagram \u2197 The proof is careful about which information defines the reliable relay set. Quality is determined from the interior edges alone. Exterior information is used to locate and count incoming seed opportunities, then averaged out before applying gluing. Once only the interior is fixed, the remaining edges again have a product law and the relay-quality estimates are the right ones.\nThat completes one extension: many entrances, many seed trials, a reached reliable seed, then gluing to the next target.\n6. Why a quarter-face fits when a full face does not An entrance can appear near a side or corner of the allowed region. The auxiliary cube centered near that entrance may stick out above or beside the next target. Its full forward face can therefore be too large to fit.\nIn a two-dimensional picture, choose the half of the forward edge that points toward the target&rsquo;s center. In three dimensions there are two sideways directions, so choose the inward half in each. Their combination is a quarter-face.\nThe cube can stick out of the target while its chosen landing patch stays inside. Full-cube containment in fresh space is a separate check.\nOpen full-size diagram \u2197 The normal direction, which places the face forward or inward, is checked separately. The inward choices control the two sideways coordinates. The patch can cross the target&rsquo;s centerline; what matters is that it cannot escape through the opposite side under the construction&rsquo;s size choices.\nThis is the geometric point worth retaining: the landing region has to work wherever the useful seed appears. We cannot assume a convenient central entrance.\n7. Contract first, then translate Each coarse box has a standard inner target. We want to transfer a connection from one inner target to the next.\nEvery use of the extension rule needs a buffer around its current target. During translation, the next target must accommodate landing patches from that expanded region. Consequently, the intermediate targets grow a little at each move. Starting at full size would leave us with a target too large to fit inside the neighbor&rsquo;s standard inner box.\nThe construction creates room first: three contractions, one per spatial direction.\nOnly the targets change. The centers stay fixed during contraction; the shapes are separated here for comparison. Small buffer allowances are omitted.\nOpen full-size diagram \u2197 Contraction does not preserve connectivity automatically. The source could reach the large target and miss the smaller one. We use the same extension lemma to make that outcome unlikely, aiming a suitable quarter-face inward so that it lands in the smaller central region.\nNothing is cut out of the open cluster. We ask for an additional connection to a smaller target. Paths are undirected: they may turn toward the center before continuing toward the neighboring box.\nAfter those three contractions come ten translations. There is no contraction between the ten moves. The target shifts toward the neighbor and grows slightly to absorb the buffers, using the room created at the start.\nOne coarse box-to-box crossing uses all thirteen steps. The final target fits inside the neighbor&rsquo;s standard inner target, so the construction can be repeated.\nOpen full-size diagram \u2197 Three reflects the spatial directions. Ten reflects the chosen box separation and step length. Thirteen is their total. The proof needs a fixed finite number of valid moves; these particular counts are not claimed to be minimal.\nThe moves are event comparisons in the same configuration, not independent trials along a prescribed route. If the source reaches the first target but misses the last, some neighboring pair of targets is where the extension failed. That lets the local failure bounds control the whole crossing.\n8. Explore without consuming tomorrow&rsquo;s information We now have a reliable neighboring-box connection estimate. Using it repeatedly requires more care than simply declaring boxes independently good.\nA good box adds unvisited neighbors to a queue and becomes their parent. Following the parents back to the root gives a parent chain. A queued box carries a strong prediction that the source connects to its inner target through that chain. All earlier boxes on the chain have been processed. The only remaining unknown edges relevant to the prediction lie in the pending box and its incoming parent interface.\nReserve those edges until the box&rsquo;s turn. Processing other boxes cannot touch them. The prediction therefore stays valid while the box waits.\nThe relay estimate is applied before revealing the current box. Afterward, compute the next box&rsquo;s connection prospects without inspecting its actual edges.\nOpen full-size diagram \u2197 When a pending box is processed, reveal its interior and incoming interface. This decides whether its own connection succeeded. For each unvisited neighbor, calculate the chance of extending the connection into that neighbor, averaging over its still-hidden edges.\nCalculating a probability does not reveal an outcome. The queue, parent assignments, and good\/bad decisions are functions of already observed edges and these calculations. They add no hidden information about the remaining edge values.\nA box is good only if its own connection is verified and its unvisited neighbors have strong connection predictions. A bad box produces no children. The relay estimate shows that a processed box is unlikely to be bad, conditional on the entire prior history.\nThe exploration starts on a positive-probability event where the root box and its outgoing interfaces are open. That finite initialization cost is paid once. The subsequent steps have to remain reliable throughout the growing exploration.\n9. Why the boxes form a two-dimensional grid The coarse boxes are arranged on a square grid. Each still contains a three-dimensional piece of the original lattice: its internal paths can move in all three directions.\nThe array is two-dimensional; the paths inside its boxes are three-dimensional. An infinite route through this thick planar array is sufficient.\nOpen full-size diagram \u2197 This is closely related to the Grimmett\u2013Marstrand slab architecture. A slab is infinite in two directions and bounded in the third. A planar array of uniformly thick boxes lives in such a slab, and an infinite cluster there is also an infinite cluster in the full lattice.\nThe planar arrangement gives a convenient description of how growth could stop. If the good cluster is finite and the queue empties, every outside neighbor of that cluster has been processed and declared bad. Its boundary contains a surrounding dual loop.\nStopping every route requires a surrounding obstruction. Counting possible loops and controlling collections of bad boxes leaves a positive chance that the exploration never stops.\nOpen full-size diagram \u2197 Individual steps being reliable would not, by itself, guarantee success along an infinite prescribed chain. The grid offers alternative routes. The contour argument controls the collective obstruction needed to stop them all.\nIt does not assume that the good\/bad classifications are independent. The conditional bound from the exploration is strong enough to control the probability that any specified collection of boxes is processed and declared bad. That is the input used in the loop count.\nWith positive probability, infinitely many boxes are good. Each has a verified connection back to the original source, so the source belongs to an actual infinite open cluster. All of this is happening at the slightly lowered density. The contradiction is complete.\n10. What gluing changes about the older argument Grimmett and Marstrand proved that supercritical percolation survives inside a sufficiently thick slab. Their method already had open seeds, geometric steering, and sequential exploration. It also confronted the problem that an explored cluster has a revealed closed boundary.\nThey crossed that boundary using sprinkling: a small increase in openness. Many boundary locations have useful onward routes, and the added openness gives chances to activate a connection through one of them. Their original paper uses site percolation; in the bond picture, think of adding extra open edges.\nThat expense is affordable for a supercritical result. Start above criticality, but below the desired final density, and reserve the remaining margin for the extra openings. Their construction keeps the accumulated increases controlled. See Grimmett\u2013Marstrand, Lemma 6 and Section 4.\nFor the critical-point argument, spending extra density would lose the desired contradiction: an infinite cluster above criticality is expected. Kozma and Nitzan identify precisely this obstruction in their reduction to a gluing inequality.\nHere, gluing supplies the extension bound at the current density. Once the finite estimates have been moved slightly below criticality, the construction can continue without adding openness.\nWhat I want to remember The important distinctions are about information and geometry:\nA seed likely to touch an infinite cluster is not the same condition as a seed whose internal edges are all open. Reaching a fixed target set is not the same as conditioning on the first relay reached. A region can contain open paths and still be fresh, because its edge values have not been learned. Contraction changes what we ask the cluster to reach. It does not delete or squeeze the cluster. A two-dimensional array of boxes can carry fully three-dimensional paths. The numerical margins make these operations compatible. The ideas explain why the operations exist at all. When I return to the matrix and cone proof, the question it has to answer is now quite concrete: how can an incoming connection use a reliable onward route when its choice of relay is biased by the same random configuration?\nSources and related reading Critical bond and site percolation on the cubic lattice, OpenAI, September 24, 2026. The manuscript followed here, pinned to the cited repository revision. Sections 3\u20136 contain the finite crossings, extension lemma, neighboring-box geometry, and exploration. A reduction of the \u03b8(p_c) = 0 problem to a conjectured inequality, Gady Kozma and Shahaf Nitzan, 2024. The gluing problem and the finite-to-infinite reduction framework. The supercritical phase of percolation is well behaved, Geoffrey Grimmett and John Marstrand, 1990. Seeds, nested layers, sprinkling, and dynamic renormalization. Animated tour and a closer look at gluing. Download the illustrated picture guide. Back to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/percolation-seeds-to-infinity\/","summary":"<p>The part of this percolation argument that kept tripping me up was the collection of boxes. There is a seed box, a buffer around a different box, an auxiliary cube, a target inside a neighboring coarse box, and then a sequence of contractions and translations. What is actually moving? Why would making a target smaller help? And if fully open seeds are rare, aren&rsquo;t we spending all our probability before we get anywhere?<\/p>\n<p>This is the version I wanted to read: the whole geometric and probabilistic route, in pictures, with the error budgets left out. We will take the <strong>gluing theorem<\/strong> as given. Its matrix and cone proof is a separate project; the question here is what that theorem lets us build.<\/p>","title":"From a Seed to an Infinite Cluster"},{"content":"Open each edge of a lattice independently with probability p. Above a critical value pc an infinite open cluster appears. But is there one exactly at pc? This is the \u03b8(pc) = 0 problem of percolation theory. It was settled in two dimensions by Harris and Kesten, and in high dimensions by the lace expansion, but stayed open for dimensions 3 to 10 for decades. A September 2026 preprint posted by OpenAI claims a proof for every \u2124d and every quasi-transitive graph with pc &lt; 1. I made a 13-minute animated tour of how the argument works.\nThe video first maps the whole argument, then zooms into its hardest step.\nFor a slower, illustrated explanation of the geometric construction, read From a Seed to an Infinite Cluster. It follows the cubic-lattice argument through seeds, buffers, quarter-faces, contractions, and exploration, taking gluing as given.\nThe strategy. Suppose an infinite cluster existed at pc. Then certain local &ldquo;moves&rdquo; (open paths from a small ball to a nearby target) are likely at pc, and since each is witnessed by finitely many edges, they stay likely at some p\u2032 slightly below pc. Chaining these moves through a lattice of corridors with an adaptive exploration, in which every tested site fails with probability at most \u03b5 given everything revealed so far, a Peierls-type count produces an infinite cluster at p\u2032 &lt; pc. That contradicts the definition of pc.\nThe hard part. Each hand-off inside a corridor needs the joint gluing inequality, conjectured by Kozma and Nitzan:\n\u2119(o \u2194 A, o \u2194 T) \u2265 \u2119(o \u2194 A) \u00b7 mina\u2208A \u2119(a \u2194 T).\nThe video shows why the naive &ldquo;first relay reached&rdquo; argument fails (on a 4-cycle it loses a factor 1\/2), how the proof replaces it with non-negative relay weights read off a triangular matrix (H\u22121 = I \u2212 \u0393), and why \u0393 \u2265 0, using the exact-cluster Markov property and alternating cluster resampling.\nFor the gluing proof on its own, retold with Green functions and a Poisson equation, see The joint gluing inequality in the language of Green&rsquo;s functions.\nThe main source is a preprint and has not been peer reviewed; the video presents its argument.\nChapters 0:00 Title 0:15 Part 1 \u00b7 Is there an infinite cluster at the critical point? 1:45 Part 2 \u00b7 The proof at a glance 2:31 Likely local moves, kept below pc 3:12 Corridors and an adaptive exploration 4:32 Hand-offs: why gluing is the hard part 5:47 Gluing 1\/3 \u00b7 The first-relay trap 8:07 Gluing 2\/3 \u00b7 Relay weights 10:15 Gluing 3\/3 \u00b7 Why the weights are non-negative 12:03 Recap and references Credits Main source: OpenAI, No percolation at criticality on quasi-transitive graphs, preprint, 24 September 2026 (openai\/math). The gluing problem and its reduction: G. Kozma, S. Nitzan, arXiv:2401.12397 (2024). First-contact comparison: J. Leder (2026); expositions prompted by A. Bou-Rabee (2026). Adaptive blocks: G. R. Grimmett, J. M. Marstrand, The supercritical phase of percolation is well behaved (1990). Alternating cluster resampling: J. van den Berg, O. H\u00e4ggstr\u00f6m, J. Kahn, arXiv:math\/0408176 (2006). Also: Aizenman\u2013Kesten\u2013Newman (1987); T. Hutchcroft, arXiv:1605.05301 (2016); R. Tessera, M. Tointon, arXiv:1908.06044 (2021); S. Martineau, V. Tassion, arXiv:1312.1946 (2017); R. Fitzner, R. van der Hofstad, arXiv:1506.07977 (2017). Music: Debussy, Danseuses de Delphes, Des pas sur la neige, Les sons et les parfums tournent dans l&rsquo;air du soir, La fille aux cheveux de lin; Scriabin, Prelude Op. 11 No. 15; Ravel, Le Gibet; Godowsky, Alt Wien. Animated with Manim Community. Transcript Show the full transcript Part 1 \u00b7 The question. Bond percolation: each edge of the lattice is open independently with probability p. Open edges are drawn; the largest open cluster is highlighted. As p grows, clusters merge. Beyond a critical value p_c (here 1\/2) an infinite cluster appears, and in a finite window the largest cluster spans it. \u03b8(p) is the probability that the origin belongs to an infinite open cluster. It is zero below p_c and positive above. The question is what happens exactly at p_c: does \u03b8 rise continuously from zero, or does it jump, so that an infinite cluster already exists at p_c? The proof rules out the jump: there is no infinite cluster at p_c, that is, \u03b8(p_c) = 0. Known before: d = 2 (Harris 1960, Kesten 1980) and d \u2265 11 (Hara\u2013Slade 1990, Fitzner\u2013van der Hofstad 2017). The cases 3 \u2264 d \u2264 10 stayed open for decades. The new preprint claims every quasi-transitive graph with p_c &lt; 1, which is Benjamini and Schramm's 1996 conjecture, and hence every \u2124\u1d48 with d \u2265 2.\nPart 2 \u00b7 The proof at a glance. Suppose, for contradiction, that an infinite cluster exists at p_c. The argument splits by how fast balls grow in the graph. Exponential growth was settled by Hutchcroft (2016), and an intermediate case has its own two-cluster argument. \u2124\u1d48 has polynomial growth: that is the case we follow. There the strategy is: find likely local moves at p_c, which by continuity stay likely slightly below p_c; then chain them through corridors into an infinite cluster at some p\u2032 &lt; p_c. That contradicts the definition of p_c. Let's watch the strategy in motion. If an infinite cluster exists at p_c, it is unique and reaches out in every direction, so a fixed small ball touches it with high probability. From that ball, open paths then reach a small box one step ahead and up, and one step ahead and down, each with probability at least 1 \u2212 \u03b7 (after rescaling the coordinates). Each move is witnessed by finitely many edges, so its probability is a polynomial in p, hence continuous. It therefore stays above 1 \u2212 \u03b7 at some p\u2032 slightly below p_c. Chain the moves: sites of an oriented lattice are joined by corridors, regions of the original graph. Two corridors meet only inside the small rectangle at a shared endpoint. Test sites layer by layer. Testing a site reveals only its incoming corridor; its two outgoing corridors are still untouched. So, whatever has been revealed so far, a tested site fails with probability at most \u03b5. Each time a site passes, the probability that its fresh corridors will carry the cluster onward is computed and stored; that stored prediction is what makes the bound hold at the next test. (Illustration: failures drawn at random.) If only finitely many sites were good, the boundary of the good set would be a closed trail of some length l passing at least l\/4 failed sites, and there are at most 4\u02e1 such trails. For small \u03b5 the total is below 1. So with positive probability infinitely many sites are good, each reached by an actual open path from the seed: an infinite open cluster at p\u2032 &lt; p_c. Contradiction, so \u03b8(p_c) = 0. Inside a corridor, the cluster is handed from one relay region to the next, all the way to the child site. Each hand-off must fail with probability at most \u03ba, whatever happened before; summing over the hand-offs controls the whole corridor. The catch: the cluster arrives at a point of B\u1d62 chosen by the very edges that must carry it onward. Making the hand-off bound uniform is the delicate part. That is the whole strategy. One ingredient is far more delicate than the rest: the hand-off bound, called joint gluing. Its proof is the most involved step. Let's zoom in on it. Joint gluing says: reaching the relays and the target is at least as likely as reaching the relays, times the worst relay's chance of reaching the target. We take it in three steps.\nJoint gluing, step 1 \u00b7 Why the hand-off is subtle. One hand-off, abstractly: the cluster of o has reached a set A of relays, and each relay, on its own, reaches the target T with probability at least 1 \u2212 \u03bb, close to 1. Must o then reach T? The catch: which relay o arrives at is decided by the same random edges that must carry it onward. Conditioning on the arrival can spoil the continuation. The smallest example is a 4-cycle with relays a\u2081 and a\u2082 and target b. Each relay reaches b either directly or around the cycle, so this probability tends to 1 as p \u2192 1. Split according to the first relay reached, taking a\u2081 before a\u2082. Suppose a\u2082 comes first: o reaches a\u2082 but not a\u2081. That forces o\u2013a\u2081 closed and o\u2013a\u2082 open. It also forbids a\u2082\u2013b and b\u2013a\u2081 from both being open, since then o would reach a\u2081 through b. Three cases remain. The conditional chance that a\u2082 reaches b is the green share: p(1 \u2212 p) \/ (1 \u2212 p\u00b2) = p\/(1 + p). Now let p \u2192 1. It tends to 1\/2, although each relay alone reaches b with probability tending to 1. Being reached first rules out the likeliest configuration, both edges at b open, and leaves two equally likely cases, only one of which connects. So a hand-off cannot be argued relay by relay through 'the first relay reached': that conditioning can cost a factor 1\/2. A different decomposition is needed.\nJoint gluing, step 2 \u00b7 The inequality and its relay weights. Joint gluing holds for independent edges with any probabilities, including 0 and 1, so it still applies after conditioning on edges already revealed. Subtracting it from \u2119(o \u2194 A) gives the hand-off bound: if every relay reaches the target with probability at least 1 \u2212 \u03bb, then reaching the relays but missing the target has probability at most \u03bb, however many relays there are. Proof idea: find relay weights \u03b1\u2090 \u2265 0 that add up to \u2119(o \u2194 A) and multiply the plain chances \u2119(a \u2194 T), with no conditioning on which relay came first. Bounding the sum by its smallest term gives the theorem. List the relays x\u2081, x\u2082, \u2026 and put o last. Column k of the matrix H describes the cluster of x\u2096, conditioned to avoid the earlier ones; entry (i, k) is the chance that it contains x\u1d62. So H is unit lower triangular. Key lemma: H\u207b\u00b9 = I \u2212 \u0393 where no entry of \u0393 is negative. The relay weights are the last row of \u0393, and they add up to \u2119(o \u2194 A). Applying the same positivity to the vector of target chances gives the weighted bound. On this 4-cycle the weights are 0.516 and 0.474, nothing like the first-relay masses 0.973 and 0.017. They are not probabilities of any 'first' event, so the trap of step 1 does not apply. The bound checks out exactly: 0.963 \u2264 0.964. Everything rests on one fact: no entry of \u0393 is negative. Step 3 shows why.\nJoint gluing, step 3 \u00b7 Why the weights are non-negative. Ingredient 1, fresh territory. To know the cluster of S exactly, you only look at edges touching it: open ones inside, closed ones on its boundary (dashed). Every other edge is untouched: given the cluster, the rest of the graph is still independent percolation with the original probabilities. Ingredient 2, alternating resampling. Given the cluster U of s, regrow the cluster W of S with U removed; then, given W, regrow the cluster of s with W removed. Repeat. The law of the cluster of s, conditioned to avoid S, is stationary for this two-step chain (van den Berg\u2013H\u00e4ggstr\u00f6m\u2013Kahn). One round splits the column for an increasing function F into the column for its one-round average PF, plus leftover terms carried by later relays. The leftovers are non-negative: removing more vertices can only shrink the cluster of s. Ingredient 3, forgetting. With probability at least a, every edge at s is closed and s is isolated, wherever the chain started. So repeated averaging flattens F to its mean, geometrically fast. Iterating, the column for F minus its mean is a non-negative mix of later columns. With F = 'the cluster meets a later relay', this is exactly H\u207b\u00b9 = I \u2212 \u0393 with \u0393 \u2265 0.\nRecap. If an infinite cluster existed at p_c, likely local moves would persist slightly below p_c, and corridors with an adaptive exploration would chain them into an infinite cluster below p_c. Every hand-off along the way is controlled by joint gluing. The result is a contradiction, so \u03b8(p_c) = 0. The gluing inequality itself uses only the independence of the edges: no symmetry and nothing specific to the lattice. Its non-negative relay weights replace the first-relay decomposition that fails on a 4-cycle.\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/theta-pc-visualized\/","summary":"<p>Open each edge of a lattice independently with probability <em>p<\/em>. Above a critical value <em>p<sub>c<\/sub><\/em> an infinite open cluster appears. But is there one exactly <em>at<\/em> <em>p<sub>c<\/sub><\/em>? This is the \u03b8(p<sub>c<\/sub>) = 0 problem of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Percolation_theory\">percolation theory<\/a>. It was settled in two dimensions by Harris and Kesten, and in high dimensions by the lace expansion, but stayed open for dimensions 3 to 10 for decades. A September 2026 preprint posted by <a href=\"https:\/\/github.com\/openai\/math\">OpenAI<\/a> claims a proof for every \u2124<sup>d<\/sup> and every quasi-transitive graph with <em>p<sub>c<\/sub><\/em> &lt; 1. I made a 13-minute animated tour of how the argument works.<\/p>","title":"No Percolation at Criticality: the \u03b8(p_c) = 0 Proof, Visualized"},{"content":"I coauthored an Anyscale technical deep dive on integrating NVIDIA Dynamo&rsquo;s KV-aware selection machinery into Ray Serve LLM. The collaboration is a useful example of a systems component becoming more valuable when it can be embedded outside the system where it started.\nKV cache overlap is important, but it is not the routing objective by itself. It tells you how much prefill work a worker can skip; it does not tell you how much uncached prefill or active decode work remains. A router that chases the largest cache hit can still pile new work onto an overloaded replica.\nThe better signal is token load:\nremaining uncached input tokens approximate new prefill work; active prefill tokens account for work already admitted; active decode state approximates ongoing memory-bandwidth pressure. The architectural goal was to make that selection logic reusable without requiring Ray to adopt the rest of the Dynamo runtime. On the Dynamo side, I built the runtime-free SelectionService and replica synchronization path. Anyscale engineer Jeffrey Wang then contributed the in-process Python binding, allowing Ray to own worker registration, request flow, and lifecycle updates while calling Dynamo&rsquo;s selection core directly.\nThe resulting boundary is deliberately modular:\nRay keeps its native event, request, and data planes. Dynamo maintains the KV index and computes cache-overlap and load-aware scores. Ray Serve LLM uses those scores to select the target replica and reports request lifecycle updates back to the selector. KV-cache- and token-aware routing was completed in Ray 2.58.0. The integration preserves Ray&rsquo;s orchestration model while reusing Dynamo&rsquo;s Rust routing core, rather than maintaining a second implementation of the same stateful scheduling logic.\nRead the full article for the routing model, diagrams, configuration, and workload results:\nOptimizing LLM Serving Efficiency: Moving Beyond KV Cache Reuse to Token-Load Awareness with Ray Serve LLM Back to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/anyscale-routing\/","summary":"<p>I coauthored an <a href=\"https:\/\/www.anyscale.com\/blog\/llm-kv-token-aware-routing\">Anyscale technical deep dive<\/a> on integrating NVIDIA Dynamo&rsquo;s KV-aware selection machinery into Ray Serve LLM. The collaboration is a useful example of a systems component becoming more valuable when it can be embedded outside the system where it started.<\/p>","title":"KV- and Token-Aware Routing in Ray Serve LLM"},{"content":"I worked with Gcore&rsquo;s AI team on the Dynamo side of a global inference-routing problem: when the same model is served in many data centers, how do you decide where each request should go without throwing away useful KV cache state?\nInside one Dynamo deployment, the KV-aware router can choose a worker by looking at cached prefix overlap and active load. Across data centers, the same idea becomes harder. A useful decision has to balance three signals:\nCache locality \u2014 which data center already holds the longest matching prefix. Live load \u2014 whether that data center has enough serving capacity right now. Network latency \u2014 whether the saved prefill work is worth a WAN hop. The cache index is the uncomfortable part. Shipping an exact global radix tree from every site would be far too expensive at this scale. I co-developed a transposed Cuckoo-filter indexer and Relay design with Gcore engineer Nikita Sukharev. Each data center maintains exact local ownership, publishes a compact probabilistic projection, and lets a global consumer compare overlap across sites without centralizing the KV cache itself.\nThe work landed upstream in several pieces:\nMulti-DC KV-aware routing design Relay-shaped transposed Cuckoo-filter indexer Sequenced DC Relay and domain-scoped global consumer End-to-end Cuckoo-filter integration and documentation Gcore built and measured its end-to-end global-router implementation over a real WAN. Its public evaluation covered 13 geographically distributed data centers, 4\u2013239 ms RTT, and roughly 130 million KV-cache blocks. Gcore reported that a cold router replica resynchronized the whole grid in about 11 seconds. At concurrency 256, routing across the grid reached 114 requests\/s versus 77 requests\/s for one data center, while p95 latency fell from 1,129 ms to 872 ms.\nThose are Gcore&rsquo;s system measurements; my upstream work focused on the Dynamo cache-index and Relay\/consumer boundary. The multi-DC path is still evolving, particularly around non-local transport, recovery, and request forwarding, but the result is a concrete example of Dynamo&rsquo;s routing machinery being lifted from worker scale to data-center scale.\nRead Gcore&rsquo;s full technical writeup:\nGcore introduces Global Inference Routing accelerated by NVIDIA Dynamo Back to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/gcore-global-routing\/","summary":"<p>I worked with Gcore&rsquo;s AI team on the Dynamo side of a global inference-routing problem: when the same model is served in many data centers, how do you decide where each request should go without throwing away useful KV cache state?<\/p>","title":"Multi-DC KV-Aware Routing with Gcore"},{"content":"I worked on DynoSim and coauthored the NVIDIA technical blog introducing it. DynoSim is a workload-driven discrete-event simulation of the NVIDIA Dynamo serving stack: a digital twin that combines engine timing, scheduler behavior, routing, planning, KV-cache effects, and workload traces on one virtual timeline.\nA Digital Twin of the Serving Stack LLM serving behavior emerges from a stack of interacting decisions. The engine scheduler chooses batches; the router changes where load and reusable KV state accumulate; the Planner changes capacity and topology; KV movement changes what future requests can reuse. A timing estimate for an isolated forward pass cannot capture those feedback loops by itself.\nDynoSim composes the same conceptual pieces as a deployment\u2014dynamic traffic, frontend lifecycle, KV-aware routing, aggregated or disaggregated workers, KVBM, and Planner decisions\u2014around one event queue and one shared virtual clock. That common clock is the important part: every component sees the effects of earlier decisions before making its next one.\nPutting Timing Inside the Causal Loop At the single-engine level, DynoSim separates two questions:\nWho runs next? The backend scheduler forms a batch from the waiting and running requests using token budgets, sequence limits, KV capacity, cache state, and backend-specific policy. When does it finish? A forward-pass model\u2014optionally backed by AIConfigurator\u2014maps that exact batch signature to a duration. The completion becomes a future event. When the virtual clock reaches it, DynoSim updates emitted tokens, running requests, KV visibility, and router state; only then does the scheduler form the next batch. This preserves causality instead of estimating the time of a workload after its scheduling decisions have already been fixed.\nThe offline replay path is implemented in Rust and reuses the real Mocker scheduler cores for vLLM and SGLang. Multi-worker runs advance directly between request arrivals, forward-pass completions, prefill-to-decode handoffs, and worker-ready events without sleeping. The router can be round-robin or an in-process KV-aware router with its own radix-tree index and active-sequence state.\nThe workload can be a fixed request trace, synthetic traffic, or a multi-turn agent trace. For agentic workloads, replay preserves session and parent-child dependencies: changing a simulated model completion time moves dependent turns on the shared clock, while captured tool waits remain intact. It replays the serving workload rather than rerunning the agent&rsquo;s semantic decisions.\nTwo Simulation Loops DynoSim exposes two useful fidelity boundaries:\nOffline replay keeps the engine, router, Planner, KV, and workload models in virtual time. It is deterministic and fast, which makes it the right inner loop for algorithm comparisons and configuration sweeps. Live Mocker replaces the GPU engine but keeps the real Dynamo frontend, router, Planner, registration, request transport, and KV-event paths. It is slower, but it exposes distributed integration behavior and component overheads that an in-process replay intentionally removes. Both consume the same workload contract. That lets a study move from a broad offline search to a smaller live-system test and finally to focused GPU validation without changing the question being asked.\nSweeping the System The simulation is faithful at the level of individual forward passes but fast enough to turn full-stack serving into an optimization loop. On an Apple M4 MacBook Air, the single-threaded Rust replay simulated the complete 23,608-request Mooncake trace with eight round-robin workers in 2.41 seconds. The modeled serving window was 60.1 minutes, so the run finished about 1,500\u00d7 faster than real time.\nI used that speed to run a full-grid Pareto campaign for MiniMax-M2.7 FP8 on B200 with vLLM 0.19.0. The sweep completed 8,688 deployment simulations spanning aggregated and disaggregated serving, worker splits, concurrency levels, and KV-router settings.\nEach point is one full-trace simulation. Circles are aggregated deployments, triangles are disaggregated prefill\/decode deployments, and color encodes the simulated GPU count. The left panel trades total output throughput against mean TTFT, so the interesting direction is up and left. The right panel trades total throughput against per-user output rate, so the interesting direction is up and right. The red curves are the exact non-dominated frontiers.\nThis is the payoff of simulating the system rather than just the engine. A locally attractive choice\u2014more workers, a different prefill\/decode split, stronger cache affinity\u2014can move a bottleneck into queueing, decode pressure, or user interactivity. The Pareto frontier makes those system-level tradeoffs visible.\nThe goal is not to replace real-cluster validation. It is to make that validation focused: screen thousands of layouts and policies in simulation, carry only the Pareto candidates to real hardware, and use measured telemetry to recalibrate the next sweep.\nDynoSim: Simulating the Pareto Frontier Back to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/dynosim\/","summary":"<p>I worked on <a href=\"https:\/\/developer.nvidia.com\/blog\/dynosim-simulating-the-pareto-frontier\/\">DynoSim<\/a> and coauthored the NVIDIA technical blog introducing it. DynoSim is a workload-driven discrete-event simulation of the <a href=\"https:\/\/github.com\/ai-dynamo\/dynamo\">NVIDIA Dynamo<\/a> serving stack: a digital twin that combines engine timing, scheduler behavior, routing, planning, KV-cache effects, and workload traces on one virtual timeline.<\/p>","title":"DynoSim: Simulating the Pareto Frontier"},{"content":"Simulating spin glasses at scale has always been a pain \u2014 Python is too slow, and C++ is too painful. Peapods is my attempt at a middle ground: a Monte Carlo package for Ising spin systems where the hot loops are written in Rust and everything else stays in Python, glued together with PyO3. You just pip install peapods and go.\nThe package supports the usual suspects \u2014 Metropolis and Gibbs single-spin flips, Swendsen\u2013Wang and Wolff cluster updates, and parallel tempering \u2014 on arbitrary-dimensional hypercubic lattices with arbitrary coupling constants. Replicas run in parallel via Rayon, so you get multi-core scaling essentially for free.\nThe whole thing started because I needed a fast, flexible simulator for my spin glass phase transition work and got tired of fighting with Numba. Rust turned out to be a surprisingly pleasant language for this kind of thing.\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/peapods\/","summary":"<p>Simulating <a href=\"https:\/\/en.wikipedia.org\/wiki\/Spin_glass\">spin glasses<\/a> at scale has always been a pain \u2014 Python is too slow, and C++ is too painful. <a href=\"https:\/\/github.com\/PeaBrane\/peapods\">Peapods<\/a> is my attempt at a middle ground: a Monte Carlo package for Ising spin systems where the hot loops are written in Rust and everything else stays in Python, glued together with <a href=\"https:\/\/pyo3.rs\">PyO3<\/a>. You just <code>pip install peapods<\/code> and go.<\/p>","title":"Peapods: Ising Monte Carlo in Rust"},{"content":"I worked on the Flash Indexer, a high-throughput global KV-cache indexer for NVIDIA Dynamo. The problem is to track which inference workers hold which KV blocks, and then answer routing queries fast enough that the indexer itself does not become the bottleneck.\nThe design evolved through several iterations: a naive nested dictionary, a Rust actor, an inverted index, a radix tree, a concurrent radix tree, and finally a positional indexer with jump search. The key idea in the final version was to treat block position as a first-class key, which made random access possible and let us skip through long shared prefixes instead of traversing block-by-block.\nThe result was an indexer that sustains on the order of 100M+ combined read\/write operations per second on real trace replays, to the point where networking, tokenization, and hashing start to dominate. NVIDIA published the full writeup here:\nFlash Indexer: A Story of Inter-Galactic KV Routing This was one of the more satisfying systems projects I have worked on: a very concrete bottleneck, several failed-but-useful intermediate designs, and a final data-structure change that produced a large step-function improvement.\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/flash-indexer\/","summary":"<p>I worked on the <a href=\"https:\/\/docs.nvidia.com\/dynamo\/dev\/blog\/flash-indexer\">Flash Indexer<\/a>, a high-throughput global KV-cache indexer for <a href=\"https:\/\/github.com\/ai-dynamo\/dynamo\">NVIDIA Dynamo<\/a>. The problem is to track which inference workers hold which KV blocks, and then answer routing queries fast enough that the indexer itself does not become the bottleneck.<\/p>","title":"Flash Indexer for Dynamo"},{"content":"Dynamo is NVIDIA&rsquo;s open-source datacenter-scale distributed inference serving framework for generative AI and reasoning models. Built in Rust for performance and Python for extensibility, it supports disaggregated prefill and decode, dynamic GPU scheduling, and LLM-aware request routing across multi-node multi-GPU topologies. It supports backends including TensorRT-LLM, vLLM, and SGLang.\nThis post describes three building blocks from my early work on Dynamo:\nKV-Aware Router \u2014 A hybrid router with two subsystems, the Indexer and the Slot Tracker, that together enable full KV-aware load balancing across workers. Engine Mockers \u2014 Lightweight engine simulators written entirely in Rust that replicate scheduling, block management, and timing behavior without requiring GPUs. Data Synthesizer \u2014 A trace-driven workload generator that learns the statistical structure of a real request trace and synthesizes new datasets with tunable knobs. That work has since grown in a few directions:\nFlash Indexer \u2014 A high-throughput global KV-cache indexer built for the router&rsquo;s event and query path. DynoSim \u2014 Deterministic full-stack simulation and replay for routing, scheduling, planning, and configuration search. Multi-DC routing with Gcore \u2014 A compact cache-state and Relay architecture for KV-aware routing across geographically distributed deployments. Ray Serve LLM integration with Anyscale \u2014 A runtime-free selection core embedded into Ray&rsquo;s native request and control planes. Table of Contents KV-Aware Router Indexer Slot Tracker Event-Driven Updates Putting It Together: Full KV-Aware Load Balancing Engine Mockers Block Manager &amp; Evictor Scheduler Performance Model Scalability Data Synthesizer Extracting the Core Radix Tree Transition Probabilities &amp; Sampling Tunable Knobs Open Questions KV-Aware Router The router is a hybrid design built from two complementary components: the Indexer and the Slot Tracker. The Indexer tracks cached KV blocks across the fleet (the global picture), while the Slot Tracker tracks active KV blocks on each engine (the local picture). Together they give the router enough information to proxy for both the prefill cost and the decode cost of routing a request to any given worker.\nIndexer The Indexer maintains a global overview of all cached KV blocks across all backend workers. It is built on a radix tree, where each node in the tree corresponds to a block hash and is annotated with the set of workers that have that block cached. When a new request arrives, the router hashes its token sequence into block hashes and walks the radix tree to compute the prefix overlap (cache affinity) with each worker. This overlap directly tells us how many tokens the engine can skip during prefill \u2014 a longer overlap means a cheaper prefill.\nThe original Indexer runs as a single-threaded actor: one dedicated thread owns the radix tree and processes all events (store, remove, match) sequentially through a channel. This keeps the data structure simple and lock-free \u2014 no concurrent access, no synchronization overhead. I later worked on the multithreaded Flash Indexer, which uses a different data layout to scale the same global cache-matching problem much further.\nSlot Tracker The Slot Tracker (ActiveSequences \/ ActiveSequencesMultiWorker) tracks the active blocks currently held by each engine \u2014 i.e., the blocks that are in-flight for running requests. It maintains a per-worker view of which block hashes are alive (via reference-counted entries), how many prefill tokens are outstanding, and uses shared Rc pointers to deduplicate blocks that appear in multiple concurrent requests on the same worker.\nBecause active blocks are ephemeral (they exist only for the lifetime of a request), and because we can deterministically predict them from the request-response cycle (we know exactly when a request starts and ends), the Slot Tracker is updated locally by the router itself. There is no need to wait for the engine to tell us \u2014 we already know.\nThis local tracking also solves the thundering herd problem: if multiple router frontends all query a shared remote state for active load, they may simultaneously see the same &ldquo;lightly loaded&rdquo; worker and all route to it. By tracking active slots locally, each router maintains its own consistent view and naturally avoids this kind of pile-on.\nEvent-Driven Updates The Indexer is updated by engines communicating KV cache events via a pub\/sub pattern (over NATS). This event-driven design is needed for two reasons:\nEviction opacity \u2014 The router cannot know when a cached block is evicted. Each engine has its own eviction policy (LRU, LFU, etc.), and eviction happens asynchronously inside the engine. The engine must tell us, because there is no other way to know.\nMulti-frontend consistency \u2014 In a deployment with multiple router replicas (frontends), the pub\/sub fan-out ensures that all Indexers converge to the same global view. Every event is broadcast to all subscribers, so each frontend&rsquo;s radix tree stays in sync by virtue of receiving the same stream of events.\nFor the Slot Tracker, local tracking is sufficient since the router controls the request lifecycle. However, we also support optional event-based syncing between routers (via ActiveSequenceEvent published over NATS) for deployments that want cross-replica consistency on active load as well.\nPutting It Together: Full KV-Aware Load Balancing The Indexer provides a proxy for the prefill cost: more cached prefix overlap with a worker means fewer new tokens to compute. The Slot Tracker provides a proxy for the decode cost: more active blocks on a worker means higher memory pressure and slower decode iterations (since decode is memory-bandwidth-bound). Together, these two signals allow the router to perform full KV-aware load balancing \u2014 routing each request to the worker that minimizes the total inference cost, not just naively round-robining or looking at queue depth.\nEngine Mockers Mockers are engine simulators that do not require actual GPU engines to work. They replicate the core behavior of an LLM inference engine \u2014 block management, scheduling, eviction, and timing \u2014 entirely in Rust, allowing you to test and benchmark the serving infrastructure (router, orchestrator, autoscaler) in isolation.\nBlock Manager &amp; Evictor The KvManager is a synchronous block manager that mirrors the block lifecycle of a real engine. It maintains two pools: active blocks (in-use by running requests, with reference counts) and inactive blocks (evictable, managed by an LRU evictor). It processes four types of MoveBlock signals:\nUse \u2014 Allocate or re-activate a block: if already active, increment its refcount; if inactive, promote it back to active; if absent, evict the LRU-oldest inactive block to make room. Deref \u2014 Decrement a block&rsquo;s reference count; when it hits zero, demote the block to the inactive pool. Destroy \u2014 Hard-remove a block from the active pool (e.g., on preemption). Promote \u2014 Convert a partial (generation-phase) block into a full block once it reaches block-size tokens. The evictor itself (LRUEvictor) uses a BTreeSet keyed by insertion counter to maintain strict LRU ordering, matching the behavior of vLLM&rsquo;s evictor.\nThe original &ldquo;manual&rdquo; backend tracks reference counts explicitly via HashMap&lt;UniqueBlock, usize&gt;. Later mocker and replay work added KVBM-backed lifecycle modeling, including multi-tier cache state and disaggregated-transfer timing. That work now sits inside the broader DynoSim simulation stack.\nCrucially, the KvManager also publishes KV cache events (store \/ remove) to the same event sink that the real engines use. This means when a mocker evicts or allocates blocks, the Indexer in the router is updated exactly as it would be with a real engine \u2014 making the entire system testable end-to-end without GPUs.\nScheduler The Scheduler is an async scheduler that manages three queues \u2014 waiting, prefill, and decode \u2014 and drives the simulated forward pass loop:\nReceive new requests and place them in the waiting queue. Schedule waiting requests by checking resource budgets (watermark-based block budget, batched token budget, max sequence limit). If resources are insufficient, requests stay queued; if a running request must be preempted, the LRU-oldest decode request is evicted and re-enqueued. Simulate prefill \u2014 compute the prefill duration and advance blocks through the KvManager. Chunked prefill is supported: if the token budget is partially consumed, only a chunk is prefilled per iteration. Simulate decode \u2014 compute the decode duration based on active KV blocks, generate one output token per sequence, and check for completion or preemption. Performance Model Timing simulation is driven by a PerfModel with two variants:\nPolynomial (default) \u2014 Hardcoded polynomial formulas: prefill TTFT scales quadratically with new tokens (compute-bound), and decode ITL scales with active KV blocks (memory-bandwidth-bound). This aligns with the same heuristics the router uses for cost estimation.\nInterpolated \u2014 Load your own profiler sweeps from an NPZ file. The model builds 1D interpolation for prefill (ISL \u2192 TTFT) and 2D bilinear interpolation for decode (active KV tokens \u00d7 context length \u2192 ITL). This lets you calibrate mockers to match real hardware profiles.\nScalability Since the mocker is fully in Rust with a thin Python CLI wrapper, each engine instance is just a tokio task \u2014 not a process, not a GPU. You can spin up 1000+ simulated engines on a single node (or more), making it practical to stress-test the router and orchestrator at datacenter-scale fleet sizes without any hardware.\nData Synthesizer The Data Synthesizer takes an existing hash trace (e.g., the Mooncake trace) and generates new synthetic datasets that preserve the statistical structure of the original while allowing controlled modifications via tunable knobs \u2014 in particular, prefix length multiplier and prefix root multiplier.\nExtracting the Core Radix Tree The crux of the synthesizer is figuring out what the prefixes are in a trace. This is straightforward: if a block hash appears more than once across requests, it&rsquo;s part of a shared prefix. But we need more than just the set of prefixes \u2014 we need the statistical properties of the underlying radix tree.\nThe synthesizer builds a networkx DiGraph from the trace, where each node is a block hash and each edge records how many requests traversed it. It then:\nVerifies the tree property (no node has more than one parent). Marks leaf visits \u2014 nodes visited only once are unique user prompts, not shared context. Merges chains \u2014 contracts unary paths (chains of nodes with one predecessor and one successor) into single nodes with a length attribute, converting the prefix tree into a compact radix tree. This compression is important for efficient sampling. Removes leaves \u2014 strips the unique-visit nodes, leaving only the core radix tree of shared prefixes. The removed leaf lengths are saved as a separate empirical distribution for later sampling. Transition Probabilities &amp; Sampling Each node in the core radix tree encodes its transition probability to children nodes via precomputed CDFs over edge weights. This means we can efficiently sample a path through the tree by walking from the super-root, sampling the next child at each node proportional to how frequently that transition appeared in the original trace, and stopping when we hit either an &ldquo;end&rdquo; sentinel (request terminates in the core tree) or a &ldquo;cache end&rdquo; sentinel (transition to a unique leaf path).\nThis assumes a kind of Markov property of request generation: the probability of visiting the next prefix block depends only on the current position in the tree, not the full history. For current workloads (multi-turn chat, document QA, few-shot prompting), this is a reasonable approximation.\nOnce the core path is sampled, the synthesizer appends a unique leaf path (user prompt) by sampling from the empirical distribution of leaf lengths extracted earlier. The input sequence length residual (tokens within the last partial block) and output sequence length are also sampled from their respective empirical distributions.\nTunable Knobs The synthesizer exposes several knobs for shaping the generated dataset, but the two most important are:\nprefix_len_multiplier \u2014 Scales the length of every node in the core radix tree. A multiplier of 2\u00d7 doubles the number of shared context blocks per prefix, simulating workloads with longer system prompts or longer document contexts. prefix_root_multiplier \u2014 Replicates the entire core radix tree N times (with offset hash IDs). A multiplier of 4\u00d7 means 4 independent prefix families, simulating a deployment serving 4\u00d7 as many distinct applications or tenants. Additional knobs include prompt_len_multiplier (scales unique user prompt lengths), osl_multiplier (scales output sequence lengths), and speedup_ratio (compresses inter-request arrival times).\nOpen Questions The Markovian assumption works well for today&rsquo;s workloads, but may need revisiting as more complex agentic workflows emerge \u2014 agent-subagent hierarchies, parallel tool calls, swarm architectures, etc. These patterns could introduce long-range dependencies in the prefix tree (e.g., an agent&rsquo;s prefix depends on the outcome of a subagent call three levels deep) that the current memoryless model wouldn&rsquo;t capture. There are many open statistical questions here around how to model the request-generation process for these more structured and dynamic workloads.\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/dynamo\/","summary":"<p><a href=\"https:\/\/github.com\/ai-dynamo\/dynamo\">Dynamo<\/a> is NVIDIA&rsquo;s open-source datacenter-scale distributed inference serving framework for generative AI and reasoning models. Built in Rust for performance and Python for extensibility, it supports disaggregated prefill and decode, dynamic GPU scheduling, and LLM-aware request routing across multi-node multi-GPU topologies. It supports backends including TensorRT-LLM, vLLM, and SGLang.<\/p>","title":"NVIDIA Dynamo: Distributed LLM Inference"},{"content":"While working at BrainChip, I led the research and software-hardware codesign of TENNs (Temporal Neural Networks) \u2014 a family of deep state-space models designed for efficient, low-latency inference on edge hardware. This line of work developed in parallel with the broader SSM wave (Mamba, Gated Delta Net, etc.), cross-pollinating ideas around structured recurrences, parallel scans, and kernel parameterizations.\nThe project resulted in several publications:\nTENNsEye (CVPR 2024 Workshop) \u2014 A lightweight causal spatiotemporal network for online eye tracking with event cameras. Targets edge hardware via simple operations (convolutions, ReLU), online inference through output buffering, and &gt;90% activation sparsity through regularization. Reached 0.9916 p10 accuracy on the AIS 2024 challenge.\nCentaurus (ICLR 2025 Spotlight, solo author) \u2014 Treats SSM operations as tensor contractions and systematically determines their optimal ordering to maximize training efficiency. This unlocks flexible SSM block designs beyond depthwise-separable configurations \u2014 group convolutions, full convolutions, bottleneck blocks \u2014 all composed into a heterogeneous architecture. The first fully state-space network with competitive ASR performance without LSTMs, explicit convolutions, or attention.\naTENNuate (Interspeech 2025) \u2014 A deep state-space autoencoder for real-time raw speech enhancement. Processes waveforms end-to-end with no spectral pre\/post-processing, outperforming prior real-time denoising models in PESQ while using only 0.84M parameters and 0.33G MACs. Remains performant even when input is compressed down to 4000 Hz and 4 bits.\nPLEIADES (NeurIPS 2025) \u2014 Uses structured temporal kernels based on orthogonal polynomials for online spatiotemporal classification and detection. Handles variable sample rates and discretization step-sizes without fine-tuning. Achieved state-of-the-art on DVS128 gesture recognition (99.6%), AIS 2024 eye tracking (99.6%), and PROPHESEE 1MP automotive detection (0.556 mAP) \u2014 all with sub-million parameter counts.\nOn the side, I also put together mamba-tiny \u2014 a minimal single-file PyTorch implementation of the Mamba SSM using logcumsumexp as an alternative to the parallel scan (which wasn&rsquo;t available in PyTorch at the time).\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/tenns\/","summary":"<p>While working at <a href=\"https:\/\/brainchip.com\/\">BrainChip<\/a>, I led the research and software-hardware codesign of TENNs (Temporal Neural Networks) \u2014 a family of deep state-space models designed for efficient, low-latency inference on edge hardware. This line of work developed in parallel with the broader SSM wave (Mamba, Gated Delta Net, etc.), cross-pollinating ideas around structured recurrences, parallel scans, and kernel parameterizations.<\/p>","title":"Temporal Neural Networks (TENNs) at BrainChip"},{"content":"A mashup of Stay With Me and Golden Hour.\n","permalink":"https:\/\/peabrane.github.io\/comps\/stay_gold\/","summary":"<p>A mashup of <a href=\"https:\/\/www.youtube.com\/watch?v=QNYT9wVwQ8A\"><em>Stay With Me<\/em><\/a> and <a href=\"https:\/\/www.youtube.com\/watch?v=PEM0Vs8jf1w\"><em>Golden Hour<\/em><\/a>.<\/p>","title":"Stay With Me x Golden Hour mashup"},{"content":"Unlike ferromagnetic spin models, a spin glass has a highly non-trivial phase transition profile. For mean field models (the SK spin glass), the glass experiences a replica-symmetry breaking phenomenon that is only fully understood recently. However, for short-range models, almost nothing is known rigorously, including basic problems such as the nature of the glass transition. A potential route towards settling such problems may rely on a suitable generalization of the random cluster model as a universal statistical tool.\nUsing a graphical representation for the Ising spin-glass known as the Chayes-Machta-Redner (CMR) representation combined with a contour argument, we were able to rigorously prove the existence of a finite-temperature phsae transition for the Ising spin-glass of geometric nature. The low-temperature phase is characterized by the coexistence of multiple infinite clusters that are separated spatially and negatively correlated with each other in their spin-overlaps, as shown in the figure below. Back to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/glass\/","summary":"<p>Unlike ferromagnetic spin models, a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Spin_glass\">spin glass<\/a> has a highly non-trivial phase transition profile. For mean field models (the SK spin glass), the glass experiences a <a href=\"http:\/\/www.lptms.u-psud.fr\/membres\/mezard\/Pdf\/84_MPSTV_JDP.pdf\">replica-symmetry breaking phenomenon<\/a> that is only fully understood <a href=\"https:\/\/arxiv.org\/abs\/1112.1003\">recently<\/a>. However, for <a href=\"https:\/\/arxiv.org\/abs\/cond-mat\/9906076\">short-range models<\/a>, almost nothing is known <a href=\"https:\/\/www.springer.com\/gp\/book\/9783764357771\">rigorously<\/a>, including basic problems such as the nature of the glass transition. A potential route towards settling such problems may rely on a suitable generalization of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Random_cluster_model\">random cluster model<\/a> as a <a href=\"https:\/\/arxiv.org\/abs\/1711.02338\">universal<\/a> statistical tool.<\/p>","title":"Phase Transition in Spin Glass"},{"content":"A lofi hip-hop made from samples of Richter&rsquo;s recording on Scriabin&rsquo;s piano sonata no.5.\n","permalink":"https:\/\/peabrane.github.io\/comps\/lofi\/","summary":"<p>A <a href=\"https:\/\/www.youtube.com\/watch?v=Jys7Ibv7zqc&amp;ab_channel=PeaBrane\">lofi hip-hop<\/a> made from samples of Richter&rsquo;s recording on Scriabin&rsquo;s <a href=\"https:\/\/www.youtube.com\/watch?v=xDTgj_69JKA&amp;ab_channel=Pianoplayer002\">piano sonata no.5<\/a>.<\/p>","title":"An ecstatic lofi"},{"content":"A patchy sod with grass and wild floret Blue current spirals merging rocks and sand White smokes and droplets dawn the valleyed land Three puffs to lace the hazy mind forget\nCartwheel through time rolls back the wood roulette Sweet martingale each step we take is grand Through canyoned hills we surf yet where we strand In shrouded waves we rest with teared duvet\nBetween the steep ravine swirls gleamy stream Convening streams the withered fish shall spring\nUnder the dirge washed earth we search the verse To cry the spell, entomb the doom that looms In glassy mist the thirsted birch unearth With doomy gloom the fumy shrooms abloom\n","permalink":"https:\/\/peabrane.github.io\/poems\/tempo\/","summary":"<p>A patchy sod with <span style=\"color: #4CAF50\">grass<\/span> and wild floret <br>\n<span style=\"color: #42a5f5\">Blue<\/span> current spirals merging rocks and sand <br>\n<span style=\"color: #e8e8e8\">White<\/span> smokes and droplets dawn the valleyed land <br>\nThree puffs to lace the hazy mind forget<\/p>\n<p>Cartwheel through time rolls back the <span style=\"color: #A0522D\">wood<\/span> roulette <br>\nSweet martingale each step we take is grand <br>\nThrough canyoned hills we surf yet where we strand <br>\nIn shrouded <span style=\"color: #5dade2\">waves<\/span> we rest with teared duvet<\/p>\n<p>Between the steep ravine swirls <span style=\"color: #FFD700\">gleamy<\/span> stream <br>\nConvening streams the withered fish shall <span style=\"color: #66BB6A\">spring<\/span><\/p>","title":"Tempo"},{"content":"\u5b64\u53f6\u679d\u58f3\u5782\uff0c \u5915\u73e0\u7ea2\u7f18\u5760\u3002 \u6726\u96fe\u6b8b\u9b42\u8427\uff0c \u624b\u7626\u65f6\u566c\u6cea\u3002\nThis poem is about a maple leaf, supposedly always red.\n","permalink":"https:\/\/peabrane.github.io\/poems\/leaf\/","summary":"<p>\u5b64<span style=\"color: #e74c3c\">\u53f6<\/span>\u679d\u58f3\u5782\uff0c\n\u5915\u73e0<span style=\"color: #e74c3c\">\u7ea2<\/span>\u7f18\u5760\u3002\n\u6726<span style=\"color: #3498db\">\u96fe<\/span>\u6b8b\u9b42\u8427\uff0c\n\u624b\u7626\u65f6\u566c<span style=\"color: #3498db\">\u6cea<\/span>\u3002<\/p>","title":"\u67ab\u6c34"},{"content":"\u767d\u96c0\u660f\u5929\u4f55\u89c5\u5904\uff0c \u9ed1\u9e70\u660e\u7a7a\u5f52\u6b8b\u6811\u3002 \u5fc3\u6731\u8840\u9752\u7ffc\u4e0a\u6ea2\uff0c \u9ed1\u6cea\u767d\u5377\u8721\u707c\u6570\u3002\nThis poem is about a pair of ducks, one white and the other black.\nThe humming is the opening of Debussy&rsquo;s Prelude Book 1 No. 12.\n","permalink":"https:\/\/peabrane.github.io\/poems\/black\/","summary":"<p><span style=\"color: #f0f0f0\">\u767d<\/span>\u96c0\u660f\u5929\u4f55\u89c5\u5904\uff0c\n<span style=\"color: #555\">\u9ed1<\/span>\u9e70\u660e\u7a7a\u5f52\u6b8b\u6811\u3002\n\u5fc3<span style=\"color: #e74c3c\">\u6731<\/span>\u8840<span style=\"color: #00bcd4\">\u9752<\/span>\u7ffc\u4e0a\u6ea2\uff0c\n<span style=\"color: #555\">\u9ed1<\/span>\u6cea<span style=\"color: #f0f0f0\">\u767d<\/span>\u5377\u8721\u707c\u6570\u3002<\/p>","title":"\u9ed1\u767d"},{"content":"The universality classes of equilibrium phase transitions of many statistical models are well known. On the other hand, very little is understood about the phenomenon of non-equilibrium criticality, including its existence. Nonetheless, from numerical simulations, it appears that memory effects are fundamental driving forces behind dynamic criticality. They are capable of establishing long-range order irrespective of the structure of the equilibrium model. A theoretical understanding of the role of memory in complex systems is important to understanding critical phenomenon as a whole.\nWhen we endow memory to a spin glass, the dynamics will act to steadily decrease the effective temperature of the glass (left figure), in a regime that is continuously near dynamic criticality (the polynomial cluster size distribution in the right figure). Back to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/memory\/","summary":"<p>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Universality_class\">universality classes<\/a> of equilibrium phase transitions of many statistical models are well known. On the other hand, very little is understood about the phenomenon of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Critical_phenomena#Critical_dynamics\">non-equilibrium criticality<\/a>, including its existence. Nonetheless, from <a href=\"https:\/\/arxiv.org\/abs\/2102.04557\">numerical simulations<\/a>, it appears that memory effects are fundamental driving forces behind dynamic criticality. They are capable of establishing long-range order irrespective of the structure of the equilibrium model. A theoretical understanding of the role of memory in complex systems is important to understanding critical phenomenon as a whole.<\/p>","title":"Non-equilibrium Criticality of Memory"},{"content":"The title says it all. A short piano piece written in exactly 100 notes. Inspired by Nahre Sol&rsquo;s 100 note challenge.\n","permalink":"https:\/\/peabrane.github.io\/comps\/opus_3\/","summary":"<p>The title says it all. A short <a href=\"https:\/\/www.youtube.com\/watch?v=ggRK0jN6nX0&amp;ab_channel=PeaBrane\">piano piece<\/a> written in exactly 100 notes. Inspired by Nahre Sol&rsquo;s <a href=\"https:\/\/www.youtube.com\/watch?v=8GCNNDzqnHY&amp;ab_channel=NahreSol\">100 note challenge<\/a>.<\/p>","title":"Opus 4: short piece with 100 notes"},{"content":"In classical economics, a potential offender is treated as a rational agent that seeks to maximize the expected utility when deciding whether to commit a crime. Therefore, if the perceived threat of legal punishment outweights the gains from the crime action, then the offender is deterred. However, in reality, there are complex behavioral traits governing the risk perception of each individual that deviate from rationality. These effects need to be captured in order to construct a general model of deterrence.\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/deterrence\/","summary":"<p>In classical economics, a potential offender is treated as a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Rational_choice_theory\">rational agent<\/a> that seeks to maximize the expected utility when deciding whether to commit a crime. Therefore, if the perceived threat of legal punishment outweights the gains from the crime action, then the offender is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Deterrence_(penology)\">deterred<\/a>. However, in reality, there are complex <a href=\"https:\/\/en.wikipedia.org\/wiki\/Prospect_theory\">behavioral traits<\/a> governing the risk perception of each individual that deviate from rationality. These effects need to be captured in order to construct a <a href=\"https:\/\/papers.ssrn.com\/sol3\/papers.cfm?abstract_id=3457220\">general model of deterrence<\/a>.<\/p>","title":"Optimal Deterrence Based on Behavioral Traits"},{"content":"A happy birthday incorporating all of my wife Yuki&rsquo;s favorite songs as her birthday present.\n","permalink":"https:\/\/peabrane.github.io\/comps\/happy_birthday\/","summary":"<p>A happy birthday incorporating all of my wife Yuki&rsquo;s favorite songs as her birthday present.<\/p>","title":"Opus 3: Happy Birthday \u2014 a medley of her favorite songs"},{"content":"On a signed graph (or spin glass), often times there are interactions that cannot be satisfied regardless of how one assigns the spin states. This property is known as frustration. The study of frustration of a bipartite graph is an active topic in graph theory, and has some important applications in unsupervised learning. For instance, a highly frustrated RBM has several desirable statistical properties, such as the correspondence between the joint and marginal distribution, that can be leveraged to achieve more efficient training.\nThere is some numerical evidence that the complexity of a bipartite glass (or RBM) may display a double phase-transition as the frustration ratio is increased.\nThe frustration ratio may also be used as a proxy (in place of KL-divergence) in monitoring the training progress of the RBM, as it is expected to be more easily estimated.\nBack to projects\n","permalink":"https:\/\/peabrane.github.io\/post\/rbm\/","summary":"<p>On a <a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/0166218X82900336\">signed graph<\/a> (or spin glass), often times there are interactions that cannot be satisfied regardless of how one assigns the spin states. This property is known as frustration. The study of <a href=\"https:\/\/www.combinatorics.org\/ojs\/index.php\/eljc\/article\/view\/v19i4p10\">frustration of a bipartite graph<\/a> is an active topic in graph theory, and has some important applications in unsupervised learning. For instance, a <a href=\"https:\/\/jmlr.org\/papers\/v21\/19-368.html\">highly frustrated RBM<\/a> has several desirable statistical properties, such as the correspondence between the joint and marginal distribution, that can be leveraged to achieve more <a href=\"https:\/\/arxiv.org\/abs\/2001.05559\">efficient training<\/a>.<\/p>","title":"Frustration and Unsupervised Learning"},{"content":"A playing of Debussy&rsquo;s La plus que lente set over travel pics to Tohoku.\n","permalink":"https:\/\/peabrane.github.io\/comps\/debussy_tohoku\/","summary":"<p>A playing of Debussy&rsquo;s <em>La plus que lente<\/em> set over travel pics to Tohoku.<\/p>","title":"Debussy: La plus que lente over Tohoku"},{"content":"A fantasy inspired by a trip to Gokayama. Incorporates elements of impressionism, Hirajoshi scale, mysticism, and jazz into a musical porridge to be consumed in 3 minutes.\n","permalink":"https:\/\/peabrane.github.io\/comps\/opus_2\/","summary":"<p>A fantasy inspired by a trip to <a href=\"https:\/\/www.japan-guide.com\/e\/e5950.html\">Gokayama<\/a>. Incorporates elements of impressionism, Hirajoshi scale, mysticism, and jazz into a musical porridge to be <a href=\"https:\/\/www.youtube.com\/watch?v=KIa9ACeGUkg&amp;ab_channel=PeaBrane\">consumed<\/a> in 3 minutes.<\/p>","title":"Opus 2: Green Water"},{"content":"An early attempt to write a short prelude in a Prokofievian style. The title is almost a joke because the bulk of this piece is not in C.\n","permalink":"https:\/\/peabrane.github.io\/comps\/opus_1\/","summary":"<p>An early attempt to write a short prelude in a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Sergei_Prokofiev\">Prokofievian<\/a> style. The title is almost a joke because the bulk of this piece is not in C.<\/p>","title":"Opus 1: prelude in C"},{"content":"I try to be learnt.\nSenior Software Engineer @ Databricks, working on large-scale LLM inference (from Oct. 2026) Previously: KV-aware routing, indexing and inference simulation for NVIDIA Dynamo, and temporal neural networks (TENNs) at BrainChip Physics PhD with CS specialization @ UCSD Research @ MIT in Wolfgang Ketterle&rsquo;s (Nobel laureate) Dypole lab Physics + Math @ UCLA (summa cum laude, done in 2 years) Open the PDF directly: view CV | download CV\n","permalink":"https:\/\/peabrane.github.io\/cv\/","summary":"<p>I try to be learnt.<\/p>\n<ul>\n<li><strong>Senior Software Engineer<\/strong> @ <a href=\"https:\/\/www.databricks.com\/\">Databricks<\/a>, working on large-scale LLM inference (from Oct. 2026)<\/li>\n<li>Previously: KV-aware routing, indexing and inference simulation for <a href=\"https:\/\/github.com\/ai-dynamo\/dynamo\">NVIDIA Dynamo<\/a>, and temporal neural networks (<a href=\"\/post\/tenns\/\">TENNs<\/a>) at <a href=\"https:\/\/brainchip.com\/\">BrainChip<\/a><\/li>\n<li><strong>Physics PhD<\/strong> with CS specialization @ UCSD<\/li>\n<li>Research @ MIT in Wolfgang Ketterle&rsquo;s (Nobel laureate) <a href=\"https:\/\/dypole.mit.edu\/\">Dypole lab<\/a><\/li>\n<li><strong>Physics + Math<\/strong> @ UCLA (summa cum laude, done in 2 years)<\/li>\n<\/ul>\n<p>Open the PDF directly: <a href=\"\/cv\/pei_cv.pdf\">view CV<\/a> | <a href=\"\/cv\/pei_cv.pdf\">download CV<\/a><\/p>\n<embed src=\"\/cv\/pei_cv.pdf\" type=\"application\/pdf\" width=\"100%\" height=\"800px\" \/>","title":"CV"}]