Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (27)-(28) (as proved): uniform window centres and the tent kernel

Proved
Arxiv2105_07250.uniform_window_moments_and_tent

by Xeroth · Nov 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

correlated-noisedoppler-effectgreen-function-retrievalrandom-windowingseismic-interferometry

Let T>0T>0T>0, t0∈Rt_0\in\mathbb{R}t0​∈R and v∈R2∖{0}v\in\mathbb{R}^2\setminus\{0\}v∈R2∖{0}, and let the window centre tnt_ntn​ be uniform on D=[t0−T,t0+T]D=[t_0-T,t_0+T]D=[t0​−T,t0​+T], with density fT=12Tf_T=\frac1{2T}fT​=2T1​ on DDD (eq. 27). Then ∫fT=1\int f_T=1∫fT​=1, ⟨tn⟩T=t0\langle t_n\rangle_T=t_0⟨tn​⟩T​=t0​, Var(tn)=⟨(tn−t0)2⟩T=T2/3\mathrm{Var}(t_n)=\langle(t_n-t_0)^2\rangle_T=T^2/3Var(tn​)=⟨(tn​−t0​)2⟩T​=T2/3, and ⟨xn⟩T=vt0=x0\langle x_n\rangle_T=vt_0=x_0⟨xn​⟩T​=vt0​=x0​ for xn=tnvx_n=t_nvxn​=tn​v.

With L=T∣v∣L=T|v|L=T∣v∣, the convolution of two boxcars of height one and width LLL, evaluated at the source-location discrepancy d=∣x′−x′′∣d=|x'-x''|d=∣x′−x′′∣, is the right-hand side of (28):

∫R1[−L/2,L/2](y) 1[−L/2,L/2](d−y) dy=(d+L)Θ(d+L)+(d−L)Θ(d−L)−2d Θ(d).\int_{\mathbb{R}}\mathbf 1_{[-L/2,L/2]}(y)\,\mathbf 1_{[-L/2,L/2]}(d-y)\,dy=(d+L)\Theta(d+L)+(d-L)\Theta(d-L)-2d\,\Theta(d).∫R​1[−L/2,L/2]​(y)1[−L/2,L/2]​(d−y)dy=(d+L)Θ(d+L)+(d−L)Θ(d−L)−2dΘ(d).

