Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 8 results · all verified · 8 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 8 also cleared it.

Finite Quantization, Lloyd Iteration, and Compact Companders

1 · Prerequisites

2 · Summary

This page develops measurable finite squared-error quantizers and exact finite empirical optimization. The Lloyd iteration has strict descent whenever its centers change and terminates at a finite assignment/centroid fixed point; that conclusion does not imply global optimality. A separate exhaustive procedure checks all assignments and attains a global empirical optimum.

The asymptotic result is restricted to a positive C1 source density and positive normalized C1 point density on a fixed compact interval. It proves the exact one-dimensional compander limit and optimizes its coefficient within that class. The compander cells are uniform in the cumulative point-density coordinate and need not be nearest-center cells in the source coordinate. No unrestricted scalar, higher-dimensional, unbounded-support, or overload claim is made.

Compander cell schematic

For g=1 on [0,1] and N=3, the cumulative inverse is ϕ(u)=u. The boundaries are 0,1/3,2/3,1 and the reproduction points are 1/6,1/2,5/6. The picture shows these explicit cells and points; the last cell includes 1. It illustrates the definition and is not used in any proof.

\begin{tikzpicture}[>=stealth]
  \draw[->] (-0.25,0) -- (6.55,0) node[right] {$x$};
  \draw (0,-0.08) -- (0,0.08);
  \draw[dashed] (2,-0.1) -- (2,0.82);
  \draw[dashed] (4,-0.1) -- (4,0.82);
  \draw (6,-0.08) -- (6,0.08);
  \node[below] at (0,-0.08) {$0$};
  \node[below] at (2,-0.08) {$1/3$};
  \node[below] at (4,-0.08) {$2/3$};
  \node[below] at (6,-0.08) {$1$};
  \draw (1,0) -- (1,0.34);
  \draw (3,0) -- (3,0.34);
  \draw (5,0) -- (5,0.34);
  \fill (1,0.34) circle (1.5pt);
  \fill (3,0.34) circle (1.5pt);
  \fill (5,0.34) circle (1.5pt);
  \node[above] at (1,0.36) {$r_1=1/6$};
  \node[above] at (3,0.36) {$r_2=1/2$};
  \node[above] at (5,0.36) {$r_3=5/6$};
  \node at (1,-0.42) {$C_1$};
  \node at (3,-0.42) {$C_2$};
  \node at (5,-0.42) {$C_3$};
\end{tikzpicture}

Source trail

  • Robert M. Gray, Source Coding Theory, first edition, Chapter 5 §§5.1–5.3 and §5.6: quantizer cells, high-rate assumptions and point-density optimization.
  • Robert Gallager, MIT 6.450 Chapter 3, §§3.2.1–3.2.3 and Appendix 3A: nearest-center assignments, centroids, Lloyd iteration, local-optimum caveat and high-rate scalar context.
  • Robert M. Gray and David L. Neuhoff, “Quantization,” §§II–IV: finite quantizer structure, Lloyd history and optimality conditions, Bennett’s integral, point density, and the limits of informal high-resolution approximations.

Each source supplies context; the exact finite termination, exhaustive global-search proof, and restricted compact limit are proved locally on this pair.

3 · Logical flowchart

4 · Definitions, theorems and proofs

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The weighted centroid minimizes finite-cluster squared error

Statement

Let x1,…,xN∈Rd, let wi>0 with ∑i=1Nwi=1, and let S⊆{1,…,N} be nonempty. Put WS:=∑i∈Swi and μS:=WS−1∑i∈Swixi. For every c∈Rd,

∑i∈Swi∥xi−c∥22=∑i∈Swi∥xi−μS∥22+WS∥c−μS∥22.

Consequently, μS is the unique minimizer of the cluster's weighted squared error. If S is empty, its cost is zero for every center and no centroid is required.

Facts & Assumptions

Given: A finite list of vectors xi∈Rd, positive weights summing to one, and a nonempty index set S.

[A1]

The inner product and squared norm on Rd are ⟨x,y⟩=∑ℓ=1dxℓyℓ and ∥x∥22=⟨x,x⟩.

