*Proof.* Consider the set of points P={(i0,j0),(i1,j1),…,(im+n,jm+n)} as a "monotone path" from (0,0) to (m,n) if (i0,j0)=(0,0), (im+n,jm+n)=(m,n), and for every index 0≤k<m+n, we have
(ik+1,jk+1)∈{(ik+1,jk),(ik,jk+1)}.
Given two non-negative decreasing sequences u0≥u1≥⋯≥um and v0≥v1≥⋯≥vn, define the weight of the monotone path P as
W(P)=k=0∑m+nuikvjk.
Lemma: There exists a monotone path P such that
W(P)≥(m+1)(n+1)m+n+1(i=0∑mui)(j=0∑nvj).
*Proof of the Lemma:* We use induction on m+n. When m=0 or n=0, the conclusion is trivial. Assume the lemma holds for m+n<k. Consider the case m+n=k with m,n>0. Let
S=monotone path PmaxW(P).
By the induction hypothesis, for the sequences u0≥u1≥⋯≥um−1 and v0≥v1≥⋯≥vn, there exists a monotone path P0 from (0,0) to (m−1,n) such that
W(P0)≥m(n+1)(m−1)+n+1(i=0∑m−1ui)(j=0∑nvj).
Let P be the monotone path obtained by adding (m,n) to P0, then
S≥W(P)=W(P0)+umvn≥m(n+1)(m−1)+n+1(i=0∑m−1ui)(j=0∑nvj)+umvn.(10)
Similarly, for the sequences u0≥u1≥⋯≥um and v0≥v1≥⋯≥vn−1, by the induction hypothesis, we have
S≥(m+1)nm+(n−1)+1(i=0∑mui)(j=0∑n−1vj)+umvn.(11)
Let U=u0+⋯+um and V=v0+⋯+vn. Multiplying (10) by m+nm and adding it to (11) multiplied by m+nn, we get
S≥n+11(U−um)V+m+11U(V−vn)+umvn=(m+1)(n+1)m+n+1UV+(m+1U−um)(n+1V−vn)≥(m+1)(n+1)m+n+1UV,
thereby completing the proof of the lemma.
Returning to the proof of the stated inequality. Sort {ai} as u0≥u1≥⋯≥um, and sort {bj} as v0≥v1≥⋯≥vn. There exists a permutation π of {0,1,…,m} such that for each index i, ui=aπ(i); similarly, there exists a permutation σ of {0,1,…,n} such that for each index j, vj=bσ(j).
By the lemma, there exists a monotone path P={(i0,j0),(i1,j1),…,(im+n,jm+n)} from (0,0) to (m,n) such that
W(P)≥(m+1)(n+1)m+n+1UV.
From the definition of a monotone path, for each index k∈{0,1,…,m+n} we have
#{i0,i1,…,ik}=ik+1,#{j0,j1,…,jk}=jk+1,
hence
#{π(i0),…,π(ik)}+#{σ(j0),…,σ(jk)}=ik+jk+2=k+2.
For finite non-empty sets of real numbers X and Y, we have ∣X+Y∣≥∣X∣+∣Y∣−1. Let Σk={π(i0),…,π(ik)}+{σ(j0),…,σ(jk)}, then Σk⊆{0,1,…,m+n} and ∣Σk∣≥k+1. Thus, we can sequentially choose
τ(0)∈Σ0,τ(k)∈Σk∖{τ(0),τ(1),…,τ(k−1)},∀1≤k≤m+n.
Since τ(0),…,τ(m+n) are distinct and between 0 and m+n, they form a permutation of {0,1,…,m+n}. For each k, let τ(k)=π(ip)+σ(jq), where p,q≤k. From the definition of c∗, we have
cτ(k)≥aπ(ip)bσ(jq)=uipvjq≥uikvjk,
thus,
k=0∑m+nck=k=0∑m+ncτ(k)≥k=0∑m+nuikvjk=W(P)≥(m+1)(n+1)m+n+1UV,
which proves the desired inequality. □