Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 3.4(a) and Remark: the ambiguity function of the box function

Proved
FaulhuberTFA.ambiguity_box

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

harmonic-analysisradarsignal-processingtime-frequency-analysis

Let b0=χ[−1/2,1/2]b_0=\chi_{[-1/2,1/2]}b0​=χ[−1/2,1/2]​ be the box function on R\mathbb{R}R. For x,ω∈Rx,\omega\in\mathbb{R}x,ω∈R,

Ab0(x,ω)={sin⁡(πω(1−∣x∣))πω,∣x∣≤1, ω≠0,1−∣x∣,∣x∣≤1, ω=0,0,∣x∣>1.Ab_0(x,\omega)=\begin{cases}\dfrac{\sin(\pi\omega(1-|x|))}{\pi\omega}, & |x|\le1,\ \omega\neq0,\\[4pt] 1-|x|, & |x|\le1,\ \omega=0,\\[2pt] 0, & |x|>1.\end{cases}Ab0​(x,ω)=⎩⎨⎧​πωsin(πω(1−∣x∣))​,1−∣x∣,0,​∣x∣≤1, ω=0,∣x∣≤1, ω=0,∣x∣>1.​

The value at ω=0\omega=0ω=0 is the limit computed in the Remark after Example 3.4; the formula of Example 3.4(a) is undefined there.

Formalization Note R\mathbb{R}R is represented as R1\mathbb{R}^1R1, a point being identified with its single coordinate.

Preamble
import Mathlib
import Definitions.Def_FaulhuberTFA_Basic

open MeasureTheory Complex
open scoped InnerProductSpace
Formal statement
namespace FaulhuberTFA

theorem ambiguity_box (x ω : Rd 1) :
    ambiguity box0 x ω =
      if |x 0| ≤ 1 then
        (if ω 0 = 0 then ((1 - |x 0| : ℝ) : ℂ)
         else ((Real.sin (Real.pi * ω 0 * (1 - |x 0|)) / (Real.pi * ω 0) : ℝ) : ℂ))
      else 0 := by sorry

end FaulhuberTFA
Source
Faulhuber, Time-Frequency Analysis (Lecture Notes), arXiv:2204.01596 (2022), Section 3.3, Example 3.4(a), p. 27, and the Remark on p. 28 for the value at ω=0\omega = 0ω=0
Read-back

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

For every pair of points x,ω∈R1x, \omega \in \mathbb{R}^1x,ω∈R1, the ambiguity function of the box function b0b_0b0​ at (x,ω)(x, \omega)(x,ω) equals an explicit piecewise expression. Here R1\mathbb{R}^1R1 is the one-dimensional Euclidean space, whose points have a single coordinate. Write x0x_0x0​ and ω0\omega_0ω0​ for the coordinates of xxx and ω\omegaω.

The box function. b0:R1→Cb_0 : \mathbb{R}^1 \to \mathbb{C}b0​:R1→C is defined by

b0(t)={1if ∣t0∣≤12,0otherwise.b_0(t) = \begin{cases} 1 & \text{if } |t_0| \le \tfrac12, \\ 0 & \text{otherwise.} \end{cases}b0​(t)={10​if ∣t0​∣≤21​,otherwise.​

It is the indicator of the closed interval [−12,12][-\tfrac12, \tfrac12][−21​,21​], endpoints included.

The ambiguity function. For f:R1→Cf : \mathbb{R}^1 \to \mathbb{C}f:R1→C, the ambiguity function is

Af(x,ω)=∫R1f ⁣(t+12x) f ⁣(t−12x)‾ e−2πi ω0t0 dt.A f(x, \omega) = \int_{\mathbb{R}^1} f\!\left(t + \tfrac12 x\right)\, \overline{f\!\left(t - \tfrac12 x\right)}\, e^{-2\pi i\, \omega_0 t_0}\, dt.Af(x,ω)=∫R1​f(t+21​x)f(t−21​x)​e−2πiω0​t0​dt.
  • The integral is taken with respect to Lebesgue measure on R1\mathbb{R}^1R1.
  • The phase is e2πis:=exp⁡(2πis)e^{2\pi i s} := \exp(2\pi i s)e2πis:=exp(2πis), evaluated at s=−⟨ω,t⟩=−ω0t0s = -\langle \omega, t \rangle = -\omega_0 t_0s=−⟨ω,t⟩=−ω0​t0​.
  • The integral follows the convention that a non-integrable integrand has integral 000.
  • For f=b0f = b_0f=b0​, the integrand is bounded and vanishes outside a bounded set.

The asserted value.

Ab0(x,ω)={1−∣x0∣if ∣x0∣≤1 and ω0=0,sin⁡ ⁣(π ω0 (1−∣x0∣))π ω0if ∣x0∣≤1 and ω0≠0,0if ∣x0∣>1.A b_0(x, \omega) = \begin{cases} 1 - |x_0| & \text{if } |x_0| \le 1 \text{ and } \omega_0 = 0, \\[4pt] \dfrac{\sin\!\big(\pi\, \omega_0\, (1 - |x_0|)\big)}{\pi\, \omega_0} & \text{if } |x_0| \le 1 \text{ and } \omega_0 \neq 0, \\[8pt] 0 & \text{if } |x_0| > 1. \end{cases}Ab0​(x,ω)=⎩⎨⎧​1−∣x0​∣πω0​sin(πω0​(1−∣x0​∣))​0​if ∣x0​∣≤1 and ω0​=0,if ∣x0​∣≤1 and ω0​=0,if ∣x0​∣>1.​

The real numbers on the right are regarded as complex numbers, so the claim says in particular that Ab0(x,ω)A b_0(x,\omega)Ab0​(x,ω) is real.

Edge cases.

  • The condition ∣x0∣≤1|x_0| \le 1∣x0​∣≤1 is non-strict. At ∣x0∣=1|x_0| = 1∣x0​∣=1, both inner branches give 000: the first gives 1−1=01 - 1 = 01−1=0, and the second gives sin⁡(0)/(πω0)=0\sin(0)/(\pi\omega_0) = 0sin(0)/(πω0​)=0.
  • The case ω0=0\omega_0 = 0ω0​=0 is handled separately, so the formula never divides by zero.
  • There are no hypotheses beyond the choice of xxx and ω\omegaω. The statement is asserted for all x,ω∈R1x, \omega \in \mathbb{R}^1x,ω∈R1.
Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 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