diff f0945ea..b34550f high_temp_sk_spectral_gap_v2.txt
diff --git a/high_temp_sk_spectral_gap_v2.txt b/high_temp_sk_spectral_gap_v2.txt
index 45ada6c..2bb4d41 100644
--- a/high_temp_sk_spectral_gap_v2.txt
+++ b/high_temp_sk_spectral_gap_v2.txt
@@ -1,16 +1,10 @@
 # A spectral gap throughout the high-temperature Sherrington-Kirkpatrick phase
 
-*An expository walkthrough, written to be readable with high-school mathematics.*
 
----
-
-## 0. Prologue: the paper in one sentence
 
-If you know what a magnet is, and you know that flipping one little magnet influences its neighbours, here is the entire paper in one sentence:
-
-> **In a special random magnet called the Sherrington-Kirkpatrick (SK) model, for every fixed temperature above a threshold (inverse temperature beta < 1), and for a random choice of the couplings, re-rolling individual spins at unit rate pulls every observable back to its average at a rate bounded below by a constant that does not depend on the number of spins n -- and this holds for every coupling matrix except a vanishing fraction of them.**
+---
 
-The phrase "rate bounded below by a constant" is a *spectral gap*. Making that precise, proving it for all functions at once, on a single random matrix, is the entire job. The rest of this exposition is a map of how the proof works. The paper is technically long; it is compressed here heavily. Every logical step of the proof appears; only the routine chasing of constants is summarized.
+The phrase "rate bounded below by a constant" is a *spectral gap*: in the Sherrington-Kirkpatrick (SK) model, for every fixed inverse temperature beta < 1 and a random choice of the couplings, re-rolling individual spins at unit rate pulls every observable back to its average at a rate bounded below by a constant that does not depend on the number of spins n, for every coupling matrix except a vanishing fraction. Making that precise, proving it for all functions at once, on a single random matrix, is the entire job. Every logical step of the proof appears below; only the routine chasing of constants is summarized.
 
 ---
 
@@ -20,7 +14,7 @@ The phrase "rate bounded below by a constant" is a *spectral gap*. Making that p
 
 A *spin* is a little arrow pointing up or down. Take n of them, so a *spin configuration* is a point
 
-$$ x = (x_1, \dots, x_n) \in \{-1, +1\}^n. $$
+$$ x = (x_1, ..., x_n) \in \{-1, +1\}^n. $$
 
 We may flip a single spin i, writing x^(i) for the configuration with x_i replaced by -x_i.
 
@@ -38,7 +32,7 @@ The diagonal of J is zero, and the diagonal never matters: since x_i^2 = 1, addi
 
 Temperature enters through a probability distribution on configurations. Fix an *external field* h in R^n (a small push on each spin). The *Gibbs measure* (or *posterior*) is
 
-$$ \mu_h(x) = \frac{1}{Z_h} \exp\Big( \tfrac12 x^{\mathsf T} J x + h^{\mathsf T} x \Big), \qquad Z_h = \sum_{x} \exp\Big( \tfrac12 x^{\mathsf T} J x + h^{\mathsf T} x \Big). $$
+$$ \mu_h(x) = (1)/(Z_h) \exp\Big( \tfrac12 x^{\mathsf T} J x + h^{\mathsf T} x \Big), \qquad Z_h = \sum_{x} \exp\Big( \tfrac12 x^{\mathsf T} J x + h^{\mathsf T} x \Big). $$
 
 The theorem concerns the *zero-field* measure mu_0. Smaller beta means higher temperature: the energy ½ x^T J x matters less and the measure becomes more spread out. The special temperature is beta = 1; we work throughout at fixed beta < 1.
 
@@ -46,15 +40,15 @@ The theorem concerns the *zero-field* measure mu_0. Smaller beta means higher te
 
 The dynamics we care about is *heat-bath* (Glauber) updating. Look at spin i and freeze all other spins. Under mu_h the spin i is independent of the rest in a simple way, because the energy splits:
 
-$$ \tfrac12 x^{\mathsf T} J x = x_i \cdot (Jx)_i + (\text{terms not involving } x_i), $$
+$$ \tfrac12 x^{\mathsf T} J x = x_i \cdot (Jx)_i + (terms not involving  x_i), $$
 
 using that J has zero diagonal (so (Jx)_i = sum_{k != i} J_{ik} x_k). Hence, conditionally on all other spins,
 
-$$ \text{Prob}(x_i = +1) = \frac{e^{h_i + (Jx)_i}}{e^{h_i + (Jx)_i} + e^{-h_i - (Jx)_i}}, $$
+$$ Prob(x_i = +1) = \frac{e^{h_i + (Jx)_i}}{e^{h_i + (Jx)_i} + e^{-h_i - (Jx)_i}}, $$
 
 a logistic (heat-bath) rule. The conditional *mean* and *variance* of x_i are therefore
 
-$$ m_i := \tanh\big( h_i + (Jx)_i \big), \qquad v_i := \sech^2\big( h_i + (Jx)_i \big) = 1 - m_i^2. $$
+$$ m_i := tanh\big( h_i + (Jx)_i \big), \qquad v_i := \sech^2\big( h_i + (Jx)_i \big) = 1 - m_i^2. $$
 
 The heat-bath update redraws x_i from this two-point distribution, leaving the others fixed.
 
@@ -78,7 +72,7 @@ $$ \mathbb E_{\mu_h}\big[ f\, (-\mathcal L_h f) \big] = \mathcal D_h(f). $$
 
 The *spectral gap* of this generator is
 
-$$ \text{gap}_h = \inf_{\substack{f \text{ nonconstant}}} \frac{\mathcal D_h(f)}{\operatorname{Var}_{\mu_h}(f)}. $$
+$$ gap_h = \inf_{\substack{f  nonconstant}} \frac{\mathcal D_h(f)}{Var_{\mu_h}(f)}. $$
 
 This gap is the reciprocal of the slowest relaxation time of the process: if gap_h >= gamma, every observable relaxes to its mean at rate at least gamma. A gap bounded below by a constant (independent of n) means the system forgets its past in O(1) time.
 
@@ -122,7 +116,7 @@ The theorem must hold for every real function f on the cube simultaneously, for
 
 **Theorem (spectral gap throughout the high-temperature phase).** Fix 0 < beta < 1 and put j = beta^2. Let J be a symmetric n x n matrix with zero diagonal and, for i < j, independent J_{ij} ~ N(0, j/n). Let mu_0 be the zero-field Gibbs measure. Then there is a finite constant C_beta, depending only on beta, such that
 
-$$ \mathbb P_J\Big\{ \operatorname{Var}_{\mu_0}(f) \le C_\beta\, \mathcal D_0(f) \ \text{ for every } f : \{-1,1\}^n \to \mathbb R \Big\} \longrightarrow 1 \qquad (n \to \infty). $$
+$$ \mathbb P_J\Big\{ Var_{\mu_0}(f) \le C_\beta\, \mathcal D_0(f) \  for every  f : \{-1,1\}^n \to \mathbb R \Big\} → 1 \qquad (n \to ∞). $$
 
 Equivalently, the unscaled spectral gap of the heat-bath generator is at least 1/C_beta with probability tending to one. Consequently the discrete-time heat-bath chain that picks a uniform site at each step has spectral gap at least 1/(C_beta n) with probability tending to one.
 
