The calculus of a best gap.
For a function F of the gap with derivative J at every positive gap: a positive gap is a
global best over an allowed set exactly when J integrates to at most zero from it to every
allowed gap (best_iff_integral), so a best positive gap exists exactly when some positive gap
obeys that condition (exists_best_iff); at an interior best gap J = 0 (deriv_zero_of_best);
J = 0 with a negative derivative of J gives a strict local maximum (strict_max). On a
differentiable branch ℓ*(d) of zeros of J(ℓ, d), where J has partial derivatives near the
point continuous at it and ∂_ℓ J ≠ 0, the branch moves at -∂_d J / ∂_ℓ J, and with ∂_ℓ J < 0
it grows, holds or shrinks exactly as ∂_d J is positive, zero or negative (branch_rate).
The best-gap condition.
A best positive gap exists exactly when some positive gap obeys the integral condition.
A negative derivative of J at a zero of J gives a strict local maximum.
The motion of a best gap.