Let 1≤a<b≤n be such that 2b−axaxb is maximal. This choice of a and b implies that
xa+t≤2txa,∀t=1−a,2−a,…,b−a−1,
and similarly
xb−t≤2txb,∀t=b−n,b−n+1,…,b−a+1.
Now, suppose that xa∈(2u+11,2u1] and xb∈(2v+11,2v1], and write xa=2−α, xb=2−β. Then
i=1∑a+u−1xi≤2uxa(21+41+⋯+2a+u−11)<2uxa≤1,
and similarly,
i=b−v+1∑nxi≤2vxb(21+41+⋯+2n−b+v1)<2vxb≤1,
In other words, the sum of the xi′s for i outside of the interval [a+u,b−v] is strictly less than 2. Since the total sum is at least 3, and each term is at most 1, it follows that this interval must have at least two integers, i.e., a+u<b−v. Thus, by bounding the sum of the xi, for i∈[1,a+u]∪[b−v,n] like above, and trivially bounding each xi∈(a+u,b−v) by 1, we obtain
s<2u+1xa+2v+1xb+((b−v−(a+u)−1)=b−a+(2u+1−α+2v+1−β−(u+v+1)).
Now recall α∈(u,u+1] and β∈(v,v+1], so applying Bernoulli's inequality yields
2u+1−α+2v+1−β−u−v−1≤(1+(u+1−α))+(1+(v+1−β))−u−v−1=3−α−β.
It follows that s−3<b−a−α−β, and so
2s−3<2b−a−α−β=2b−axaxb.