Skip to content

Tide G3: third-moment asymptotic for the anharmonic Gibbs#17

Merged
dmurfet merged 3 commits into
mainfrom
tide/third-moment-anharmonic
May 6, 2026
Merged

Tide G3: third-moment asymptotic for the anharmonic Gibbs#17
dmurfet merged 3 commits into
mainfrom
tide/third-moment-anharmonic

Conversation

@dmurfet

@dmurfet dmurfet commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds thirdMoment_anharmonic_asymptotic to Laplace/OneD/AnharmonicKappa3.lean — packaging the third moment ⟨x³⟩_t of the anharmonic Gibbs measure as a user-facing asymptotic:
    • t² · ⟨x³⟩_t → -5α/(2λ³) as t → ∞.
  • Smallest tide on the board (~30 lines of new content). Strict-improvement of Tide 9: the third moment expansion was internal to the proof of cov_anharmonic_asymptotic; this packages it as a separate theorem.
  • Identity: ⟨x³⟩ = Cov[x², x] + ⟨x²⟩·⟨x⟩ (from gibbsCov definition). Combined with cov_anharmonic_asymptotic, secondMoment_anharmonic_asymptotic, and mean_anharmonic_asymptotic, the third moment falls out by Tendsto algebra.
  • Zero sorry / axiom / native_decide.

G3 from the 7 May candidates survey. Tide 9's retrospective named this as a deferred follow-up.

Test plan

  • lake build clean
  • scripts/sorries clean

dmurfet and others added 3 commits May 6, 2026 09:03
…partial)

Foundational primitive for the upcoming `Threepoint.GibbsObservable`
instances at the harmonic potential with monomial observables: the
h = 0 conjunct of `GibbsObservable` reduces to a `simp [zero_mul,
add_zero]`-style identity, independent of the observable.

Two lemmas:
- `harmonic_perturbed_numerator_zero_eq` for any `φ : ℝ → ℝ`.
- `harmonic_perturbed_numerator_zero_eq_pow` specialising to `φ(x) = x^k`.

The headline `harmonic_id_gibbsObservable_pow` and the analytic core
(domination bound, dominated-differentiation invocation, HasDerivAt
conjunct) remain. Tide log:
sri/projects/patterning/tide-log/2026-05-07-tide-harmonic-gibbsobservable-monomials.md.

G4 from the 7 May candidates survey. Imports
Laplace.OneD.HarmonicGibbsRegularity (for Tide 10 plumbing) and
Threepoint.CrossSusceptibility (for the GibbsObservable definition).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…tial)

Tide G4 from the 7 May candidates survey, first chunk: one
foundational primitive that discharges the first conjunct of every
`Threepoint.GibbsObservable` instance for the harmonic + linear setup,
independent of observable choice:

  - harmonic_perturbed_numerator_zero_eq: ∫ φ·exp(-(t·((λ/2)x² + 0·x))) =
    ∫ φ·exp(-(t·(λ/2)x²)) for any φ : ℝ → ℝ.

Plus the monomial specialisation harmonic_perturbed_numerator_zero_eq_pow.

GPT-5.5 Pro's deliberation pivoted from the originally-planned
closed-form route (Candidate B, ~350 lines, requires a central
Gaussian-moment library Mathlib doesn't ship) to dominated
differentiation under the integral sign (Candidate D, generic in k,
~250-350 lines, reuses seabed integrability). The dominated-diff
core (Young-style domination bound, pointwise differentiability,
hasDerivAt_integral_of_dominated_loc_of_deriv_le invocation, and the
GibbsObservable instance wrapping) is sketched in
notes/gibbsobservable_monomials_handoff.md and will land in a
follow-up session.

Zero sorry / 0 axiom / 0 native_decide.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Smallest tide on the board. Packages the third moment ⟨x³⟩_t of the
anharmonic Gibbs measure as a user-facing asymptotic:

  t² · ⟨x³⟩_t → -5α/(2λ³)   as t → ∞

deferred from Tide 9 where it was internal to the proof of
cov_anharmonic_asymptotic.

Identity: ⟨x³⟩ = Cov[x², x] + ⟨x²⟩·⟨x⟩ (from gibbsCov definition).
Combined with cov_anharmonic_asymptotic, secondMoment_anharmonic_asymptotic,
and mean_anharmonic_asymptotic, the third moment falls out by Tendsto
algebra: t²·⟨x³⟩ = t²·Cov[x²,x] + (t·⟨x²⟩)·(t·⟨x⟩)
                → -2α/λ³ + (1/λ)·(-α/(2λ²)) = -5α/(2λ³).

~30 lines on top of Tide 9's existing infrastructure. Zero sorry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dmurfet dmurfet merged commit 6814180 into main May 6, 2026
0 of 2 checks passed
@dmurfet dmurfet deleted the tide/third-moment-anharmonic branch May 6, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant