Cost of Hager's estimator full
This proof shows: time.worst, space.extra, products.worst, flops.worst.
Products. Higham's form runs at most t iterations, each with at most one product by B (line L3) and one by BT (line L6), and line L10 adds one product by B. So at most 2t+1 products.
Flops per product with LU factors. Bx=U−1(L−1(Px)): the permutation costs no flops, the unit lower triangular solve n(n−1) flops and the upper triangular solve n2 flops, so 2n2−n. The transposed product BTx=PTL−TU−Tx costs the same. So the products cost at most (2t+1)(2n2−n)≤4tn2+2n2 flops.
Other work. Per iteration, ∥y∥1, sign(y), the comparison of sign vectors, the index j and zTx take O(n) operations, and line L10 forms b and its norm in O(n). That is O(tn) in total. Hence 4tn2+2n2+O(tn) flops and O(tn2) time.
Space. The vectors x, y, the current and previous ξ, z and b are each of length n: Θ(n) besides the factors. ■
Correctness of Hager's estimator full
This proof shows: correctness, termination.
Exact arithmetic. f(x)=∥Bx∥1, sign(0)=1, and for a point x with y=Bx, ξ=sign(y) and z=BTξ.
Lemma 1 (subgradient). For every w, f(w)≥zTw, and f(x)=zTx.
Proof. ∣ξi∣=1, so f(w)=∑i∣(Bw)i∣≥∑iξi(Bw)i=ξTBw=zTw. At w=x, ξiyi=∣yi∣, so equality holds. □
Theorem 2 (lower bound). Every value assigned to γ equals ∥Bv∥1/∥v∥1 for some v=0, hence γ≤∥B∥1.
Proof. The vectors x used in line L3 are e/n and ej, of 1-norm 1, so γ=∥Bx∥1 is of this form. In line L10, ∥b∥1=∑i=0n−1(1+i/(n−1))=n+n/2=3n/2, so 2∥Bb∥1/(3n)=∥Bb∥1/∥b∥1. Finally ∥Bv∥1≤∥B∥1∥v∥1. □
Lemma 3 (the maximum is at a vertex). max∥w∥1≤1f(w)=maxjf(ej)=∥B∥1.
Proof. f is convex (a norm composed with a linear map), and every w with ∥w∥1≤1 is a convex combination of the points ±ej (and 0): w=∑j∣wj∣sign(wj)ej+(1−∥w∥1)⋅0. So f(w)≤maxjf(±ej)=maxj∥Bej∥1, the largest column sum. □
Theorem 4 (strict ascent). If ∥z∥∞>zTx and j is chosen in line L7, then f(ej)>f(x).
Proof. By Lemma 1 with w=sign(zj)ej, f(ej)=f(w)≥∣zj∣=∥z∥∞>zTx=f(x). □
Theorem 5 (local maximum, Hager). If ∥z∥∞≤zTx, ∥x∥1=1, and y=Bx has no zero entry, then there is a neighbourhood N of x such that f(w)≤f(x) for all w∈N with ∥w∥1≤1.
Proof. By continuity there is a neighbourhood N on which sign(Bw)=ξ, and there f(w)=ξTBw=zTw≤∥z∥∞∥w∥1≤∥z∥∞≤zTx=f(x). □
Theorem 6 (termination). Hager's form stops after at most n+1 iterations, and Higham's after at most t.
Proof. Higham's loop has the explicit bound t. In Hager's form, from the second iteration on x is some ej. If the test of line L8 fails at iteration k, Theorem 4 gives f(xk+1)>f(xk), so the values f(x2)<f(x3)<⋯ are strictly increasing and the vertices x2,x3,… are distinct. There are n unit vectors, so at most n iterations follow the first. □
Remark (failure of the stopping test at the start). For B=I−(1−δ)eeT/n with 0<δ<1, Be=δe, so with x=e/n, y=δe/n, ξ=e, z=BTe=δe and ∥z∥∞=δ=zTx. Hager's form stops with γ=δ, while ∥B∥1=1−(1−δ)/n+(n−1)(1−δ)/n≥2(n−1)(1−δ)/n. So no positive lower bound on γ/∥B∥1 holds. ■