@@ -171,7 +165,7 @@ $$ Y(t) = t X + B(t), \qquad 0 \le t \le T, $$
 
 where B is a standard n-dimensional Brownian motion independent of X. Think of Y(t) as n independent noisy measurements, one per spin, with signal-to-noise ratio growing like t. Writing x^T Y(t) - t n / 2 for the log-likelihood (using that (Y(t) - t x)^2 / (2t) = ... and x_i^2 = 1), Bayes' rule gives
 
-$$ \mathrm{law}(X \mid Y(t)) = \mu_{Y(t)}, $$
+$$ law(X \mid Y(t)) = \mu_{Y(t)}, $$
 
 the Gibbs measure at the *random external field* h = Y(t). So the posterior measures that were introduced abstractly in Section 1.3 are exactly the fields the observation process visits. The zero field is the starting point t = 0; the observed fields drift away from zero as t grows.
 
@@ -179,7 +173,7 @@ the Gibbs measure at the *random external field* h = Y(t). So the posterior meas
 
 Let F_t be the observation history, E_t the average under mu_{Y(t)}, and Cov_t the covariance under it. The key fact of the channel is that for every function g,
 
-$$ \mathrm d(\mathbb E_t g) = \operatorname{Cov}_t(g, x)^{\mathsf T} \mathrm d I(t), \qquad I(t) := Y(t) - \int_0^t \mathbb E_s x \, \mathrm ds. $$
+$$ \mathrm d(\mathbb E_t g) = Cov_t(g, x)^{\mathsf T} \mathrm d I(t), \qquad I(t) := Y(t) - \int_0^t \mathbb E_s x \, \mathrm ds. $$
 
 Here I is the *innovation*, a Brownian motion in the observation filtration. In words: the posterior mean of g moves exactly proportionally to the posterior covariance of g with the spins, and the "noise" driving it is the part of the observation not yet explained by the current posterior. This is a martingale identity; one proves it by differentiating the Bayes formula with respect to Y and subtracting the predictable drift.
 
@@ -189,7 +183,7 @@ The transfer argument uses nothing from the channel beyond the following three f
 
 1. *Covariance becomes the rate of variance decay.* For f, the posterior variance V_t = Var_t(f) and second moment N_t = E_t(f^2) satisfy, by the filtering identity,
 
-$$ \mathrm d V_t = \text{(martingale part)} \;-\; \|\operatorname{Cov}_t(f,x)\|^2\,\mathrm dt, $$
+$$ \mathrm d V_t = (martingale part) \;-\; \|Cov_t(f,x)\|^2\,\mathrm dt, $$
 
 so the posterior variance decays at a rate equal to the squared covariance of f with the spins; the martingale part has zero mean, and the second moment N_t = E_t(f^2) is itself a martingale (a conditional expectation). So *the covariance controls the loss of posterior variance*.
 
@@ -223,7 +217,7 @@ Everything below reduces to establishing the three inputs on a typical matrix, a
 
 A field h is *good* if the linearized field equation at h is strictly positive, for every approximate solution and every admissible nearby diagonal. Precisely, with the Hessian
 
-$$ \mathsf H_J(y,A) = I + A^{1/2}\Big( B(y) I - J - \tfrac{2j}{n} m(y) m(y)^{\mathsf T} \Big) A^{1/2}, \qquad B(y) = j\big(1 - \langle m(y)^2 \rangle\big), $$
+$$ \mathsf H_J(y,A) = I + A^{1/2}\Big( B(y) I - J - (2j)/(n) m(y) m(y)^{\mathsf T} \Big) A^{1/2}, \qquad B(y) = j\big(1 - < m(y)^2 >\big), $$
 
 where m(y) = tanh y, we call h good if the implication "small residual and nearby diagonal => positive Hessian" holds throughout the field.
 
@@ -237,7 +231,7 @@ There is a matching version with a stopping time tau_0, so that on [0, tau_0) th
 
 **Input 2a (directional covariance).** There is a constant C such that, at every good field h, for every function G,
 
-$$ \big\| \operatorname{Cov}_{\mu_h}(G, x) \big\| \le C\,\big( \operatorname{Var}_{\mu_h}(G) + \mathcal D_h(G) \big)^{1/2}. $$
+$$ \big\| Cov_{\mu_h}(G, x) \big\| \le C\,\big( Var_{\mu_h}(G) + \mathcal D_h(G) \big)^{1/2}. $$
 
 Equivalently, ||Cov(G,x)||^2 <= C'(Var(G)+D_h(G)). The constant is uniform in n, h and G. This is the strongest single estimate in the paper. It says the covariance of an *arbitrary* function with the spin vector is controlled by the function's own variance plus Dirichlet form. For a linear function it is a covariance-matrix statement, but for a general function it is far stronger, and it is what makes fact (1) of Section 5.3 produce a usable variance-retention inequality.
 
@@ -247,11 +241,11 @@ Equivalently, ||Cov(G,x)||^2 <= C'(Var(G)+D_h(G)). The constant is uniform in n,
 
 **Input 2b (weighted mean).** For every sufficiently small fixed delta > 0 there is a constant C_delta such that, for N = E_{mu_h} f^2 > 0 and nu = f^2 mu_h / N,
 
-$$ \frac{\big\| \mathbb E_\nu x - t_*(h) \big\|}{\sqrt n} \le C\,\delta + \frac{C_\delta}{\sqrt n}\Big(1 + \frac{\mathcal D_h(f)}{N}\Big). $$
+$$ (\big\| \mathbb E_\nu x - t_*(h) \big\|)/(\sqrt n) \le C\,\delta + (C_\delta)/(\sqrt n)\Big(1 + (\mathcal D_h(f))/(N)\Big). $$
 
 Here t_*(h) = tanh r(h), and r(h) is the unique solution of the TAP fixed-point equation
 
-$$ r - h + \big( j(1 - n^{-1}\|\tanh r\|^2) I - J \big)\tanh r = 0. $$
+$$ r - h + \big( j(1 - n^{-1}\|tanh r\|^2) I - J \big)tanh r = 0. $$
 
 Existence and uniqueness of r at good fields is part of the stability analysis. Taking f = 1 recovers the same comparison for the posterior mean E_{mu_h} x itself.
 
@@ -261,7 +255,7 @@ The two constants play different roles and the separation is essential: C is ind
 
 **Input 3 (terminal gap).** Fix 0 < j < 1. There are a finite time T and a rate c > 0, and matrix events of probability tending to one, such that for every matrix in the event, every initial spin law, and every pair (X, Z) with Z standard Gaussian,
 
-$$ \operatorname{Var}_{\mu_{Y}}(f) \le 2\, \mathcal D_Y(f) \quad \text{for every } f, \qquad Y = T X + \sqrt T\, Z, $$
+$$ Var_{\mu_{Y}}(f) \le 2\, \mathcal D_Y(f) \quad for every  f, \qquad Y = T X + \sqrt T\, Z, $$
 
 except on an event of observation probability at most e^{-c n}.
 
