Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-6-luna)
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.

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.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

5 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources