ComparatorChallenges/DilutedSpin.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
22 declarations, 1 contain sorry, 0 declared as axioms
- abbrev
OAI.DilutedSpinGlass.Spinline 12Also declared: OAI/Probability/DilutedSpin/Model.lean:10 (same declaration text).
- def
OAI.DilutedSpinGlass.spinline 14Also declared: OAI/Probability/DilutedSpin/Model.lean:12 (same declaration text).
- abbrev
OAI.DilutedSpinGlass.Interactionline 16Also declared: OAI/Probability/DilutedSpin/Model.lean:14 (same declaration text).
- abbrev
OAI.DilutedSpinGlass.InteractionSampleOne interaction together with its factorization witness: theta,a,b,f line 19Source documentation
One interaction together with its factorization witness: theta,a,b,f.
L4DEL explanation
One interaction together with its factorization witness: theta,a,b,f.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:17 (same declaration text).
abbrev InteractionSample (p : ℕ) := …
- structure
OAI.DilutedSpinGlass.Modelline 22Also declared: OAI/Probability/DilutedSpin/Model.lean:20 (same declaration text).
- structure
OAI.DilutedSpinGlass.AdmissibleExactly the standing hypotheses (model:integrability through positivity) line 29Source documentation
Exactly the standing hypotheses (model:integrability through positivity).
normon the finite function space is max_s |theta(s)|.L4DEL explanation
Exactly the standing hypotheses (model:integrability through positivity).
normon the finite function space is max_s |theta(s)|.- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:27 (same declaration text).
structure Admissible {p : ℕ} (M : Model p) : Prop where …Mentions: OAI.DilutedSpinGlass.Model
- def
OAI.DilutedSpinGlass.logWeightMinus the Hamiltonian, with all index choices including repetitions line 54Source documentation
Minus the Hamiltonian, with all index choices including repetitions.
L4DEL explanation
Minus the Hamiltonian, with all index choices including repetitions.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:52 (same declaration text).
noncomputable def logWeight {p N k : ℕ} (theta : Fin k → InteractionSample p) (h : Fin N → ℝ) (indices : Fin k → Fin p → Fin N) (σ : Fin N → Spin) : ℝ := …Mentions: OAI.DilutedSpinGlass.InteractionSample, OAI.DilutedSpinGlass.Spin
- def
OAI.DilutedSpinGlass.logPartitionline 58Also declared: OAI/Probability/DilutedSpin/Model.lean:56 (same declaration text).
- def
OAI.DilutedSpinGlass.pressureF_N, using an explicit uniform average over the independent index labels line 64Source documentation
F_N, using an explicit uniform average over the independent index labels. The value at N=0 is irrelevant to the limit; valid system sizes are N>=1.
L4DEL explanation
F_N, using an explicit uniform average over the independent index labels. The value at N=0 is irrelevant to the limit; valid system sizes are N>=1.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:62 (same declaration text).
noncomputable def pressure {p : ℕ} (M : Model p) (N : ℕ) : ℝ := …Mentions: OAI.DilutedSpinGlass.Model
- def
OAI.DilutedSpinGlass.qline 74Also declared: OAI/Probability/DilutedSpin/Model.lean:72 (same declaration text).
- def
OAI.DilutedSpinGlass.edgeline 77Also declared: OAI/Probability/DilutedSpin/Model.lean:75 (same declaration text).
- def
OAI.DilutedSpinGlass.appendSpinAppend the distinguished cavity spin in the last position line 81Source documentation
Append the distinguished cavity spin in the last position.
L4DEL explanation
Append the distinguished cavity spin in the last position.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:79 (same declaration text).
def appendSpin {p : ℕ} (s : Fin (p - 1) → Spin) (ε : Spin) (l : Fin p) : Spin := …Mentions: OAI.DilutedSpinGlass.Spin
- def
OAI.DilutedSpinGlass.messageline 84Also declared: OAI/Probability/DilutedSpin/Model.lean:82 (same declaration text).
- def
OAI.DilutedSpinGlass.siteLogline 89Also declared: OAI/Probability/DilutedSpin/Model.lean:87 (same declaration text).
- def
OAI.DilutedSpinGlass.HierarchyNested probability laws: H_0=R and H_{j+1}=P(H_j), with weak topologies line 100Source documentation
Nested probability laws: H_0=R and H_{j+1}=P(H_j), with weak topologies.
L4DEL explanation
Nested probability laws: H_0=R and H_{j+1}=P(H_j), with weak topologies.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:98 (same declaration text).
noncomputable def Hierarchy : ℕ → TopCat | 0 => TopCat.of ℝ | r + 1 => TopCat.of (ProbabilityMeasure (Hierarchy r)) /-- Logarithmic form of the conditional power means T_0 using independent message labels. The current eta's are held fixed; only their descendants are integrated. Physical disorder is a fixed argument of g throughout. -/
Mentions: OAI.DilutedSpinGlass.message
- def
OAI.DilutedSpinGlass.logMeanLogarithmic form of the conditional power means T_0 using independent message labels line 107Source documentation
Logarithmic form of the conditional power means T_0 using independent message labels. The current eta's are held fixed; only their descendants are integrated. Physical disorder is a fixed argument of g throughout.
L4DEL explanation
Logarithmic form of the conditional power means T_0 using independent message labels. The current eta's are held fixed; only their descendants are integrated. Physical disorder is a fixed argument of g throughout.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:105 (same declaration text).
noncomputable def logMean {ι : Type} [Fintype ι] : (r : ℕ) → ((ι → ℝ) → ℝ) → (Fin r → ℝ) → (ι → Hierarchy r) → ℝ | 0, g, _, x => g x | r + 1, g, m, eta => Real.log (∫ x : ι → Hierarchy r, Real.exp (m 0 * logMean r g (fun i => m i.succ) x) ∂Measure.pi (fun i => (eta i).toMeasure)) / m 0 /-- Expectation over the root laws eta_0 of each independent message label. This also gives the r=0 convention (iid real messages, no power means). -/Mentions: OAI.DilutedSpinGlass.Hierarchy, OAI.DilutedSpinGlass.message
- def
OAI.DilutedSpinGlass.trialLogExpectation over the root laws eta_0 of each independent message label line 117Source documentation
Expectation over the root laws eta_0 of each independent message label. This also gives the r=0 convention (iid real messages, no power means).
L4DEL explanation
Expectation over the root laws eta_0 of each independent message label. This also gives the r=0 convention (iid real messages, no power means).
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:115 (same declaration text).
noncomputable def trialLog {ι : Type} [Fintype ι] (r : ℕ) (ζ : Hierarchy (r + 1)) (m : Fin r → ℝ) (g : (ι → ℝ) → ℝ) : ℝ := …Mentions: OAI.DilutedSpinGlass.Hierarchy
- def
OAI.DilutedSpinGlass.ExponentsAdmissible exponents 0<m_1<...<m_r<1; vacuous at r=0 line 123Source documentation
Admissible exponents 0<m_1<...<m_r<1; vacuous at r=0.
L4DEL explanation
Admissible exponents 0<m_1<...<m_r<1; vacuous at r=0.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:121 (same declaration text).
def Exponents {r : ℕ} (m : Fin r → ℝ) : Prop := … - def
OAI.DilutedSpinGlass.functionalThe exact finite-depth cavity functional B_r line 127Source documentation
The exact finite-depth cavity functional B_r.
L4DEL explanation
The exact finite-depth cavity functional B_r.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Probability/DilutedSpin/Model.lean:125 (same declaration text).
noncomputable def functional {p : ℕ} (M : Model p) (r : ℕ) (ζ : Hierarchy (r + 1)) (m : Fin r → ℝ) : ℝ := …Mentions: OAI.DilutedSpinGlass.Model, OAI.DilutedSpinGlass.Hierarchy
- def
OAI.DilutedSpinGlass.philine 139Also declared: OAI/Probability/DilutedSpin/Model.lean:137 (same declaration text).
- def
OAI.DilutedSpinGlass.variationalValueline 143Also declared: OAI/Probability/DilutedSpin/Model.lean:141 (same declaration text).
- theorem
OAI.DilutedSpinGlass.mezard_parisiChallenge statement: The Mézard–Parisi formula for diluted spin glasses sorry line 148Source documentation
main:theorem. No boundedness of interactions, fields, or messages is added. Existence of the thermodynamic limit is part of this convergence assertion.
L4DEL explanation
The formalization proves the Mézard–Parisi hierarchical cavity formula for diluted even-arity Ising models in the Panchenko–Talagrand class. Under the class's factorization, independence, integrability, and positivity assumptions, the finite-system pressure converges to the infimum of the trial functional over all finite hierarchy depths and trial laws. The arity is any even integer at least two and the interaction density is positive.
- This is an exact comparator target linked by the pinned repository's formalization note for this result.
- The repository's comparator configuration selects OAI.Probability.DilutedSpin.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Probability/DilutedSpin/Main.lean:12 (same statement text; different proof or body). Qualify references as OAI.DilutedSpinGlass.mezard_parisi@path.
theorem mezard_parisi {p : ℕ} (M : Model p) (hM : Admissible M) : Tendsto (pressure M) atTop (𝓝 (variationalValue M)) := by …Mentions: OAI.DilutedSpinGlass.Model, OAI.DilutedSpinGlass.Admissible, OAI.DilutedSpinGlass.pressure, OAI.DilutedSpinGlass.variationalValue