@@ -283,7 +277,7 @@ $$ \mathbb E_{\mu_0} f = 0, \qquad \mathbb E_{\mu_0} f^2 = 1, \qquad d_0 := \mat
 
 (The case d_0 > 1 is automatic: Var_{mu_0} f = 1 <= d_0 <= C d_0 for any C >= 1, choosing C_beta >= 4/v later.) Running the observation channel from Section 5, write
 
-$$ M_t = \mathbb E_t f, \qquad N_t = \mathbb E_t f^2, \qquad V_t = N_t - M_t^2 = \operatorname{Var}_{\mu_{Y(t)}} f. $$
+$$ M_t = \mathbb E_t f, \qquad N_t = \mathbb E_t f^2, \qquad V_t = N_t - M_t^2 = Var_{\mu_{Y(t)}} f. $$
 
 ### 7.1 The stopping rule and the bad event
 
@@ -291,7 +285,7 @@ Let tau_0 be the stopping time from Input 1, and set tau = min(T, tau_0). This r
 
 Call a stopped path *bad* if tau_0 <= T, or if tau_0 > T and the terminal field Y(T) fails the terminal gap. On the good matrix event,
 
-$$ \mathbb P(\text{bad}) \le 2 e^{-a n}, $$
+$$ \mathbb P(bad) \le 2 e^{-a n}, $$
 
 combining the stability failure bound of Input 1 and the observation failure bound of Input 3, after decreasing the rate a if needed. The event is measurable with respect to the stopped observation filtration.
 
@@ -299,11 +293,11 @@ combining the stability failure bound of Input 1 and the observation failure bou
 
 Let u(t) = E V_{t ∧ tau}. By the filtering identity (Section 5.3, fact 1) and optional stopping at bounded times,
 
-$$ u'(t) = -\,\mathbb E\Big[ \mathbf 1_{\{t < \tau\}} \big\| \operatorname{Cov}_t(f, x) \big\|^2 \Big] \quad \text{for a.e. } t. $$
+$$ u'(t) = -\,\mathbb E\Big[ \mathbf 1_{\{t < \tau\}} \big\| Cov_t(f, x) \big\|^2 \Big] \quad for a.e.  t. $$
 
 Before tau the field is good, so Input 2a applies, and because Cov_t(f,x) = Cov_t(f - E f, x) and Var_t(f) + D_t(f) is the natural quantity,
 
-$$ \big\| \operatorname{Cov}_t(f, x) \big\|^2 \le C_{\mathrm d}\,\big( V_t + \mathcal D_{Y(t)}(f) \big) $$
+$$ \big\| Cov_t(f, x) \big\|^2 \le C_{\mathrm d}\,\big( V_t + \mathcal D_{Y(t)}(f) \big) $$
 
 with C_d fixed. Taking expectations and using Dirichlet monotonicity E D_{Y(t)}(f) <= D_0(f) = d_0 gives the scalar differential inequality
 
