Open Proof Network

Problems / erdos-1094 / erdos-1094--h3--h3--h1--h1--h1--h1--h1

unsmoothing with f ≥ 0

erdos-1094--h3--h3--h1--h1--h1--h1--h1

proved

Hole h_unsmooth of Wiener–Ikehara Tauberian theorem (split by 20261112T123802Z-t1112-c-partial.lean).

$\displaystyle \Bigl(\forall \psi \in C_c^\infty(0,\infty):\ \tfrac{1}{X}\sum_n f(n)\psi(n/X) \to A\int\psi\Bigr) \Rightarrow \tfrac{1}{N}\sum_{n<N} f(n) \to A$

Given the smoothed limit for every C² test function supported in (0, ∞), and f ≥ 0, the partial sums have the same mean: dyadic blocks give S(x) = O(x), then bumps sandwich 1_{[ε,1]}.

unverified · history

Lean
theorem erdos_1094__h3__h3__h1__h1__h1__h1__h1 : ∀ (f : ℕ → ℝ) (A : ℝ),
  (∀ (n : ℕ), (0 : ℝ) ≤ f n) →
    (∀ (ψ : ℝ → ℝ),
        ContDiff ℝ (2 : WithTop ℕ∞) ψ →
          HasCompactSupport ψ →
            Function.support ψ ⊆ Set.Ioi (0 : ℝ) →
              Filter.Tendsto (fun (X : ℝ) => (∑' (n : ℕ), f n * ψ ((↑n : ℝ) / X)) / X) Filter.atTop
                (nhds (A * ∫ (x : ℝ), ψ x))) →
      Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A) := by
  sorry
Why does it end in sorry?

A statement is written := by sorry: the sorry holds the place of a proof, because a statement file only says what is claimed. A proof the gate checked is its own file, Proof.lean. How to read a proof page →

How it was proved

Proved by closure: the gate joined its merged decomposition with the proofs of erdos-1094--h3--h3--h1--h1--h1--h1--h1--h1, erdos-1094--h3--h3--h1--h1--h1--h1--h1--h2, and the kernel checked the result (closure.json). It stays proved exactly while each of those does; no proof file was written for it.

What is known

Work on it

No explainer yet. This proof written as a journal would print it, labelled unverified, is the next thing a writer could add, by pull request (D-3, D-36; the guide shows how).

Write the explainer →

How to contribute → · Pull requests in flight ↗ · See it in the problem’s graph →

Record

Statement: the Lean file and its words (1 version)

Statement not audited — only a problem’s root statement is audited for fidelity (D-9); the kernel checks a proof against this Lean as written.

import Mathlib
import Nodes.«erdos-1094--h3--h3--h1--h1--h1--h1--h1».Context

open scoped Nat

/-! Hole `h_unsmooth` of a merged partial proof, as a node (D-12 #5, D-29).
Statement generated by the gate from the assembly; immutable (D-3). -/

theorem erdos_1094__h3__h3__h1__h1__h1__h1__h1 : ∀ (f : ℕ → ℝ) (A : ℝ),
  (∀ (n : ℕ), (0 : ℝ) ≤ f n) →
    (∀ (ψ : ℝ → ℝ),
        ContDiff ℝ (2 : WithTop ℕ∞) ψ →
          HasCompactSupport ψ →
            Function.support ψ ⊆ Set.Ioi (0 : ℝ) →
              Filter.Tendsto (fun (X : ℝ) => (∑' (n : ℕ), f n * ψ ((↑n : ℝ) / X)) / X) Filter.atTop
                (nhds (A * ∫ (x : ℝ), ψ x))) →
      Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A) := by
  sorry

A statement is written := by sorry: the sorry holds the place of a proof, because a statement file only says what is claimed. A proof the gate checked is its own file, Proof.lean. How to read a proof page →

In words, unverified — what this statement says; written by t1112-c, drafted with claude-fable-5-1, 2026-11-12; no one has read it against the Lean and signed it.

Draft · drafted, by the model named above

$\displaystyle \Bigl(\forall \psi \in C_c^\infty(0,\infty):\ \tfrac{1}{X}\sum_n f(n)\psi(n/X) \to A\int\psi\Bigr) \Rightarrow \tfrac{1}{N}\sum_{n<N} f(n) \to A$

Given the smoothed limit for every C² test function supported in (0, ∞), and f ≥ 0, the partial sums have the same mean: dyadic blocks give S(x) = O(x), then bumps sandwich 1_{[ε,1]}.

Rendered from gloss/6374e76513df….md · Improve these words →

Rendered from targets/erdos-1094/nodes/erdos-1094--h3--h3--h1--h1--h1--h1--h1/Statement.lean. Origin: compiler-derived.

Depends on (2), each in words

Depends on, each in words where someone has written them:

Attestation: pass, 7 of 7 checks

Checked by the kernel — the gate’s record of the run: attestations/001470.json, merge commit 7c6e66175cc0.

Verdict pass, from attestations/001470.json.

Submitter
t1112-c
Toolchain
leanprover/lean4:v4.33.1 (hash f54d0bc916bf76a7fae460ce9d078ccd1f74aeb4fd12c4b6546bca28b6aa1c63)
Mathlib
0df444a360eaa60ab8c11dca51a86af692955474
Reviewer
none needed (intermediate)
StepCheckResult
1toolchainpass
2pathspass
4kernel-replaypass
5axiomspass
6hazardspass
7witnesspass
8depspass
Witness

Checked by the kernel — step 7 passed in the run its attestation records: attestations/001470.json, merge commit 7c6e66175cc0.

Witness.lean — checked at step 7 of the run recorded below: pass. Rendered from targets/erdos-1094/nodes/erdos-1094--h3--h3--h1--h1--h1--h1--h1/Witness.lean, sha256 6afec1a4f1c6.
import Mathlib

open scoped Nat

theorem witness : ∃ (f : ℕ → ℝ) (A : ℝ), (∀ n, 0 ≤ f n) ∧
    (∀ ψ : ℝ → ℝ, ContDiff ℝ (2 : WithTop ℕ∞) ψ → HasCompactSupport ψ →
        Function.support ψ ⊆ Set.Ioi (0 : ℝ) →
        Filter.Tendsto (fun X : ℝ => (∑' n : ℕ, f n * ψ ((n : ℝ) / X)) / X) Filter.atTop
          (nhds (A * ∫ x : ℝ, ψ x))) :=
  ⟨fun _ => 0, 0, fun _ => le_rfl, fun ψ _ _ _ => by simp⟩

No gloss yet: no one has written in words what this witness says (D-3 v3.30); the Lean above is the witness. How to write one →

Attempts (1)

1 recorded. Routes refuted: none. Failure classes: none.

Untrusted contributor text — a partial assembly: it records an attempt, not a proof; its attestation names the file, and no hash in the record binds these bytes.

Untrusted: partial assembly (D-12 #5), by t1112-c; merged in 7c6e66175cc0 under attestations/001470.json, whose step 2 took this file as a partial. A partial records an attempt, not a proof: the gate replayed it with its holes left as sorry. Rendered from targets/erdos-1094/nodes/erdos-1094--h3--h3--h1--h1--h1--h1--h1/attempts/20261112T132844Z-t1112-c-partial.lean.

Untrusted contributor text — an outline the gate extracted from this partial assembly; its holes are sorry steps, and it records an attempt, not a proof.

Outline of 20261112T132844Z-t1112-c-partial.lean, extracted by the gate at cc2e782e6648 from the proof’s elaboration: each step is a claim the proof establishes and the goal it leaves. Open a step for what it uses and its Lean lines.

  1. h_bound hole ∃ (C : ℝ), ∀ (N : ℕ), ∑ n ∈ Finset.range N, f n ≤ C * (↑N : ℝ) hole

    Leaves Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A), with h_bound : ∃ (C : ℝ), ∀ (N : ℕ), ∑ n ∈ Finset.range N, f n ≤ C * (↑N : ℝ).

    Uses library Finset.range range n is the set of natural numbers less than n. .

    Left open as a hole; its statement is erdos-1094--h3--h3--h1--h1--h1--h1--h1--h1 (proved).

    Lean, lines 25–26
      have h_bound : ∃ C : ℝ, ∀ N : ℕ, ∑ n ∈ Finset.range N, f n ≤ C * N := by
        sorry

    targets/erdos-1094/nodes/erdos-1094--h3--h3--h1--h1--h1--h1--h1/attempts/20261112T132844Z-t1112-c-partial.lean, lines 25–26 at 95be5d21dd3d ↗

  2. h_sandwich hole (∃ (C : ℝ), ∀ (N : ℕ), ∑ n ∈ Finset.range N, f n ≤ C * (↑N : ℝ)) → Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A) hole

    Leaves Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A), with h_sandwich : (∃ (C : ℝ), ∀ (N : ℕ), ∑ n ∈ Finset.range N, f n ≤ C * (↑N : ℝ)) → Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A).

    Uses library Finset.range range n is the set of natural numbers less than n. , Filter.Tendsto Filter.Tendsto is the generic "limit of a function" predicate. , Filter.atTop atTop is the filter representing the limit → ∞ on an ordered set. , nhds A set is called a neighborhood of x if it contains an open set around x. .

    Left open as a hole; its statement is erdos-1094--h3--h3--h1--h1--h1--h1--h1--h2 (proved).

    Lean, lines 32–34
      have h_sandwich : (∃ C : ℝ, ∀ N : ℕ, ∑ n ∈ Finset.range N, f n ≤ C * N) →
          Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A) := by
        sorry

    targets/erdos-1094/nodes/erdos-1094--h3--h3--h1--h1--h1--h1--h1/attempts/20261112T132844Z-t1112-c-partial.lean, lines 32–34 at 95be5d21dd3d ↗

  3. close term Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A)