Proof

1.1givenA1algebra

Since S is nonempty and each wi>0, WS>0, so μS is defined and ∑i∈Swi(xi−μS)=0 by its formula.

2.1givenA1step 1.1algebra

Write xi−c=(xi−μS)+(μS−c) and expand the squared norm using [A1]. Summing over S, the cross term is 2⟨∑i∈Swi(xi−μS),μS−c⟩=0 by step 1.1; the remaining terms give the displayed identity.

3.1givenstep 2.1algebra∎

The last term in step 2.1 is nonnegative and vanishes exactly when c=μS, because WS>0 and a Euclidean squared norm vanishes exactly at the zero vector. Thus μS uniquely minimizes the cost. For empty S, the sum has no terms and equals zero for every c.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Cumulative coordinate of a point density on a compact interval

Definition

Let a<b and let g:[a,b]→(0,∞) be a continuously differentiable function with ∫abg(t) dt=1. Its cumulative point-density coordinate is

Gg(x):=∫axg(t) dt,x∈[a,b].

The integrals here are the ordinary Riemann integrals of continuous functions. The supplier Every continuous function on an interval has a primitive; two primitives differ by a constant; and ∫abf=G(b)−G(a) for any primitive G guarantees that they are defined and that Gg is a primitive of g.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite measurable squared-error quantizer and nearest-center rule

Definition

Let d,k≥1, let X⊆Rd be Borel, and give X the relative Borel sigma algebra B(X)={X∩B:B is in the sigma algebra generated by Euclidean open sets in Rd}. Let μ be a probability measure on B(X) with ∫X∥x∥22 dμ(x)<∞, and let c1,…,ck∈Rd be reproduction points, where ∥x∥22:=∑ℓ=1dxℓ2. A finite squared-error quantizer is a measurable map Q:X→{1,…,k}, with the finite index set given its discrete sigma algebra; its reproduction at x is cQ(x) and its distortion is

Dμ(Q;c1,…,ck):=∫X∥x−cQ(x)∥22 dμ(x).

This is the expected single-letter distortion of Single-letter and block distortion for the measurable distortion d(x,c)=∥x−c∥22. For a fixed ordered center tuple c=(c1,…,ck), the nearest-center rule assigns x to the least index minimizing ∥x−cj∥22. Its cell at index i is

Ci(c):=X∩⋂j<i{x:∥x−ci∥22<∥x−cj∥22}∩⋂j>i{x:∥x−ci∥22≤∥x−cj∥22}.

The convention assigns every tie to the smallest index. A general finite measurable quantizer need not use this nearest-center partition; in particular, a compander partition below is specified by its own interval boundaries. When X=Rd, this is the ordinary full-domain nearest-center quantizer.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

A positive C1 point density has a C2 cumulative inverse

Statement

Let a<b and let g:[a,b]→(0,∞) be C1 with ∫abg=1, and let Gg be as in Cumulative coordinate of a point density on a compact interval. Then Gg is a strictly increasing C2 bijection from [a,b] onto [0,1]. Its inverse ϕ:[0,1]→[a,b] is C2 (with one-sided derivatives at the endpoints), and

ϕ′(u)=1g(ϕ(u)),ϕ′′(u)=−g′(ϕ(u))g(ϕ(u))3.

Facts & Assumptions

Given: A nondegenerate compact interval [a,b] and a positive normalized C1 function g.

[F1]

Cumulative coordinate of a point density on a compact interval: Gg(x)=∫axg(t) dt and ∫abg=1.

[F2]

Every continuous function on an interval has a primitive; two primitives differ by a constant; and ∫abf=G(b)−G(a) for any primitive G: a continuous function on an interval has a primitive G(x)=∫c0xg, with G′=g and ∫xyg=G(y)−G(x).

[F3]

The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a): if a real function is continuous on [x,y] and differentiable on (x,y), then G(y)−G(x)=G′(c)(y−x) for some interior c.

[F6]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): the derivative of a composition of differentiable maps between Euclidean spaces is the composition of their derivatives.

[F7]