@@ -311,7 +305,7 @@ $$ u'(t) \ge -\,C_{\mathrm d}\,\big( u(t) + d_0 \big). $$
 
 Solving this from u(0) = Var_{mu_0} f = 1 (set w = u + d_0, so w' >= -C_d w and w(0) = 1 + d_0) yields, with v := e^{-C_d T},
 
-$$ \boxed{\ \mathbb E V_\tau \ \ge\ v - (1 - v)\, d_0.\ } \tag{7.1} $$
+$$ \boxed{\ \mathbb E V_\tau \ \ge\ v - (1 - v)\, d_0.\ }  $$
 
 The mechanism: the covariance governs how fast posterior variance can drop, and the covariance is itself controlled by the variance plus the Dirichlet form. This is why a *directional* covariance estimate is exactly the right input.
 
@@ -319,7 +313,7 @@ The mechanism: the covariance governs how fast posterior variance can drop, and
 
 The inequality (7.1) alone does not rule out the case where nearly all the variance sits on the thin bad set. To exclude it, change the initial spin law from mu_0 to f^2 mu_0, a probability law by normalization, and let P^f be the corresponding observation law. Its density on the stopped filtration is N_tau, and N_tau is exactly the posterior second moment. Therefore
 
-$$ \mathbb E\big[ \mathbf 1_{\mathrm{bad}} V_\tau \big] \le \mathbb E\big[ \mathbf 1_{\mathrm{bad}} N_\tau \big] = \mathbb P^f(\mathrm{bad}), $$
+$$ \mathbb E\big[ \mathbf 1_{bad} V_\tau \big] \le \mathbb E\big[ \mathbf 1_{bad} N_\tau \big] = \mathbb P^f(bad), $$
 
 because V_tau <= N_tau always, and because integrating the density N_tau against the indicator of bad gives its P^f-probability. So bounding the variance on bad paths is the same as bounding the probability that the *reweighted* observation law is bad.
 
@@ -329,27 +323,27 @@ $$ H_\tau = \frac12 \mathbb E^f \int_0^\tau \| a_t \|^2 \, \mathrm dt. $$
 
 Input 2b bounds b_t := \|a_t\| / sqrt(n) by 2 C delta + (C_delta / sqrt n)(2 + D_t(f)/N_t) before tau. Since b_t <= 2 (as ||a_t|| <= 2 sqrt n), we may use b_t^2 <= 2 b_t. At a deterministic time, the density identity and Dirichlet monotonicity give E^f [D_t(f)/N_t] = E D_t(f) <= d_0. Combining, and using tau <= T,
 
-$$ \frac{H_\tau}{n} \le 2 C T \delta + \frac{C_\delta T}{\sqrt n}(2 + d_0) \le 2 C T \delta + \frac{3 C_\delta T}{\sqrt n}, \tag{7.2} $$
+$$ (H_\tau)/(n) \le 2 C T \delta + (C_\delta T)/(\sqrt n)(2 + d_0) \le 2 C T \delta + (3 C_\delta T)/(\sqrt n),  $$
 
 using d_0 <= 1 in the last step. The separation of C (independent of delta) and C_delta (allowed to blow up as delta shrinks) is what makes the next step work: we can first shrink delta to control the *leading* term, with C_delta growing but harmless.
 
 Now convert the entropy bound into a bad-path probability bound. If an event has probability q under P and p under P^f, then the log-sum inequality gives D(P^f \Vert P) >= p log(1/q) - log 2. With q <= 2 e^{-a n}, so log(1/q) >= a n - log 2, and for large n,
 
-$$ p = \mathbb P^f(\mathrm{bad}) \le \frac{H_\tau + \log 2}{a n - \log 2}. $$
+$$ p = \mathbb P^f(bad) \le (H_\tau + \log 2)/(a n - \log 2). $$
 
 Insert (7.2). For d_0 <= 1 and large n, this is at most
 
-$$ \mathbb P^f(\mathrm{bad}) \le \frac{4 C T}{a}\,\delta + \frac{6 C_\delta T}{a \sqrt n} + \frac{2 \log 2}{a n}. $$
+$$ \mathbb P^f(bad) \le (4 C T)/(a)\,\delta + (6 C_\delta T)/(a \sqrt n) + (2 \log 2)/(a n). $$
 
 Choose delta > 0 once, so small that the first term is at most v/8 (this is possible because C is independent of delta). With that delta fixed, enlarge n until the last two terms sum to at most v/8. Then, simultaneously for all normalized f with d_0 <= 1,
 
-$$ \boxed{\ \mathbb P^f(\mathrm{bad}) \le v/4, \ \ \text{hence}\ \ \mathbb E\big[ \mathbf 1_{\mathrm{bad}} V_\tau \big] \le v/4.\ } \tag{7.3} $$
+$$ \boxed{\ \mathbb P^f(bad) \le v/4, \ \ hence\ \ \mathbb E\big[ \mathbf 1_{bad} V_\tau \big] \le v/4.\ }  $$
 
 ### 7.4 The good paths and the final inequality (Input 3)
 
 On a good path, tau = T and the terminal field Y(T) is a terminal good field, so Input 3 gives V_T = Var_{mu_{Y(T)}} f <= 2 D_{Y(T)}(f). Taking expectations and using Dirichlet monotonicity at the deterministic time T,
 
-$$ \mathbb E\big[ \mathbf 1_{\mathrm{good}} V_\tau \big] \le 2\, \mathbb E\, \mathcal D_{Y(T)}(f) \le 2 d_0. \tag{7.4} $$
+$$ \mathbb E\big[ \mathbf 1_{good} V_\tau \big] \le 2\, \mathbb E\, \mathcal D_{Y(T)}(f) \le 2 d_0.  $$
 
 Now add (7.1), (7.3), (7.4) in the obvious way. On one hand E V_tau >= v - (1-v) d_0. On the other, E V_tau = E[1_bad V_tau] + E[1_good V_tau] <= v/4 + 2 d_0. Hence
 
@@ -357,7 +351,7 @@ $$ v - (1 - v) d_0 \le 2 d_0 + v/4, $$
 
 which rearranges to (3v/4) <= (3 - v) d_0, i.e.
 
-$$ d_0 \ge \frac{3 v}{4 (3 - v)} \ge \frac{v}{4}. $$
+$$ d_0 \ge (3 v)/(4 (3 - v)) \ge (v)/(4). $$
 
 Therefore Var_{mu_0} f = 1 <= (4/v) D_0(f). Undoing the normalization (D_0 is quadratic and Var is quadratic in f, so both center and scale cleanly), and taking C_beta = 4/v = 4 e^{C_d T}, finishes the proof of the main theorem. The discrete chain follows from the one-line conversion of Section 1.6.
 
@@ -389,7 +383,7 @@ This is used everywhere to turn a bounded expectation into a simultaneous bound
 
 *Gaussian integration by parts.* Let W be a centered GOE matrix of scale j: W_{ab} ~ N(0, j/n) for a < b and W_{aa} ~ N(0, 2j/n). For a scalar function H of W,
 
-$$ \mathbb E[ W_{ab} H(W) ] = \frac{j}{n}\, \mathbb E\big[ \mathrm d H(W)[E_{ab} + E_{ba}] \big], $$
+$$ \mathbb E[ W_{ab} H(W) ] = (j)/(n)\, \mathbb E\big[ \mathrm d H(W)[E_{ab} + E_{ba}] \big], $$
 
 where E_{ab} is the elementary matrix and dH[...] is the derivative in that symmetric direction. When a = b the direction is doubled, matching the doubled diagonal variance. This identity is the engine that computes every expectation of a product word in Section 9.
 
@@ -417,7 +411,7 @@ The residual estimates will all be stated as "at most C ||G||_*"; the point of t
 
 The seed of all residual identities is the following exact identity, obtained by conditioning on all spins but the i-th and using that x_i - m_i is centred:
 
-$$ \mathbb E_{\mu_h}\sum_i (x_i - m_i^1) G U_i = \mathbb E_{\mu_h}\sum_i v_i^1 \, d_i(G U_i), \qquad m^1 = \tanh(h + Jx), \ v^1 = \sech^2(h + Jx). $$
+$$ \mathbb E_{\mu_h}\sum_i (x_i - m_i^1) G U_i = \mathbb E_{\mu_h}\sum_i v_i^1 \, d_i(G U_i), \qquad m^1 = tanh(h + Jx), \ v^1 = \sech^2(h + Jx). $$
 
 By the product rule, the right side is at most C ||G||_* whenever U has bounded norm and bounded sum of diagonal derivatives sum_i |d_i U_i|. This is why the whole method works with test vectors U that carry a bounded "diagonal derivative" cost; the recursion machinery of Section 12 constructs exactly such U.
 
@@ -431,11 +425,11 @@ The matrix estimates are the technical foundation under Inputs 1 and 2a/2b. The
 
 Couple J to a GOE W by J = W - diag(W), so J has the right zero-diagonal law. Fix eta > 0 with j (1+eta)^2 < 1, and let a_+ = 1 + eta. For a nonnegative diagonal A <= a_+ I, put
 
-$$ \chi_A = \frac{1}{n}\operatorname{Tr} A, \qquad B_A = j \chi_A, \qquad K_A(z;M) = \big( I - z A M + z^2 B_A A \big)^{-1}. $$
+$$ \chi_A = (1)/(n)Tr A, \qquad B_A = j \chi_A, \qquad K_A(z;M) = \big( I - z A M + z^2 B_A A \big)^{-1}. $$
 
 *Words.* A *word* is an ordered product of diagonal matrices, copies of a symmetric matrix M, and at most one factor K_A(z;M). Its length is the number of factors. To a word one assigns a diagonal *prediction* P(Q) by the noncrossing-pairing rule: contract innermost pairs MDM across copies of M by
 
-$$ M D M \;\longmapsto\; j\, \frac{\operatorname{Tr} D}{n} I, $$
+$$ M D M \;⟼\; j\, (Tr D)/(n) I, $$
 
 combine adjacent diagonals, and sum over all complete noncrossing pairings. This is the operator-valued semicircular moment rule of Speicher (1998), with covariance D -> j (Tr D / n) I. A word with a factor K_A is handled by expanding K_A as the formal series sum_{r>=0} (zAM - z^2 B_A A)^r and applying the rule coefficient by coefficient.
 
@@ -449,7 +443,7 @@ These identities are just the resolvent identity (I - UV)^{-1} = I + U(I - VU)^{
 
 **Lemma (simultaneous words).** Fix a length L, a diagonal bound M_0, and c > 0. There are constants C, c_1 > 0 and n_0 such that, on an event of probability at least 1 - C e^{-c_1 n} for n >= n_0, simultaneously for every word Q of length at most L, every real diagonal factor of norm at most M_0, and every 0 <= A <= a_+ I, one has
 
-$$ \| Q \| \le C, \qquad \Big( \sum_{a \ne b} |Q_{ab}|^4 \Big)^{1/4} \le C, \qquad \| \operatorname{diag}(Q - \mathsf P(Q)) \|_2 \le C. $$
+$$ \| Q \| \le C, \qquad \Big( \sum_{a \ne b} |Q_{ab}|^4 \Big)^{1/4} \le C, \qquad \| diag(Q - \mathsf P(Q)) \|_2 \le C. $$
 
 For a word containing K_A(J), the assertion is restricted to parameters with S_A(1;J) >= c I. The diagonal parameters A may be chosen *after* the random matrix is observed; this adaptive freedom is the whole reason the estimate is stated simultaneously.
 
@@ -465,7 +459,7 @@ are within eps of their predicted values (A, B_A A, B_A I + B_A^2 A) on an event
 
 *A regularized log-determinant bound.* Fix eps, an integer r_0, and M_2 < infinity. For every fixed small gamma > 0 and all large n, on an event of probability at least 1 - C e^{-c_4 n}, simultaneously for every diagonal 0 <= V <= I and every matrix E of rank at most r_0 and norm at most M_2, setting b = (1/n) Tr V and L = I + (jb I - W) V + E,
 
-$$ \frac{1}{n} \log \det(L^{\mathsf T} L + \gamma I) \le j b^2 + \varepsilon. $$
+$$ (1)/(n) \log \det(L^{\mathsf T} L + \gamma I) \le j b^2 + ε. $$
 
 Here V and E may depend on W. This is the determinant input to the local-volume lemma of Section 11. Its proof differentiates (1/n) log det L_z along z, uses the loop-equation identities of Section 9.2, adds a regularization gamma to give a global Lipschitz bound on the normalized log-determinant, and then meshes the cube of diagonal V, absorbing the finite-rank E by the rank inequality.
 
@@ -483,11 +477,11 @@ Throughout, N(d,s) is the Gaussian law with mean d and *variance* s.
 
 **Lemma (scalar entropy).** Let 0 < j < 1, d in R, s > 0, and let P be a probability law on R with finite second moment. Set
 
-$$ m(y) = \tanh y, \quad q = \mathbb E_P m^2, \quad b = 1 - q, \quad a = \mathbb E_P[(y - d)m], \quad S = s + j q. $$
+$$ m(y) = tanh y, \quad q = \mathbb E_P m^2, \quad b = 1 - q, \quad a = \mathbb E_P[(y - d)m], \quad S = s + j q. $$
 
 If s >= j q, then
 
-$$ D(P \,\Vert\, N(d,s)) \ge \frac{j\,(a - s b)^2}{2 s S}, \qquad \text{equality iff } P = N(d,s). $$
+$$ D(P \,\Vert\, N(d,s)) \ge (j\,(a - s b)^2)/(2 s S), \qquad equality iff  P = N(d,s). $$
 
 *Reading it.* The inequality compares a general law P with a Gaussian N(d,s). The "mismatch" is measured by the scalar a - s b. For a Gaussian one has a = s b exactly (Gaussian integration by parts, see below), and then the inequality is trivial. The content is that *any* non-Gaussian law is forced to have relative entropy bounded below by a fixed multiple of the squared mismatch. This is exactly what one needs: away from the Gaussian curve, the entropy is strictly positive, so the associated Gaussian integral decays exponentially.
 
@@ -497,15 +491,15 @@ $$ D(P \,\Vert\, N(d,s)) \ge \frac{j\,(a - s b)^2}{2 s S}, \qquad \text{equality
 
 In the stability calculation the Gaussian parameters are *not* free: they are tied to the law P through consistency equations. For t >= 0 and sigma >= 0, set
 
-$$ M = \mathbb E_P \tanh y, \quad q = \mathbb E_P \tanh^2 y, \quad d = t + j M, \quad s = t + \sigma^2 + j q. $$
+$$ M = \mathbb E_P tanh y, \quad q = \mathbb E_P tanh^2 y, \quad d = t + j M, \quad s = t + \sigma^2 + j q. $$
 
 **Lemma (consistent Gaussian).** Fix 0 < j < 1. For each t >= 0, the scalar equation
 
-$$ s_*(t) = t + j\, \mathbb E_{N(s_*(t), s_*(t))} \tanh y $$
+$$ s_*(t) = t + j\, \mathbb E_{N(s_*(t), s_*(t))} tanh y $$
 
 has a unique nonnegative solution (with N(0,0) the point mass at 0). Its Gaussian P_*(t) = N(s_*(t), s_*(t)) is the unique Gaussian law satisfying the consistency equations with sigma = 0. Thus, among consistent laws with s > 0, equality in the scalar entropy inequality holds precisely at P_*(t). Moreover s_*(t) is Lipschitz with constant (1-j)^{-1}, and
 
-$$ t \le s_*(t) \le \frac{t}{1-j}, \qquad q_*(t) := \mathbb E_{P_*(t)} \tanh^2 y = \frac{s_*(t) - t}{j} \le \frac{t}{1-j}. $$
+$$ t \le s_*(t) \le (t)/(1-j), \qquad q_*(t) := \mathbb E_{P_*(t)} tanh^2 y = (s_*(t) - t)/(j) \le (t)/(1-j). $$
 
 *How it is proved.* First, symmetry. The density of N(s,s) satisfies rho_s(y)/rho_s(-y) = e^{2y}, and pairing y with -y gives the "Nishimori" identity E_{N(s,s)} tanh y = E_{N(s,s)} tanh^2 y. Together with a sign identity E_{N(d,s)}[tanh y sech^2 y] >= 0 for d >= 0, this forces any consistent Gaussian to have mean equal to variance, d = s. Second, the fixed point. Put F(s) = E_{N(s,s)} tanh y. Differentiating in both the mean and the variance gives F'(s) = E_{N(s,s)}[(1-m^2)(1-m)] in [0,1], so F is nonnegative and 1-Lipschitz with F(s) <= s. Then s -> t + j F(s) is a contraction of [0, infinity) with a unique fixed point s_*(t), and the bounds follow from 0 <= F(s) <= s.
 
@@ -523,7 +517,7 @@ This section builds the test vectors that Inputs 2a and 2b need. It is determini
 
 Start from a spin sample and iterate, with the Onsager correction of the TAP equations (Bolthausen 2014):
 
-$$ m^0 = x, \quad b_0 = 0, \qquad m^l = \tanh h^l, \quad b_l = \langle 1 - (m^l)^2 \rangle, \quad R_l = m^{l-1} - m^l, $$
+$$ m^0 = x, \quad b_0 = 0, \qquad m^l = tanh h^l, \quad b_l = < 1 - (m^l)^2 >, \quad R_l = m^{l-1} - m^l, $$
 
 $$ h^{l+1} = h_0 + J m^l - j\, b_l\, m^{l-1} \qquad (l \ge 1). $$
 
@@ -533,13 +527,13 @@ Here <...> is the empirical average (1/n) sum_i. The vector R_l = m^{l-1} - m^l
 
 A one-line expansion of the squared increment gives
 
-$$ \frac{\| R_l \|^2}{n} = b_l - b_{l-1} - \frac{2 S_l}{\sqrt n}, \qquad S_l := \frac{R_l^{\mathsf T} m^l}{\sqrt n}. $$
+$$ (\| R_l \|^2)/(n) = b_l - b_{l-1} - (2 S_l)/(\sqrt n), \qquad S_l := \frac{R_l^{\mathsf T} m^l}{\sqrt n}. $$
 
 Since 0 <= b_l <= 1, the sum of the squared increments is at most b_d + (2/sqrt n) sum_l |S_l|. So if the scalar pairings S_l/sqrt(n) are small through a depth d large enough, then the sum of the ||R_l||^2/n is O(1), and therefore *some pair of consecutive residuals must be small*. This is the key finite-depth fact: convergence of the recursion is replaced by the existence of two consecutive small residuals, at a depth chosen in advance.
 
 The mechanism also produces the moment bounds (proved by the weak residual rule below, using the test vector U = m^l / sqrt n):
 
-$$ \mathbb E S_l^2 \le C_l, \qquad \mathbb E_\nu \Big( \frac{S_l}{\sqrt n} \Big)^2 \le \frac{C_l}{\sqrt n}\Big( 1 + \frac{\mathcal D_{h_0}(f)}{N} \Big), $$
+$$ \mathbb E S_l^2 \le C_l, \qquad \mathbb E_\nu \Big( (S_l)/(\sqrt n) \Big)^2 \le (C_l)/(\sqrt n)\Big( 1 + \frac{\mathcal D_{h_0}(f)}{N} \Big), $$
 
 where N = E f^2 and nu = f^2 mu_{h_0} / N. The first is an ordinary second moment; the second is the same after square reweighting, with the extra 1/sqrt(n) factor that the entropy argument of Section 7.3 requires.
 
@@ -549,7 +543,7 @@ The moment bounds control S_l but not R_l itself. To get a *smooth* region where
 
 **Lemma (residual selection).** For each sufficiently small fixed rho > 0, there is a fixed depth d and functions C_k, 2 <= k <= d, with: (i) 0 <= C_k <= 1, C_k is supported where max(||R_k||,||R_{k-1}||) <= rho sqrt n, equals 1 where both are at most rho sqrt n/2, and ||dC_k|| <= C_rho / sqrt n pointwise; (ii) with C_hat_k = C_k prod_{i<k}(1-C_i) and D = 1 - sum_k C_hat_k, one has 0 <= D <= 1 and
 
-$$ \mathbb P_{\mu_{h_0}}(D > 0) \le \frac{C_\rho}{n}, \qquad \mathbb P_\nu(D > 0) \le \frac{C_\rho}{\sqrt n}\Big( 1 + \frac{\mathcal D_{h_0}(f)}{N} \Big). $$
+$$ \mathbb P_{\mu_{h_0}}(D > 0) \le (C_\rho)/(n), \qquad \mathbb P_\nu(D > 0) \le (C_\rho)/(\sqrt n)\Big( 1 + \frac{\mathcal D_{h_0}(f)}{N} \Big). $$
 
 *Why.* Choose a depth d with floor(d/2) rho^2/4 > 2 and then eps > 0 with 2 d eps < 1. Wherever max_l |S_l|/sqrt n <= eps, telescoping forces sum_l ||R_l||^2/n < 2; the disjoint pairs (1,2),(3,4),... then cannot all contain a residual above rho sqrt n/2, so at least one pair is small. The cutoffs turn this into a smooth support function, and the deficit D>0 can only happen on the large-deviation event max_l |S_l|/sqrt n > eps, whose probability is controlled by the two moment bounds and a finite union bound.
 
@@ -573,9 +567,9 @@ $$ \big| \mathbb E_{\mu_{h_0}} f^2 H_0\, R_p^{\mathsf T} U \big| \le C\, \big( \
 
 To pass from R_{p+1} = tanh h^p - tanh h^{p+1} to earlier residuals, use the exact scalar identity, valid for all real z, r_0, a:
 
-$$ \Phi(z;r_0,a) = \int_0^1 e^{a(1-u^2)/2}\frac{\cosh(u(z-r_0))}{\cosh z \cosh r_0}\,\mathrm du, $$
+$$ \Phi(z;r_0,a) = \int_0^1 e^{a(1-u^2)/2}(cosh(u(z-r_0)))/(cosh z cosh r_0)\,\mathrm du, $$
 
-$$ \big[ (z - r_0 - a\tanh z) - a\,\partial_z \big]\Phi(z;r_0,a) = \tanh z - \tanh r_0. $$
+$$ \big[ (z - r_0 - atanh z) - a\,∂_z \big]\Phi(z;r_0,a) = tanh z - tanh r_0. $$
 
 This is a discrete "Stein identity" for the function tanh. It holds for either sign of a; at a = 0, Phi is the secant slope of tanh. The boundedness of Phi and of every fixed-order derivative of its ratios (uniformly in z, r_0 and in a from a bounded interval) is what keeps the recipes admissible when Phi is inserted as a coefficient.
 
@@ -583,17 +577,17 @@ This is a discrete "Stein identity" for the function tanh. It holds for either s
 
 Input 2a needs one vector that is defined *implicitly*, as a solution of a linear equation, rather than by a finite recipe. On Omega_rho, set
 
-$$ a = j(1 - b_{k-1} - q_*), \qquad A_i = \Phi(h_i^k; r_i, a), \qquad \chi = \langle A_i \rangle, $$
+$$ a = j(1 - b_{k-1} - q_*), \qquad A_i = \Phi(h_i^k; r_i, a), \qquad \chi = < A_i >, $$
 
 and introduce the coupled source and field
 
-$$ w = w_0 + A(y^{\mathrm{imp}} - j c_1 t_*), \qquad y^{\mathrm{imp}} = J w - j\chi w - j c_1 m^{k-1}, \qquad c_1 = \langle \partial_k w \rangle. $$
+$$ w = w_0 + A(y^{imp} - j c_1 t_*), \qquad y^{imp} = J w - j\chi w - j c_1 m^{k-1}, \qquad c_1 = < ∂_k w >. $$
 
 Here w_0 is one of the two seeds A e (||e|| <= 1) or n^{-1/2} ∂_{r_0} Phi(h_i^k; r_i, a).
 
 **Lemma (implicit construction).** For sufficiently small rho > 0, the equation above has a unique solution on Omega_{2rho}. There are constants independent of the primary depth k such that, throughout this region,
 
-$$ \| w \| + \| y^{\mathrm{imp}} \| + \sqrt n\,|c_1| \le C, \qquad I + j\chi A - A^{1/2} J A^{1/2} \succeq c I. $$
+$$ \| w \| + \| y^{imp} \| + \sqrt n\,|c_1| \le C, \qquad I + j\chi A - A^{1/2} J A^{1/2} \succeq c I. $$
 
 The second display is the *inverse margin*. It says the linear operator defining the implicit field is positive definite by a fixed amount, uniformly in k and in the directional seed e.
 
@@ -623,7 +617,7 @@ Recall the setup of Section 11.6: on Omega_rho, with m = m^k, p = m - t_*, r the
 
 $$ \big( h^k - h_0 - (J - j b_{k-1} I) m \big)^{\mathsf T} w - j(b_k - b_{k-1}) n c_1 $$
 
-$$ = \sum_i \big[ (h_i^k - r_i - a m_i) - a \partial_k \big] w_{0,i} + j(1 - q_* - \chi)\, p^{\mathsf T} w - j c_1 R_k^{\mathsf T} p. $$
+$$ = \sum_i \big[ (h_i^k - r_i - a m_i) - a ∂_k \big] w_{0,i} + j(1 - q_* - \chi)\, p^{\mathsf T} w - j c_1 R_k^{\mathsf T} p. $$
 
 Each piece now has a job. The left side is controlled by the terminal residual identity (Section 11.7). The last term is controlled by the weak residual rule with target p/sqrt n and multiplier sqrt n c_1. The middle term is where the good-field condition enters, and it is small on Omega_rho. The first term depends on the choice of seed w_0, and the two seeds test two different things.
 
@@ -631,7 +625,7 @@ Each piece now has a job. The left side is controlled by the terminal residual i
 
 **Proposition (directional covariance).** There is a constant C such that, at every field satisfying the stable-field condition, for every G,
 
-$$ \big\| \operatorname{Cov}_{\mu_{h_0}}(G, x) \big\| \le C\, \big( \operatorname{Var}_{\mu_{h_0}}(G) + \mathcal D_{h_0}(G) \big)^{1/2}. $$
+$$ \big\| Cov_{\mu_{h_0}}(G, x) \big\| \le C\, \big( Var_{\mu_{h_0}}(G) + \mathcal D_{h_0}(G) \big)^{1/2}. $$
 
 The constant is uniform in n, h_0, G; only a fixed finite diagnostic length is needed.
 
@@ -655,7 +649,7 @@ The essential subtlety: rho is chosen *before* the selection depth d, so the mid
 
 **Proposition (weighted mean).** For every sufficiently small fixed delta > 0 there is C_delta such that, for N = E f^2 > 0 and nu = f^2 mu_{h_0}/N,
 
-$$ \frac{\big\| \mathbb E_\nu x - t_* \big\|}{\sqrt n} \le C\,\delta + \frac{C_\delta}{\sqrt n}\Big( 1 + \frac{\mathcal D_{h_0}(f)}{N} \Big). $$
+$$ (\big\| \mathbb E_\nu x - t_* \big\|)/(\sqrt n) \le C\,\delta + (C_\delta)/(\sqrt n)\Big( 1 + \frac{\mathcal D_{h_0}(f)}{N} \Big). $$
 
 The leading constant C is independent of delta and of the selection depth; only C_delta and the finite diagnostic length depend on delta. This estimate uses no implicit test vector.
 
@@ -675,11 +669,11 @@ This is the longest technical input. It says that along a typical observation pa
 
 Fix a symmetric J and a field h_0. The *field map* is
 
-$$ F_{J,h_0}(y) = y - h_0 + \big( B(y) I - J \big) m(y), \qquad m(y) = \tanh y, \quad q(y) = \langle m(y)^2 \rangle, \quad B(y) = j(1 - q(y)). $$
+$$ F_{J,h_0}(y) = y - h_0 + \big( B(y) I - J \big) m(y), \qquad m(y) = tanh y, \quad q(y) = < m(y)^2 >, \quad B(y) = j(1 - q(y)). $$
 
 Its zero r is the TAP solution; t_*(h) = tanh r. Because m = tanh y has derivative V_y = diag(1 - m(y)^2), the derivative of F is I + (B I - J) V_y minus the rank-one variation of B, and its *symmetric* linearization, allowing a nearby diagonal A in place of V_y, is
 
-$$ \mathsf H_J(y,A) = I + A^{1/2}\Big( B(y) I - J - \tfrac{2j}{n} m(y) m(y)^{\mathsf T} \Big) A^{1/2}. $$
+$$ \mathsf H_J(y,A) = I + A^{1/2}\Big( B(y) I - J - (2j)/(n) m(y) m(y)^{\mathsf T} \Big) A^{1/2}. $$
 
 The symmetric form is what we control; it avoids needing individual diagonal entries of A to be large.
 
@@ -687,7 +681,7 @@ The symmetric form is what we control; it avoids needing individual diagonal ent
 
 **Proposition (stability along observations).** Fix 0 < j < 1 and T < infinity. There are constants eta, c, eps_A, rho_0, a > 0, depending only on j, T, and events of matrices J with probability tending to one, such that for every J in the event: if X ~ mu_0 and B_0 is independent Brownian motion with Y(t) = tX + B_0(t), then with conditional probability at least 1 - e^{-an}, simultaneously for all 0 <= t <= T, all y, and all diagonal A,
 
-$$ \Big( \| F_{J,Y(t)}(y) \| \le 2\rho_0\sqrt n, \ 0 \le A \le (1+\eta) I, \ \| A - V_y \|_{\mathrm{Fro}} \le \epsilon_A\sqrt n \Big) \ \Longrightarrow\ \mathsf H_J(y,A) \succeq c I. $$
+$$ \Big( \| F_{J,Y(t)}(y) \| \le 2\rho_0\sqrt n, \ 0 \le A \le (1+\eta) I, \ \| A - V_y \|_{Fro} \le ε_A\sqrt n \Big) \ ⇒\ \mathsf H_J(y,A) \succeq c I. $$
 
 We may require j(1+eta)^2 < 1 and ||J|| <= 2 sqrt(j) + theta on the event. The corollary with the stopping time tau_0 is the direct consequence: stop at the first time the *smaller* residual threshold rho_0 sqrt n is approached by an unstable witness, which happens with probability at most e^{-an}.
 
@@ -697,15 +691,15 @@ The proof has four parts: a scalar rate bound (13.3), a conditional Hessian posi
 
 Work first under a *planted* Gaussian law,
 
-$$ \widetilde J = W + \tfrac{j}{n} \mathbf 1 \mathbf 1^{\mathsf T}, \qquad h_0 = t \mathbf 1 + \sqrt t\, g, $$
+$$ \widetilde J = W + (j)/(n) \mathbf 1 \mathbf 1^{\mathsf T}, \qquad h_0 = t \mathbf 1 + \sqrt t\, g, $$
 
 with W a centered GOE of scale j, g standard Gaussian, and the diagonal of tilde J retained. For a set E of pairs (y, tilde J) define the Gaussian integral
 
-$$ I_{t,\sigma}(E) = (2\pi\sigma^2)^{-n/2} \int \mathbf 1_E \exp\Big( -\frac{\| F_{\widetilde J,h_0}(y) \|^2}{2\sigma^2} + \frac{n j b(y)^2}{2} \Big)\,\mathrm dy. $$
+$$ I_{t,\sigma}(E) = (2\pi\sigma^2)^{-n/2} \int \mathbf 1_E \exp\Big( -\frac{\| F_{\widetilde J,h_0}(y) \|^2}{2\sigma^2} + (n j b(y)^2)/(2) \Big)\,\mathrm dy. $$
 
 The weight e^{n j b^2/2} compensates the exponential scale of the local determinant (it is exactly what the local-volume lemma compares to). The central computation is the *conditional reduction*: averaging the integral over the planted randomness gives
 
-$$ \mathbb E\, I_{t,\sigma}(E) = \int \sqrt{\tfrac{s}{S}}\, G_{t,\sigma,n}(y)\, \mathbb P\Big( (y,\widetilde J)\in E \ \Big| \ W m + \sqrt{t+\sigma^2}\, g' = z \Big)\,\mathrm dy, $$
+$$ \mathbb E\, I_{t,\sigma}(E) = \int √((s)/(S))\, G_{t,\sigma,n}(y)\, \mathbb P\Big( (y,\widetilde J)\in E \ \Big| \ W m + √(t+\sigma^2)\, g' = z \Big)\,\mathrm dy, $$
 
 where G is an explicit product density times e^{n psi}, with psi = j(a_y - s b)^2/(2sS), d = t + jM, s = t + sigma^2 + jq, S = s + jq, and a_y = <(y - d 1)m>. The conditional probability is an ordinary Gaussian regression.
 
@@ -715,11 +709,11 @@ The scalar entropy inequality of Section 10 then gives psi - D(P_y || N(d,s)) <=
 
 Near the equality curve, the conditional law of the planted matrix given the observation is explicit: the GOE part perpendicular to the planted direction survives unchanged, while the parallel part and the rank-one correction are Gaussian regressions. Concretely, with u = m/sqrt(nq), Z_1 = (y - d 1)/sqrt(ns), and P_u = I - uu^T, one writes W = P_u W P_u + u w^T + w u^T + alpha uu^T, and the conditional means/variances of the three blocks give a fresh GOE W_0:
 
-$$ P_u W P_u = P_u W_0 P_u, \qquad w = j\sqrt{q/s}\, Z_1 - \tfrac{ja_y}{s} u + \kappa P_u W_0 u, \qquad \alpha = \tfrac{2j(a_y + Bq)}{S} + \sqrt{\tfrac{t+\sigma^2}{S}}\, u^{\mathsf T} W_0 u. $$
+$$ P_u W P_u = P_u W_0 P_u, \qquad w = j√(q/s)\, Z_1 - (ja_y)/(s) u + \kappa P_u W_0 u, \qquad \alpha = (2j(a_y + Bq))/(S) + √((t+\sigma^2)/(S))\, u^{\mathsf T} W_0 u. $$
 
 Reducing to the *ideal* Gram comparison (replace empirical weighted averages by their equality-law values, sigma = 0, s = s_*(t)) leaves the identity minus a perturbation supported on three vectors X_1 = Y(1/sqrt n), M_1 = sqrt q Y(u), G_1 = Y(Z_1)/sqrt s, where Y(p) = S_A^{-1/2} A^{1/2} p. The coefficient matrix of this perturbation is
 
-$$ C = j \begin{pmatrix} 1 & 0 & 0 \\ 0 & 2 - B/s & 1 \\ 0 & 1 & 0 \end{pmatrix}. $$
+$$ C = j  1 & 0 & 0 \\ 0 & 2 - B/s & 1 \\ 0 & 1 & 0 . $$
 
 The three-vector Gram matrix H has entries built from b, e = E_{N(s,s)}[m^2(1-m^2)], and b/s - 2b + 6e, all obtained from two Gaussian symmetry identities (pairing y with -y and integrating by parts). The result is
 
@@ -735,7 +729,7 @@ The conditional Hessian controls typical y, but an *adversarial* unstable approx
 
 **Lemma (local volume).** Fix j, K, r, eps. Suppose ||tilde J|| <= K and a set E contains the ball of radius r sqrt n around y. If the regularized determinant obeys (1/n) log det(L^T L + gamma I) <= j b(y)^2 + eps_1 and ||F(y)|| <= rho sqrt n, then
 
-$$ (2\pi\sigma^2)^{-n/2} \int_E \exp\Big( -\frac{\| F(y') \|^2}{2\sigma^2} + \frac{n j b(y')^2}{2} \Big)\,\mathrm dy' \ge e^{-\epsilon n} $$
+$$ (2\pi\sigma^2)^{-n/2} \int_E \exp\Big( -(\| F(y') \|^2)/(2\sigma^2) + (n j b(y')^2)/(2) \Big)\,\mathrm dy' \ge e^{-ε n} $$
 
 for all large n, provided eps_1 is small, gamma fixed, sigma small, rho small, in that order.
 
@@ -749,7 +743,7 @@ To pass from a fixed time to the whole interval [0, T], take a deterministic mes
 
 Finally, undo the planting. Let Z(J) = sum_x e^{x^T J x/2} and L(J) = Z(J)/E Z(J). Size-biasing the original law of (J, X) by L(J) makes X uniform and turns the off-diagonal entries of J into independent Gaussians with means j X_i X_j / n; adding a Gaussian diagonal and conjugating by D_X realizes the planted law exactly, and the witness conditions are invariant under this conjugation. To read the bound back, one needs a lower tail for L(J). Paley-Zygmund plus Gaussian concentration of log Z give, for every fixed delta > 0,
 
-$$ \mathbb P\{ L(J) < e^{-\delta n} \} \longrightarrow 0. $$
+$$ \mathbb P\{ L(J) < e^{-\delta n} \} → 0. $$
 
 Putting the planted path bound together with this lower tail, and choosing the rate a below a_4/2, yields the proposition. The measurability of the witness events is checked by restricting the parameter space to compacts and using that the witness inequalities are closed.
 
@@ -777,7 +771,7 @@ Write the generator as H = sum_i (I - P_i). One checks Hf = sum_i (x_i - m_i^1)
 
 Define the entrywise matrix quantities
 
-$$ U_{ij} = \tanh J_{ij}, \qquad Q_{ij} = U_{ij}^2, \qquad r_4(U) = \max_i \sum_j U_{ij}^4, $$
+$$ U_{ij} = tanh J_{ij}, \qquad Q_{ij} = U_{ij}^2, \qquad r_4(U) = \max_i \sum_j U_{ij}^4, $$
 
 with U_{ii} = Q_{ii} = 0.
 
@@ -805,7 +799,7 @@ and, for every S subset {1,...,n} with |S| <= alpha n, ||U_{SS}|| <= eps and ||Q
 
 *Proof mechanism.* Choose the tolerances in order: eps with (1+C)eps <= 1/8 (C the curvature constant), then alpha and M from the small-subset lemma, then T large enough that
 
-$$ \frac{16 M^2}{T^2} \le \frac{\alpha}{2}, \qquad (1+C)M\big(2\sech(T/4) + \sech^2(T/4)\big) \le \tfrac18, \qquad e^{-T/8} \le \frac{\alpha}{4(e-1)}. $$
+$$ (16 M^2)/(T^2) \le (\alpha)/(2), \qquad (1+C)M\big(2\sech(T/4) + \sech^2(T/4)\big) \le \tfrac18, \qquad e^{-T/8} \le (\alpha)/(4(e-1)). $$
 
 First, count coordinates whose observation field stays small. Given X, the indicators {|Y_i| < T/2} are independent, each succeeding with probability at most e^{-T/8}; exponential Markov bounds the number B_Y of such coordinates by alpha n/2 except with probability e^{-alpha n/4}.