Peeling

Lax100001.Peel · concepts/Lax100001/Peel.lean · lax-100001

proven

Natural Language Statement

Theorem

Let Pd(s)P_d(s) be the product of 1−s/i1 - s/i over i=1,…,di = 1, \ldots, d. It is 11 at s=0s = 0. At a natural number s≥1s \ge 1 it is (−1)d(-1)^d times the binomial coefficient of s−1s - 1 and dd, so it vanishes for 1≤s≤d1 \le s \le d. Take numbers g(s)g(s) and weights ω(s)\omega(s) for s=0,…,Ns = 0, \ldots, N, with ω(0)=1\omega(0) = 1, and put S=∑s=0Ng(s) ω(s) Pd(s)S = \sum_{s=0}^{N} g(s)\,\omega(s)\,P_d(s). Then S−g(0)S - g(0) is (−1)d(-1)^d times the sum of g(s) ω(s)(s−1d)g(s)\,\omega(s)\binom{s-1}{d} over 1≤s≤N1 \le s \le N. So SS keeps g(0)g(0), drops the next dd terms, and leaves a remainder that is small when the later terms are small. This is called peeling. It has three consequences.

  1. If all g(s)g(s) and ω(s)\omega(s) are nonnegative, then (−1)d(S−g(0))≥0(-1)^d (S - g(0)) \ge 0.
  2. Let 0≤y<10 \le y < 1 and M(y1−y)d+1<1M \left(\frac{y}{1 - y}\right)^{d+1} < 1. If g(s) ω(s)≤Mysg(s)\,\omega(s) \le M y^s for 1≤s≤N1 \le s \le N, then (−1)d(S−g(0))<1(-1)^d (S - g(0)) < 1. This needs no sign condition on gg and ω\omega.
  3. Let gg and g′g' be sequences of natural numbers that both satisfy this bound, with nonnegative weights. If they give the same SS, then g(0)=g′(0)g(0) = g'(0).
Concept map
100%

Preparing this local graph with the browser’s fonts…

Proven claimThis concept
Evidence

This concept declares 3 statements. Each proof establishes one of them relative to its assumptions.

1 head_eq proven

2 lt_one proven

3 sign_nonneg proven

In the paper

  • page 5 of this submission's paper

Lean source