A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value: a continuous real-valued function on a nonempty compact metric space is bounded and attains a minimum.

Proof

1.1givenF1F2F7

By [F2], Gg is continuous and Gg′=g on (a,b), so it is C2 because g is C1; also Gg(a)=0 and Gg(b)=1 by [F1]. Since g is positive and continuous on compact [a,b], [F7] gives a positive minimum, and in particular Gg′(x)>0 at every interior point.

2.1givenF3F4step 1.1

For x<y in [a,b], [F3] applied to Gg gives Gg(y)−Gg(x)=g(c)(y−x)>0. Thus Gg is strictly increasing; [F4] and step 1.1 show its image is all of [0,1]. Strict increase makes each preimage unique, so an inverse ϕ:[0,1]→[a,b] exists.

3.1givenstep 2.1construct

Fix u0∈[0,1] and set x0=ϕ(u0). For ε>0 put x−=max⁡(a,x0−ε) and x+=min⁡(b,x0+ε). At least one of x−<x0 and x0<x+ holds because a<b. Whenever x−<x0 or x0<x+, strict increase gives respectively u0−Gg(x−)>0 or Gg(x+)−u0>0. Choose δ>0 smaller than each of the positive margins that exists. For u∈[0,1] with ∣u−u0∣<δ, monotonicity gives x−≤ϕ(u)≤x+; at a missing margin x−=x0=a or x+=x0=b, the domain endpoint supplies that inequality. Hence ∣ϕ(u)−x0∣<ε, proving continuity of ϕ.

4.1givenF3step 2.1step 3.1

Fix u∈(0,1), let x=ϕ(u), and for nonzero h with u+h∈[0,1] let xh=ϕ(u+h). Continuity from step 3.1 gives xh→x, and injectivity gives xh≠x. By [F3], for some ξh between x and xh, (ϕ(u+h)−ϕ(u))/h=1/g(ξh). As h→0, ξh→x and g(ξh)→g(x)>0, so ϕ′(u)=1/g(ϕ(u)). The same one-sided quotient argument applies at u=0,1.

5.1givenF3F5F6step 3.1step 4.1∎

The formula for ϕ′ is continuous on [0,1] because g∘ϕ is continuous and positive. Differentiating it on (0,1) using [F5] and [F6] gives ϕ′′(u)=−g′(ϕ(u))/g(ϕ(u))3. The right-hand side extends continuously to [0,1] because g′ and ϕ are continuous and the denominator stays positive. Applying [F3] to ϕ′ on intervals with an endpoint at 0 or 1 shows its one-sided difference quotient tends to that continuous extension. Together with step 4.1, this proves the stated C2 regularity and formulas.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The finite nearest-center quantizer is Borel with finite distortion

Statement

Let X⊆Rd be Borel, let μ be a Borel probability measure on X with finite second moment, and let c1,…,ck∈Rd satisfy the hypotheses of Finite measurable squared-error quantizer and nearest-center rule. The least-index nearest-center rule defines a Borel quantizer on X, and its distortion is finite. Coincident centers and empty cells are allowed.

Facts & Assumptions

Given: Integers d,k≥1, a Borel subset X⊆Rd, a Borel probability measure μ on X with finite second moment, and finite centers c1,…,ck.

[F1]

Finite measurable squared-error quantizer and nearest-center rule: the nearest-center cell Ci(c) is the Borel domain X intersected with strict inequalities against lower indices and non-strict inequalities against higher indices; distortion is the integral of squared Euclidean error.

Proof

1.1givenF1algebra

For fixed i,j, the difference ∥x−ci∥22−∥x−cj∥22 is a continuous polynomial in the coordinates of x. Therefore its strict-negative set is open and its nonpositive set is closed; the finite intersections defining each Ci(c) in [F1] are Borel.

2.1givenF1step 1.1construct

The finite list of distances has a minimum at each x∈X, and the least minimizing index is unique. The tie inequalities in [F1] therefore make the cells a disjoint partition of X; the inverse image of each singleton index is relatively Borel by step 1.1, so the finite-valued index map is Borel.

