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.

Finite-metric transport duality — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Two-point finite-metric transport

Example

Let X={x1,x2} have metric distance d(x1,x2)=δ>0. For a,b∈[0,1], let p=(a,1−a) and q=(b,1−b). Then W1(p,q)=δ∣a−b∣. If a≥b, one attaining coupling is

π=(ba−b01−a)

and one attaining normalized potential is f=(0,−δ). If b>a, one attaining coupling and potential are

π=(a0b−a1−b),f=(0,δ).

Facts & Assumptions

Given: The two-point metric space, probability vectors, and parameter bounds in the Example.

[F1]

A coupling is a nonnegative matrix with the stated row and column sums, and W1 is its minimum transport cost (Couplings of finite probability vectors, The finite-metric 1-Wasserstein transport cost).

[F2]

The minimum coupling cost equals the maximum over normalized vectors satisfying ∣fi−fj∣≤d(xi,xj); both extrema are attained (Finite-metric transport duality and complementary slackness).

Verification

1.1givenF1constructalgebra

If a≥b, all entries of the displayed matrix are nonnegative, its row sums are b+(a−b)=a and 1−a, and its column sums are b and (a−b)+(1−a)=1−b. Its cost is δ(a−b). If b>a, the second displayed matrix has nonnegative entries, row sums a and (b−a)+(1−b)=1−a, column sums a+(b−a)=b and 1−b, and cost δ(b−a). Thus in either case it is a feasible coupling of cost δ∣a−b∣.

1.2givenF1algebra

If a≥b, the vector (0,−δ) is normalized and satisfies the Lipschitz constraint with equality; its objective is (b−a)(−δ)=δ(a−b). If b>a, the vector (0,δ) is normalized and feasible, and its objective is (b−a)δ=δ(b−a). Thus the displayed potential has value δ∣a−b∣ in either case.

2.1step 1.1step 1.2F2algebra∎

By [F2], the optimal primal and dual values coincide. The feasible plan in step 1.1 gives an optimal primal value at most δ∣a−b∣, while the feasible potential in step 1.2 gives an optimal dual value at least that number. Equality of the optima forces both displayed values to be optimal and gives W1(p,q)=δ∣a−b∣.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Transport on a finite chain

Example

Let n≥1 and let X={0,1,…,n} with metric d(i,j)=∣i−j∣. Let p=(pi)i=0n and q=(qi)i=0n be probability vectors. Put Rk=∑i=0k(pi−qi) for 0≤k<n. Define sgn⁡(t)=1 for t>0, sgn⁡(t)=−1 for t<0, and sgn⁡(0)=0. Then

W1(p,q)=∑k=0n−1∣Rk∣.

An attaining normalized potential is given recursively by f0=0 and fk+1=fk−sgn⁡(Rk) for 0≤k<n.

Facts & Assumptions

Given: The chain, probability vectors, and cumulative differences in the Example.

[F1]

The usual metric on R is dR(s,t)=∣s−t∣, and its restriction to {0,…,n} is a metric (The absolute value makes R a metric space: d(x,y)=∣x−y∣ is a metric, its open balls are the intervals (x−r,x+r), and it is unbounded).

[F2]

For the ordered points x0,…,xn, finite-metric transport equals the maximum of ∑i=0n(pi−qi)fi over 1-Lipschitz vectors normalized by f0=0; this is the duality theorem's first-coordinate normalization after relabeling (Finite-metric transport duality and complementary slackness).

[F3]

A probability vector has nonnegative entries summing to one (Finite probability vectors).

Verification

1.1givenF1F3algebra

Write ri=pi−qi for 0≤i≤n, set R−1=0 and Rn=0, and use ∑iri=0 from [F3]. Then ri=Ri−Ri−1 for every i, and expanding the finite sums gives ∑i=0nrifi=∑k=0n−1Rk(fk−fk+1). For any feasible 1-Lipschitz vector, ∣fk−fk+1∣≤1, so each term is at most ∣Rk∣ and the dual objective is at most ∑k=0n−1∣Rk∣.