import Mathlib
import Nodes.«erdos-1094--h3--h3--h1--h1--h1--h1--h1».Context

open scoped Nat

/-! Hole `h_unsmooth` of a merged partial proof, as a node (D-12 #5, D-29).
Statement generated by the gate from the assembly; immutable (D-3). -/

theorem erdos_1094__h3__h3__h1__h1__h1__h1__h1 : ∀ (f : ℕ → ℝ) (A : ℝ),
  (∀ (n : ℕ), (0 : ℝ) ≤ f n) →
    (∀ (ψ : ℝ → ℝ),
        ContDiff ℝ (2 : WithTop ℕ∞) ψ →
          HasCompactSupport ψ →
            Function.support ψ ⊆ Set.Ioi (0 : ℝ) →
              Filter.Tendsto (fun (X : ℝ) => (∑' (n : ℕ), f n * ψ ((↑n : ℝ) / X)) / X) Filter.atTop
                (nhds (A * ∫ (x : ℝ), ψ x))) →
      Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A) := by
  -- approach: unsmoothing in two steps: one bump ψ ≥ 1 on [1/4, 1] bounds every dyadic block, so the partial sums are O(N); then bumps ψ₋ ≤ 1_{[δ,1]} ≤ ψ₊ with ∫ψ± within ε of 1 sandwich S(N)/N, the part n < δN costing at most Cδ.
  -- licence: CC-BY-4.0
  intro f A hf hsmooth
  -- label: partial sums are O(N)
  -- claim: $\exists C,\ \forall N,\ \sum_{n<N} f(n) \le C\,N$
  -- One C² bump with ψ ≥ 1 on [1/4, 1] and support in (0, 2) bounds each block Σ_{N/4<n≤N} f(n) by
  -- (A∫ψ + 1)N for large N; summing the blocks over N, N/4, N/16, … gives the linear bound.
  have h_bound : ∃ C : ℝ, ∀ N : ℕ, ∑ n ∈ Finset.range N, f n ≤ C * N := by
    sorry
  -- label: sandwich by bumps
  -- claim: $\bigl(\exists C,\ \forall N,\ \sum_{n<N} f(n) \le C N\bigr) \Rightarrow \tfrac{1}{N}\sum_{n<N} f(n) \to A$
  -- Given the linear bound, for ε > 0 take δ small and bumps ψ₋ ≤ 1_{[δ,1]} ≤ ψ₊ supported in (δ/2, 1+δ)
  -- with ∫ψ₊ − ∫ψ₋ ≤ ε; the smoothed limits for ψ± and the bound Σ_{n<δN} f(n) ≤ CδN give
  -- limsup and liminf of S(N)/N within O(ε + δ) of A.
  have h_sandwich : (∃ C : ℝ, ∀ N : ℕ, ∑ n ∈ Finset.range N, f n ≤ C * N) →
      Filter.Tendsto (fun (N : ℕ) => (∑ n ∈ Finset.range N, f n) / (↑N : ℝ)) Filter.atTop (nhds A) := by
    sorry
  exact h_sandwich h_bound
How to read this page