3.1givenstep 2.1algebra∎

For each coordinate, (xℓ−ci,ℓ)2≤2xℓ2+2ci,ℓ2, since −2xℓci,ℓ≤xℓ2+ci,ℓ2. Summing coordinates and integrating over the partition gives Dμ(Qc;c)≤2∫∥x∥22 dμ(x)+2max⁡1≤i≤k∥ci∥22<∞, so the distortion is well-defined and finite.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Positive C1 compact one-dimensional compander

Definition

Let a<b. Let f,g:[a,b]→(0,∞) be C1 probability densities, so ∫abf=∫abg=1. Write Gg for Cumulative coordinate of a point density on a compact interval and ϕ=Gg−1 for the C2 inverse established by A positive C1 point density has a C2 cumulative inverse. For each integer N≥1, define boundaries

βj:=ϕ(j/N)(0≤j≤N),

and reproduction points

rj:=ϕ((j−12)/N)(1≤j≤N).

The cells are [βj−1,βj) for j<N and [βN−1,b] for j=N. The compander quantizer maps every point in cell j to rj. It is a finite measurable quantizer in the sense of Finite measurable squared-error quantizer and nearest-center rule, with source law of density f on [a,b] and squared-error distortion

DN(f,g):=∑j=1N∫βj−1βjf(x)(x−rj)2 dx.

Its cells are uniform in the cumulative coordinate of g; the definition does not assert that they are nearest-center cells in the original x coordinate. Since the source is supported on the fixed compact interval and the cells cover it, there is no overload region in this model.

AlgorithmAlgorithm: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Exact finite-data Lloyd quantizer

Definition

Input: integers N,d,k≥1, indexed data x1,…,xN∈Rd, exact positive weights wi with ∑iwi=1, and an ordered initial center tuple c0=(c10,…,ck0)∈(Rd)k. At each pass t:

  1. Assign index i to the least j∈{1,…,k} minimizing ∥xi−cjt∥22. Let Sjt be the indices assigned to j.
  2. If Sjt≠∅, set cjt+1:=(∑i∈Sjtwixi)/(∑i∈Sjtwi). If Sjt=∅, set cjt+1:=cjt.
  3. If ct+1=ct coordinatewise, return ct and the assignments from this pass. Otherwise begin the next pass with ct+1.

All distance comparisons and arithmetic are exact. Rational input coordinates, weights and initial centers give a rational implementation using exact rational operations. For arbitrary real data this is an exact-real operation model; no bit-complexity claim is part of the procedure.

AlgorithmAlgorithm: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Exhaustive global empirical squared-error quantizer

Definition

Input: integers N,d,k≥1, indexed data x1,…,xN∈Rd, and exact positive weights wi with ∑iwi=1. Enumerate all assignments a=(a1,…,aN)∈{1,…,k}N in lexicographic order. For each assignment, let Sj(a)={i:ai=j}. For a nonempty Sj(a) set

cj(a):=∑i∈Sj(a)wixi∑i∈Sj(a)wi;

for an empty Sj(a) set cj(a):=x1. Compute the exact assigned cost L(a):=∑iwi∥xi−cai(a)∥22. Retain the first assignment with minimal cost and its center tuple. Return that tuple together with the least-index nearest-center assignment for it. The finite enumeration, tie rule and empty-cluster convention are part of the algorithm.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The compact compander is a measurable finite quantizer

Statement

For the data in Positive C1 compact one-dimensional compander, every cell is Borel, the cells partition [a,b], the index map is measurable, and DN(f,g) is finite for each N≥1.

Facts & Assumptions

Given: a<b, positive normalized C1 densities f,g on [a,b], and an integer N≥1.

[F1]

Positive C1 compact one-dimensional compander: βj=ϕ(j/N) are the cell boundaries, rj=ϕ((j−12)/N) are the reproduction points, and the cells are half-open except for the final cell containing b.

[F2]

A positive C1 point density has a C2 cumulative inverse: ϕ is a strictly increasing bijection from [0,1] to [a,b].

[F3]