2.1givenF1step 1.1algebra

The recursively defined potential has ∣fk+1−fk∣=∣sgn⁡(Rk)∣≤1 on each adjacent pair. For i<j, the triangle inequality on real absolute values gives ∣fi−fj∣≤∑k=ij−1∣fk+1−fk∣≤j−i=d(xi,xj); also f0=0. Thus it is feasible. Its objective, by step 1.1, is ∑k=0n−1Rksgn⁡(Rk)=∑k=0n−1∣Rk∣, so it attains the dual maximum.

3.1step 1.1step 2.1F2∎

The dual maximum is therefore ∑k=0n−1∣Rk∣ by steps 1.1–2.1. Applying [F2] identifies this value with W1(p,q) and proves the formula and the asserted attaining potential.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

An attaining coupling and potential on a three-point metric space

Example

Let X={x1,x2,x3} have the metric with zero diagonal and d(x1,x2)=d(x2,x3)=1, d(x1,x3)=2, with symmetric values. For p=(1/2,0,1/2) and q=(0,1,0), the coupling

π=(01/2000001/20)

and normalized potential f=(0,−1,0) both attain value 1.

The straight segments show the two distance-one edges, the node labels give the source and target masses, and the curved arrows represent the two positive coupling entries.

diagram failed to render:
\begin{tikzpicture}[>=stealth]
\node[draw,circle] (x1) at (0,0) {$x_1:\ (p_1,q_1)=(1/2,0)$};
\node[draw,circle] (x2) at (4,0) {$x_2:\ (p_2,q_2)=(0,1)$};
\node[draw,circle] (x3) at (8,0) {$x_3:\ (p_3,q_3)=(1/2,0)$};
\draw (x1) -- node[above] {$d(x_1,x_2)=1$} (x2);
\draw (x2) -- node[above] {$d(x_2,x_3)=1$} (x3);
\draw[->,bend right=35] (x1) to node[below] {$\pi_{12}=1/2$} (x2);
\draw[->,bend left=35] (x3) to node[below] {$\pi_{32}=1/2$} (x2);
\end{tikzpicture}

Facts & Assumptions

Given: The specified three-point distance matrix and the probability vectors in the Example.

[F1]

The finite-metric theorem equates the minimum coupling cost and maximum normalized 1-Lipschitz objective and gives complementary slackness on positive coupling entries (Finite-metric transport duality and complementary slackness).

[F2]

A coupling is a nonnegative matrix with prescribed row and column sums, and its cost is the finite sum of distance times transported mass (Couplings of finite probability vectors, The finite-metric 1-Wasserstein transport cost).

[F3]

A probability vector has nonnegative coordinates summing to one (Finite probability vectors).

Verification

1.1givenF2F3algebra

The specified distances are symmetric, vanish exactly on equal points, and are positive for distinct points. For the three distinct points, the triangle inequalities are 2≤1+1, 1≤2+1, and 1≤1+2; when a point repeats, each inequality is 0≤d+d or d≤d+0. Thus this is a metric. The displayed matrix is nonnegative, has row sums (1/2,0,1/2) and column sums (0,1,0), and has cost (1/2)⋅1+(1/2)⋅1=1.

1.2givenF3algebra

The vector f=(0,−1,0) has f1=0. Its pairwise differences have magnitudes 1,1,0, bounded respectively by distances 1,1,2. Its objective is (1/2)⋅0−1⋅(−1)+(1/2)⋅0=1.

2.1step 1.1step 1.2F1algebra∎

The feasible plan and potential in steps 1.1 and 1.2 have the same value. By [F1], the primal optimum is at most the plan cost, the dual optimum is at least the potential value, and the two optima are equal; hence both are attained with value 1. The positive entries are π12=π32=1/2, and they satisfy f1−f2=d(x1,x2)=1 and f3−f2=d(x3,x2)=1, as complementary slackness requires.

Sources