{"canonical":{"talagrand-parisi.claim-guerra-upper-bound":[19,19315,19508],"talagrand-parisi.proposition-2.5":[31,28431,28472],"talagrand-parisi.proposition-5.7":[44,75219,75249],"talagrand-parisi.theorem-1.1":[9,5771,5818],"talagrand-parisi.theorem-2.1":[16,18162,18200],"talagrand-parisi.theorem-2.2":[20,20630,20649],"talagrand-parisi.theorem-2.4":[30,27807,27826]},"families":[{"id":"model-and-formula","name":"SK model and variational formula","named":true,"part":0,"topics":["parisi-functional","sk-covariance","pressure-limit"]},{"id":"guerra-interpolation","name":"Guerra’s interpolation","named":true,"part":0,"topics":["fixed-level-convergence","guerra-identity"]},{"id":"two-replica-estimates","name":"Two-replica estimates","named":true,"part":0,"topics":["overlap-probability","coupled-recursion","second-interpolation"]},{"id":"main-estimate","name":"The quadratic overlap penalty","named":true,"part":0,"topics":["quadratic-overlap-bound","distant-overlap-gap","local-overlap-bound"]},{"id":"basic-operators","name":"Gaussian operators and variations","named":true,"part":0,"topics":["gaussian-smoothing","minimizer-variation"]}],"layer":"phrases","meaning":"Each tie is a pointer that landed. Whether the paper and the Lean say the same thing is a reading.","parts":[{"end_byte":104593,"name":"","start_byte":0}],"passages":[[644,15435,["talagrand-parisi.theorem-1.1"],"sec-1"],[15517,34655,["talagrand-parisi.claim-guerra-upper-bound","talagrand-parisi.proposition-2.5","talagrand-parisi.theorem-2.1","talagrand-parisi.theorem-2.2","talagrand-parisi.theorem-2.4"],"sec-2"],[73791,101416,["talagrand-parisi.proposition-5.7"],"sec-5"]],"segments":[[704,768,[0]],[2215,2262,[1]],[2463,2550,[2]],[2912,2955,[3]],[3363,3393,[4]],[3667,3687,[5]],[4411,4456,[6]],[4465,4629,[7]],[4781,4858,[8]],[5771,5818,[9]],[5995,6040,[10]],[16077,16235,[11]],[16248,16338,[12]],[16386,16478,[13]],[16566,16622,[14]],[18057,18160,[15]],[18162,18200,[16]],[18549,18584,[17]],[18853,18895,[18]],[19315,19508,[19]],[20630,20649,[20]],[21183,21337,[21]],[21339,21449,[22]],[21923,21980,[23]],[22006,22035,[24]],[24165,24199,[25]],[24394,24420,[26]],[25702,25725,[27]],[26934,27059,[28]],[27177,27219,[29]],[27807,27826,[30]],[28431,28472,[31]],[29123,29148,[32]],[32738,32794,[33]],[44830,44852,[34]],[45443,45518,[35]],[45922,45962,[36]],[55183,55253,[37]],[55755,55834,[38]],[57324,57348,[39]],[69499,69532,[40]],[70102,70130,[41]],[72573,72602,[42]],[73959,73982,[43]],[75219,75249,[44]],[75673,75706,[45]],[77646,77801,[46]],[88255,88287,[47]],[90651,90679,[48]],[96808,96828,[49]]],"ties":[{"anchor":"sec-1","at":"b704-768","explanation":{"citations":[{"ref":"paper","supports":"The pair index, disorder and normalisation of the SK Hamiltonian.","title":"this paper","url":null,"where":"Equation (1.1)"},{"ref":"talagrandPaper_originalSK","supports":"talagrandPaper_originalSK","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 21–25"}],"grounded":true,"text":"In (1.1), each pair of sites i < j contributes one Gaussian coefficient multiplied by the two spins. The prefactor is −β/√N."},"from_record":false,"lean":true,"lines":[22,25],"module":"Supplements.OriginalSK","name":"talagrandPaper_originalSK","origin":"ai","part":0,"phrase":"paper-hamiltonian","plain":"Off-diagonal SK Hamiltonian","record":null,"relation":"defines","role":"definition","rows":[{"end_line":25,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":22,"lines":[22,25],"module":"Supplements.OriginalSK","name":"talagrandPaper_originalSK","note":"","plain":"Off-diagonal SK Hamiltonian","relation":"defines","annotation":"Choose the coefficients $g_{ij}$ once and use them for every configuration. The Lean type `TalagrandPaperSKEdge N` indexes one coefficient for each $i<j$, and the definition accepts any such family. For the independent standard Gaussians in Equation (1.1), each fixed configuration gives a sum of $N(N-1)/2$ independent terms of variance one. The factor $-\\beta/\\sqrt{N}$ gives the energy variance $\\beta^2(N-1)/2$ at $N>0$, which explains the division by $N$ in the covariance bound in Equation (1.3).","annotation_references":[{"start":241,"end":255,"key":"equation:1.1"},{"start":487,"end":501,"key":"equation:1.3"}]}],"tone":1,"topic":"sk-covariance"},{"anchor":"sec-1","at":"b2215-2262","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 222"}],"grounded":true,"text":"Talagrand treats the energies of all configurations as a centred Gaussian family. Its covariance determines the law of that family."},"from_record":false,"lean":true,"lines":[2523,2525],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.sk_covariance_spectral_sum","origin":"ai","part":0,"phrase":"gaussian-hamiltonian","plain":"Exact SK covariance in spectral form","record":null,"relation":"part","role":"explanation","rows":[{"end_line":2533,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":2523,"lines":[2523,2525],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.sk_covariance_spectral_sum","note":"","plain":"Exact SK covariance in spectral form","proof_lines":[2526,2533],"relation":"part","annotation":"Any linear combination of the energies in Equation (1.1) is a linear combination of the same Gaussian edge variables, so the energies are jointly Gaussian. Their dependence is visible under global spin reversal, which gives $H_N(-\\sigma)=H_N(\\sigma)$. Lean writes the exact-covariance energy vector in an orthonormal basis of functions on the configuration set with independent centred Gaussian coefficients. To compute the covariance of two energies, take the product of each basis function’s values at the two configurations, multiply by the corresponding coefficient variance in `sk.hU.τ`, and sum. This covariance matrix enters Gaussian integration by parts in Section 3.","annotation_references":[{"start":42,"end":56,"key":"equation:1.1"},{"start":665,"end":674,"key":"section:3"}]}],"tone":1,"topic":"sk-covariance"},{"anchor":"sec-1","at":"b2463-2550","explanation":{"citations":[{"ref":"paper","supports":"The original coupling and the covariance error after division by the system size.","title":"this paper","url":null,"where":"Equations (1.1), (1.3) and (1.4)"},{"ref":"talagrandPaper_gaussianSK_covariance","supports":"talagrandPaper_gaussianSK_covariance","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 155–172"},{"ref":"talagrandPaper_gaussianSK_covariance_error","supports":"talagrandPaper_gaussianSK_covariance_error","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 174–198"},{"ref":"talagrandPaper_gaussianSK_shifted_covariance","supports":"talagrandPaper_gaussianSK_shifted_covariance","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 200–232"}],"grounded":true,"text":"Independence makes the terms from distinct edges vanish in the covariance of (1.1). The square of the overlap numerator counts each edge twice and includes N diagonal terms. Omitting those diagonal terms gives the normalised covariance β²R²/2 − β²/(2N)."},"from_record":false,"lean":true,"lines":[2523,2525],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.sk_covariance_spectral_sum","origin":"ai","part":0,"phrase":"covariance-approximation","plain":"Exact SK covariance in spectral form","record":null,"relation":"part","role":"explanation","rows":[{"end_line":2533,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":2523,"lines":[2523,2525],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.sk_covariance_spectral_sum","note":"","plain":"Exact SK covariance in spectral form","proof_lines":[2526,2533],"relation":"part","annotation":"The bound in Equation (1.3) holds for each pair of configurations, so averaging the error against any probability on pairs gives an error of magnitude at most $c(N)$. The spectral identity uses `SKDisorder.cov_eq` to identify the covariance sum with $N\\beta^2R_{1,2}^2/2$. At $N>0$ this gives the exact profile $\\xi(x)=\\beta^2x^2/2$ and $c(N)=0$. The general hypothesis in (1.3) allows any vanishing uniform error for the chosen profile.","annotation_references":[{"start":13,"end":27,"key":"equation:1.3"},{"start":373,"end":378,"key":"equation:1.3"}]},{"end_line":172,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":156,"lines":[156,161],"module":"Supplements.OriginalSK","name":"talagrandPaper_gaussianSK_covariance","note":"","plain":"SK covariance from Gaussian couplings","proof_lines":[162,172],"relation":"part","annotation":"Put $a_i=\\sigma_i^1\\sigma_i^2$. In the covariance of the two sums in Equation (1.1), independence eliminates distinct edges and unit variance leaves $\\frac{\\beta^2}{N}\\sum_{i<j}a_ia_j$ for $N>0$. Since $a_i^2=1$, the square of $\\sum_i a_i$ counts each edge twice and includes $N$ diagonal terms. The resulting covariance is $\\frac{\\beta^2}{2}(NR_{1,2}^2-1)$. The underlying calculation `talagrandPaper_originalSK_covariance` applies to square-integrable edge variables with identity covariance matrix.","annotation_references":[{"start":69,"end":83,"key":"equation:1.1"}]},{"end_line":198,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":175,"lines":[175,181],"module":"Supplements.OriginalSK","name":"talagrandPaper_gaussianSK_covariance_error","note":"","plain":"Exact normalized SK covariance error","proof_lines":[182,198],"relation":"part","annotation":"Both energies have mean zero. Dividing their covariance by $N>0$ gives $\\beta^2R_{1,2}^2/2-\\beta^2/(2N)$, so the exact error in Equation (1.3) is $\\beta^2/(2N)$ at every pair. The same counting explains the order of the error for the even $p$-spin example in Equation (1.2). Expanding the $p$th power of the overlap numerator counts all ordered $p$-tuples, of which at most $\\binom{p}{2}N^{p-1}$ have a repeated index. Each product has magnitude one, so restoring those terms changes the normalised covariance by at most $\\beta^2\\binom{p}{2}/(2N)$ at fixed $\\beta$.","annotation_references":[{"start":128,"end":142,"key":"equation:1.3"},{"start":259,"end":273,"key":"equation:1.2"}]},{"end_line":232,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":202,"lines":[202,210],"module":"Supplements.OriginalSK","name":"talagrandPaper_gaussianSK_shifted_covariance","note":"","plain":"Exact SK covariance after shifting","proof_lines":[211,232],"relation":"part","annotation":"The missing diagonal terms in the sum over sites produce the same covariance defect $\\beta^2/2$ at every pair of configurations. Add one centred Gaussian $Z$ of variance $\\beta^2/2$ to every energy. Independence of $Z$ from each original energy eliminates the mixed covariance terms, and its variance restores the exact kernel $N\\beta^2R_{1,2}^2/2$. Choosing $Z$ independent of the whole edge family also makes the shifted energies jointly Gaussian."}],"tone":1,"topic":"sk-covariance"},{"anchor":"sec-1","at":"b2912-2955","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 222"},{"ref":"talagrandPaper_overlap","supports":"talagrandPaper_overlap","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 17–19"},{"ref":"talagrandPaper_overlap_square","supports":"talagrandPaper_overlap_square","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 27–65"},{"ref":"talagrandPaper_overlapNumerator","supports":"talagrandPaper_overlapNumerator","title":"Supplementary Lean check","url":null,"where":"checks/OverlapGrid.lean, lines 9–11"},{"ref":"talagrandPaper_overlapNumerator_eq","supports":"talagrandPaper_overlapNumerator_eq","title":"Supplementary Lean check","url":null,"where":"checks/OverlapGrid.lean, lines 13–23"}],"grounded":true,"text":"The overlap $R(\\sigma,\\tau)=N^{-1}\\sum_i\\sigma_i\\tau_i$ is the proportion of agreements minus the proportion of disagreements."},"from_record":false,"lean":true,"lines":[18,19],"module":"Supplements.OriginalSK","name":"talagrandPaper_overlap","origin":"ai","part":0,"phrase":"paper-overlap","plain":"Spin overlap","record":null,"relation":"defines","role":"definition","rows":[{"end_line":19,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":18,"lines":[18,19],"module":"Supplements.OriginalSK","name":"talagrandPaper_overlap","note":"","plain":"Spin overlap","relation":"defines","annotation":"Lean converts the Boolean spins to signs and averages their products. If the two configurations differ at $d$ sites, Equation (1.4) gives $R_{1,2}=1-2d/N$ for $N>0$. An overlap of zero means agreement at half the sites, and an overlap of $-1$ means every spin is reversed. The covariance profile is even, and the constrained sum in Equation (2.26) uses the signed overlap through the equality $R_{1,2}=u$.","annotation_references":[{"start":117,"end":131,"key":"equation:1.4"},{"start":332,"end":347,"key":"equation:2.26"}]},{"end_line":65,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":28,"lines":[28,30],"module":"Supplements.OriginalSK","name":"talagrandPaper_overlap_square","note":"","plain":"Expanding the squared overlap sum","proof_lines":[31,65],"relation":"defines","annotation":"Put $a_i=\\sigma_i^1\\sigma_i^2$. Expanding $(NR_{1,2})^2=(\\sum_i a_i)^2$ gives a sum over ordered pairs of sites. `Equiv.prodComm` exchanges the indices, pairing each $i>j$ term with the equal $i<j$ term from the Hamiltonian edge set. The diagonal contributes one $a_i^2=1$ per site, so $(NR_{1,2})^2=2\\sum_{i<j}a_ia_j+N$."},{"end_line":11,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":10,"lines":[10,11],"module":"Supplements.OverlapGrid","name":"talagrandPaper_overlapNumerator","note":"","plain":"Integer sum of site products","relation":"defines","annotation":"List the two spin values at each site as a pair of Booleans. `talagrandPaper_siteSpinProduct` assigns $1$ to equal values and $-1$ to unequal values. Adding these integers across the $N$ sites gives the numerator in Equation (1.4). Thus a prescribed overlap $R_{1,2}=u$ requires the integer sum to equal $Nu$.","annotation_references":[{"start":216,"end":230,"key":"equation:1.4"}]},{"end_line":23,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":14,"lines":[14,16],"module":"Supplements.OverlapGrid","name":"talagrandPaper_overlapNumerator_eq","note":"","plain":"Overlap numerator from agreement counts","proof_lines":[17,23],"relation":"defines","annotation":"With $j$ agreeing sites, the numerator is $j-(N-j)=2j-N$. Every $j$ from $0$ to $N$ is possible, so the overlaps at $N>0$ are $-1,-1+2/N,\\ldots,1$. In the proof of Proposition 2.3 the probability estimate applies to the entire set $\\{R_{1,2}=u\\}$ for each $u$. Summing over the relevant overlap values costs at most a factor $N+1$. Talagrand uses the looser bound $2N+1$, which also preserves exponential decay in $N$.","annotation_references":[{"start":164,"end":179,"key":"proposition:2.3"}]}],"tone":1,"topic":"sk-covariance"},{"anchor":"sec-1","at":"b3363-3393","explanation":{"citations":[{"ref":"paper","supports":"The covariance approximation at each size and the pressure whose limit is in question.","title":"this paper","url":null,"where":"Equations (1.3) and (1.14)"},{"ref":"talagrandPaper_covariance_error_triangle","supports":"talagrandPaper_covariance_error_triangle","title":"Supplementary Lean check","url":null,"where":"checks/CovarianceTransfer.lean, lines 67–75"},{"ref":"talagrandPaper_gaussian_pressure_abs_sub_le","supports":"talagrandPaper_gaussian_pressure_abs_sub_le","title":"Supplementary Lean check","url":null,"where":"checks/CovarianceTransfer.lean, lines 117–161"},{"ref":"talagrandPaper_pressure_limit_of_covariance_approximation","supports":"talagrandPaper_pressure_limit_of_covariance_approximation","title":"Supplementary Lean check","url":null,"where":"checks/CovarianceTransfer.lean, lines 163–183"}],"grounded":true,"text":"The interpolation compares two finite Gaussian fields on orthogonal coefficient spans with the same external field. The difference of their expected log partition functions is at most the largest entrywise difference of the covariance matrices. If both normalised covariances approach the same ξ(R), the pressure per spin of one sequence has the same limit as the other whenever the reference limit exists."},"from_record":false,"lean":true,"lines":[68,72],"module":"Supplements.CovarianceTransfer","name":"talagrandPaper_covariance_error_triangle","origin":"ai","part":0,"phrase":"compare-covariance-errors","plain":"Comparing normalized covariance kernels","record":null,"relation":"part","role":"explanation","rows":[{"end_line":75,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":68,"lines":[68,72],"module":"Supplements.CovarianceTransfer","name":"talagrandPaper_covariance_error_triangle","note":"","plain":"Comparing normalized covariance kernels","proof_lines":[73,75],"relation":"part","annotation":"At a pair of configurations with overlap $R$, insert $\\xi(R)$ between the two normalised covariances. The triangle inequality bounds their difference in magnitude by $c_A(N)+c_B(N)$. The Lean inputs `A` and `B` are already normalised. The next pressure comparison uses the bound $N(c_A(N)+c_B(N))$ on the original covariance matrices."},{"end_line":161,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":118,"lines":[118,123],"module":"Supplements.CovarianceTransfer","name":"talagrandPaper_gaussian_pressure_abs_sub_le","note":"","plain":"Finite Gaussian pressure comparison","proof_lines":[124,161],"relation":"part","annotation":"Take centred Gaussian fields $X$ and $Y$ on the same finite nonempty state space. Lean uses orthogonal coefficient spans to couple the two fields independently. Interpolate with $\\sqrt t X+\\sqrt{1-t}Y$ and add the same deterministic potential throughout. Gaussian integration by parts expresses the derivative of the expected log partition function as half the difference between two averages of the covariance difference. One uses the diagonal entry at one Gibbs draw, and the other uses the entry at two independent Gibbs draws conditional on the disorder. If all entries have magnitude at most $\\varepsilon$, each average has magnitude at most $\\varepsilon$. Continuity at the endpoints and the mean value theorem give the same bound on the difference of the two expected log partition functions."},{"end_line":183,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":164,"lines":[164,177],"module":"Supplements.CovarianceTransfer","name":"talagrandPaper_pressure_limit_of_covariance_approximation","note":"","plain":"Transfer of a Gaussian pressure limit","proof_lines":[178,183],"relation":"part","annotation":"Compare the two expected log partition functions with the same field $h\\sum_i\\sigma_i$. The preceding bound on the unnormalised covariance difference, divided by $N$, bounds the difference of the pressures per spin by $c_A(N)+c_B(N)$. Both errors tend to zero, so the reference limit in `hBlim` is also the limit for the other sequence. Lean writes the positive size as $N=n+1$ and uses the same overlap profile for both sequences."}],"tone":1,"topic":"sk-covariance"},{"anchor":"sec-1","at":"b3667-3687","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 222"},{"ref":"SpinGlass.Targets.RSBScheme","supports":"SpinGlass.Targets.RSBScheme","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Milestones.lean#L129-L138","where":"Targets/Milestones.lean, lines 129–138"}],"grounded":true,"text":"The level masses $m_\\ell$ are nondecreasing, and $m_\\ell$ is the weight assigned to the interval between $q_\\ell$ and $q_{\\ell+1}$."},"from_record":false,"lean":true,"lines":[129,138],"module":"Targets.Milestones","name":"SpinGlass.Targets.RSBScheme","origin":"ai","part":0,"phrase":"rsb-scheme","plain":"Masses and overlap breakpoints","record":null,"relation":"defines","role":"definition","rows":[{"end_line":139,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":129,"lines":[129,138],"module":"Targets.Milestones","name":"SpinGlass.Targets.RSBScheme","note":"","plain":"Masses and overlap breakpoints","relation":"defines","annotation":"The parameter $m_p$ is the cumulative mass on the interval $[q_p,q_{p+1})$. A jump $m_p-m_{p-1}$ puts that much mass at $q_p$. For example, $m=(0,a,1)$ and $q=(0,u,v,1)$ give $a\\delta_u+(1-a)\\delta_v$, with the masses added if $u=v$. The three Gaussian increments have variances given by the successive differences of $\\xi'$ at $0,u,v,1$. The paper’s depth $k$ has $k+1$ intervals, so it corresponds to `RSBScheme (k - 1)`. The weak inequalities in the definition give the compact parameter set used in Equation (2.17).","annotation_references":[{"start":503,"end":518,"key":"equation:2.17"}]}],"tone":0,"topic":"parisi-functional"},{"anchor":"sec-1","at":"b4411-4456","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 223"},{"ref":"SpinGlass.Targets.parisiStep","supports":"SpinGlass.Targets.parisiStep","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Milestones.lean#L148-L149","where":"Targets/Milestones.lean, lines 148–149"}],"grounded":true,"text":"Starting from the terminal $\\log\\cosh$ term, integrate the Gaussian increments one level at a time. At mass zero the recursion takes an ordinary expectation."},"from_record":false,"lean":true,"lines":[148,149],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiStep","origin":"ai","part":0,"phrase":"parisi-expectation","plain":"Gaussian averaging at one level","record":null,"relation":"defines","role":"definition","rows":[{"end_line":151,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":147,"lines":[148,149],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiStep","note":"","plain":"Gaussian averaging at one level","relation":"defines","annotation":"At step $p$, hold the earlier field $x=h+\\sum_{i<p}z_i$ fixed. The later variables have already been integrated out, leaving the input $Y=A(x+\\sqrt v Z)$ with $Z$ standard Gaussian and $v=\\xi'(q_{p+1})-\\xi'(q_p)$. For the recursion inputs, $\\log\\mathbb E e^{mY}=m\\mathbb E Y+O(m^2)$ as $m\\to0$, so `parisiStep` uses the limiting value $\\mathbb E Y$ at zero mass. In particular, $m_0=0$ still calls for averaging over $z_0$ to obtain $X_0$. If the variance is zero, either branch returns $A(x)$."}],"tone":0,"topic":"parisi-functional"},{"anchor":"sec-1","at":"b4465-4629","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 223"}],"grounded":true,"text":"The finite-level variational value adds $\\log 2$ and the output of the recursion, then subtracts half the mass-weighted increments of $\\theta(q)=q\\xi'(q)-\\xi(q)$."},"from_record":false,"lean":true,"lines":[712,714],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiFunctional","origin":"ai","part":0,"phrase":"parisi-functional","plain":"Parisi functional for one scheme","record":null,"relation":"defines","role":"definition","rows":[{"end_line":714,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":712,"lines":[712,714],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiFunctional","note":"","plain":"Parisi functional for one scheme","relation":"defines","annotation":"For the simplest scheme $m=(0,1)$ and breakpoints $(0,q,1)$, the inner step averages $\\cosh(h+z_0+z_1)$ because $m_1=1$. Since $z_1$ has variance $\\beta^2(1-q)$ in SK, taking the logarithm gives $X_1=\\log\\cosh(h+z_0)+\\beta^2(1-q)/2$. The outer expectation and the subtraction in Equation (1.11) then give the value $\\log 2+\\mathbb E\\log\\cosh(h+\\beta\\sqrt q\\,Z)+\\beta^2(1-q)^2/4$, with $Z$ standard Gaussian. This is the paper’s depth-one value, evaluated by `parisiFunctional_rsScheme` for Lean depth zero. Minimizing it in $q$ gives the replica-symmetric value.","annotation_references":[{"start":279,"end":294,"key":"equation:1.11"}]},{"end_line":642,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":638,"lines":[638,642],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiF","note":"","plain":"Backward one-spin recursion","relation":"defines","annotation":"In Equation (1.10), write $X_p=A_p(h+\\sum_{i<p}z_i)$ so the function $A_p$ takes only the sum of the earlier fields (the scalar recursion used in Equation (4.25)). Start with $A_{k+1}(x)=\\log\\cosh x$ and apply `parisiStep` from $p=k$ down to $p=0$ using mass $m_p$ and SK variance $\\beta^2(q_{p+1}-q_p)$. With $k$ denoting the paper’s depth, the Lean index $j$ counts averages taken, so `parisiF s β j` is $A_{k+1-j}$ for $0\\le j\\le k+1$. Evaluating the final function at $h$ gives $X_0$. Two consecutive steps with the same mass combine into one with the sum of their variances, which explains why the paper merges equal masses on page 229.","annotation_references":[{"start":3,"end":18,"key":"equation:1.10"},{"start":146,"end":161,"key":"equation:4.25"},{"start":632,"end":640,"key":"page:229"}]},{"end_line":87,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":86,"lines":[86,87],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.parisiCorrection","note":"","plain":"Weighted covariance correction","relation":"defines","annotation":"Let $C$ be the term subtracted in Equation (1.11) and set $a_\\ell=m_\\ell-m_{\\ell-1}$. Summation by parts gives $C=\\frac12(\\theta(1)-\\sum_\\ell a_\\ell\\theta(q_\\ell))$. In SK, `parisiCorrection_eq_mass_q` proves the resulting formula $C=\\frac{\\beta^2}{4}(1-\\sum_\\ell a_\\ell q_\\ell^2)$, which lies between zero and $\\beta^2/4$. In Guerra’s derivative formula (2.10), $-C$ is the part independent of the replica overlap. The affine comparison $\\psi(t)=\\varphi(0)-tC$ integrates that part and has $\\psi(1)=\\mathcal P_k(m,q)$.","annotation_references":[{"start":34,"end":49,"key":"equation:1.11"},{"start":355,"end":361,"key":"equation:2.10"}]}],"tone":0,"topic":"parisi-functional"},{"anchor":"sec-1","at":"b4781-4858","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 223"},{"ref":"SpinGlass.Targets.parisiValue","supports":"SpinGlass.Targets.parisiValue","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Milestones.lean#L1899-L1900","where":"Targets/Milestones.lean, lines 1899–1900"}],"grounded":true,"text":"The infimum ranges over the number of levels and all admissible masses and breakpoints at each level."},"from_record":false,"lean":true,"lines":[1899,1900],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiValue","origin":"ai","part":0,"phrase":"parisi-infimum","plain":"Infimum over finite schemes","record":null,"relation":"defines","role":"definition","rows":[{"end_line":1900,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":1899,"lines":[1899,1900],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiValue","note":"","plain":"Infimum over finite schemes","relation":"defines","annotation":"At each fixed depth the admissible parameters form a compact set and the functional has a minimum. Inserting a first interval of zero mass and variance preserves the functional by `parisiFunctional_padZeroFirst`, so the depth minima are nonincreasing as more intervals are allowed. Every value is at least $\\log 2-\\beta^2/4$ in SK, which makes their limit finite and equal to `parisiValue`. In Theorem 2.2, one first fixes $t_0<1$ and obtains its tolerance $\\varepsilon$. One then chooses a finite depth whose minimum lies within $\\varepsilon$ of the infimum and holds that minimising scheme fixed as $N$ grows.","annotation_references":[{"start":394,"end":405,"key":"theorem:2.2"}]}],"tone":0,"topic":"parisi-functional"},{"anchor":"sec-1","at":"b5771-5818","explanation":{"citations":[{"ref":"paper","supports":"The limiting quantity, the interpolation identity and convergence below the endpoint.","title":"this paper","url":null,"where":"Theorem 1.1, Theorems 2.1–2.2"},{"ref":"SpinGlass.Targets.parisi_formula","supports":"SpinGlass.Targets.parisi_formula","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandFinal.lean#L33-L36","where":"Targets/TalagrandFinal.lean, lines 33–36"}],"grounded":true,"text":"The pressure per spin converges to the infimum of the finite-level functionals in (1.13). The upper bound comes from Guerra’s interpolation. For the lower bound, Talagrand first proves convergence at times bounded away from one and then uses the derivative bound to pass to the endpoint."},"from_record":false,"lean":true,"lines":[33,36],"module":"Targets.TalagrandFinal","name":"SpinGlass.Targets.parisi_formula","origin":"ai","part":0,"phrase":"theorem-1-1","plain":"The Parisi formula for SK","record":"talagrand-parisi.theorem-1.1","relation":"states","role":"statement","rows":[{"end_line":39,"exact_lines":true,"fidelity":"weaker","fidelity_note":"Theorem 1.1 treats centred Gaussian Hamiltonians satisfying (1.3) for a three-times continuously differentiable, even ξ with ξ(0) = 0 and ξ″(x) > 0 for x > 0. Lean assumes β > 0 and covariance exactly Nβ²R²/2 at each size. In the off-diagonal model (1.1), the normalized covariance error β²/(2N) is removed by adding the same independent centred Gaussian of variance β²/2 to every energy, which preserves the expected log partition function.","fidelity_source":"ai","line":33,"lines":[33,36],"module":"Targets.TalagrandFinal","name":"SpinGlass.Targets.parisi_formula","note":"","plain":"The Parisi formula for SK","proof_lines":[37,39],"relation":"states","annotation":"For $\\beta>0$ and any external field $h$, Lean’s `parisi_formula` proves Equation (1.14) for the exact covariance $N\\beta^2R_{1,2}^2/2$. Talagrand’s theorem allows any profile satisfying Equation (1.5) with the vanishing uniform covariance error in Equation (1.3). For the Hamiltonian in Equation (1.1), a common centred Gaussian of variance $\\beta^2/2$ independent of the edge family gives the exact covariance and leaves the expected log partition function unchanged. Guerra’s upper bound in Equation (2.15) holds for every finite scheme, so the limsup of the pressure is at most their infimum. For the lower bound, choose $t_0<1$ close to one and a fixed-depth minimiser within the tolerance in Theorem 2.2. The pressure at $t_0$ converges to $\\psi(t_0)\\ge\\psi(1)\\ge\\mathcal P(\\xi,h)$. In the exact model the derivative bound limits the drop to time one to $5\\beta^2(1-t_0)/4$, uniformly in $N$. Taking $N\\to\\infty$ and then $t_0\\uparrow1$ gives the lower bound.","annotation_references":[{"start":73,"end":88,"key":"equation:1.14"},{"start":187,"end":201,"key":"equation:1.5"},{"start":249,"end":263,"key":"equation:1.3"},{"start":288,"end":302,"key":"equation:1.1"},{"start":494,"end":509,"key":"equation:2.15"},{"start":698,"end":709,"key":"theorem:2.2"}]}],"tone":2,"topic":"pressure-limit"},{"anchor":"sec-1","at":"b5995-6040","explanation":{"citations":[{"ref":"paper","supports":"The log of the sum over configurations and its expectation.","title":"this paper","url":null,"where":"Equation (1.14)"},{"ref":"talagrandPaper_log_partition_shift","supports":"talagrandPaper_log_partition_shift","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 234–241"},{"ref":"talagrandPaper_expected_log_partition_shift","supports":"talagrandPaper_expected_log_partition_shift","title":"Supplementary Lean check","url":null,"where":"checks/OriginalSK.lean, lines 243–255"}],"grounded":true,"text":"A common shift factors out of the partition sum and adds its value to the logarithm. When the unshifted logarithm is integrable and the shift is centred, taking the expectation leaves the original value."},"from_record":false,"lean":true,"lines":[235,237],"module":"Supplements.OriginalSK","name":"talagrandPaper_log_partition_shift","origin":"ai","part":0,"phrase":"common-shift","plain":"Log partition under common shifts","record":null,"relation":"part","role":"explanation","rows":[{"end_line":241,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":235,"lines":[235,237],"module":"Supplements.OriginalSK","name":"talagrandPaper_log_partition_shift","note":"","plain":"Log partition under common shifts","proof_lines":[238,241],"relation":"part","annotation":"Add $c$ to every energy in Equation (1.14). The positive partition sum is multiplied by $e^c$, so its logarithm increases by $c$. In each Gibbs weight the two factors of $e^c$ cancel. Both identities hold for every realization when $c$ is random, including when it depends on the disorder.","annotation_references":[{"start":27,"end":42,"key":"equation:1.14"}]},{"end_line":255,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":245,"lines":[245,251],"module":"Supplements.OriginalSK","name":"talagrandPaper_expected_log_partition_shift","note":"","plain":"Expected pressure under centred shifts","proof_lines":[252,255],"relation":"part","annotation":"The common Gaussian that restores the SK covariance increases the sample log partition function by $Z$. Taking expectations removes that term because $\\mathbb E Z=0$, so the two expected pressures per spin agree at each positive size. Lean assumes the original log partition function is integrable, as it is for finitely many Gaussian energies. The expectation identity allows $Z$ to depend on the disorder. The covariance construction uses independence from the entire edge family to preserve joint Gaussianity."}],"tone":1,"topic":"sk-covariance"},{"anchor":"sec-2","at":"b16077-16235","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 226"},{"ref":"SpinGlass.Targets.guerraH","supports":"SpinGlass.Targets.guerraH","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L70-L72","where":"Targets/TalagrandCore.lean, lines 70–72"}],"grounded":true,"text":"Guerra’s interpolation weights the original disorder by $\\sqrt t$ and the auxiliary Gaussian fields by $\\sqrt{1-t}$."},"from_record":false,"lean":true,"lines":[70,72],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraH","origin":"ai","part":0,"phrase":"guerra-hamiltonian","plain":"Guerra’s interpolating Hamiltonian","record":null,"relation":"defines","role":"definition","rows":[{"end_line":72,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":70,"lines":[70,72],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraH","note":"","plain":"Guerra’s interpolating Hamiltonian","relation":"defines","annotation":"In Equation (2.1), every configuration uses the same vector of site fields $y_i=\\sum_{p=0}^k z_{i,p}$. The variance of each $y_i$ is $\\xi'(1)$ by Equation (1.9) and $\\xi'(0)=0$. Different sites have independent fields. For two fixed configurations, the field term therefore contributes $(1-t)\\xi'(1)R_{1,2}$ to the covariance per spin. The disorder contributes $t$ times its original covariance per spin, with zero cross covariance by independence. In `guerraH`, the inputs `U` and `y` are fixed values of the energies and site fields. The external field $h$ stays fixed as $t$ varies. The next Gaussian recursion averages the increments in $y$ separately.","annotation_references":[{"start":3,"end":17,"key":"equation:2.1"},{"start":146,"end":160,"key":"equation:1.9"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b16248-16338","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 226"},{"ref":"SpinGlass.Targets.guerraBase","supports":"SpinGlass.Targets.guerraBase","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L75-L76","where":"Targets/TalagrandCore.lean, lines 75–76"}],"grounded":true,"text":"First sum the exponentials of the interpolating energies over spin configurations. Then take the logarithm before applying the Gaussian recursion."},"from_record":false,"lean":true,"lines":[75,76],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraBase","origin":"ai","part":0,"phrase":"guerra-log-partition","plain":"Interpolating log partition sum","record":null,"relation":"defines","role":"definition","rows":[{"end_line":76,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":75,"lines":[75,76],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraBase","note":"","plain":"Interpolating log partition sum","relation":"defines","annotation":"When forming $F_{k+1,t}$, fix the disorder and site fields and sum over the spin configurations. The positive sum $Z_t=\\exp F_{k+1,t}$ is the normalising denominator for the Gibbs probability of each configuration in `guerraProb` at depth zero. Varying just the energy $H(\\rho)$ gives $\\partial_{H(\\rho)}\\log Z_t=\\sqrt t\\,e^{H_t(\\rho)}/Z_t$, the initial derivative for Equation (3.13). In `hasDerivAt_guerraBase_Uline`, this is the direction that is one at $\\rho$ and zero at the other configurations. At the first Gaussian level, $m_k=1$, so Equation (2.3) gives $F_{k,t}=\\log\\mathbb E_k Z_t$. A zero-mass step takes the ordinary average of the incoming log value.","annotation_references":[{"start":369,"end":384,"key":"equation:3.13"},{"start":543,"end":557,"key":"equation:2.3"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b16386-16478","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 227"},{"ref":"SpinGlass.Targets.cascadeT","supports":"SpinGlass.Targets.cascadeT","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/CascadeEndpoint.lean#L330-L336","where":"Targets/CascadeEndpoint.lean, lines 330–336"}],"grounded":true,"text":"The auxiliary fields are integrated from the innermost level outwards, using the mass of each level in its logarithmic average."},"from_record":false,"lean":true,"lines":[330,336],"module":"Targets.CascadeEndpoint","name":"SpinGlass.Targets.cascadeT","origin":"ai","part":0,"phrase":"guerra-cascade","plain":"Gaussian recursion across sites","record":null,"relation":"defines","role":"definition","rows":[{"end_line":336,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":330,"lines":[330,336],"module":"Targets.CascadeEndpoint","name":"SpinGlass.Targets.cascadeT","note":"","plain":"Gaussian recursion across sites","relation":"defines","annotation":"At level $\\ell$, condition on $\\Xi_\\ell$, which holds $H$ and the increments with $p<\\ell$ fixed. The levels above $\\ell$ have already been averaged in $F_{\\ell+1,t}$, so Equation (2.3) integrates just the increment at $\\ell$. In `parisiStepPi` this means adding independent Gaussian coordinates of variance $\\beta^2(q_{\\ell+1}-q_\\ell)$ to the earlier field sum, in the SK case. Depth `j` in `cascadeT` counts integrations completed, so it corresponds to $F_{k+1-j,t}$ for $0\\le j\\le k$ in the paper. The paper’s $k$ is Lean’s `k + 1`. For `guerraPhi` the variance multiplier is one because `guerraH` already scales the field by $\\sqrt{1-t}$. The normalising expectation in (2.3) is also the denominator of the weight $W_\\ell$ in Equation (2.5). Each weight has conditional mean one, and at mass zero the weight is one.","annotation_references":[{"start":171,"end":185,"key":"equation:2.3"},{"start":674,"end":679,"key":"equation:2.3"},{"start":730,"end":744,"key":"equation:2.5"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b16566-16622","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 227"},{"ref":"SpinGlass.Targets.guerraPhi","supports":"SpinGlass.Targets.guerraPhi","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L80-L82","where":"Targets/TalagrandCore.lean, lines 80–82"}],"grounded":true,"text":"After the auxiliary fields have been integrated, average over the original disorder and divide by $N$ to obtain $\\varphi(t)$."},"from_record":false,"lean":true,"lines":[80,82],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPhi","origin":"ai","part":0,"phrase":"guerra-pressure","plain":"Pressure along Guerra’s interpolation","record":null,"relation":"defines","role":"definition","rows":[{"end_line":82,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":80,"lines":[80,82],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPhi","note":"","plain":"Pressure along Guerra’s interpolation","relation":"defines","annotation":"After the recursion reaches $F_{1,t}$, the Hamiltonian and the level-zero site fields are still random. Equation (2.4) averages over both and divides by the number of spins. In `guerraPhi` the $m_0=0$ average is the last of the `k + 2` steps, so the outer integral is over the Hamiltonian alone. The full recursion is evaluated at zero field offset, with $h$ still in `guerraBase`. At $t=0$ the result will reduce to $\\log 2+X_0$ by site factorisation. At $t=1$ the auxiliary fields vanish from the Hamiltonian and the pressure is the original expected log partition function per spin.","annotation_references":[{"start":104,"end":118,"key":"equation:2.4"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b18057-18160","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 227"},{"ref":"SpinGlass.Targets.guerraReplicaMeasure","supports":"SpinGlass.Targets.guerraReplicaMeasure","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/CoupledCascade.lean#L337-L340","where":"Targets/CoupledCascade.lean, lines 337–340"}],"grounded":true,"text":"At level $\\ell$, a tilted two-replica law measures the overlap of two configurations sampled with the specified sharing of Gaussian fields."},"from_record":false,"lean":true,"lines":[337,340],"module":"Targets.CoupledCascade","name":"SpinGlass.Targets.guerraReplicaMeasure","origin":"ai","part":0,"phrase":"replica-law","plain":"Replica law at one level","record":null,"relation":"defines","role":"definition","rows":[{"end_line":340,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":337,"lines":[337,340],"module":"Targets.CoupledCascade","name":"SpinGlass.Targets.guerraReplicaMeasure","note":"","plain":"Replica law at one level","relation":"defines","annotation":"Fix $H$ and the increments at levels $p<\\ell$. The product $W_\\ell\\cdots W_k$ has conditional mean one by Equation (2.8), so it is a density for the remaining fields. Drawing those fields with this density and then drawing a Gibbs configuration gives $\\gamma_\\ell$. With $H$ and the shared fields fixed, each replica draws its own remaining fields from that tilted law, then draws its spin configuration. In `guerraProb`, this takes $k+1-\\ell$ integrations in the paper’s indexing, or `k + 2 - ℓ` in Lean’s. Then `guerraReplicaAvg` takes the product of the resulting spin probabilities. The shared fields are averaged only once in `guerraOuterAvg`, with weight $W_1\\cdots W_{\\ell-1}$. The final integral averages over $H$. Summing out either replica in Equation (2.9) leaves the same marginal for every split $\\ell$, namely $f\\mapsto\\mathbb E[W_1\\cdots W_k\\langle f\\rangle_t]$. The overlap law can vary with the split.","annotation_references":[{"start":106,"end":120,"key":"equation:2.8"},{"start":753,"end":767,"key":"equation:2.9"}]}],"tone":6,"topic":"coupled-recursion"},{"anchor":"sec-2","at":"b18162-18200","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 227"},{"ref":"SpinGlass.Targets.guerra_identity","supports":"SpinGlass.Targets.guerra_identity","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L3238-L3243","where":"Targets/TalagrandCore.lean, lines 3238–3243"}],"grounded":true,"text":"Guerra’s identity gives $\\varphi'(t)$ as a deterministic correction and a replica remainder, with an error controlled by $c(N)$ under (1.3)."},"from_record":false,"lean":true,"lines":[3238,3243],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerra_identity","origin":"ai","part":0,"phrase":"theorem-2-1","plain":"Guerra’s pressure derivative","record":"talagrand-parisi.theorem-2.1","relation":"states","role":"statement","rows":[{"end_line":3252,"exact_lines":true,"fidelity":"weaker","fidelity_note":"In (2.10) the derivative is minus the deterministic correction and the displayed overlap term, up to an error bounded by c(N). Lean uses the exact SK covariance and states the identity through a remainder between 0 and β². The proof takes that remainder to be β²/4 times the mass-weighted replica average of (R − q)².","fidelity_source":"ai","line":3238,"lines":[3238,3243],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerra_identity","note":"","plain":"Guerra’s pressure derivative","proof_lines":[3244,3252],"relation":"states","annotation":"Write $a_\\ell=m_\\ell-m_{\\ell-1}$. In the disorder integration by parts, the terms from differentiating the Gibbs numerator give the diagonal contribution $\\xi(1)/2$. Differentiating the factors $\\exp(-a_\\ell F_{\\ell,t})$ gives the replica terms in Equation (3.15), up to the covariance error. The derivative in Equation (3.13) gives one probability under $\\gamma_\\ell$. Conditioning the other Gibbs probability on the shared fields gives the product law in Equation (2.9). For the field terms, only levels $p<\\ell$ contribute to the derivative of $F_{\\ell,t}$, so their variances sum to $\\xi'(q_\\ell)$. Combining Equations (3.15) and (3.16) gives the terms $\\xi(R_{1,2})-R_{1,2}\\xi'(q_\\ell)$ in Equation (3.17). Adding $\\theta(q_\\ell)$ inside the replica average yields the difference from the tangent at $q_\\ell$, and the constants telescope to the deterministic correction in Equation (2.10). For $N>0$ and the exact quadratic covariance of `SKDisorder`, `guerra_identity` gives continuity on $[0,1]$ and the derivative identity on $(0,1)$ with zero covariance error. The proof takes the squared-overlap sum `guerraRemainder` as its witness.","annotation_references":[{"start":248,"end":263,"key":"equation:3.15"},{"start":311,"end":326,"key":"equation:3.13"},{"start":457,"end":471,"key":"equation:2.9"},{"start":613,"end":629,"key":"equation:3.15"},{"start":634,"end":640,"key":"equation:3.16"},{"start":695,"end":710,"key":"equation:3.17"},{"start":878,"end":893,"key":"equation:2.10"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b18549-18584","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 228"},{"ref":"SpinGlass.Targets.guerraRemainder","supports":"SpinGlass.Targets.guerraRemainder","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L2302-L2307","where":"Targets/TalagrandCore.lean, lines 2302–2307"}],"grounded":true,"text":"Convexity gives $\\xi(R)-\\xi(q)-\\xi'(q)(R-q)\\ge0$. Guerra’s derivative subtracts a weighted average of these terms."},"from_record":false,"lean":true,"lines":[2302,2307],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraRemainder","origin":"ai","part":0,"phrase":"nonnegative-remainder","plain":"Squared overlap penalty","record":null,"relation":"part","role":"explanation","rows":[{"end_line":2307,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":2302,"lines":[2302,2307],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraRemainder","note":"","plain":"Squared overlap penalty","relation":"part","annotation":"The quantity in Equation (2.11) is $\\xi(x)-\\xi(q)-\\xi'(q)(x-q)$, which is $\\beta^2(x-q)^2/2$ for the SK covariance. Including the factor $1/2$ in Equation (2.10), the resulting subtraction is $\\frac{\\beta^2}{4}\\sum_{\\ell=1}^k(m_\\ell-m_{\\ell-1})\\mu_\\ell((R_{1,2}-q_\\ell)^2)$. Each average uses the replica law for its own breakpoint. For fixed $t\\in(0,1)$, a fixed scheme and $\\beta\\ne0$, this sum tends to zero as $N\\to\\infty$ exactly when each positive-weight level has vanishing mean-square deviation. Lean’s `guerraReplicaAccum` visits the levels in reverse order, starting with a zero-weight term before the paper’s last breakpoint $q_k$. It adds each weighted replica average before integrating the next field. `guerraRemainder` averages over the disorder on $(0,1)$ and is defined to be zero elsewhere.","annotation_references":[{"start":16,"end":31,"key":"equation:2.11"},{"start":146,"end":161,"key":"equation:2.10"}]},{"end_line":2329,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":2309,"lines":[2309,2311],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraRemainder_nonneg_le","note":"","plain":"Bounds on the overlap penalty","proof_lines":[2312,2329],"relation":"part","annotation":"The tangent inequality applies also to negative overlaps. Since $R_{1,2}\\in[-1,1]$ and $q_\\ell\\in[0,1]$, every squared deviation is at most $4$. Each $\\mu_\\ell$ is a probability, and the weights $m_\\ell-m_{\\ell-1}$ sum to one. The corresponding Lean induction bounds the accumulated average at depth `j` by four times the mass already used, `1 - guerraMass s j`. At full depth this gives four, and the factor $\\beta^2/4$ yields the bound $\\beta^2$ for the remainder. The same sum of weights controls the separate covariance error in Equation (3.15). Replacing the normalised covariance by $\\xi(R_{1,2})$ costs at most $c(N)/2$ on the diagonal and at most $c(N)/2$ across all replica terms.","annotation_references":[{"start":533,"end":548,"key":"equation:3.15"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b18853-18895","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 228"},{"ref":"SpinGlass.Targets.guerraPhi_zero","supports":"SpinGlass.Targets.guerraPhi_zero","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L148-L157","where":"Targets/TalagrandCore.lean, lines 148–157"}],"grounded":true,"text":"At $t=0$ the original disorder vanishes. The partition sum factors over sites and the resulting pressure is given by the scalar recursion."},"from_record":false,"lean":true,"lines":[148,157],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPhi_zero","origin":"ai","part":0,"phrase":"factorized-endpoint","plain":"Pressure at the decoupled endpoint","record":null,"relation":"part","role":"explanation","rows":[{"end_line":164,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":148,"lines":[148,157],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPhi_zero","note":"","plain":"Pressure at the decoupled endpoint","proof_lines":[151,164],"relation":"part","annotation":"At $t=0$ the spin sum in Equation (2.2) factors as $\\prod_i 2\\cosh(h+\\sum_p z_{i,p})$. At every positive-mass step, the conditional exponential moment of a sum of site terms factors over the independent increments at the sites. Taking the logarithm and dividing by the mass gives a sum of scalar recursions, leaving $N\\log 2$ unchanged. At zero mass the same separation follows by linearity of expectation. This gives Equation (2.13), and the last ordinary expectation turns each $X_{i,1}$ into $X_0$. In `guerraPhi_zero`, `cascadeT_shift` inserts the external field $h$ and `cascadeT_one_scale` gives $N$ copies of the scalar recursion. Dividing by $N>0$ gives $\\log 2+X_0$ on a probability space for any original energy field.","annotation_references":[{"start":25,"end":39,"key":"equation:2.2"},{"start":418,"end":433,"key":"equation:2.13"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b19315-19508","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 228"},{"ref":"SpinGlass.Targets.guerra_rsb_bound","supports":"SpinGlass.Targets.guerra_rsb_bound","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L3259-L3261","where":"Targets/TalagrandCore.lean, lines 3259–3261"}],"grounded":true,"text":"Integrate the derivative bound from zero to one and insert the decoupled value at zero. The result is a finite-size upper bound for every admissible scheme."},"from_record":false,"lean":true,"lines":[3259,3261],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerra_rsb_bound","origin":"ai","part":0,"phrase":"guerra-upper-bound","plain":"Guerra’s finite-size upper bound","record":"talagrand-parisi.claim-guerra-upper-bound","relation":"states","role":"statement","rows":[{"end_line":3278,"exact_lines":true,"fidelity":"weaker","fidelity_note":"Equation (2.15) bounds the finite-size pressure by the Parisi functional plus c(N). Lean gives the bound with error zero for the exact SK covariance and N > 0.","fidelity_source":"ai","line":3259,"lines":[3259,3261],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerra_rsb_bound","note":"","plain":"Guerra’s finite-size upper bound","proof_lines":[3262,3278],"relation":"states","annotation":"At $t=1$ the auxiliary fields vanish from the Hamiltonian. The log partition function is constant in those fields, so `guerraPhi_one` uses `cascadeT_const` to identify $\\varphi(1)$ with the expected pressure of the original model. The affine comparison $\\psi$ in Equation (2.18) starts at $\\varphi(0)$ and ends at $\\mathcal P_k(m,q)$. Equations (2.10)–(2.11) give $(\\varphi-\\psi)'(t)\\le c(N)$, and continuity lets us apply the mean-value inequality up to $t=1$. Both $\\varphi(1)$ and $c(N)$ are independent of the scheme, so the infimum over schemes can be taken at fixed $N$ before taking the upper limit in $N$. Lean proves the finite-size bound with zero covariance error under exact quadratic SK covariance. In that setting the gap $\\psi(t)-\\varphi(t)$ is the integral from $0$ to $t$ of the squared-overlap remainder. Theorem 2.2 controls the gap for nearly optimal fixed-level minimisers at times below one.","annotation_references":[{"start":263,"end":278,"key":"equation:2.18"},{"start":335,"end":351,"key":"equation:2.10"},{"start":352,"end":358,"key":"equation:2.11"},{"start":823,"end":834,"key":"theorem:2.2"}]}],"tone":4,"topic":"guerra-identity"},{"anchor":"sec-2","at":"b20630-20649","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 228"},{"ref":"SpinGlass.Targets.talagrand_theorem_2_2","supports":"SpinGlass.Targets.talagrand_theorem_2_2","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandFinal.lean#L21-L28","where":"Targets/TalagrandFinal.lean, lines 21–28"}],"grounded":true,"text":"Choose $t_0<1$ first. A fixed-level minimizer sufficiently close to the unrestricted infimum gives convergence to the affine comparison at each $t\\in[0,t_0]$."},"from_record":false,"lean":true,"lines":[21,28],"module":"Targets.TalagrandFinal","name":"SpinGlass.Targets.talagrand_theorem_2_2","origin":"ai","part":0,"phrase":"theorem-2-2","plain":"Convergence before time one","record":"talagrand-parisi.theorem-2.2","relation":"states","role":"statement","rows":[{"end_line":29,"exact_lines":true,"fidelity":"weaker","fidelity_note":"For each t₀ < 1, the paper and Lean choose ε before the number of levels and the scheme. For a fixed-level minimizer within ε of the global infimum, they give pointwise convergence to ψ(t) for 0 ≤ t ≤ t₀. Lean assumes β > 0 and exact SK covariance at each size.","fidelity_source":"ai","line":21,"lines":[21,28],"module":"Targets.TalagrandFinal","name":"SpinGlass.Targets.talagrand_theorem_2_2","note":"","plain":"Convergence before time one","proof_lines":[29,29],"relation":"states","annotation":"Choose $t_0<1$ before choosing the scheme. Condition (2.16) places its value within $\\varepsilon$ of the infimum over all levels. Condition (2.17) requires an exact minimum over both masses and breakpoints at the chosen level. Compactness gives such a minimum once a level with a value within $\\varepsilon$ has been found. The same finite scheme is then used for every $N$. In exact SK with $\\beta>0$, the Lean statement gives convergence to $\\psi(t)$ at each $t\\in[0,t_0]$. Its proof obtains a uniform bound on the gap over this interval.","annotation_references":[{"start":53,"end":59,"key":"equation:2.16"},{"start":140,"end":146,"key":"equation:2.17"}]}],"tone":3,"topic":"fixed-level-convergence"},{"anchor":"sec-2","at":"b21183-21337","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 229"},{"ref":"SpinGlass.Targets.guerraPsi","supports":"SpinGlass.Targets.guerraPsi","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L91-L92","where":"Targets/TalagrandCore.lean, lines 91–92"}],"grounded":true,"text":"The affine pressure $\\psi(t)$ starts at the decoupled pressure and decreases at the deterministic rate in Guerra’s identity."},"from_record":false,"lean":true,"lines":[91,92],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPsi","origin":"ai","part":0,"phrase":"comparison-path","plain":"Affine comparison for Guerra’s pressure","record":null,"relation":"defines","role":"definition","rows":[{"end_line":92,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":91,"lines":[91,92],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPsi","note":"","plain":"Affine comparison for Guerra’s pressure","relation":"defines","annotation":"Start at the decoupled value $\\varphi_N(0)=\\log 2+X_0$ from Equation (2.14) and keep the deterministic slope in Guerra’s identity (2.10). The resulting line is $\\psi(t)$ in Equation (2.18). For $\\xi(x)=\\beta^2x^2/2$, the magnitude of that slope is $\\frac{\\beta^2}{4}\\sum_r m_r(q_{r+1}^2-q_r^2)$, the quantity `parisiCorrection`. In exact SK the deterministic term cancels in $(\\psi-\\varphi_N)'$, leaving the nonnegative overlap remainder. Theorem 2.2 amounts to showing that the accumulated remainder tends to zero up to $t_0$.","annotation_references":[{"start":60,"end":75,"key":"equation:2.14"},{"start":130,"end":136,"key":"equation:2.10"},{"start":173,"end":188,"key":"equation:2.18"},{"start":439,"end":450,"key":"theorem:2.2"}]}],"tone":3,"topic":"fixed-level-convergence"},{"anchor":"sec-2","at":"b21339-21449","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 229"}],"grounded":true,"text":"For a fixed level count, the allowed masses and breakpoints form a compact set. The finite-level functional is continuous on it."},"from_record":false,"lean":true,"lines":[1768,1770],"module":"Targets.Milestones","name":"SpinGlass.Targets.exists_minimizer_parisiFunctional","origin":"ai","part":0,"phrase":"fixed-level-minimizer","plain":"Minimum at each finite level","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":1776,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":1768,"lines":[1768,1770],"module":"Targets.Milestones","name":"SpinGlass.Targets.exists_minimizer_parisiFunctional","note":"","plain":"Minimum at each finite level","proof_lines":[1771,1776],"relation":"proof","annotation":"The weak inequalities in Equations (1.6) and (1.7) make the bounded set of coordinates closed, including when two masses or breakpoints coalesce. Continuity of Equation (1.10) at zero mass needs a separate estimate because of the factor $1/m$. For a $1$-Lipschitz input and variance $v$, `parisiStep_zero_sandwich` puts the step at mass $m>0$ between the ordinary Gaussian expectation and that expectation plus $mv/2$, uniformly in the input location. The recursion therefore extends continuously to zero masses. The deterministic correction is a polynomial in the SK coordinates, so the full functional attains a minimum at every fixed level.","annotation_references":[{"start":25,"end":40,"key":"equation:1.6"},{"start":45,"end":50,"key":"equation:1.7"},{"start":160,"end":175,"key":"equation:1.10"}]}],"tone":3,"topic":"fixed-level-convergence"},{"anchor":"sec-2","at":"b21923-21980","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 229"}],"grounded":true,"text":"When two adjacent variable breakpoints coincide, the Gaussian step between them has variance zero. Lean deletes that level while preserving the functional and the interpolated pressure. The first or last variable breakpoint may still coincide with its fixed endpoint."},"from_record":false,"lean":true,"lines":[86,88],"module":"Targets.RSBSchemeOverlapReduction","name":"SpinGlass.Targets.parisiFunctional_mergeEqualOverlap","origin":"ai","part":0,"phrase":"remove-equal-overlap","plain":"Functional after deleting equal overlaps","record":null,"relation":"part","role":"explanation","rows":[{"end_line":90,"exact_lines":false,"fidelity":"different","fidelity_note":"This deletion applies to two coincident variable breakpoints. The checked reduction makes those breakpoints distinct and still permits the first to equal zero or the last to equal one. Equation (2.19) also asserts strict gaps to the fixed endpoints. Deleting repetitions among the variable breakpoints can leave positive mass at an endpoint.","fidelity_source":"ai","line":86,"lines":[86,88],"module":"Targets.RSBSchemeOverlapReduction","name":"SpinGlass.Targets.parisiFunctional_mergeEqualOverlap","note":"","plain":"Functional after deleting equal overlaps","proof_lines":[89,90],"relation":"part","annotation":"When $q_p=q_{p+1}$, the interval carrying mass parameter $m_p$ contributes zero Gaussian variance and zero to the correction in Equation (1.11). Lean raises $m_p$ to $m_{p+1}$ on that interval, then uses the equal-mass identity to delete $q_{p+1}$ and $m_p$. In the measure described after Equation (1.13), this adds the weights of two atoms at the same point. The checked deletion compares adjacent variable breakpoints. The first variable breakpoint may still be zero and the last may still be one, cases handled by the inward stationarity argument in Section 4.","annotation_references":[{"start":128,"end":143,"key":"equation:1.11"},{"start":290,"end":305,"key":"equation:1.13"},{"start":554,"end":563,"key":"section:4"}]},{"end_line":130,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":125,"lines":[125,128],"module":"Targets.RSBSchemeOverlapReduction","name":"SpinGlass.Targets.guerraPhi_mergeEqualOverlap","note":"","plain":"Pressure after deleting equal overlaps","proof_lines":[129,130],"relation":"part","annotation":"At a zero-variance step, the Gaussian increment is zero and the logarithmic average acts as the identity at every mass. Lean changes the mass on this interval and applies the equal-mass merge at each fixed disorder realization. Evaluating the resulting cascade at zero field and then averaging proves equality of the two values of $\\varphi_N(t)$ for $0\\le t\\le1$. The same deletion preserves $\\psi$ by `guerraPsi_mergeEqualOverlap`, so the gap used in Equation (2.18) is preserved at finite $N$.","annotation_references":[{"start":452,"end":467,"key":"equation:2.18"}]}],"tone":3,"topic":"fixed-level-convergence"},{"anchor":"sec-2","at":"b22006-22035","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 229"}],"grounded":true,"text":"Adjacent Gaussian averages with the same mass compose to one average with the sum of their variances."},"from_record":false,"lean":true,"lines":[190,192],"module":"Targets.RSBSchemeMassReduction","name":"SpinGlass.Targets.parisiFunctional_mergeEqualMass","origin":"ai","part":0,"phrase":"merge-equal-mass","plain":"Functional after merging equal masses","record":null,"relation":"part","role":"explanation","rows":[{"end_line":196,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":190,"lines":[190,192],"module":"Targets.RSBSchemeMassReduction","name":"SpinGlass.Targets.parisiFunctional_mergeEqualMass","note":"","plain":"Functional after merging equal masses","proof_lines":[193,196],"relation":"part","annotation":"In the measure after Equation (1.13), $m_p=m_{p+1}$ gives the atom at $q_{p+1}$ weight zero. In the recursion given by Equation (1.10), consecutive steps of the same mass compose into one Gaussian step with the sum of the variances. At positive mass both integrations act on the same exponential. At zero mass both are ordinary expectations. The two increments in the deterministic correction telescope with their common mass as coefficient. Fixed-level minimality passes to the smaller scheme because any competitor can be padded to the original depth by a zero-mass, zero-variance initial step without changing its value.","annotation_references":[{"start":21,"end":36,"key":"equation:1.13"},{"start":119,"end":134,"key":"equation:1.10"}]},{"end_line":223,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":214,"lines":[214,217],"module":"Targets.RSBSchemeMassReduction","name":"SpinGlass.Targets.guerraPhi_mergeEqualMass","note":"","plain":"Pressure after merging equal masses","proof_lines":[218,223],"relation":"part","annotation":"The same Gaussian composition applies to the log partition function of all $N$ spins. At the two equal-mass steps the independent fields have coordinate variances $\\beta^2(q_{p+1}-q_p)$ and $\\beta^2(q_{p+2}-q_{p+1})$. Their sum has variance $\\beta^2(q_{p+2}-q_p)$ in each coordinate. The factor $\\sqrt{1-t}$ stays inside the Hamiltonian in Equation (2.1). Lean uses `parisiStepPi_add` to combine the steps, applies the remaining integrations and then averages over the disorder. This gives equality of $\\varphi_N(t)$ throughout $[0,1]$.","annotation_references":[{"start":340,"end":354,"key":"equation:2.1"}]}],"tone":3,"topic":"fixed-level-convergence"},{"anchor":"sec-2","at":"b24165-24199","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 230"},{"ref":"SpinGlass.Targets.parisi_formula_of_theorem_2_2","supports":"SpinGlass.Targets.parisi_formula_of_theorem_2_2","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandCore.lean#L3359-L3377","where":"Targets/TalagrandCore.lean, lines 3359–3377"}],"grounded":true,"text":"At time one, the interpolated pressure is the SK pressure, while the affine comparison is the value of the chosen finite scheme. To compare them, choose a time below one, then take the limit in system size for a suitable scheme. The derivative bound is uniform in system size and controls the remaining distance to the endpoint."},"from_record":false,"lean":true,"lines":[3359,3377],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.parisi_formula_of_theorem_2_2","origin":"ai","part":0,"phrase":"endpoint-limit","plain":"Parisi formula from interior convergence","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":3384,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":3306,"lines":[3359,3377],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.parisi_formula_of_theorem_2_2","note":"","plain":"Parisi formula from interior convergence","proof_lines":[3317,3384],"relation":"proof","annotation":"In exact SK, Guerra’s identity (Theorem 2.1) bounds the drop in pressure from $t_0$ to $1$ by $L(1-t_0)$ with $L=\\beta^2/4+\\beta^2$. The first term bounds the deterministic correction by telescoping the squared-breakpoint increments with $m_r\\le1$. The second bounds the overlap remainder using $(R_{1,2}-q_r)^2\\le4$ and weights summing to one. Choose $t_0$ so the endpoint loss is small, then choose a fixed-level minimiser that meets the tolerance in Theorem 2.2. Taking the lower limit in $N$ gives $\\liminf_N\\varphi_N(1)\\ge\\psi(t_0)-L(1-t_0)\\ge\\mathcal P(\\xi,h)-L(1-t_0)$. The choice of $t_0$ is arbitrary below one, and Guerra’s upper bound in Equation (2.15) gives the reverse inequality for the upper limit.","annotation_references":[{"start":32,"end":43,"key":"theorem:2.1"},{"start":453,"end":464,"key":"theorem:2.2"},{"start":649,"end":664,"key":"equation:2.15"}]},{"end_line":179,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":167,"lines":[167,169],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPhi_one","note":"","plain":"SK pressure at time one","proof_lines":[170,179],"relation":"proof","annotation":"At $t=1$ the auxiliary field in Equation (2.1) is multiplied by zero. The original disorder and the external field remain, and the log partition function is constant in the auxiliary field. Every Gaussian step fixes constants, including the ordinary expectation at mass zero. Lean applies `cascadeT_const` and obtains the expected log partition function per spin. Thus the endpoint $\\varphi_N(1)$ used in the lower bound is common to all choices of the scheme.","annotation_references":[{"start":32,"end":46,"key":"equation:2.1"}]},{"end_line":98,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":96,"lines":[96,97],"module":"Targets.TalagrandCore","name":"SpinGlass.Targets.guerraPsi_one","note":"","plain":"Parisi functional at time one","proof_lines":[98,98],"relation":"proof","annotation":"At $t=1$, Equation (2.18) subtracts the whole correction in Equation (1.11), giving $\\psi(1)=P_k(m,q)$. Since $\\theta$ increases on $[0,1]$ and the masses are nonnegative, the line is nonincreasing. Thus $\\psi(t_0)\\ge\\psi(1)\\ge\\mathcal P(\\xi,h)$ whenever $0\\le t_0\\le1$. This is the lower bound needed at the endpoint. Near-optimality in Equation (2.16) and fixed-level minimality give convergence at $t_0$ by Theorem 2.2.","annotation_references":[{"start":10,"end":25,"key":"equation:2.18"},{"start":60,"end":75,"key":"equation:1.11"},{"start":338,"end":353,"key":"equation:2.16"},{"start":410,"end":421,"key":"theorem:2.2"}]}],"tone":2,"topic":"pressure-limit"},{"anchor":"sec-2","at":"b24394-24420","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 230"},{"ref":"SpinGlass.Targets.talagrand_proposition_2_3_of_quadratic_bound","supports":"SpinGlass.Targets.talagrand_proposition_2_3_of_quadratic_bound","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandOverlapTail.lean#L201-L214","where":"Targets/TalagrandOverlapTail.lean, lines 201–214"}],"grounded":true,"text":"The tail in (2.20) starts where the squared deviation from the target breakpoint is at least a multiple of the current pressure gap $\\psi(t)-\\varphi(t)$ plus a tolerance $\\varepsilon_1$. For sufficiently large $N$, its replica probability is at most $\\varepsilon_1$ throughout the time interval."},"from_record":false,"lean":true,"lines":[201,214],"module":"Targets.TalagrandOverlapTail","name":"SpinGlass.Targets.talagrand_proposition_2_3_of_quadratic_bound","origin":"ai","part":0,"phrase":"proposition-2-3","plain":"Overlap tail from pressure deficit","record":null,"relation":"part","role":"explanation","rows":[{"end_line":219,"exact_lines":true,"fidelity":"different","fidelity_note":"Proposition 2.3 starts with a reduced scheme minimizing at its own level and nearly minimizing over all levels. The Lean declaration takes the quadratic bound of Theorem 2.4 directly as a hypothesis for a scheme with m₁ > 0 and exact SK covariance. The resulting tail estimate is uniform over 0 < t < t₀ and all eligible depths for large N.","fidelity_source":"ai","line":201,"lines":[201,214],"module":"Targets.TalagrandOverlapTail","name":"SpinGlass.Targets.talagrand_proposition_2_3_of_quadratic_bound","note":"","plain":"Overlap tail from pressure deficit","proof_lines":[213,219],"relation":"part","annotation":"The squared threshold in Equation (2.20) moves with the gap $G_N(t)=\\psi(t)-\\varphi_N(t)$. Let $K_0$ be the constant in Equation (2.29). For $(u-q_r)^2\\ge2K_0G_N(t)+\\varepsilon_1$, substitution in (2.29) gives $\\Psi(t,u)\\le2\\varphi_N(t)-\\varepsilon_1/K_0+2c(N)$. This supplies the deficit required by Equation (2.30) once $N$ is large, or immediately in exact SK where $c(N)=0$. With $m_1>0$, Proposition 2.5 bounds the probability of each eligible overlap by $Ce^{-N/C}$. There are at most $N+1$ attainable values in Lean, so for fixed $\\varepsilon_1>0$ the tail is eventually at most $\\varepsilon_1$ for all physical levels and $0<t<t_0$.","annotation_references":[{"start":25,"end":40,"key":"equation:2.20"},{"start":120,"end":135,"key":"equation:2.29"},{"start":197,"end":203,"key":"equation:2.29"},{"start":301,"end":316,"key":"equation:2.30"},{"start":393,"end":408,"key":"proposition:2.5"}]}],"tone":5,"topic":"overlap-probability"},{"anchor":"sec-2","at":"b25702-25725","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 230"},{"ref":"SpinGlass.Targets.guerraGap_le_mul_exp","supports":"SpinGlass.Targets.guerraGap_le_mul_exp","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandConvergence.lean#L82-L88","where":"Targets/TalagrandConvergence.lean, lines 82–88"}],"grounded":true,"text":"Split the overlap remainder at the moving threshold in (2.20). The threshold bounds the squared deviations below it, and the tail bound controls the contribution on the tail. The resulting differential inequality (2.22) can be integrated from the common value of the two pressures at time zero."},"from_record":false,"lean":true,"lines":[82,88],"module":"Targets.TalagrandConvergence","name":"SpinGlass.Targets.guerraGap_le_mul_exp","origin":"ai","part":0,"phrase":"integrate-gap","plain":"Exponential bound on the gap","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":135,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":82,"lines":[82,88],"module":"Targets.TalagrandConvergence","name":"SpinGlass.Targets.guerraGap_le_mul_exp","note":"","plain":"Exponential bound on the gap","proof_lines":[89,135],"relation":"proof","annotation":"Write $G_N=\\psi-\\varphi_N$ and split the squared deviation at the threshold $a=KG_N(t)+\\varepsilon_1$ from Equation (2.20). In exact SK, $G_N\\ge0$, the squared deviation is at most $a$ below the threshold and at most $4$ everywhere. Its expectation is therefore at most $KG_N(t)+5\\varepsilon_1$ at each level. The mass increments in Guerra’s identity (Theorem 2.1) sum to one, and the quadratic SK remainder is $\\beta^2/4$ times their weighted expectation. Given the resulting inequality $G_N'\\le A G_N+\\delta$ (Equation (2.22) with zero covariance error), Lean differentiates $e^{-(A+1)t}(G_N(t)+\\delta)$ to show it is nonincreasing on $[0,t_0]$. Since $G_N(0)=0$, this gives $G_N(t)\\le\\delta e^{(A+1)t}$, with a single bound on the whole interval.","annotation_references":[{"start":107,"end":122,"key":"equation:2.20"},{"start":352,"end":363,"key":"theorem:2.1"},{"start":512,"end":527,"key":"equation:2.22"}]},{"end_line":35,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":26,"lines":[26,33],"module":"Targets.TalagrandTheorem22Integration","name":"SpinGlass.Targets.talagrand_theorem_2_2_from_theorem_2_4","note":"","plain":"Convergence from the quadratic bound","proof_lines":[34,35],"relation":"proof","annotation":"Theorem 2.4 supplies the quadratic constrained-pressure bound used to prove Equation (2.20). For the reduced scheme one constant works at every physical split, attainable overlap and interior time, once $N$ is large enough. Lean removes repeated levels while preserving the functional and the two pressures. Padding competitors transfers fixed-level minimality to the reduced scheme, and strict masses give $m_1>0$ for Proposition 2.5. The integration bound then gives uniform convergence on $[0,t_0]$ for the reduced scheme and therefore for the original one.","annotation_references":[{"start":0,"end":11,"key":"theorem:2.4"},{"start":76,"end":91,"key":"equation:2.20"},{"start":419,"end":434,"key":"proposition:2.5"}]}],"tone":3,"topic":"fixed-level-convergence"},{"anchor":"sec-2","at":"b26934-27059","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 231"},{"ref":"SpinGlass.Targets.coupledMass","supports":"SpinGlass.Targets.coupledMass","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/ConstrainedCascade.lean#L203-L205","where":"Targets/ConstrainedCascade.lean, lines 203–205"}],"grounded":true,"text":"For the shared fields of the two-replica construction, halve the masses up to the split. The recursion then agrees with twice the one-replica recursion when the overlap constraint is removed."},"from_record":false,"lean":true,"lines":[203,205],"module":"Targets.ConstrainedCascade","name":"SpinGlass.Targets.coupledMass","origin":"ai","part":0,"phrase":"split-mass","plain":"Masses for shared fields","record":null,"relation":"defines","role":"definition","rows":[{"end_line":205,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":203,"lines":[203,205],"module":"Targets.ConstrainedCascade","name":"SpinGlass.Targets.coupledMass","note":"","plain":"Masses for shared fields","relation":"defines","annotation":"On a shared level the unrestricted two-system log partition function is twice the one-system value. If that value before integration is $F$, the choice $n_\\ell=m_\\ell/2$ makes the exponential weight $e^{n_\\ell(2F)}=e^{m_\\ell F}$. The division by $n_\\ell$ then gives twice the one-system logarithmic average (the shared-level step in the proof of Equation (2.40)). At independent levels the integrals factor and the mass is $m_\\ell$. The initial value $1$ of `coupledMass` is the Gibbs exponent at the base, corresponding to the implicit $n_{k+1}=1$ in the base case of Equation (2.36).","annotation_references":[{"start":346,"end":361,"key":"equation:2.40"},{"start":569,"end":584,"key":"equation:2.36"}]},{"end_line":109,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":99,"lines":[99,109],"module":"Targets.CoupledCascade","name":"SpinGlass.Targets.coupledCascade","note":"","plain":"Coupled Gaussian recursion","relation":"defines","annotation":"In Equation (2.24) the replicas use the same original disorder. The split in Equation (2.23) acts on the auxiliary fields. Starting at the Gibbs sum, the cascade integrates from the largest level down. At $\\ell\\ge r$ it takes two independent increments. At $\\ell<r$ it adds the same increment to both field arguments. Each replica’s increment has variance $\\xi'(q_{\\ell+1})-\\xi'(q_\\ell)$, which is $\\beta^2(q_{\\ell+1}-q_\\ell)$ in Lean. For `RSBScheme k`, the paper’s largest level is $k+1$ and the number of independent steps, including level $r$, is `d` with $d=k+2-r$. The same cascade acts on either choice of the starting log partition sum.","annotation_references":[{"start":3,"end":18,"key":"equation:2.24"},{"start":77,"end":92,"key":"equation:2.23"}]}],"tone":6,"topic":"coupled-recursion"},{"anchor":"sec-2","at":"b27177-27219","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 231"},{"ref":"SpinGlass.Targets.constrainedZ","supports":"SpinGlass.Targets.constrainedZ","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/ConstrainedCascade.lean#L21-L24","where":"Targets/ConstrainedCascade.lean, lines 21–24"}],"grounded":true,"text":"The constrained pressure comes from a sum over pairs whose overlap is exactly $u$. The two replicas use the same original disorder."},"from_record":false,"lean":true,"lines":[21,24],"module":"Targets.ConstrainedCascade","name":"SpinGlass.Targets.constrainedZ","origin":"ai","part":0,"phrase":"constrained-partition-sum","plain":"Partition sum at fixed overlap","record":null,"relation":"defines","role":"definition","rows":[{"end_line":24,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":21,"lines":[21,24],"module":"Targets.ConstrainedCascade","name":"SpinGlass.Targets.constrainedZ","note":"","plain":"Partition sum at fixed overlap","relation":"defines","annotation":"With the disorder and auxiliary fields fixed, the unrestricted pair partition sum is the product of the two one-replica partition sums. The sum in Equation (2.26) keeps only pairs with $R_{1,2}=u$. Its ratio to the unrestricted sum is the Gibbs probability of that event at the fixed fields. The average with the weights in Equation (2.33) comes later, in the identification of the level law $\\mu_r$ in Equation (2.39).","annotation_references":[{"start":147,"end":162,"key":"equation:2.26"},{"start":324,"end":339,"key":"equation:2.33"},{"start":403,"end":418,"key":"equation:2.39"}]},{"end_line":27,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":26,"lines":[26,27],"module":"Targets.ConstrainedCascade","name":"SpinGlass.Targets.constrainedBase","note":"","plain":"Log partition sum at fixed overlap","relation":"defines","annotation":"The hypothesis that $u$ is attainable gives at least one pair with strictly positive Gibbs weight at every field realization. Thus the logarithm in `constrainedBase` is the log of a positive sum. If $U=\\langle\\mathbf{1}_{\\{R_{1,2}=u\\}}\\rangle$ is the fixed-field Gibbs probability, then $J_{k+1,u}=J_{k+1}+\\log U$. This is Equation (2.34), the base case of the induction in Lemma 2.6.","annotation_references":[{"start":323,"end":338,"key":"equation:2.34"},{"start":374,"end":383,"key":"lemma:2.6"}]},{"end_line":156,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":153,"lines":[153,156],"module":"Targets.ConstrainedCascade","name":"SpinGlass.Targets.constrainedPhi","note":"","plain":"Constrained two-replica pressure","relation":"defines","annotation":"The constrained sum fixes $u$ at the base of the cascade and keeps that value through Equation (2.27). After the positive-mass steps, $J_{1,t,u}$ still depends on the original disorder and the common level-zero field. Lean takes the ordinary expectation over that field in the final zero-mass step of `coupledCascade`. The arguments `0 0` give the starting fields with all increments integrated. Averaging over the original disorder and dividing by $N$ gives $\\Psi(t,u)$ in Equation (2.28). This per-site normalisation gives the unrestricted comparison $2\\varphi(t)$.","annotation_references":[{"start":86,"end":101,"key":"equation:2.27"},{"start":474,"end":489,"key":"equation:2.28"}]}],"tone":6,"topic":"coupled-recursion"},{"anchor":"sec-2","at":"b27807-27826","explanation":{"citations":[{"ref":"paper","supports":"The constrained pressure bound and its use in concentration.","title":"this paper","url":null,"where":"Proposition 2.3 and Theorem 2.4, equation (2.29)"},{"ref":"SpinGlass.Targets.talagrand_theorem_2_4","supports":"SpinGlass.Targets.talagrand_theorem_2_4","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandTheorem24.lean#L76-L89","where":"Targets/TalagrandTheorem24.lean, lines 76–89"}],"grounded":true,"text":"At a prescribed overlap u, the constrained two-replica pressure loses a quadratic term in the distance from the selected breakpoint. The coefficient is uniform in the interpolation time and system size. This estimate supplies the input to the overlap concentration bound in Proposition 2.3."},"from_record":false,"lean":true,"lines":[76,89],"module":"Targets.TalagrandTheorem24","name":"SpinGlass.Targets.talagrand_theorem_2_4","origin":"ai","part":0,"phrase":"theorem-2-4","plain":"Uniform quadratic overlap penalty","record":"talagrand-parisi.theorem-2.4","relation":"states","role":"statement","rows":[{"end_line":95,"exact_lines":true,"fidelity":"different","fidelity_note":"The paper’s bound (2.29) includes the covariance error $2c(N)$. Lean assumes exact SK covariance and $\\beta\\ne0$ and gives the bound for sufficiently large sizes and $0<t<t_0$. The physical breakpoints must increase strictly, and the first or last may coincide with the corresponding fixed endpoint.","fidelity_source":"ai","line":76,"lines":[76,89],"module":"Targets.TalagrandTheorem24","name":"SpinGlass.Targets.talagrand_theorem_2_4","note":"","plain":"Uniform quadratic overlap penalty","proof_lines":[91,95],"relation":"states","annotation":"Theorem 2.4 bounds the constrained pressure by $2\\psi(t)-(u-q_r)^2/K+2c(N)$ in Equation (2.29). After $t_0<1$ is fixed, the tolerance $\\varepsilon$ is chosen before the scheme. The scheme must minimize at its own level and lie within $\\varepsilon$ of the infimum over all levels. Section 5 supplies a quadratic bound near $q_r$ and a positive deficit away from it. Since $|u-q_r|\\le2$, a deficit $c>0$ away from $q_r$ gives a quadratic penalty with coefficient $c/4$. For exact SK with $\\beta\\ne0$, the Lean bound has no covariance error and holds eventually in $N$ for $0<t<t_0$, with a common $K$ for all physical levels and attainable overlaps of the chosen scheme. Lean requires strict masses and strict increases between variable breakpoints. The first and last variable breakpoints may coincide with the fixed endpoints.","annotation_references":[{"start":0,"end":11,"key":"theorem:2.4"},{"start":79,"end":94,"key":"equation:2.29"},{"start":280,"end":289,"key":"section:5"}]}],"tone":8,"topic":"quadratic-overlap-bound"},{"anchor":"sec-2","at":"b28431-28472","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 231"},{"ref":"SpinGlass.Targets.talagrand_proposition_2_5","supports":"SpinGlass.Targets.talagrand_proposition_2_5","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/TalagrandProposition25.lean#L114-L120","where":"Targets/TalagrandProposition25.lean, lines 114–120"}],"grounded":true,"text":"A fixed positive deficit below $2\\varphi(t)$ in the constrained pressure makes the event of a prescribed overlap exponentially unlikely in $N$."},"from_record":false,"lean":true,"lines":[114,120],"module":"Targets.TalagrandProposition25","name":"SpinGlass.Targets.talagrand_proposition_2_5","origin":"ai","part":0,"phrase":"proposition-2-5","plain":"Pressure gap implies exponential decay","record":"talagrand-parisi.proposition-2.5","relation":"states","role":"statement","rows":[{"end_line":123,"exact_lines":true,"fidelity":"weaker","fidelity_note":"Both statements bound the probability of an attainable overlap by K exp(−N/K) when the constrained pressure lies a fixed positive amount below twice the one-replica pressure. Lean assumes exact SK covariance and restricts to 0 < t < 1. For fixed deficit and scheme, its K is independent of N, t, u and the replica depth.","fidelity_source":"ai","line":114,"lines":[114,120],"module":"Targets.TalagrandProposition25","name":"SpinGlass.Targets.talagrand_proposition_2_5","note":"","plain":"Pressure gap implies exponential decay","proof_lines":[122,123],"relation":"states","annotation":"The comparison in Equation (2.30) uses $2\\varphi(t)$, the unrestricted pair pressure given by Equation (2.38). A deficit of $\\varepsilon_2>0$ per site gives a difference of at least $N\\varepsilon_2$ between the mean unrestricted and constrained log partition sums. Lemma 2.6 turns that difference into a small tilted event probability, and Equation (2.39) identifies it with the mass of the overlap under $\\mu_r$. For an attainable $u$ in exact SK with $N>0$, $m_1>0$ and $0<t<1$, Lean gives Equation (2.31) with a constant depending on the scheme, $\\beta$ and the deficit. Together with Equation (2.29), this is the point estimate summed in Proposition 2.3.","annotation_references":[{"start":18,"end":33,"key":"equation:2.30"},{"start":94,"end":109,"key":"equation:2.38"},{"start":265,"end":274,"key":"lemma:2.6"},{"start":340,"end":355,"key":"equation:2.39"},{"start":492,"end":507,"key":"equation:2.31"},{"start":588,"end":603,"key":"equation:2.29"},{"start":642,"end":657,"key":"proposition:2.3"}]},{"end_line":31,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":19,"lines":[19,27],"module":"Targets.TalagrandProposition25","name":"SpinGlass.Targets.talagrand_proposition_2_5_explicit","note":"","plain":"Two explicit exponential rates","proof_lines":[28,31],"relation":"states","annotation":"Put $D=J_1-J_{1,u}$ and let $Q=E_1(V_1\\cdots V_k\\langle\\mathbf{1}_{\\{R_{1,2}=u\\}}\\rangle)$. The proof below Equation (2.36) gives $Q\\le e^{-n_1 D}$, and the deficit hypothesis gives $ED\\ge N\\varepsilon_2$. On $D>N\\varepsilon_2/2$, the bound $n_1\\ge m_1/2$ gives the first term $e^{-Nm_1\\varepsilon_2/4}$. On the complementary event, use $Q\\le1$ and Gaussian concentration of $D$. The two log partition sums are each $2(1+|\\beta|)\\sqrt N$-Lipschitz in the Gaussian coordinates, so their difference gives the second bound $e^{-N\\varepsilon_2^2/(128(1+|\\beta|)^2)}$. These are the two explicit terms that Lean packages into Equation (2.31).","annotation_references":[{"start":108,"end":123,"key":"equation:2.36"},{"start":621,"end":636,"key":"equation:2.31"}]}],"tone":5,"topic":"overlap-probability"},{"anchor":"sec-2","at":"b29123-29148","explanation":{"citations":[{"ref":"paper","supports":"The overlap formula and the summation over attainable values.","title":"this paper","url":null,"where":"Equation (1.4) and the proof of Proposition 2.3"},{"ref":"talagrandPaper_overlapNumerator_grid","supports":"talagrandPaper_overlapNumerator_grid","title":"Supplementary Lean check","url":null,"where":"checks/OverlapGrid.lean, lines 25–36"}],"grounded":true,"text":"If j of the N spins agree, the overlap is (2j − N)/N. The integer j ranges from zero to N, so there are at most N + 1 candidate overlaps in the sum of the tail probabilities."},"from_record":false,"lean":true,"lines":[31,31],"module":"Targets.TalagrandOverlapTail","name":"SpinGlass.Targets.card_attainableOverlaps_le","origin":"ai","part":0,"phrase":"count-overlaps","plain":"Number of attainable overlaps","record":null,"relation":"part","role":"explanation","rows":[{"end_line":51,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":31,"lines":[31,31],"module":"Targets.TalagrandOverlapTail","name":"SpinGlass.Targets.card_attainableOverlaps_le","note":"","plain":"Number of attainable overlaps","proof_lines":[32,51],"relation":"part","annotation":"Talagrand counts at most $2N+1$ values of $NR_{1,2}$ on p. 232 since it is an integer between $-N$ and $N$. If the configurations agree at $j$ sites, then $NR_{1,2}=2j-N$, so only every other integer can occur. For $N>0$, Lean places the possible overlaps in the image of $j=0,\\ldots,N$ under $j\\mapsto(2j-N)/N$. The bound $N+1$ is the number of terms needed in the overlap union bound.","annotation_references":[{"start":56,"end":62,"key":"page:232"}]},{"end_line":196,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":182,"lines":[182,183],"module":"Targets.TalagrandOverlapTail","name":"SpinGlass.Targets.tendsto_overlap_union_bound","note":"","plain":"Decay of the union bound","proof_lines":[184,196],"relation":"part","annotation":"For fixed $t$ and $r$, the overlap tail is the disjoint union of the events $R_{1,2}=u$ at the eligible grid points. The same deficit applies to each such point, giving one bound $Ce^{-N/C}$ from Equation (2.31). In Lean the total is at most $(N+1)Ce^{-N/C}$. The linked declaration proves the numerical limit of this expression for fixed $C>0$. That limit is the last step in making the tail uniformly smaller than the tolerance in Equation (2.20).","annotation_references":[{"start":196,"end":211,"key":"equation:2.31"},{"start":433,"end":448,"key":"equation:2.20"}]},{"end_line":36,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":26,"lines":[26,29],"module":"Supplements.OverlapGrid","name":"talagrandPaper_overlapNumerator_grid","note":"","plain":"Finite overlap grid","proof_lines":[30,36],"relation":"part","annotation":"For the numerator in Equation (1.4), an agreeing site contributes $+1$ and a disagreeing site contributes $-1$. If $j$ is the count of agreeing sites, the integer sum is $j-(N-j)=2j-N$. The supplementary Lean proof gives the witness $j$ as an element of `Fin (n + 1)`. The upstream cardinality theorem carries out the division and counts the resulting real overlap values.","annotation_references":[{"start":21,"end":35,"key":"equation:1.4"}]}],"tone":5,"topic":"overlap-probability"},{"anchor":"sec-2","at":"b32738-32794","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 233"}],"grounded":true,"text":"Gaussian concentration controls the event that the constrained partition sum is much larger than its mean-pressure estimate. The doubling identities transfer the event bound to the level replica law."},"from_record":false,"lean":true,"lines":[93,101],"module":"Targets.TalagrandProposition25","name":"SpinGlass.Targets.talagrand_lemma_2_6","origin":"ai","part":0,"phrase":"lemmas-2-6-and-2-7","plain":"Small tilted overlap probability","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":109,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":93,"lines":[93,101],"module":"Targets.TalagrandProposition25","name":"SpinGlass.Targets.talagrand_lemma_2_6","note":"","plain":"Small tilted overlap probability","proof_lines":[102,109],"relation":"proof","annotation":"Write $D_\\ell=J_\\ell-J_{\\ell,u}\\ge0$ and $Q_\\ell=E_\\ell(V_\\ell\\cdots V_kU)$, with $U=\\langle\\mathbf{1}_{\\{R_{1,2}=u\\}}\\rangle$. The induction for Equation (2.36) starts at $Q_{k+1}=U=e^{-D_{k+1}}$. If $Q_{\\ell+1}\\le e^{-n_{\\ell+1}D_{\\ell+1}}$, then $n_\\ell\\le n_{\\ell+1}$ gives $Q_{\\ell+1}\\le e^{-n_\\ell D_{\\ell+1}}$. Multiplying by the unrestricted weight $V_\\ell$ cancels $J_{\\ell+1}$ in the exponent. The average in Equation (2.27) then gives $Q_\\ell\\le e^{-n_\\ell D_\\ell}$. Lean applies concentration to $D_1$ in Gaussian coordinates and uses $Q_1\\le1$ on the exceptional event. Lemma 2.7 next identifies the averaged event with the desired replica probability.","annotation_references":[{"start":146,"end":161,"key":"equation:2.36"},{"start":419,"end":434,"key":"equation:2.27"},{"start":583,"end":592,"key":"lemma:2.7"}]},{"end_line":352,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":343,"lines":[343,347],"module":"Targets.CoupledCascade","name":"SpinGlass.Targets.coupledObservable_eq_replicaMeasure","note":"","plain":"Tilted average equals replica law","proof_lines":[348,352],"relation":"proof","annotation":"In Equation (2.9), take the product of the conditional Gibbs laws $\\gamma_r$ with the disorder and fields below $r$ held fixed. At levels $\\ell\\ge r$ the increments are independent and $V_\\ell=W_\\ell^1W_\\ell^2$, so these integrations give that conditional product. At $\\ell<r$, the fields coincide and the half mass gives one common weight $V_\\ell=W_\\ell^1=W_\\ell^2$. The remaining shared averages therefore agree with (2.9). Lean proves the identification in Equation (2.39) for any observable on the pair at $0<t<1$, so the bound for the overlap indicator in Lemma 2.6 applies to $\\mu_r$.","annotation_references":[{"start":3,"end":17,"key":"equation:2.9"},{"start":419,"end":424,"key":"equation:2.9"},{"start":460,"end":475,"key":"equation:2.39"},{"start":561,"end":570,"key":"lemma:2.6"}]},{"end_line":156,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":151,"lines":[151,153],"module":"Targets.CoupledCascade","name":"SpinGlass.Targets.coupledPhi_eq_two_guerraPhi","note":"","plain":"Unrestricted pressure doubles","proof_lines":[154,156],"relation":"proof","annotation":"In Equation (2.40), the unrestricted Gibbs sum gives $J_{k+1}=F_{k+1}^1+F_{k+1}^2$. The independent integrals factor at and above the split. Below it, the common field and the half mass preserve the doubled one-replica value. Thus $J_1=2F_1$ with the level-zero field still shared. Taking the expectation and dividing by $N$ gives Equation (2.38), the comparison that converts the deficit in Equation (2.30) to a loss of $N\\varepsilon_2$ in the mean log partition sum. The Lean identity holds for any disorder field on $0\\le t\\le1$, including schemes with zero masses.","annotation_references":[{"start":3,"end":18,"key":"equation:2.40"},{"start":331,"end":346,"key":"equation:2.38"},{"start":392,"end":407,"key":"equation:2.30"}]}],"tone":5,"topic":"overlap-probability"},{"anchor":"sec-3","at":"b44830-44852","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 238"},{"ref":"SpinGlass.Targets.deriv_section5Interpolation_le","supports":"SpinGlass.Targets.deriv_section5Interpolation_le","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5InterpolationBound.lean#L21-L29","where":"Targets/Section5InterpolationBound.lean, lines 21–29"}],"grounded":true,"text":"The second interpolation varies a new parameter while the first interpolation time $t$ stays fixed. Its derivative is bounded by the deterministic covariance increments."},"from_record":false,"lean":true,"lines":[21,29],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.deriv_section5Interpolation_le","origin":"ai","part":0,"phrase":"theorem-3-1","plain":"Derivative bound below the breakpoint","record":null,"relation":"part","role":"explanation","rows":[{"end_line":43,"exact_lines":true,"fidelity":"weaker","fidelity_note":"Theorem 3.1 bounds the derivative of the general second interpolation with an additive error 4c(N). This theorem gives the derivative bound for the exact SK path with qᵣ₋₁ ≤ u ≤ qᵣ, mᵣ₋₁/2 ≤ m ≤ mᵣ and an attainable overlap u. The deterministic correction is the one in (5.9).","fidelity_source":"ai","line":21,"lines":[21,29],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.deriv_section5Interpolation_le","note":"","plain":"Derivative bound below the breakpoint","proof_lines":[30,43],"relation":"part","annotation":"Hold $t$ fixed in Equation (3.21). As the second time $v$ decreases, the common Hamiltonian gives way to one-site Gaussian fields, with the original fields $Z_p^j$ held fixed. In Equation (3.25), the trial overlap between copies stops increasing at $\\rho_\\tau$. Below that cutoff its $\\theta$ increments match those of the trial overlap within a copy, so each level has weight $2n_p$. From the cutoff onward the weight is $n_p$.\n\nThe left split in Equations (5.5)–(5.7) puts $\\rho_r=u$ at the cutoff. The interval from $q_{r-1}$ to $u$ keeps weight $2n_{r-1}=m_{r-1}$, and the interval from $u$ to $q_r$ has weight $m$. This adds $(m-m_{r-1})(\\theta(q_r)-\\theta(u))$ to the correction inside the factor $-t$. At $v=1$ the inserted Gaussian step has zero variance, so the endpoint is $\\Psi(t,u)$ for every admissible $m$. Lean uses $w$ for the second time and proves the bound for attainable $u$ and $m_{r-1}/2\\le m\\le m_r$. Its exact quadratic covariance gives $\\theta(q)=\\beta^2q^2/2$ and zero covariance error.","annotation_references":[{"start":18,"end":33,"key":"equation:3.21"},{"start":179,"end":194,"key":"equation:3.25"},{"start":448,"end":463,"key":"equation:5.5"},{"start":464,"end":469,"key":"equation:5.7"}]},{"end_line":99,"exact_lines":false,"fidelity":"weaker","fidelity_note":"This theorem specializes the second-interpolation inequality to the exact SK path for qᵣ ≤ u ≤ qᵣ₊₁. Lean uses mᵣ₋₁ ≤ m ≤ 2mᵣ, with m/2 at the inserted level, and assumes the overlap is attainable.","fidelity_source":"ai","line":75,"lines":[75,83],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.deriv_section5RightInterpolation_le","note":"","plain":"Derivative bound above the breakpoint","proof_lines":[84,99],"relation":"part","annotation":"The dual split at the end of Section 4 varies the weight of the interval from $q_r$ to $u$ inside $[q_r,q_{r+1}]$. The new trial overlap $\\rho_{r+1}=u$ is the cutoff. The interval from $q_r$ to $u$ starts below it, so Equation (3.25) counts its paired mass $m/2$ twice. The interval from $u$ to $q_{r+1}$ keeps weight $m_r$. The correction inside the factor $-t$ therefore changes by $(m-m_r)(\\theta(u)-\\theta(q_r))$.\n\nThe derivative bound in exact SK allows $m_{r-1}\\le m\\le 2m_r$, which keeps $m/2$ between its neighbouring paired masses. The paper’s scalar variation uses $m_{r-1}\\le m\\le m_r$. At $v=1$ the new field has zero variance. Changing $m$ leaves the constrained pressure $\\Psi(t,u)$ fixed while changing the bound obtained from Equation (3.26).","annotation_references":[{"start":29,"end":38,"key":"section:4"},{"start":218,"end":233,"key":"equation:3.25"},{"start":742,"end":757,"key":"equation:3.26"}]}],"tone":7,"topic":"second-interpolation"},{"anchor":"sec-3","at":"b45443-45518","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 238"}],"grounded":true,"text":"At the zero endpoint of the second interpolation, sites decouple. The resulting scalar two-replica recursion can be compared with twice the one-replica value."},"from_record":false,"lean":true,"lines":[53,57],"module":"Targets.TalagrandSecondInterpolation","name":"SpinGlass.Targets.section5Interpolation_zero","origin":"ai","part":0,"phrase":"second-interpolation-zero","plain":"The disorder-free endpoint","record":null,"relation":"part","role":"explanation","rows":[{"end_line":61,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":53,"lines":[53,57],"module":"Targets.TalagrandSecondInterpolation","name":"SpinGlass.Targets.section5Interpolation_zero","note":"","plain":"The disorder-free endpoint","proof_lines":[58,61],"relation":"part","annotation":"At $v=0$ in Equation (3.21), the common Hamiltonian vanishes. The sum of fields $Z_p^j+y_p^j$ acts site by site, and the restriction $\\sum_i\\sigma_i^1\\sigma_i^2=Nu$ still couples the site choices in the partition sum. Lean identifies this constrained endpoint on the left path with a field-only recursion. Its new independent level has variance $t\\beta^2(q_r-u)$ and the preceding shared level receives the rest of the original variance $\\beta^2(q_r-q_{r-1})$.\n\nTo get Equation (5.17), insert the factor $e^{\\lambda(\\sum_i\\sigma_i^1\\sigma_i^2-Nu)}$, equal to one on the constrained sum, and extend the sum to all spin pairs. The enlarged spin sum factors over sites. Independence across sites then carries the sum of one-site log partition functions through the Gaussian recursion. The paper obtains $\\eta(0)\\le 2\\log 2+V(\\lambda,m,v(u))-\\lambda u$, where $v(u)=t(\\xi'(q_r)-\\xi'(u))$ is the split variance in Section 5.","annotation_references":[{"start":12,"end":27,"key":"equation:3.21"},{"start":469,"end":484,"key":"equation:5.17"},{"start":909,"end":918,"key":"section:5"}]}],"tone":7,"topic":"second-interpolation"},{"anchor":"sec-3","at":"b45922-45962","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 238"},{"ref":"SpinGlass.Targets.deriv_section5Interpolation_le","supports":"SpinGlass.Targets.deriv_section5Interpolation_le","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5InterpolationBound.lean#L30-L36","where":"Targets/Section5InterpolationBound.lean, lines 30–36"}],"grounded":true,"text":"The two replicas in each summand have overlap $R_{1,2}=u$. Holding that overlap fixed makes the cross terms from the two copies easier to bound."},"from_record":false,"lean":true,"lines":[30,36],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.deriv_section5Interpolation_le","origin":"ai","part":0,"phrase":"restricting-replicas","plain":"Derivative bound below the breakpoint","record":null,"relation":"part","role":"explanation","rows":[{"end_line":43,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":21,"lines":[30,36],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.deriv_section5Interpolation_le","note":"","plain":"Derivative bound below the breakpoint","proof_lines":[30,43],"relation":"part","annotation":"For a pair in $S_u$, the four overlaps of the pair with itself are $1,u,u,1$. They match the terminal trial overlaps because $u=\\eta\\rho_\\tau$ in Equation (3.22). In the self term from Equation (3.33) this match makes the convexity remainder vanish. The remaining self contribution after subtracting the trial field term is $-t(\\theta(1)+\\theta(\\rho_\\tau))$, up to the covariance error.\n\nFor two pairs sampled from $\\gamma_\\ell^{\\otimes2}$ in Equation (3.34), the four mutual overlaps can vary. The trial values are $\\rho_\\ell$ for the same copy index and $\\eta\\rho_{\\min(\\ell,\\tau)}$ for different indices. Lean’s `pairCovarianceDefect` sums the four exact SK remainders $\\beta^2(x-q)^2/2$ for actual overlap $x$ and trial overlap $q$. Their average at level $\\ell$ is multiplied by $-t(n_\\ell-n_{\\ell-1})/2$, so dropping these terms gives an upper bound.","annotation_references":[{"start":146,"end":161,"key":"equation:3.22"},{"start":185,"end":200,"key":"equation:3.33"},{"start":443,"end":458,"key":"equation:3.34"}]}],"tone":7,"topic":"second-interpolation"},{"anchor":"sec-4","at":"b55183-55253","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 241"}],"grounded":true,"text":"The operator in (4.1) adds a Gaussian of variance $v$. At positive mass $m$ it applies $m^{-1}\\log\\mathbb E\\exp(m\\,\\cdot)$, and at zero mass it takes an ordinary expectation."},"from_record":false,"lean":true,"lines":[147,151],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiStep","origin":"ai","part":0,"phrase":"basic-operator","plain":"Gaussian averaging at one level","record":null,"relation":"defines","role":"definition","rows":[{"end_line":151,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":147,"lines":[147,151],"module":"Targets.Milestones","name":"SpinGlass.Targets.parisiStep","note":"","plain":"Gaussian averaging at one level","relation":"defines","annotation":"In Equation (4.25), obtain $A_\\ell(x)$ by applying `parisiStep` to $A_{\\ell+1}$ with mass $m_\\ell$ and variance $v=\\xi'(q_{\\ell+1})-\\xi'(q_\\ell)$. The input field $x$ is shifted by $\\sqrt v\\,g$ for a standard Gaussian $g$. At mass zero, take the ordinary Gaussian average. At variance zero, the step returns $A_{\\ell+1}(x)$.\n\nTwo consecutive steps with the same positive mass combine because the exponential in the outer average cancels the logarithm in the inner step. Independent Gaussian increments then add their variances. At mass zero this follows by iterating ordinary expectations. In the argument preceding Equation (4.30), an equal-mass split leaves the Gaussian recursion unchanged, and the two deterministic $\\theta$ increments add to the original one. Lean’s `parisiF` counts the steps in reverse order and uses $\\xi'(q)=\\beta^2q$.","annotation_references":[{"start":3,"end":18,"key":"equation:4.25"},{"start":616,"end":631,"key":"equation:4.30"}]}],"tone":11,"topic":"gaussian-smoothing"},{"anchor":"sec-4","at":"b55755-55834","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 242"},{"ref":"SpinGlass.Targets.hasDerivAt_parisiStep_variance","supports":"SpinGlass.Targets.hasDerivAt_parisiStep_variance","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/ParisiVarianceDerivative.lean#L172-L177","where":"Targets/ParisiVarianceDerivative.lean, lines 172–177"}],"grounded":true,"text":"Differentiating in the Gaussian variance gives the heat term and the mass times the square of the spatial derivative."},"from_record":false,"lean":true,"lines":[172,177],"module":"Targets.ParisiVarianceDerivative","name":"SpinGlass.Targets.hasDerivAt_parisiStep_variance","origin":"ai","part":0,"phrase":"variance-derivative","plain":"Gaussian variance derivative","record":null,"relation":"states","role":"statement","rows":[{"end_line":225,"exact_lines":true,"fidelity":"different","fidelity_note":"Lean proves (4.4) at positive variance with measurable input and derivatives, linear growth and $0\\le A''\\le 1-(A')^2$. It allows all real masses, including zero. Talagrand carries out the calculation for masses in $(0,1]$ on the regular inputs used in his recursion.","fidelity_source":"ai","line":172,"lines":[172,177],"module":"Targets.ParisiVarianceDerivative","name":"SpinGlass.Targets.hasDerivAt_parisiStep_variance","note":"","plain":"Gaussian variance derivative","proof_lines":[178,225],"relation":"states","annotation":"For $m\\ne0$, $e^{mB}$ is the Gaussian smoothing of $e^{mA}$. Apply the heat identity $\\partial_v e^{mB}=\\tfrac12\\partial_x^2 e^{mB}$ at $v>0$. The second spatial derivative of the exponential contributes $mB_x^2/2$ after division by $me^{mB}$. The result is $\\partial_v B=(B_{xx}+mB_x^2)/2$, as in Equation (4.4). In Talagrand’s calculation the same term comes from the derivative of the normalising factor in Equation (4.7).\n\nLean’s `stepD1` and `stepD2` give the spatial derivatives of the smoothed function. In `hasDerivAt_parisiStep_variance` it is the variance that changes. The theorem assumes measurable input and derivatives, linear growth and the Parisi curvature bound $0\\le A''\\le1-(A')^2$. It covers all real masses, with the heat identity applied directly to the Gaussian average of $A$ at $m=0$.","annotation_references":[{"start":298,"end":312,"key":"equation:4.4"},{"start":410,"end":424,"key":"equation:4.7"}]}],"tone":11,"topic":"gaussian-smoothing"},{"anchor":"sec-4","at":"b57324-57348","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 242"}],"grounded":true,"text":"Keep the total variance fixed and vary how it is split between two levels. The sign is controlled by the order of their masses."},"from_record":false,"lean":true,"lines":[64,67],"module":"Targets.Section4SplitMonotone","name":"SpinGlass.Targets.monotoneOn_split_parisiStep","origin":"ai","part":0,"phrase":"split-variance-derivative","plain":"Monotonicity under variance transfer","record":null,"relation":"part","role":"explanation","rows":[{"end_line":76,"exact_lines":false,"fidelity":"unassessed","fidelity_source":"ai","line":64,"lines":[64,67],"module":"Targets.Section4SplitMonotone","name":"SpinGlass.Targets.monotoneOn_split_parisiStep","note":"","plain":"Monotonicity under variance transfer","proof_lines":[68,76],"relation":"part","annotation":"In Equation (4.9), increasing $v$ gives variance to the inner step of mass $m$ and takes it from the outer step of mass $m'$. The total variance $a$ stays fixed. The two contributions to the derivative are the averages under the density $R$ of $(B_{xx}+mB_x^2)/2$ and $-(B_{xx}+m'B_x^2)/2$, evaluated at $Z$. The $B_{xx}$ terms cancel. The coefficient $(m-m')/2$ of the squared slope in Equation (4.11) makes the derivative nonnegative when $m\\ge m'$. Lean combines that interior calculation with continuity to obtain monotonicity on $[0,a]$.\n\nAt equal masses, $C$ is independent of $v$ and Equation (4.15) gives the variance derivative of the mass response $\\Delta$ as half the same squared-slope average. The outer densities above the split are then fixed, giving $U'$ in Equation (4.44). In Lean that identity follows by integrating the split derivative and taking a mass difference quotient. The derivative of the squared-slope average in Equation (4.16) then gives $U''$ in Equation (4.45).","annotation_references":[{"start":3,"end":17,"key":"equation:4.9"},{"start":387,"end":402,"key":"equation:4.11"},{"start":591,"end":606,"key":"equation:4.15"},{"start":774,"end":789,"key":"equation:4.44"},{"start":943,"end":958,"key":"equation:4.16"},{"start":979,"end":994,"key":"equation:4.45"}]}],"tone":11,"topic":"gaussian-smoothing"},{"anchor":"sec-4","at":"b69499-69532","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 249"},{"ref":"SpinGlass.Targets.section4FirstVariation_lower_bound","supports":"SpinGlass.Targets.section4FirstVariation_lower_bound","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section4QuantitativeOptimality.lean#L54-L60","where":"Targets/Section4QuantitativeOptimality.lean, lines 54–60"}],"grounded":true,"text":"Insert a level and vary its mass starting at the preceding mass. Near optimality prevents the first variation from being strongly negative."},"from_record":false,"lean":true,"lines":[54,60],"module":"Targets.Section4QuantitativeOptimality","name":"SpinGlass.Targets.section4FirstVariation_lower_bound","origin":"ai","part":0,"phrase":"proposition-4-6","plain":"Lower bound on mass variation","record":null,"relation":"states","role":"statement","rows":[{"end_line":98,"exact_lines":true,"fidelity":"weaker","fidelity_note":"Proposition 4.6 bounds the first variation below by −L√ε. Lean gives this bound for the quadratic SK kernel throughout the interval between the preceding and target breakpoints. The adjacent masses are strictly ordered, and the coefficient depends only on β.","fidelity_source":"ai","line":54,"lines":[54,60],"module":"Targets.Section4QuantitativeOptimality","name":"SpinGlass.Targets.section4FirstVariation_lower_bound","note":"","plain":"Lower bound on mass variation","proof_lines":[61,98],"relation":"states","annotation":"Fix the split at $u$ and raise the mass on $[u,q_r)$ by $\\delta$ from $m_{r-1}$. In Equation (4.46), $f(u)$ is the derivative of the Gaussian recursion, $U(\\xi'(q_r)-\\xi'(u))/2$, less the derivative of its deterministic cost. By Equation (4.44) and $\\theta'(s)=s\\xi''(s)$, the sign of $f(u)$ comes from integrating the difference $U'(\\xi'(q_r)-\\xi'(s))-s$ against $\\xi''(s)\\,ds$ from $u$ to $q_r$.\n\nIf $f(u)<0$, the quadratic in Equation (4.53) is minimised at $\\delta=-f(u)/(2L_1)$. To see why this is an allowed increment even for a small mass gap, first raise the mass all the way to $m_r$. The two intervals with mass $m_r$ merge and the resulting scheme has the original number of levels. Fixed-level minimality (Equation (4.31)) forces the quadratic upper bound to be nonnegative at that increment, so the minimising increment is at most half the gap. Near-minimality across all levels then gives $f(u)^2\\le 4L_1\\varepsilon$ at the test increment. Lean proves the resulting lower bound for exact SK with a constant depending only on $\\beta$.","annotation_references":[{"start":84,"end":99,"key":"equation:4.46"},{"start":229,"end":244,"key":"equation:4.44"},{"start":429,"end":444,"key":"equation:4.53"},{"start":718,"end":733,"key":"equation:4.31"}]}],"tone":12,"topic":"minimizer-variation"},{"anchor":"sec-4","at":"b70102-70130","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 249"},{"ref":"SpinGlass.Targets.hasDerivWithinAt_section4U_zero_of_min","supports":"SpinGlass.Targets.hasDerivWithinAt_section4U_zero_of_min","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section4StationarityInterior.lean#L305-L312","where":"Targets/Section4StationarityInterior.lean, lines 305–312"}],"grounded":true,"text":"At a minimizing breakpoint, the first variation in its location gives a stationarity identity. The equality relates a squared derivative of the recursion to the breakpoint itself."},"from_record":false,"lean":true,"lines":[305,312],"module":"Targets.Section4StationarityInterior","name":"SpinGlass.Targets.hasDerivWithinAt_section4U_zero_of_min","origin":"ai","part":0,"phrase":"proposition-4-7","plain":"Slope at a minimizing breakpoint","record":null,"relation":"states","role":"statement","rows":[{"end_line":317,"exact_lines":true,"fidelity":"different","fidelity_note":"Proposition 4.7 states $U'(0)=q_r$. The linked Lean theorem gives a derivative within the available variance interval for the exact SK kernel with $\\beta\\ne0$ and $1\\le r\\le k$ in Lean's indexing. The interval can reduce to $\\{0\\}$ when $q_1=0$. The all-level theorem also covers the final mass index $k+1$.","fidelity_source":"ai","line":305,"lines":[305,312],"module":"Targets.Section4StationarityInterior","name":"SpinGlass.Targets.hasDerivWithinAt_section4U_zero_of_min","note":"","plain":"Slope at a minimizing breakpoint","proof_lines":[313,317],"relation":"states","annotation":"To move $q_r$ left with its neighbouring masses fixed, set the inserted mass to $m_r$ and merge the two intervals of that mass. By Equation (4.55), the derivative of the Gaussian term at zero variance is the mass jump times the tilted average of the squared slope, divided by two. The deterministic term supplies $-q_r$ in the same units, since $d\\theta(u(v))/dv=-u(v)$. Minimality forces the average to be at least $q_r$. Moving the breakpoint right gives the reverse inequality. At $q_r=0$ or $1$, the bound $[0,1]$ on the average supplies the missing inequality. The variance coordinate avoids introducing an extra factor $\\xi''(q_r)$, which can vanish at zero.\n\nLean states $U'(0)=q_r$ as an inward derivative on $[0,\\beta^2(q_r-q_{r-1})]$ for the exact SK kernel with $\\beta\\ne0$. The linked result covers $1\\le r\\le k$ in Lean’s indexing. The companion `hasDerivWithinAt_section4U_zero_of_min_all_levels` includes the final mass at $r=k+1$. When the variance interval is a singleton, the squared-slope equality still holds independently. For a positive-length interval the derivative value is unique.","annotation_references":[{"start":131,"end":146,"key":"equation:4.55"}]}],"tone":12,"topic":"minimizer-variation"},{"anchor":"sec-4","at":"b72573-72602","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 250"},{"ref":"SpinGlass.Targets.section4FirstVariation_curvature_bound_uniform","supports":"SpinGlass.Targets.section4FirstVariation_curvature_bound_uniform","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section4CurvatureUniform.lean#L34-L41","where":"Targets/Section4CurvatureUniform.lean, lines 34–41"}],"grounded":true,"text":"Near the minimizing breakpoint, a Taylor estimate gives a lower bound on the curvature of the inserted-mass variation."},"from_record":false,"lean":true,"lines":[34,41],"module":"Targets.Section4CurvatureUniform","name":"SpinGlass.Targets.section4FirstVariation_curvature_bound_uniform","origin":"ai","part":0,"phrase":"proposition-4-10","plain":"Sixth-root bound on negative curvature","record":null,"relation":"states","role":"statement","rows":[{"end_line":44,"exact_lines":true,"fidelity":"different","fidelity_note":"Lean bounds $-f''(q_r)$ by a coefficient depending only on $\\beta$ times $\\varepsilon^{1/6}$. It assumes $\\beta\\ne0$, a strict mass jump and a positive-width interval on the left, and requires a right gap when $q_r<1$. The theorem covers all mass levels, including the last mass $m_{k+1}=1$ in Lean's indexing. Its left breakpoint $q_{k+1}$ may equal one.","fidelity_source":"ai","line":34,"lines":[34,41],"module":"Targets.Section4CurvatureUniform","name":"SpinGlass.Targets.section4FirstVariation_curvature_bound_uniform","note":"","plain":"Sixth-root bound on negative curvature","proof_lines":[42,44],"relation":"states","annotation":"Write $H(v)=-U''(v)$ for the nonnegative average of the squared spatial second derivative in Equation (4.45). At the minimising breakpoint, Equation (4.57) expresses $-f''(q_r)$ as $\\xi''(q_r)(\\xi''(q_r)H(0)-1)/2$. Since $f(q_r)=f'(q_r)=0$, testing Equation (4.58) at distance $d=q_r-u>0$ bounds $-f''(q_r)$ by a constant times $\\sqrt{\\varepsilon}/d^2+d$. Choosing $d=\\varepsilon^{1/6}$ balances the two terms if the interval is long enough. For a shorter noninitial interval, Equation (4.60) uses $f(q_{r-1})\\ge0$.\n\nOn the first interval $m_0=0$ is fixed. Lean uses stationarity and the squared-slope identity to bound the integral of $H$ over $[0,\\beta^2q_1]$ by $q_1$. The uniform Lipschitz bound on $H$ then bounds $-f''(q_1)$ by a constant times $q_1$. The linked theorem gives the sixth-root bound for the left split in exact SK with $\\beta\\ne0$, a strict mass jump and a positive left gap. It also requires a positive right gap or $q_r=1$.\n\nIn Equation (5.31), the curvature estimate bounds the derivative of $U'(v(u))-u$ at $q_r$ away from zero on the negative side for $t\\le t_0<1$ and small enough $\\varepsilon$. This gives a slope in $\\lambda$ at zero in Equation (5.33) of order at least $q_r-u$. Optimising the quadratic upper bound in $\\lambda$ yields the local deficit of order $(q_r-u)^2$.","annotation_references":[{"start":93,"end":108,"key":"equation:4.45"},{"start":140,"end":155,"key":"equation:4.57"},{"start":249,"end":264,"key":"equation:4.58"},{"start":477,"end":492,"key":"equation:4.60"},{"start":951,"end":966,"key":"equation:5.31"},{"start":1166,"end":1181,"key":"equation:5.33"}]}],"tone":12,"topic":"minimizer-variation"},{"anchor":"sec-5","at":"b73959-73982","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 251"},{"ref":"SpinGlass.Targets.exists_uniform_local_quadratic_reduced_all_levels","supports":"SpinGlass.Targets.exists_uniform_local_quadratic_reduced_all_levels","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5UniformLocalRadius.lean#L19-L36","where":"Targets/Section5UniformLocalRadius.lean, lines 19–36"}],"grounded":true,"text":"For overlaps sufficiently close to the target breakpoint, the second interpolation gives a quadratic pressure deficit with uniform constants."},"from_record":false,"lean":true,"lines":[19,36],"module":"Targets.Section5UniformLocalRadius","name":"SpinGlass.Targets.exists_uniform_local_quadratic_reduced_all_levels","origin":"ai","part":0,"phrase":"local-quadratic-bounds","plain":"One local radius for all levels","record":null,"relation":"part","role":"explanation","rows":[{"end_line":81,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":19,"lines":[19,36],"module":"Targets.Section5UniformLocalRadius","name":"SpinGlass.Targets.exists_uniform_local_quadratic_reduced_all_levels","note":"","plain":"One local radius for all levels","proof_lines":[37,81],"relation":"part","annotation":"Propositions 5.1 and 5.2 give a quadratic deficit when $u$ is in a neighbouring interval and $L_1|u-q_r|\\le 1-t_0$. For the left split, the slope of Equation (5.20) at $\\lambda=0$ and $m=m_{r-1}$ is $U'(v(u))-u$. Stationarity makes it zero at $u=q_r$. The curvature estimate (4.57) and the Taylor bound (5.32) bound the slope below by a positive constant times $(1-t_0)(q_r-u)$ near $q_r$. The uniform second-derivative bound in $\\lambda$ then gives the quadratic gain (5.33). At the first level $m_0=0$, a separate estimate gives the same quadratic bound in exact SK throughout $[0,q_1]$. In the paper, the strict bounds of Propositions 5.3 and 5.4 handle the initial interval and its negative counterpart. Farther along the neighbouring intervals, Propositions 5.5 and 5.6 use the positive separation modulus in Equation (5.4) to vary the split mass when the coupling slope vanishes.\n\nIn exact SK with $\\beta\\ne0$, Lean fixes a scheme minimising at its depth and within $\\varepsilon$ of the Parisi infimum, with $L\\varepsilon^{1/6}\\le 1-t_0$ for its explicit constant $L$. At an interior breakpoint the radius is the minimum of $(1-t_0)/L$ and the two neighbouring spacings. At $q_r=1$ only the left spacing enters. If $q_1=0$, fixed-depth minimality gives $h=0$, so flipping one replica gives the estimate for negative overlaps near zero. The minimum of the radii over all levels gives one positive radius. Within it the deficit is at least $(1-t_0)^2(u-q_r)^2/L$ for every positive size and attainable signed overlap with $0<t<t_0$.","annotation_references":[{"start":0,"end":16,"key":"proposition:5.1"},{"start":21,"end":24,"key":"proposition:5.2"},{"start":149,"end":164,"key":"equation:5.20"},{"start":275,"end":281,"key":"equation:4.57"},{"start":303,"end":309,"key":"equation:5.32"},{"start":469,"end":475,"key":"equation:5.33"},{"start":625,"end":641,"key":"proposition:5.3"},{"start":646,"end":649,"key":"proposition:5.4"},{"start":750,"end":766,"key":"proposition:5.5"},{"start":771,"end":774,"key":"proposition:5.6"},{"start":814,"end":828,"key":"equation:5.4"}]}],"tone":10,"topic":"local-overlap-bound"},{"anchor":"sec-5","at":"b75219-75249","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 251"},{"ref":"SpinGlass.Targets.talagrand_proposition_5_7","supports":"SpinGlass.Targets.talagrand_proposition_5_7","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5Proposition57.lean#L174-L187","where":"Targets/Section5Proposition57.lean, lines 174–187"}],"grounded":true,"text":"Outside the two neighboring breakpoints, the interleaved recursion gives a strict pressure gap below $2\\psi(t)$."},"from_record":false,"lean":true,"lines":[174,187],"module":"Targets.Section5Proposition57","name":"SpinGlass.Targets.talagrand_proposition_5_7","origin":"ai","part":0,"phrase":"proposition-5-7","plain":"Strict gap past adjacent breakpoints","record":"talagrand-parisi.proposition-5.7","relation":"states","role":"statement","rows":[{"end_line":189,"exact_lines":true,"fidelity":"different","fidelity_note":"The paper states Ψ(t,u) < 2ψ(t) outside the two neighboring breakpoints. Lean assumes β ≠ 0 and exact SK covariance and, for each fixed scheme, level, t and u in this region, gives a positive deficit uniform in all positive sizes and disorders realizing u. The strict breakpoints in the paper exclude q₁ = 0, which Lean permits.","fidelity_source":"ai","line":174,"lines":[174,187],"module":"Targets.Section5Proposition57","name":"SpinGlass.Targets.talagrand_proposition_5_7","note":"","plain":"Strict gap past adjacent breakpoints","proof_lines":[186,189],"relation":"states","annotation":"The original fields share increments up to $q_r$ and the trial fields share them up to $|u|$. The interleaving preserves both kinds of increments as distinct steps. At the decoupled endpoint with $\\lambda=0$, independence and Cauchy–Schwarz give $D_0(h,h)\\le 2D_0^*(h)$, with doubled scalar masses on the shared steps. Sorting those scalar masses gives $D_0^*(h)\\le A_0(h)$ because the variances of equal mass add as in Equation (5.49).\n\nTake a shared step $c$ of positive mass and an independent step $b$, both of positive variance. If the paired comparison is an equality, Equation (5.44) requires $c<b$. If the scalar comparison is also an equality, Equation (5.51) then requires $n_c^*\\le n_b^*$. For $|u|$ in the interior of the trial interval $[q_{s-1},q_s]$, the witnesses have $(n_c^*,n_b^*)=(m_{r-1},m_{s-1})$ when $s\\le r-1$, and $(m_{s-1},m_r)$ when $s\\ge r+2$. In both cases the first mass is larger, so at least one comparison is strict. Lean chooses the trial interval at a breakpoint to keep the needed variances positive and uses a padded level for the terminal case. For $u<-q_1$, the paper uses the opposite-sign shared trial increments in the proof of Equation (5.45). At $r=1$, Proposition 5.4 covers $-q_1\\le u<0$. Lean gives a separate deficit of $(u-q_r)^2/2$ at $t=0$.\n\nWith exact SK covariance and $\\beta\\ne0$, Lean chooses the accuracy before the reduced fixed-depth minimiser. For each level and each outside overlap $u<q_{r-1}$ or $u>q_{r+1}$ at fixed $t\\in[0,t_0]$, it then gives a positive deficit that works at every positive size and for every exact SK disorder for which $u$ is attainable.","annotation_references":[{"start":420,"end":435,"key":"equation:5.49"},{"start":575,"end":590,"key":"equation:5.44"},{"start":653,"end":668,"key":"equation:5.51"},{"start":1171,"end":1186,"key":"equation:5.45"},{"start":1198,"end":1213,"key":"proposition:5.4"}]}],"tone":9,"topic":"distant-overlap-gap"},{"anchor":"sec-5","at":"b75673-75706","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 251"},{"ref":"SpinGlass.Targets.talagrand_theorem_2_4_of_uniform_signed_away","supports":"SpinGlass.Targets.talagrand_theorem_2_4_of_uniform_signed_away","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5Theorem24FinalAssembly.lean#L50-L63","where":"Targets/Section5Theorem24FinalAssembly.lean, lines 50–63"}],"grounded":true,"text":"Combine the quadratic estimate near the breakpoint with a uniform deficit away from it. On the bounded overlap interval the latter also yields a quadratic bound."},"from_record":false,"lean":true,"lines":[50,63],"module":"Targets.Section5Theorem24FinalAssembly","name":"SpinGlass.Targets.talagrand_theorem_2_4_of_uniform_signed_away","origin":"ai","part":0,"phrase":"assemble-overlap-bound","plain":"Combining local and away bounds","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":74,"exact_lines":true,"fidelity":"different","fidelity_note":"This Lean assembly assumes a positive pressure deficit away from each breakpoint, uniform over time, system size and attainable signed overlaps for the chosen SK disorder family. The final Lean theorem establishes that input using continuous scalar comparisons. Talagrand invokes compactness at this passage.","fidelity_source":"ai","line":19,"lines":[50,63],"module":"Targets.Section5Theorem24FinalAssembly","name":"SpinGlass.Targets.talagrand_theorem_2_4_of_uniform_signed_away","note":"","plain":"Combining local and away bounds","proof_lines":[51,74],"relation":"proof","annotation":"The linked Lean theorem assumes a positive deficit at every level on the region $|u-q_r|\\ge\\eta$, for each $\\eta>0$. The deficit must hold for both signs of attainable $u$, throughout $[0,t_0]$ and at every positive size for the given exact SK disorder family. The full `talagrand_theorem_2_4` proves this input. On each compact region where a strict scalar comparison is needed, choose a coupling $\\lambda$ and, for a split interval, an admissible mass at each point. Keeping that choice fixed, continuity of the scalar comparison preserves at least half the deficit nearby. A finite subcover yields a common positive bound before the size is chosen. The interleaved comparisons agree at adjacent trial breakpoints for fixed $\\lambda$, and at $t=0$ the proof can use $\\lambda\\ne0$.\n\nWrite $a=(1-t_0)^2/L$ for the local quadratic coefficient. Where the local estimate applies, a distance at least $\\eta$ yields a deficit at least $a\\eta^2$. Outside the common local radius let $c_*$ be the least of the uniform deficits over the finitely many levels. Since $|u-q_r|\\le2$, the deficit there is at least $c_*(u-q_r)^2/4$. Thus $K=\\max\\{1/a,4/c_*\\}$ gives the final bound. The accuracy $\\varepsilon$ is chosen before the scheme and $K$ afterwards. The formal conclusion holds for $0<t<t_0$ and all sufficiently large sizes. In Equation (2.29) the paper includes $2c(N)$ for approximate covariance and absorbs it for large $N$ when using Proposition 2.5 to obtain a gap below $2\\varphi(t)$.","annotation_references":[{"start":1324,"end":1339,"key":"equation:2.29"},{"start":1434,"end":1449,"key":"proposition:2.5"}]}],"tone":8,"topic":"quadratic-overlap-bound"},{"anchor":"sec-5","at":"b77646-77801","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 252"},{"ref":"SpinGlass.Targets.section5Interpolation_endpoint_bound","supports":"SpinGlass.Targets.section5Interpolation_endpoint_bound","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5InterpolationBound.lean#L46-L55","where":"Targets/Section5InterpolationBound.lean, lines 46–55"}],"grounded":true,"text":"When $q_{r-1}\\le u\\le q_r$, integrate the derivative bound in the second interpolation and compare its decoupled endpoint with the scalar recursion."},"from_record":false,"lean":true,"lines":[46,55],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.section5Interpolation_endpoint_bound","origin":"ai","part":0,"phrase":"second-interpolation-endpoint","plain":"Left interval endpoint bound","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":72,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":46,"lines":[46,55],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.section5Interpolation_endpoint_bound","note":"","plain":"Left interval endpoint bound","proof_lines":[56,72],"relation":"proof","annotation":"In Equations (5.5)–(5.7), inserting $u\\in[q_{r-1},q_r]$ changes the trial sharing cutoff from $q_r$ to $u$. The new independent step on $[u,q_r]$ has mass $m\\in[m_{r-1}/2,m_r]$ and zero original Gaussian increment. At $w=1$, the trial fields disappear and the added step acts as the identity, so the endpoint is the original constrained pressure $\\Psi(t,u)$. The shared trial interval $[q_{r-1},u]$ contributes with weight $2n_{r-1}=m_{r-1}$ and the independent interval $[u,q_r]$ with weight $m$. The correction in Equation (5.9) therefore changes by $t(m-m_{r-1})(\\theta(q_r)-\\theta(u))$ relative to the original correction. Lean uses $\\theta(x)=\\beta^2x^2/2$ and applies the derivative bound in $0<w<1$ with continuity at the endpoints. Its exact SK covariance removes the $4c(N)$ remainder in the paper’s general estimate (3.26).\n\nAt $w=0$, the new independent variance is $t(\\xi'(q_r)-\\xi'(u))$. In the scalar upper bound (5.20), setting $\\lambda=0$ and $m=m_{r-1}$ combines the two pieces of the split interval at the original mass and gives $2\\psi(t)$. A strict mass jump and $m_{r-1}>0$ allow variation on either side of that mass to search for a smaller upper bound.","annotation_references":[{"start":3,"end":18,"key":"equation:5.5"},{"start":19,"end":24,"key":"equation:5.7"},{"start":516,"end":530,"key":"equation:5.9"},{"start":826,"end":832,"key":"equation:3.26"},{"start":927,"end":933,"key":"equation:5.20"}]}],"tone":10,"topic":"local-overlap-bound"},{"anchor":"sec-5","at":"b88255-88287","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 257"},{"ref":"SpinGlass.Targets.section5RightInterpolation_endpoint_bound","supports":"SpinGlass.Targets.section5RightInterpolation_endpoint_bound","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5InterpolationBound.lean#L102-L111","where":"Targets/Section5InterpolationBound.lean, lines 102–111"}],"grounded":true,"text":"When $q_r\\le u\\le q_{r+1}$, insert the overlap to the right of the target breakpoint. The mass and covariance increments change with that placement."},"from_record":false,"lean":true,"lines":[102,111],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.section5RightInterpolation_endpoint_bound","origin":"ai","part":0,"phrase":"right-interpolation-endpoint","plain":"Right interval endpoint bound","record":null,"relation":"part","role":"explanation","rows":[{"end_line":128,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":102,"lines":[102,111],"module":"Targets.Section5InterpolationBound","name":"SpinGlass.Targets.section5RightInterpolation_endpoint_bound","note":"","plain":"Right interval endpoint bound","proof_lines":[112,128],"relation":"part","annotation":"The dual construction at the end of Section 4 inserts $u\\in[q_r,q_{r+1}]$ and assigns paired mass $m/2$ to the shared trial step on $[q_r,u]$. The original field stays independent, and the inserted step disappears at $w=1$. At $w=0$ the shared step has variance $t(\\xi'(u)-\\xi'(q_r))$ and the independent step carries the rest of the interval variance. The shared step counts with weight $2(m/2)=m$ in Equation (3.26), so the correction changes by $t(m-m_r)(\\theta(u)-\\theta(q_r))$ from the original one.\n\nThe paper takes $m\\in[m_{r-1},m_r]$. For the endpoint bound the preceding paired mass is $m_{r-1}/2$ and the following one is $m_r$, so Lean allows the whole interval $m\\in[m_{r-1},2m_r]$. As for the left split, continuity carries the interior derivative bound to the endpoints. With exact SK covariance there is no $4c(N)$ remainder in that comparison. The scalar comparison used in Propositions 5.2 and 5.6 starts at $m=m_r$ and $\\lambda=0$. At those values the split scalar variances combine and the correction change is zero, giving the upper bound $2\\psi(t)$.","annotation_references":[{"start":36,"end":45,"key":"section:4"},{"start":402,"end":417,"key":"equation:3.26"},{"start":890,"end":906,"key":"proposition:5.2"},{"start":911,"end":914,"key":"proposition:5.6"}]}],"tone":10,"topic":"local-overlap-bound"},{"anchor":"sec-5","at":"b90651-90679","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 258"},{"ref":"SpinGlass.Targets.section5InterleavedInterpolation_endpoint_bound","supports":"SpinGlass.Targets.section5InterleavedInterpolation_endpoint_bound","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/Section5InterleavedBound.lean#L24-L32","where":"Targets/Section5InterleavedBound.lean, lines 24–32"}],"grounded":true,"text":"In the interleaved construction, $|u|$ is itself a breakpoint of the second interpolation. The estimate compares the new zero endpoint with the original constrained pressure."},"from_record":false,"lean":true,"lines":[24,32],"module":"Targets.Section5InterleavedBound","name":"SpinGlass.Targets.section5InterleavedInterpolation_endpoint_bound","origin":"ai","part":0,"phrase":"interleaved-interpolation-endpoint","plain":"Interleaved endpoint bound","record":null,"relation":"proof","role":"derivation","rows":[{"end_line":48,"exact_lines":true,"fidelity":"unassessed","fidelity_source":"ai","line":24,"lines":[24,32],"module":"Targets.Section5InterleavedBound","name":"SpinGlass.Targets.section5InterleavedInterpolation_endpoint_bound","note":"","plain":"Interleaved endpoint bound","proof_lines":[33,48],"relation":"proof","annotation":"For Proposition 5.7, merge the original field levels in $I$ and the trial field levels in $J$ by their paired masses, keeping their positions distinct when masses tie. Each merged step then has a single correlation pattern. The original list changes from shared to independent at $q_r$, and the trial list changes at $|u|$, using opposite signs for the shared trial fields when $u<0$. In Lean the trial overlap $\\rho_\\ell$ advances only on trial steps and its cutoff is the trial step at the inserted overlap. If $|u|\\in[q_{s-1},q_s]$, the two pieces of that trial interval both have effective weight $m_{s-1}$ in Equation (5.36). The split therefore preserves the original correction.\n\nThe endpoint at $w=1$ is $\\Psi(t,u)$ after deleting the trial levels of zero variance. The endpoint bound subtracts $2t$ times the one-replica Parisi correction from the $w=0$ value in exact SK covariance. It applies to either sign of attainable $u$ and $t\\in[0,1]$. The general comparison in Equation (3.26) also has a remainder of $4c(N)$. At $w=0$ dropping the overlap constraint gives $\\eta(0)\\le 2\\log 2+D_0(h,h)$. After subtracting the correction, the deficit below $2\\psi(t)$ is at least $2A_0(h)-D_0(h,h)$. Proposition 5.7 proves strictness through that scalar difference.","annotation_references":[{"start":4,"end":19,"key":"proposition:5.7"},{"start":614,"end":629,"key":"equation:5.36"},{"start":980,"end":995,"key":"equation:3.26"},{"start":1202,"end":1217,"key":"proposition:5.7"}]}],"tone":9,"topic":"distant-overlap-gap"},{"anchor":"sec-5","at":"b96808-96828","explanation":{"citations":[{"ref":"paper","supports":"The passage marked in the publisher PDF.","title":"The Parisi formula","url":"https://annals.math.princeton.edu/2006/163-1/p04","where":"Annals p. 260"},{"ref":"SpinGlass.Targets.parisiStep_interchange","supports":"SpinGlass.Targets.parisiStep_interchange","title":"Qiang Wu’s Lean proof","url":"https://github.com/qiangwu2/ParisiFormula/blob/9fd12231429de72fa524b471c43f4a237553a711/Targets/ParisiStepInterchange.lean#L175-L179","where":"Targets/ParisiStepInterchange.lean, lines 175–179"}],"grounded":true,"text":"Interchanging two adjacent Gaussian operators increases their composition when the larger mass goes on the inside. For the strictly convex functions obtained from the Parisi recursion, positive variances and distinct masses give a strict inequality."},"from_record":false,"lean":true,"lines":[175,179],"module":"Targets.ParisiStepInterchange","name":"SpinGlass.Targets.parisiStep_interchange","origin":"ai","part":0,"phrase":"operator-interchange","plain":"Ordering two Gaussian steps","record":null,"relation":"states","role":"statement","rows":[{"end_line":188,"exact_lines":true,"fidelity":"different","fidelity_note":"Lean proves the inequality (5.46) for measurable inputs of linear growth and permits a zero smaller mass. For an affine input, each Gaussian step adds a constant proportional to its mass and variance, so both orders agree. The equality assertion in (5.47) needs an additional hypothesis. A separate Lean theorem proves strictness for the Parisi recursion inputs used in Proposition 5.7.","fidelity_source":"ai","line":175,"lines":[175,179],"module":"Targets.ParisiStepInterchange","name":"SpinGlass.Targets.parisiStep_interchange","note":"","plain":"Ordering two Gaussian steps","proof_lines":[180,188],"relation":"states","annotation":"In Equation (5.46) the composition with the larger mass on the inside is at least as large as the composition in the opposite order. For $0<m'<m$, Equation (5.48) applies Minkowski’s integral inequality to the exponential of the translated input with exponent $m/m'$. Equality permits the positive integrands, viewed as functions of the first Gaussian variable, to be proportional. For instance, each step sends $Q(x)=cx+d$ to $Q(x)+mc^2a/2$, so any affine input gives equality in (5.46), including $c\\ne0$, contrary to the general equality claim in Equation (5.47). The linked theorem gives the non-strict inequality for measurable inputs of linear growth and includes $m'=0$.\n\nThe strict version used in Proposition 5.7 applies to every scalar suffix of the cascade starting from $\\log\\cosh$. Each such suffix has positive second derivative. An adjacent interchange is strict when both variances are positive and $0\\le m'<m\\le1$. The scalar recursion applies the innermost operator first, so sorting places masses in increasing order from outermost to innermost. Equal-mass steps then combine by adding their variances, which yields Equation (5.50). Equality forces the positive-variance masses to have been in that order already. A zero-variance step acts as the identity at any mass. With the paired equality condition (5.44), the positive-variance witnesses in Proposition 5.7 make joint equality impossible.","annotation_references":[{"start":3,"end":18,"key":"equation:5.46"},{"start":147,"end":162,"key":"equation:5.48"},{"start":481,"end":487,"key":"equation:5.46"},{"start":550,"end":565,"key":"equation:5.47"},{"start":706,"end":721,"key":"proposition:5.7"},{"start":1135,"end":1150,"key":"equation:5.50"},{"start":1323,"end":1329,"key":"equation:5.44"},{"start":1366,"end":1381,"key":"proposition:5.7"}]}],"tone":11,"topic":"gaussian-smoothing"}],"topics":[{"dark":"oklch(0.546 0.209 21.4)","description":"The masses and breakpoints, the Gaussian recursion, and the finite-level functional and its infimum.","family":"model-and-formula","id":"parisi-functional","light":"oklch(0.346 0.139 21.4)","name":"Finite-level Parisi functional","part":0,"tone":0},{"dark":"oklch(0.670 0.190 31.5)","description":"The off-diagonal Hamiltonian, the overlap and the covariance approximation in (1.3).","family":"model-and-formula","id":"sk-covariance","light":"oklch(0.470 0.180 31.5)","name":"Spin overlap and covariance","part":0,"tone":1},{"dark":"oklch(0.794 0.124 41.6)","description":"Theorem 1.1 and the passage from interpolation at a fixed time to the limit at time one.","family":"model-and-formula","id":"pressure-limit","light":"oklch(0.594 0.171 41.6)","name":"Limit of the free energy","part":0,"tone":2},{"dark":"oklch(0.638 0.136 106.0)","description":"Compactness and reduction of a minimizing scheme, the linear comparison, and integration of the pressure gap.","family":"guerra-interpolation","id":"fixed-level-convergence","light":"oklch(0.438 0.093 106.0)","name":"Convergence below time one","part":0,"tone":3},{"dark":"oklch(0.762 0.174 116.0)","description":"The interpolating pressure, its one-sided derivative bound and the decoupled time-zero calculation.","family":"guerra-interpolation","id":"guerra-identity","light":"oklch(0.562 0.128 116.0)","name":"Guerra’s identity and upper bound","part":0,"tone":4},{"dark":"oklch(0.571 0.138 155.9)","description":"The pressure deficit bounds a single overlap probability, and summation over the overlap grid gives concentration.","family":"two-replica-estimates","id":"overlap-probability","light":"oklch(0.371 0.090 155.9)","name":"Probability of a prescribed overlap","part":0,"tone":5},{"dark":"oklch(0.695 0.144 166.0)","description":"The two-replica law, shared Gaussian fields, half masses and the pressure at a prescribed overlap.","family":"two-replica-estimates","id":"coupled-recursion","light":"oklch(0.495 0.102 166.0)","name":"Shared fields and constrained pressure","part":0,"tone":6},{"dark":"oklch(0.819 0.153 176.1)","description":"The fixed-overlap derivative estimate and the comparison with the endpoint at which the sites decouple.","family":"two-replica-estimates","id":"second-interpolation","light":"oklch(0.619 0.115 176.1)","name":"A second interpolation","part":0,"tone":7},{"dark":"oklch(0.591 0.148 244.9)","description":"Theorem 2.4 assembles the local quadratic estimate and the uniform deficit away from the target breakpoint.","family":"main-estimate","id":"quadratic-overlap-bound","light":"oklch(0.391 0.098 244.9)","name":"Uniform quadratic overlap penalty","part":0,"tone":8},{"dark":"oklch(0.715 0.150 255.0)","description":"The interleaved interpolation and strict scalar comparison for overlaps away from the target breakpoint.","family":"main-estimate","id":"distant-overlap-gap","light":"oklch(0.515 0.169 255.0)","name":"Strict gap beyond neighboring breakpoints","part":0,"tone":9},{"dark":"oklch(0.839 0.079 265.1)","description":"The two constructions obtained by inserting the prescribed overlap on either side of the target breakpoint.","family":"main-estimate","id":"local-overlap-bound","light":"oklch(0.639 0.171 265.1)","name":"Quadratic penalty near a breakpoint","part":0,"tone":10},{"dark":"oklch(0.623 0.200 315.5)","description":"Variance differentiation, splitting the variance between two steps and interchanging steps.","family":"basic-operators","id":"gaussian-smoothing","light":"oklch(0.423 0.200 315.5)","name":"Gaussian averaging","part":0,"tone":11},{"dark":"oklch(0.747 0.181 325.5)","description":"First variation in a mass, the endpoint stationarity identity and the curvature bound at a breakpoint.","family":"basic-operators","id":"minimizer-variation","light":"oklch(0.547 0.181 325.5)","name":"Variations at a minimizing scheme","part":0,"tone":12}]}