Finite measurable squared-error quantizer and nearest-center rule: a finite quantizer is a Borel map into a finite discrete index set and its distortion is the integral of squared reconstruction error.

Proof

1.1givenF1F2

The boundary sequence β0<⋯<βN is strictly increasing by [F2], with β0=a and βN=b. Thus the intervals in [F1] are pairwise disjoint Borel sets whose union is [a,b].

2.1givenF1F2F3step 1.1algebra∎

Each index preimage is one of those Borel intervals, so the finite-valued index map is Borel and defines a quantizer as in [F3]. Each reproduction point lies in [a,b] by [F1] and [F2], so ∣x−rj∣≤b−a on cell j; hence 0≤DN(f,g)≤(b−a)2∫abf(x) dx=(b−a)2<∞.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Exact finite-data Lloyd descent and finite termination

Statement

For N indexed points in Rd with positive normalized weights, k≥1 centers, and any initial center tuple, the exact algorithm of Exact finite-data Lloyd quantizer terminates after at most 2Nk assignment/update passes. Every pass that changes a center strictly decreases the empirical squared-error distortion; at termination, the returned assignment is nearest-center and each nonempty cluster center is its weighted centroid. Each pass uses O(Nkd) exact arithmetic and comparisons, so the crude total operation bound is O(2NkNkd). The conclusion is a fixed point, not a global-optimality claim.

Facts & Assumptions

Given: N,d,k≥1, points x1,…,xN∈Rd, weights wi>0 with sum one, and initial centers c0; all comparisons and arithmetic are exact.

[F1]

Exact finite-data Lloyd quantizer: each pass assigns each point to its least-index nearest center, replaces every nonempty cluster center by its weighted centroid, leaves every empty-cluster center unchanged, and stops when the center tuple is unchanged.

[F2]

The weighted centroid minimizes finite-cluster squared error: for a nonempty cluster S of weight WS and centroid μS, its cost at center c is its cost at μS plus WS∥c−μS∥22.

[F3]

Put XN:={xi:1≤i≤N}, a finite Borel subset of Rd, and let μN:=∑i=1Nwiδxi on XN, where δxi is unit point mass at xi. This is a probability measure on the relative Borel sigma algebra of XN with finite second moment ∫XN∥x∥22 dμN(x)=∑i=1Nwi∥xi∥22<∞. For an ordered center tuple c, let Qc:XN→{1,…,k} be its least-index nearest-center rule. Each fiber is Borel because XN is finite, so Finite measurable squared-error quantizer and nearest-center rule gives

DμN(Qc;c1,…,ck)=∑i=1Nwi∥xi−cQc(xi)∥22=∑i=1Nwimin⁡1≤j≤k∥xi−cj∥22=:J(c).

Proof

1.1givenF1F3

At pass t, the assignments in [F1] minimize each point's squared distance for the fixed tuple ct, so their assigned cost is exactly J(ct) from [F3].

1.2givenF1F2F3algebra

Replacing the centers by cluster centroids changes the assigned cost by subtracting ∑j:Sjt≠∅WSjt∥cjt−μSjt∥22, by [F2]; empty clusters contribute no cost and their centers are unchanged by [F1]. If any center changes, one nonempty-cluster term is positive. Reassigning to nearest centers cannot increase cost, so J(ct+1)<J(ct).

1.3givenF1construct

Every center value occurring in the iteration is either its own initial value or the centroid of one of the at most 2N−1 nonempty indexed subsets of the data; thus each center has at most 2N possible values and there are at most 2Nk possible ordered center tuples.

2.1step 1.2step 1.3algebra

A changed pass cannot revisit a previous center tuple, because J is a function of that tuple and strictly decreases at every changed pass by step 1.2. Hence at most 2Nk−1 passes change the tuple; the next pass leaves it unchanged and the algorithm stops, for at most 2Nk passes.

3.1F1step 2.1

At the stopping pass, the tuple is unchanged. The deterministic nearest-center rule therefore gives the same assignments on the next evaluation, and the update formula in [F1] already made every nonempty center its assigned centroid. Thus the returned pair is an assignment/centroid fixed point.