This is the tent max⁡(L−∣x′−x′′∣,0)\max(L-|x'-x''|,0)max(L−∣x′−x′′∣,0), with height T∣v∣T|v|T∣v∣ and width 2T∣v∣2T|v|2T∣v∣ (Figure 8).

Formalization Note The paper equates (28) with the random-windowing kernel (24) for uniform fTf_TfT​. That identity is false: (24) is a probability, equal to 111 at x′=x′′=x0x'=x''=x_0x′=x′′=x0​, while (28) equals T∣v∣T|v|T∣v∣ there. The paper's only justification of (28) is that it "corresponds to the convolution of two boxcar functions of constant height one and width T∣v∣T|v|T∣v∣". The statement gives that computation and the shape of the tent, whose support is ∣x′−x′′∣≤T∣v∣|x'-x''|\le T|v|∣x′−x′′∣≤T∣v∣, not the 2T∣v∣2T|v|2T∣v∣ stated in the text (see REPORT.md).

Preamble
import Mathlib
import Definitions.Def_Arxiv2105_07250_Basic

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace Arxiv2105_07250

theorem uniform_window_moments_and_tent (t0 T : ℝ) (hT : 0 < T) (v : Plane) (hv : v ≠ 0) :
    (∫ τ, uniformWindowDensity t0 T τ) = 1 ∧
    windowAvg (uniformWindowDensity t0 T) (fun τ => τ) = t0 ∧
    windowAvg (uniformWindowDensity t0 T) (fun τ => (τ - t0) ^ 2) = T ^ 2 / 3 ∧
    windowAvg (uniformWindowDensity t0 T) (fun τ => τ • v) = t0 • v ∧
    (∀ x' x'' : ℝ, ∫ y, boxcar (T * ‖v‖) y * boxcar (T * ‖v‖) (|x' - x''| - y) =
      tentKernel (T * ‖v‖) |x' - x''|) ∧
    (∀ x' x'' : ℝ, tentKernel (T * ‖v‖) |x' - x''| = max (T * ‖v‖ - |x' - x''|) 0) := by sorry

end Arxiv2105_07250
Source
D. Ayala-Garcia, A. Curtis and M. Branicki, Seismic Interferometry from Correlated Noise Sources, arXiv:2105.07250v2 (2021), claim c014; Section 4.2, eqs. (27)-(28) and the following paragraphs, PDF pp. 21-22; Figure 8 caption, PDF p. 22
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let t0t_0t0​ and TTT be real numbers with T>0T > 0T>0, and let v∈R2v \in \mathbb{R}^2v∈R2 be a nonzero vector in the Euclidean plane, with Euclidean norm ∥v∥\|v\|∥v∥. Write

L=T ∥v∥.L = T\,\|v\|.L=T∥v∥.

Since T>0T > 0T>0 and v≠0v \neq 0v=0, L>0L > 0L>0. The hypothesis v≠0v \neq 0v=0 enters the statement only through LLL and through the fourth claim below.

Definitions used. The uniform window density is the function ft0,T:R→Rf_{t_0,T} : \mathbb{R} \to \mathbb{R}ft0​,T​:R→R given by

ft0,T(τ)={12T,t0−T≤τ≤t0+T,0,otherwise.f_{t_0,T}(\tau) = \begin{cases} \dfrac{1}{2T}, & t_0 - T \le \tau \le t_0 + T,\\[4pt] 0, & \text{otherwise}. \end{cases}ft0​,T​(τ)=⎩⎨⎧​2T1​,0,​t0​−T≤τ≤t0​+T,otherwise.​

For a function γ\gammaγ from R\mathbb{R}R into a real normed vector space, the window average is the Lebesgue (Bochner) integral over all of R\mathbb{R}R:

⟨γ⟩f=∫Rf(τ) γ(τ) dτ.\langle \gamma \rangle_{f} = \int_{\mathbb{R}} f(\tau)\,\gamma(\tau)\,d\tau .⟨γ⟩f​=∫R​f(τ)γ(τ)dτ.

All integrals here follow the convention that a non-integrable integrand has integral 000.

The boxcar of width www is Bw(y)=1B_w(y) = 1Bw​(y)=1 if −w/2≤y≤w/2-w/2 \le y \le w/2−w/2≤y≤w/2 and Bw(y)=0B_w(y) = 0Bw​(y)=0 otherwise.

The Heaviside function is Θ(s)=1\Theta(s) = 1Θ(s)=1 for s≥0s \ge 0s≥0 and Θ(s)=0\Theta(s) = 0Θ(s)=0 for s<0s < 0s<0, so in particular Θ(0)=1\Theta(0) = 1Θ(0)=1.

The tent kernel is

K(L,d)=(d+L) Θ(d+L)+(d−L) Θ(d−L)−2d Θ(d).K(L, d) = (d + L)\,\Theta(d + L) + (d - L)\,\Theta(d - L) - 2d\,\Theta(d).K(L,d)=(d+L)Θ(d+L)+(d−L)Θ(d−L)−2dΘ(d).

The assertion. Under these hypotheses, all six of the following hold simultaneously:

  1. Total mass. ft0,Tf_{t_0,T}ft0​,T​ has total mass one:
∫Rft0,T(τ) dτ=1.\int_{\mathbb{R}} f_{t_0,T}(\tau)\,d\tau = 1.∫R​ft0​,T​(τ)dτ=1.
  1. Mean. The mean is t0t_0t0​:
∫Rft0,T(τ) τ dτ=t0.\int_{\mathbb{R}} f_{t_0,T}(\tau)\,\tau\,d\tau = t_0.∫R​ft0​,T​(τ)τdτ=t0​.
  1. Second central moment. The second central moment is T2/3T^2/3T2/3:
∫Rft0,T(τ) (τ−t0)2 dτ=T23.\int_{\mathbb{R}} f_{t_0,T}(\tau)\,(\tau - t_0)^2\,d\tau = \frac{T^2}{3}.∫R​ft0​,T​(τ)(τ−t0​)2dτ=3T2​.
  1. Vector-valued average. The average of the vector-valued map τ↦τv\tau \mapsto \tau vτ↦τv is t0vt_0 vt0​v:
∫Rft0,T(τ) τ v dτ=t0 v∈R2.\int_{\mathbb{R}} f_{t_0,T}(\tau)\,\tau\, v\,d\tau = t_0\, v \in \mathbb{R}^2.∫R​ft0​,T​(τ)τvdτ=t0​v∈R2.
  1. Boxcar convolution. For all real x′,x′′x', x''x′,x′′, with d=∣x′−x′′∣≥0d = |x' - x''| \ge 0d=∣x′−x′′∣≥0:
∫RBL(y) BL(d−y) dy=K(L,d).\int_{\mathbb{R}} B_L(y)\, B_L(d - y)\,dy = K(L, d).∫R​BL​(y)BL​(d−y)dy=K(L,d).

The left side is the self-convolution of the width-LLL boxcar, evaluated at the non-negative point ddd.

  1. Closed form of the tent kernel. For all real x′,x′′x', x''x′,x′′, with d=∣x′−x′′∣d = |x' - x''|d=∣x′−x′′∣:
K(L,d)=max⁡(L−d, 0).K(L, d) = \max(L - d,\ 0).K(L,d)=max(L−d, 0).

Claims 5 and 6 are only asserted at arguments of the form d=∣x′−x′′∣d = |x' - x''|d=∣x′−x′′∣, that is, at non-negative ddd. Nothing is claimed about K(L,d)K(L, d)K(L,d) or the boxcar convolution for d<0d < 0d<0.

The statement does not mention the random-windowing kernel ⟨χχ⟩T\langle \chi\chi \rangle_T⟨χχ⟩T​ or any windowed recording. It also does not relate claims 5–6 to the density ft0,Tf_{t_0,T}ft0​,T​, except through the shared parameter TTT.

Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me