1/-
2Copyright (c) 2026 Anonymous. All rights reserved.
3Released under Apache 2.0 license as described in the file LICENSE.
4Authors: ChatGPT (OpenAI), Claude (Anthropic)
5-/
6import Mathlib.Algebra.BigOperators.Group.Finset.Defs
7import Mathlib.Data.Rat.Defs
8import Mathlib.Order.Interval.Finset.Nat
9
10/-!
11---
12title: Peeling
13type: theorem
14---
15Let Pd(s)P_d(s) be the product of 1−s/i1 - s/i over i=1,…,di = 1, \ldots, d. It is 11 at s=0s = 0. At a natural
16number s≥1s \ge 1 it is (−1)d(-1)^d times the binomial coefficient of s−1s - 1 and dd, so it vanishes
17for 1≤s≤d1 \le s \le d. Take numbers g(s)g(s) and weights ω(s)\omega(s) for s=0,…,Ns = 0, \ldots, N, with
18ω(0)=1\omega(0) = 1, and put S=∑s=0Ng(s) ω(s) Pd(s)S = \sum_{s=0}^{N} g(s)\,\omega(s)\,P_d(s). Then S−g(0)S - g(0) is (−1)d(-1)^d
19times the sum of g(s) ω(s)(s−1d)g(s)\,\omega(s)\binom{s-1}{d} over 1≤s≤N1 \le s \le N. So SS keeps g(0)g(0), drops
20the next dd terms, and leaves a remainder that is small when the later terms are small. This is
21called peeling. It has three consequences.
22
231. If all g(s)g(s) and ω(s)\omega(s) are nonnegative, then (−1)d(S−g(0))≥0(-1)^d (S - g(0)) \ge 0.
242. Let 0≤y<10 \le y < 1 and M(y1−y)d+1<1M \left(\frac{y}{1 - y}\right)^{d+1} < 1. If
25 g(s) ω(s)≤Mysg(s)\,\omega(s) \le M y^s for 1≤s≤N1 \le s \le N, then (−1)d(S−g(0))<1(-1)^d (S - g(0)) < 1. This needs no
26 sign condition on gg and ω\omega.
273. Let gg and g′g' be sequences of natural numbers that both satisfy this bound, with nonnegative
28 weights. If they give the same SS, then g(0)=g′(0)g(0) = g'(0).
29-/
30
31namespace Lax100001.Peel
32
33/-- The polynomial Pd(s)=∏i=1d(1−s/i)P_d(s) = \prod_{i=1}^{d} (1 - s/i) of degree dd in ss. The index i+1i + 1 lets
34the product range over Finset.range d\texttt{Finset.range d}. For example P2(s)=(1−s)(1−s/2)P_2(s) = (1 - s)(1 - s/2), which
35takes the values 1,0,0,1,3,61, 0, 0, 1, 3, 6 at s=0,…,5s = 0, \ldots, 5. -/
36def P (d : ℕ) (s : ℚ) : ℚ := ∏ i ∈ Finset.range d, (1 - s / (i + 1))
37
38/-- For nonnegative gg and ω\omega with ω(0)=1\omega(0) = 1, the weighted sum
39∑s=0Ng(s) ω(s) Pd(s)\sum_{s=0}^{N} g(s)\,\omega(s)\,P_d(s) differs from g(0)g(0) by (−1)d(-1)^d times a nonnegative number.
40So it is at least g(0)g(0) if dd is even, and at most g(0)g(0) if dd is odd. -/
41axiom sign_nonneg (d N : ℕ) (g ω : ℕ → ℚ) (hg : ∀ s ≤ N, 0 ≤ g s) (hω : ∀ s ≤ N, 0 ≤ ω s)
42 (hω₀ : ω 0 = 1) :
43 0 ≤ (-1) ^ d * (∑ s ∈ Finset.range (N + 1), g s * ω s * P d s - g 0)
44
45/-- Let 0≤y<10 \le y < 1 and M(y1−y)d+1<1M \left(\frac{y}{1 - y}\right)^{d+1} < 1. If g(s) ω(s)≤Mysg(s)\,\omega(s) \le M y^s
46for 1≤s≤N1 \le s \le N, and ω(0)=1\omega(0) = 1, then the weighted sum
47∑s=0Ng(s) ω(s) Pd(s)\sum_{s=0}^{N} g(s)\,\omega(s)\,P_d(s) differs from g(0)g(0) by (−1)d(-1)^d times a number that is less
48than 11. No sign condition on gg and ω\omega is needed. -/
49axiom lt_one (d N : ℕ) (y M : ℚ) (g ω : ℕ → ℚ) (hω₀ : ω 0 = 1) (hy : 0 ≤ y) (hy₁ : y < 1)
50 (hM : M * (y / (1 - y)) ^ (d + 1) < 1) (hgω : ∀ s ∈ Finset.Icc 1 N, g s * ω s ≤ M * y ^ s) :
51 (-1) ^ d * (∑ s ∈ Finset.range (N + 1), g s * ω s * P d s - g 0) < 1
52
53/-- Two sequences gg and g′g' of natural numbers that satisfy the bounds of lt_one\texttt{lt\_one},
54with nonnegative weights ω\omega, and have the same weighted sum
55∑s=0Ng(s) ω(s) Pd(s)\sum_{s=0}^{N} g(s)\,\omega(s)\,P_d(s), have the same first entry. -/
56axiom head_eq (d N : ℕ) (y M : ℚ) (g g' : ℕ → ℕ) (ω : ℕ → ℚ) (hω : ∀ s ≤ N, 0 ≤ ω s)
57 (hω₀ : ω 0 = 1) (hy : 0 ≤ y) (hy₁ : y < 1) (hM : M * (y / (1 - y)) ^ (d + 1) < 1)
58 (hg : ∀ s ∈ Finset.Icc 1 N, g s * ω s ≤ M * y ^ s)
59 (hg' : ∀ s ∈ Finset.Icc 1 N, g' s * ω s ≤ M * y ^ s)
60 (hS : ∑ s ∈ Finset.range (N + 1), g s * ω s * P d s =
61 ∑ s ∈ Finset.range (N + 1), g' s * ω s * P d s) :
62 g 0 = g' 0
63
64end Lax100001.Peel
65