4.1givenstep 2.1algebra∎

One pass evaluates Nk squared distances in d coordinates and performs at most O(Nd+kd) accumulation/update work, which is O(Nkd) since N,d,k≥1. Multiplying by the pass bound gives O(2NkNkd) exact operations; this exponential bound makes no polynomial-time claim.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Exhaustive empirical search attains a global quantizer

Statement

For every finite indexed data set x1,…,xN∈Rd with N,d,k≥1 and positive normalized weights, the algorithm of Exhaustive global empirical squared-error quantizer terminates after checking exactly kN assignments and returns a nearest-center quantizer whose empirical squared-error distortion is no greater than that of any k-center tuple. Its exact arithmetic operation count is O(kN(N+k)d); this is an exponential exhaustive procedure, not a polynomial-time claim.

Facts & Assumptions

Given: N,d,k≥1, points xi∈Rd, weights wi>0 summing to one, and exact arithmetic and comparisons.

[F1]

Exhaustive global empirical squared-error quantizer: the procedure checks every ordered assignment, uses a weighted centroid for each nonempty cluster and x1 for each empty cluster, retains a minimum-cost assignment, then reassigns points to least-index nearest centers.

[F2]

The weighted centroid minimizes finite-cluster squared error: replacing any cluster center by its weighted centroid cannot increase its assigned squared-error cost.

[F3]

Put XN:={xi:1≤i≤N}, a finite Borel subset of Rd, and let μN:=∑i=1Nwiδxi on XN, where δxi is unit point mass at xi. This is a probability measure on the relative Borel sigma algebra of XN with finite second moment ∫XN∥x∥22 dμN(x)=∑i=1Nwi∥xi∥22<∞. For an ordered center tuple c, let Qc:XN→{1,…,k} be its least-index nearest-center rule. Each fiber is Borel because XN is finite, so Finite measurable squared-error quantizer and nearest-center rule gives

DμN(Qc;c1,…,ck)=∑i=1Nwi∥xi−cQc(xi)∥22=∑i=1Nwimin⁡1≤j≤k∥xi−cj∥22=:J(c).

Proof

1.1givenF1construct

The assignment set {1,…,k}N has exactly kN elements, so the finite ordered loop in [F1] terminates and retains an assignment a∗ of minimum centroid-adjusted assigned cost L∗.

1.2givenF2F3algebra

Fix any center tuple c and assign each point to its least-index nearest center, obtaining a(c). By [F2], the centroid-adjusted cost of this assignment is at most its cost at c, so L∗≤L(a(c))≤J(c) by [F3].

2.1step 1.1step 1.2F1F3algebra

Let c∗ be the tuple retained for a∗. Reassigning a∗ to nearest centers cannot increase its cost, hence J(c∗)≤L∗. Step 1.2 gives L∗≤J(c) for every c, in particular L∗≤J(c∗); therefore J(c∗)=L∗ and J(c∗)≤J(c) for every k-center tuple. The returned tuple is globally minimizing.

3.1givenF1step 1.1algebra∎

Each of the kN assignments can be grouped, centered and costed in O((N+k)d) exact operations; the final nearest reassignment costs O(Nkd), which is bounded by O(kN(N+k)d) for N,k≥1. This proves the stated operation count without a bit-complexity claim.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Exact high-rate limit for a positive compact one-dimensional compander

Statement

Let a<b and let f,g:[a,b]→(0,∞) be C1 probability densities. For the compander of Positive C1 compact one-dimensional compander, the distortions satisfy

lim⁡N→∞N2DN(f,g)=112∫abf(x)g(x)2 dx.

This is an exact limit for the specified compact construction. It assumes neither an unbounded source nor negligible overload, and it makes no claim about unrestricted optimal quantizers or dimensions greater than one.

Facts & Assumptions

Given: A fixed interval [a,b] with a<b and positive normalized C1 densities f,g.

[F1]

Positive C1 compact one-dimensional compander: with ϕ=Gg−1, the N cells have cumulative-coordinate endpoints j/N, reproduction points are ϕ((j−12)/N), and DN(f,g) is the integral of squared error against density f on [a,b].

[F2]

A positive C1 point density has a C2 cumulative inverse: ϕ is an increasing C2 bijection, ϕ′=1/(g∘ϕ) and ϕ′′=−g′∘ϕ/(g∘ϕ)3, including continuous endpoint extensions.

[F3]

The compact compander is a measurable finite quantizer: the cells are Borel and DN(f,g) is finite for each N.

[F4]

Every continuous function on an interval has a primitive; two primitives differ by a constant; and ∫abf=G(b)−G(a) for any primitive G: a continuous real function on an interval has the primitive A(x)=∫x0xh, with A′=h, and the integral of a continuous derivative equals the endpoint difference.

[F5]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): the derivative of a composition of differentiable Euclidean maps is the composition of their derivatives.

[F7]

The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a): for a function continuous on a closed interval and differentiable in its interior, its endpoint increment equals an interior derivative times the interval length.

[F8]

A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value: every continuous real function on a nonempty compact metric space is bounded and attains its maximum and minimum.

[F9]

Heine-Cantor: a continuous map from a compact metric space to any metric space is uniformly continuous: a continuous map on a compact metric space is uniformly continuous.

Proof

1.1F1F2F3F4F5

Put vj=(j−12)/N, Ij=[(j−1)/N,j/N], and F(u)=f(ϕ(u))/g(ϕ(u)). For hj(x)=f(x)(x−ϕ(vj))2, its primitive Aj(x)=∫axhj(s) ds satisfies Aj′=hj by [F4]. The chain rule [F5] applied to Aj∘ϕ on Ij, followed by endpoint evaluation using [F4], gives DN(f,g)=∑j=1N∫IjF(u)(ϕ(u)−ϕ(vj))2 du, because [F2] gives ϕ′=1/(g∘ϕ) and [F1] gives the reproduction point ϕ(vj). The distortion is well-defined by [F3].

1.2F2F5F6F7F8algebra

By the chain rule [F5] and quotient rule [F6], F is C1; the functions ϕ′, ϕ′′, F and F′ are continuous on compact [0,1], so [F8] gives finite bounds M1=∥ϕ′∥∞, M2=∥ϕ′′∥∞, MF=∥F∥∞, and MF′=∥F′∥∞, independent of N,j. If δ=u−vj and e=ϕ(u)−ϕ(vj)−ϕ′(vj)δ, [F7] applied to ϕ′ and F, together with [F4], gives ∣e∣≤M2∣δ∣2/2 and ∣F(u)−F(vj)∣≤MF′∣δ∣. Expanding the square therefore bounds the absolute difference under consideration by MF′M12∣δ∣3+MF(M1M2∣δ∣3+M22∣δ∣4/4). Since ∣δ∣≤1/(2N)≤1/2, this is at most C∣δ∣3 for C=MF′M12+MFM1M2+MFM22/8, which is independent of N,j.

2.1F4step 1.1step 1.2algebra

On Ij, direct integration gives ∫Ijδ2 du=1/(12N3) and ∫Ij∣δ∣3 du=1/(32N4). Thus step 1.2 gives DN(f,g)=112N3∑j=1NH(vj)+EN with ∣EN∣≤C/(32N3), where H(u):=F(u)ϕ′(u)2=f(ϕ(u))/g(ϕ(u))3.

3.1step 2.1F4F7F9algebra

Multiplying by N2 gives N2DN(f,g)=112N∑j=1NH(vj)+N2EN, with ∣N2EN∣≤C/(32N)→0. By [F9], H is uniformly continuous on [0,1]. Given ε>0, choose δ>0 such that ∣H(u)−H(v)∣<ε whenever ∣u−v∣<δ. Let P(u):=∫0uH(s) ds; [F4] gives P′=H and P(1)−P(0)=∫01H. For N with 1/(2N)<δ, the mean value theorem [F7] on each Ij gives ξj∈((j−1)/N,j/N) with P(j/N)−P((j−1)/N)=H(ξj)/N. Since ∣ξj−vj∣<1/(2N)<δ, telescoping gives ∣1N∑j=1NH(vj)−∫01H(u) du∣≤1N∑j=1N∣H(vj)−H(ξj)∣<ε. Thus the midpoint sums converge to ∫01H(u) du.

3.2F2F4F5step 2.1

Let P(x)=∫axf(s)/g(s)2 ds. The integrand is continuous because g is positive on the compact interval, so [F4] gives P′=f/g2. By [F5] and [F2], (P∘ϕ)′(u)=f(ϕ(u))/g(ϕ(u))3=H(u). Evaluating this primitive at 0,1 by [F4], using ϕ(0)=a and ϕ(1)=b, gives ∫01H(u) du=∫abf(x)/g(x)2 dx.

4.1step 3.1step 3.2∎

Steps 3.1 and 3.2 identify the limit of N2DN(f,g) with the displayed integral, proving the theorem.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Optimal point density within the compact compander class

Statement

Fix a<b and a positive normalized C1 source density f on [a,b]. Among all positive normalized C1 point densities g used in Positive C1 compact one-dimensional compander, the asymptotic coefficient from Exact high-rate limit for a positive compact one-dimensional compander is uniquely minimized by

g∗(x)=f(x)1/3∫abf(t)1/3 dt,

and the minimum limit is

112(∫abf(x)1/3 dx)3.

This is optimality within the stated compact compander class, not unrestricted scalar or vector quantizer optimality.

Facts & Assumptions

Given: a<b and a positive normalized C1 density f on [a,b].

[F1]

Positive C1 compact one-dimensional compander: an admissible point density g is positive, normalized, and C1 on the same compact interval.

[F2]

Exact high-rate limit for a positive compact one-dimensional compander: the asymptotic coefficient for g is 112∫abf/g2.

[F3]

Real powers for positive bases, with the zero-base positive-exponent convention and Continuity and derivatives of positive-base real powers: for positive input, f1/3 is defined as the positive real power and is C1 with derivative f′/(3f2/3).

[F5]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): the derivative of a composition of differentiable Euclidean maps is the composition of their derivatives.

[F6]

A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value: a continuous real function on compact [a,b] is bounded and attains its extrema.

Proof

1.1givenF1F3F4F6algebra

Set A:=∫abf(x)1/3 dx, B(g):=∫abf(x)/g(x)2 dx, and z(x):=f(x)/(B(g)g(x)3). Positivity and continuity on compact [a,b] make A,B(g) finite and strictly positive by [F3], [F4] and [F6]. Using ∫g=1, direct cancellation gives ∫abz(x)g(x) dx=1 and ∫abz(x)1/3g(x) dx=A/B(g)1/3.

2.1F3step 1.1algebra

For each x, z(x)+2−3z(x)1/3=(z(x)1/3−1)2(z(x)1/3+2)≥0 by the positive real-power convention [F3]. Multiply by g(x)>0 and integrate; step 1.1 and ∫g=1 give 3A/B(g)1/3≤3, hence B(g)≥A3.

3.1F3F6step 1.1step 2.1algebra

Equality B(g)=A3 makes the integral of (z1/3−1)2(z1/3+2) against g(x) dx equal 1+2−3A/B(g)1/3=0, by step 1.1. By [F3] the root is positive; by [F6], g has a positive minimum. If the continuous integrand were positive at any point, it would be bounded below by a positive number on a one-sided or two-sided interval of positive length, so that integral would be positive. Therefore the integrand vanishes everywhere, and its factorization gives z=1 and f/g3=B(g) on [a,b].

4.1F1F2F3F5step 1.1step 3.1algebra∎

Step 3.1 gives g=f1/3/B(g)1/3; integrating and using ∫g=1 gives B(g)1/3=A, hence g=g∗. Conversely, [F3] and [F5] show f1/3 is positive and C1, so g∗ is an admissible positive normalized C1 density; direct substitution gives B(g∗)=A3. Thus g∗ is the unique minimizer of the coefficient in [F2], with minimum A3/12.

5 · Examples, counterexamples and false statements

None yet.

Sources