Interval Newton methods and the Krawczyk test #
Interval methods of global optimization prove that a box X = Icc a b in ι → ℝ contains exactly
one zero of a continuous map f : (ι → ℝ) → ι → ℝ, or none. They work with a set 𝒜 of matrices
that encloses the slopes of f on X: for all x, y ∈ X, some A ∈ 𝒜 satisfies
f x - f y = A *ᵥ (x - y). In practice 𝒜 is an interval matrix, computed by interval arithmetic
from bounds on the Jacobian of f over X. This file proves, for the exact ranges of the
operators, the inclusion and exclusion properties of the Krawczyk operator of
Krawczyk and of the interval Newton operator of Moore, the Krawczyk
existence test of Moore, the strict Krawczyk test (existence and uniqueness), and the
interval Newton existence and uniqueness tests, in the forms of
Neumaier, Theorems 5.1.7, 5.1.8 and 5.4.2 and
Moore–Kearfott–Cloud, Theorems 8.1–8.4. Krawczyk's paper has the
operator, the inclusion of zeros, a convergence criterion and a one-dimensional exclusion test, but
no existence test. A test computed with an interval enclosure of an operator (a superset) follows
by transitivity of ⊆.
Main definitions #
ConvexAnalysis.matrixIcc A₁ A₂: the interval matrix of allAwithA₁ ≤ A ≤ A₂entrywise.ConvexAnalysis.IsSlopeEnclosure 𝒜 f s:𝒜encloses the slopes offons, between all pairs of points; Neumaier's Lipschitz set Neumaier, Section 5.1, (6) there, without his requirement that𝒜be closed, convex and bounded.ConvexAnalysis.IsSlopeEnclosureAt 𝒜 f x₀ s:𝒜encloses the slopes offatx₀ons, betweenx₀and the points ofs; Neumaier's slope set atx₀Neumaier, Section 5.4, (3) there, again without closedness, convexity and boundedness.ConvexAnalysis.krawczyk f 𝒜 Y x₀ s: the range of the Krawczyk operator,{x₀ - Y *ᵥ f x₀ + (1 - Y * A) *ᵥ (x - x₀) | A ∈ 𝒜, x ∈ s}; the operator (25) of Krawczyk, Section 10, (13) of Neumaier, Section 5.1 and (8.13) of Moore–Kearfott–Cloud, as an exact range.ConvexAnalysis.intervalNewton f 𝒜 x₀: the interval Newton operator, the solution set{x₀ - v | A *ᵥ v = f x₀ for some A ∈ 𝒜}. Neumaier's Newton operatorN(x̃, x) = x̃ - A^H F(x̃)Neumaier, Section 5.1, (11) there, uses the hull of this set, which contains it, so the tests with the exact set are stronger.
Main statements #
ConvexAnalysis.isSlopeEnclosure_matrixIcc_of_hasFDerivWithinAt: entrywise bounds on the Jacobian over a convex set give a slope enclosure by an interval matrix (the mean value theorem in each row; Neumaier, Corollary 5.1.5 for continuously differentiablef);ConvexAnalysis.isSlopeEnclosure_of_hasFDerivWithinAt: so does any compact convex set of matrices containing the Jacobians (separation and the mean value theorem; Neumaier, Proposition 5.1.4 for the closed convex hull of the Jacobians of a continuously differentiablef).ConvexAnalysis.IsSlopeEnclosure.continuousOn: a map with a compact slope enclosure is continuous.ConvexAnalysis.exists_isFixedPt_of_krawczyk_subset,ConvexAnalysis.exists_eq_zero_of_krawczyk_subset: the Krawczyk existence test Moore, Moore–Kearfott–Cloud, Theorem 8.2. IfK ⊆ X, thenx ↦ x - Y *ᵥ f xhas a fixed point inX, andfhas a zero inXifYis invertible.ConvexAnalysis.existsUnique_eq_zero_of_krawczyk_subset_interior: the strict Krawczyk test Neumaier, Theorem 5.1.8 (iii), Moore–Kearfott–Cloud, Theorem 8.3. IfK ⊆ interior X, thenfhas exactly one zero inX, andYand everyA ∈ 𝒜are invertible (ConvexAnalysis.isUnit_of_krawczyk_subset_interior,ConvexAnalysis.isUnit_of_mem_of_krawczyk_subset_interior; compare Neumaier, Proposition 5.1.10).ConvexAnalysis.mem_intervalNewton_of_eq_zero,ConvexAnalysis.mem_krawczyk_of_eq_zero: every zero offinXlies inN(X)and inK(X); hence the exclusion testsConvexAnalysis.ne_zero_of_intervalNewton_inter_eq_emptyandConvexAnalysis.ne_zero_of_krawczyk_inter_eq_empty(Neumaier, Theorems 5.1.7 (i), (ii) and 5.1.8 (i), (ii)), and the interval Newton iterationX (k + 1) ⊇ N(X k) ∩ X kkeeps every zero (ConvexAnalysis.mem_of_intervalNewton_inter_subset).ConvexAnalysis.existsUnique_eq_zero_of_intervalNewton_subset: the interval Newton existence test Neumaier, Theorems 5.1.7 (iii) and 5.4.2 (iii). If𝒜is compact, convex and consists of invertible matrices, andN(X) ⊆ X, thenfhas exactly one zero inX.ConvexAnalysis.intervalNewton_diam_succ_le,ConvexAnalysis.intervalNewton_diam_le_pow,ConvexAnalysis.intervalNewton_tendsto_diam: quadratic convergence of the idealized interval Newton iteration, withX (k + 1)the exact setN(X k) ∩ X kor its interval hull. If the inverses of the members of𝒜 kare bounded byβand the members of𝒜 kdiffer by at mostL · diam (X k)(for example,L = 2 L'if they lie withinL' · diam (X k)off'(x*), for a Lipschitz Jacobian), thendiam (X (k + 1)) ≤ 2 β L diam (X k) ^ 2, hencediam (X k) ≤ q ^ (2 ^ k - 1) diam (X 0)withq = 2 β L diam (X 0), and the diameters tend to0onceq < 1. Neumaier's quadratic convergence results, Neumaier, Theorems 5.2.14 and 5.2.15, are for related iterations (a Newton step at a point, and the Krawczyk iteration with a varying Lipschitz matrix).ConvexAnalysis.diam_Icc_sInf_sSup(inConvexAnalysis.Box): the interval hullIcc (sInf s) (sSup s)of a bounded sets(the smallest box containing it) has the diameter ofs, in the sup norm.ConvexAnalysis.not_isLocalMin_of_intervalNewton_inter_eq_empty,ConvexAnalysis.exists_eq_zero_and_isLocalMin_eq_of_krawczyk_subset_interior: global optimization. Applied to the gradientgofφ, the exclusion test discards boxes without a local minimizer ofφ, and the strict Krawczyk test proves that a box contains exactly one stationary point, which is then the only candidate for a local minimizer in the box.
Implementation notes #
The interval matrix is any set 𝒜 : Set (Matrix ι ι ℝ), and the operators are the exact sets,
not their interval hulls. This is the most general form of the tests: in practice K(X) and
N(X) are replaced by interval enclosures, which are supersets. Mathlib's NonemptyInterval
would fix boxes as the only shape; Matrix has no entrywise order in Mathlib, so interval
matrices are ConvexAnalysis.matrixIcc. The base point is written x₀ (x̃ in the literature,
usually the midpoint of X, the best choice for the Krawczyk operator by
Neumaier, Theorem 5.1.9); it need not be the midpoint, and for the existence tests
not even in X, since only the slopes at x₀ are used. Neumaier assumes x̃ ∈ interior X for
the uniqueness tests; here x₀ ∈ X suffices.
- Krawczyk: for
x ∈ Xand a slopeAatx₀,x - Y *ᵥ f x = x₀ - Y *ᵥ f x₀ + (1 - Y * A) *ᵥ (x - x₀) ∈ K, soK ⊆ Xmakesx ↦ x - Y *ᵥ f xa self-map ofX, and Brouwer's theorem for boxes (ConvexAnalysis.exists_isFixedPt_Icc) applies. IfK ⊆ interior X, comparing two points ofKwith the sameAgives|((1 - Y * A) *ᵥ u) i| < w ifor alluwith|u j| ≤ w j, wherew = b - a; then(1 - Y * A) *ᵥ v = vforcesv = 0(look at a coordinate where|v j| / w jis largest), soY * Ais invertible. - Interval Newton: Kakutani's fixed point theorem
(
ConvexAnalysis.exists_mem_self_of_isClosed_graph_of_locallyConvexSpace) applies to the correspondence(x, A) ↦ {x₀ - A⁻¹ *ᵥ f x₀} × {B ∈ 𝒜 | f x - f x₀ = B *ᵥ (x - x₀)}onX × 𝒜; at a fixed point(x, A),f x = f x₀ + A *ᵥ (x - x₀) = 0. The values are convex because𝒜is. Neumaier's Lipschitz and slope sets are convex by definition. Convexity cannot be dropped when only the slopes atx₀are enclosed: in dimension one,f x = c + |x|with0 < c < 1has the slopes±1atx₀ = 0, so𝒜 = {-1, 1}is a compact set of invertible matrices enclosing them, andN = {-c, c} ⊆ [-1, 1], butfhas no zero. - The tests and the convergence theorem use only the slopes at the base point
(
ConvexAnalysis.IsSlopeEnclosureAt); the uniqueness statements need the slopes between all pairs of points (ConvexAnalysis.IsSlopeEnclosure), which give the former at every point (ConvexAnalysis.IsSlopeEnclosure.isSlopeEnclosureAt). - Convergence: for
z ∈ N(X)and a zerox*,A *ᵥ (z - x*) = (A - B) *ᵥ (x₀ - x*)withA, B ∈ 𝒜(ConvexAnalysis.norm_sub_le_of_mem_intervalNewton). The next box is abstracted as anyX (k + 1)that containsN(X k) ∩ X kand has at most its diameter; the interval hull ofN(X k) ∩ X khas both properties for the sup norm ofι → ℝ(Bornology.IsBounded.subset_Icc_sInf_sSup,ConvexAnalysis.diam_Icc_sInf_sSup), in whichdiam (Icc a b) = ‖b - a‖is the width of the box (ConvexAnalysis.diam_Icc_eq_norm_sub). The theorem covers this idealized method; boxes computed by interval arithmetic that overestimateN(X k)do not satisfy the diameter hypothesis. - Gradients:
g x iis thei-th partial derivative ofφatx, as a derivative oft ↦ φ (Function.update x i t); at a local minimizer all of them vanish.
Mathlib has no Krawczyk operator, interval Newton method or interval matrices. Its inclusion
tactic (Mathlib/Tactic/Inclusion) is an interval arithmetic engine for proving numerical
bounds, unrelated to these tests. No Mathlib pull request mentions Krawczyk or interval Newton
methods (searched on 2026-11-30).
References #
- R. E. Moore, Interval Analysis, Prentice-Hall, 1966.
- R. Krawczyk, Newton-Algorithmen zur Bestimmung von Nullstellen mit Fehlerschranken, Computing 4 (1969), 187–201.
- R. E. Moore, A test for existence of solutions to nonlinear systems, SIAM J. Numer. Anal. 14 (1977), 611–615.
- A. Neumaier, Interval Methods for Systems of Equations, Cambridge University Press, 1990, Chapter 5. Neumaier credits Theorem 5.1.7 (i), (ii) to Moore (1966), 5.1.7 (iii) to Nickel (1971), 5.1.8 (i), (ii) to Krawczyk (1969) and 5.1.8 (iii) to Kahan (1968) and Moore (1977).
- R. E. Moore, R. B. Kearfott, M. J. Cloud, Introduction to Interval Analysis, SIAM, 2009, Chapter 8.
- E. Hansen, G. W. Walster, Global Optimization Using Interval Analysis, 2nd ed., Marcel Dekker, 2004.
- S. M. Rump, Verification methods: Rigorous results using floating-point arithmetic, Acta Numerica 19 (2010), 287–449.
Tags #
interval Newton method, Krawczyk operator, interval analysis, verified computation, existence test, exclusion test, global optimization
Interval matrices #
Slope enclosures #
A set 𝒜 of matrices encloses the slopes of f on s if for all x, y ∈ s some
A ∈ 𝒜 satisfies f x - f y = A *ᵥ (x - y). This is (6) of Neumaier, Section 5.1,
where such an 𝒜 is called a Lipschitz set if it is also closed, convex and bounded. For
differentiable f on a convex set, an interval matrix containing the Jacobians is one
(ConvexAnalysis.isSlopeEnclosure_matrixIcc_of_hasFDerivWithinAt).
Equations
Instances For
An enclosure of the slopes stays one for a larger set of matrices and a smaller set.
A set 𝒜 of matrices encloses the slopes of f at x₀ on s if for every x ∈ s some
A ∈ 𝒜 satisfies f x - f x₀ = A *ᵥ (x - x₀). This is all that the exclusion tests, the
Krawczyk and interval Newton existence tests and the convergence of the interval Newton method
use; uniqueness needs the slopes between all pairs of points (ConvexAnalysis.IsSlopeEnclosure).
The point x₀ need not lie in s. A closed, convex and bounded such 𝒜 is a slope set at x₀
in the sense of (3) in Neumaier, Section 5.4.
Equations
Instances For
An enclosure of the slopes at x₀ stays one for a larger set of matrices and a smaller
set.
An enclosure of the slopes on s encloses the slopes at every x₀ ∈ s.
If 𝒜 encloses the slopes of f on s and consists of invertible matrices, then f is
injective on s; in particular f has at most one zero in s.
A map with a compact slope enclosure is continuous: if a compact set 𝒜 of matrices (for
example an interval matrix) encloses the slopes of f on s, then f is continuous on s, since
f y - f x = A *ᵥ (y - x) with A in a bounded set.
Slope enclosure from Jacobian bounds: if f has the derivative f' x within a convex
set s at every x ∈ s, and the Jacobian matrices of f' x lie in the interval matrix
[A₁, A₂] for all x ∈ s, then [A₁, A₂] encloses the slopes of f on s. The mean value
theorem is applied to each component of f separately, so each row of the slope matrix is a row
of the Jacobian at a different point of the segment; this is why interval matrices, which allow
rows from different matrices, are the natural enclosures. Neumaier, Corollary 5.1.5
states this for continuously differentiable f; here f need only have a derivative within
s.
Slope enclosure from a compact convex set of Jacobians: if f has the derivative f' x
within a convex set s at every x ∈ s, and the Jacobian matrices of f' x lie in a compact
convex set 𝒜 for all x ∈ s, then 𝒜 encloses the slopes of f on s. If some slope
f x - f y were not in the compact convex set {A *ᵥ (x - y) | A ∈ 𝒜}, a linear functional ℓ
would separate it, contradicting the mean value theorem for t ↦ ℓ (f (y + t (x - y))). For
interval matrices, ConvexAnalysis.isSlopeEnclosure_matrixIcc_of_hasFDerivWithinAt needs
neither compactness nor convexity. Neumaier, Proposition 5.1.4 proves this for the
closed convex hull of the Jacobians of a continuously differentiable f; here any compact convex
superset works and no continuity of the derivative is needed.
The Krawczyk operator #
The range of the Krawczyk operator
K(s) = {x₀ - Y *ᵥ f x₀ + (1 - Y * A) *ᵥ (x - x₀) | A ∈ 𝒜, x ∈ s}, for a matrix Y (usually
an approximate inverse of the midpoint of 𝒜) and a point x₀ (usually the midpoint of the
box s). Interval arithmetic computes a box containing it. This is the exact range of the
operator (25) of Krawczyk, Section 10, of (13) in
Neumaier, Section 5.1 and of (8.13) in
Moore–Kearfott–Cloud, for any set of matrices 𝒜 and any x₀.
Equations
Instances For
The Krawczyk operator is monotone in the interval matrix and in the box.
If A ∈ 𝒜 is a slope of f between x ∈ s and x₀, then the Krawczyk operator contains
the image x - Y *ᵥ f x of x under the simplified Newton map.
Every zero of f in s lies in the Krawczyk operator, if 𝒜 encloses the slopes of f at
x₀ on s (Krawczyk, Section 10; Neumaier, Theorem 5.1.8 (i),
and Neumaier, Corollary 5.4.3 (i) for slope matrices). Here 𝒜 is any set of
matrices and x₀ need not lie in s.
The Krawczyk exclusion test Neumaier, Theorem 5.1.8 (ii),
Neumaier, Corollary 5.4.3 (ii): if K(s) ∩ s = ∅, then f has no zero in s.
In dimension one it is part of Krawczyk.
The Krawczyk existence test, fixed point form: if 𝒜 encloses the slopes of f at x₀
on the box X = Icc a b and K(X) ⊆ X, then the simplified Newton map x ↦ x - Y *ᵥ f x has a
fixed point in X. By Brouwer's theorem, since the map sends X into K(X).
The Krawczyk existence test (Moore,
Moore–Kearfott–Cloud, Theorem 8.2): if 𝒜 encloses the slopes of f at
x₀ on the box X = Icc a b, Y is invertible and K(X) ⊆ X, then f has a zero in X.
Moore–Kearfott–Cloud take the interval Jacobian for 𝒜 and x₀ ∈ X; here 𝒜 is any set of
matrices enclosing the slopes at x₀, and x₀ is arbitrary. Neumaier states only
the strict form (ConvexAnalysis.existsUnique_eq_zero_of_krawczyk_subset_interior).
A homogeneous map ψ (for example a linear map) that sends the box |u j| ≤ w j into the
open box |v i| < w i has no fixed point other than 0: a fixed point v ≠ 0, scaled so that
the largest ratio |v j| / w j is 1, would satisfy |v k| < |v k| at a coordinate k where the
ratio is largest.
If K(X) ⊆ interior X, then Y * A is invertible for every A ∈ 𝒜. For an interval matrix
𝒜, Neumaier, Proposition 5.1.10 gives the stronger conclusion that the spectral
radius of |Y 𝒜 - 1| is less than one, and Neumaier, Theorem 5.1.8 (iii) that 𝒜
is strongly regular.
If K(X) ⊆ interior X and 𝒜 is nonempty, then Y is invertible.
If K(X) ⊆ interior X, then every A ∈ 𝒜 is invertible.
The strict Krawczyk test Neumaier, Theorem 5.1.8 (iii) (credited there to
Kahan (1968) and Moore; see also
Moore–Kearfott–Cloud, Theorem 8.3 and Rump's survey): if
𝒜 encloses the slopes of the continuous map f on the box X = Icc a b, x₀ ∈ X, and
K(X) ⊆ interior X, then f has exactly one zero in X. No invertibility of Y or of the
members of 𝒜 is assumed: it follows. Neumaier assumes a Lipschitz matrix and
x₀ ∈ interior X, Moore–Kearfott–Cloud a cube with x₀ its midpoint.
The interval Newton operator #
The interval Newton operator N = {x₀ - v | A *ᵥ v = f x₀ for some A ∈ 𝒜}: the
solution set of the interval linear system 𝒜 v ∋ f x₀, subtracted from x₀. Interval Gaussian
elimination computes a box containing it, and the interval Gauss–Seidel step a box containing
its intersection with the current box Neumaier, Sections 4.3 and 4.5. Neumaier's
Newton operator N(x̃, x) = x̃ - A^H F(x̃), (11) in Neumaier, Section 5.1, is the
interval hull of this set.
Instances For
The interval Newton operator is monotone in the interval matrix.
Every zero of f in s lies in the interval Newton operator, if 𝒜 encloses the slopes of
f at x₀ on s (Neumaier, Theorems 5.1.7 (i) and 5.4.2 (i),
Moore–Kearfott–Cloud, Theorem 8.1 in dimension one). Here 𝒜 is any
set of matrices.
The interval Newton exclusion test
Neumaier, Theorems 5.1.7 (ii) and 5.4.2 (ii): if N ∩ s = ∅, then f has no
zero in s.
The interval Newton iteration keeps every zero: if 𝒜 k encloses the slopes of f at
x₀ k on X k, and each X (k + 1) contains N(X k) ∩ X k (for example, is equal to it, is
the intersection of X k with a box enclosing N(X k), or is the result of an interval
Gauss–Seidel step), then every zero of f in X 0 lies in every X k. In particular, if some
X k is empty, f has no zero in X 0. Compare the iteration (1) of
Neumaier, Section 5.2 and, in dimension one,
Moore–Kearfott–Cloud, Theorem 8.1.
The interval Newton existence test, Kakutani form: let 𝒜 be a compact convex set of
invertible matrices (for example an interval matrix ConvexAnalysis.matrixIcc A₁ A₂ without
singular members) that encloses the slopes of the continuous map f at x₀ on the box
X = Icc a b. If N ⊆ X, then f has a zero in X. Convexity of 𝒜 is needed (see the
implementation notes). Neumaier, Theorem 5.4.2 (iii) assumes N ⊆ interior X and
x₀ ∈ X; here N ⊆ X suffices and x₀ is arbitrary.
The interval Newton existence and uniqueness test
Neumaier, Theorem 5.1.7 (iii) (credited there to Nickel (1971)): let
𝒜 be a compact convex set of invertible matrices (for example an interval matrix without
singular members) that encloses the slopes of f on the box X = Icc a b, and x₀ ∈ X. If
N ⊆ X, then f has exactly one zero in X. The continuity of f follows from the slope
enclosure (ConvexAnalysis.IsSlopeEnclosure.continuousOn). Neumaier assumes
x₀ ∈ interior X, and Moore–Kearfott–Cloud, Theorem 8.4 assumes
N ⊆ interior X; here x₀ ∈ X and N ⊆ X suffice.
Quadratic convergence #
One step of the interval Newton method contracts towards a zero x of f: if the members of
𝒜 have inverses bounded by β, 𝒜 has diameter at most δ (as operators), and some B ∈ 𝒜
is a slope of f between x₀ and x, then every z ∈ N satisfies
‖z - x‖ ≤ β δ ‖x₀ - x‖.
Quadratic convergence of the interval Newton method, one step. Let X k be bounded sets
(boxes, in practice) with points x₀ k ∈ X k and enclosures 𝒜 k of the slopes of f at
x₀ k on X k, such that X (k + 1) contains N(X k) ∩ X k and has at most its diameter. The
interval hull Icc (sInf S) (sSup S) of S = N(X k) ∩ X k has both properties
(Bornology.IsBounded.subset_Icc_sInf_sSup, ConvexAnalysis.diam_Icc_sInf_sSup). Let the
inverses of the members of 𝒜 k be bounded by β, and the members of 𝒜 k differ by at most
L · diam (X k) (as operators). If f has a zero in X 0, then
diam (X (k + 1)) ≤ 2 β L diam (X k) ^ 2. If 𝒜 k lies within L' · diam (X k) of a fixed
matrix J (for example the Jacobian at a zero, when the Jacobian is Lipschitz), this holds with
L = 2 L'. Neumaier has no such statement for the Newton operator with a fixed set of matrices;
his quadratic convergence results Neumaier, Theorems 5.2.14 and 5.2.15 are for
related iterations.
This is the idealized method, with the exact solution set N(X k) or its interval hull. A
computed enclosure of N(X k) by interval arithmetic may be wider, and then the diameter
hypothesis hdiam fails; such enclosures need an additional bound on their overestimation.
Quadratic convergence of the interval Newton method, the explicit rate: under the
hypotheses of ConvexAnalysis.intervalNewton_diam_succ_le, with q = 2 β L diam (X 0),
diam (X k) ≤ q ^ (2 ^ k - 1) * diam (X 0) for every k. This is the recursion
diam (X (k + 1)) ≤ 2 β L diam (X k) ^ 2, solved; it is useful when q < 1
(ConvexAnalysis.intervalNewton_tendsto_diam).
Quadratic convergence of the interval Newton method: under the hypotheses of
ConvexAnalysis.intervalNewton_diam_succ_le, if 2 β L diam (X 0) < 1, then the diameters
of the boxes X k tend to 0, by the quadratic rate of
ConvexAnalysis.intervalNewton_diam_le_pow. As there, this is the idealized method with the
exact solution sets or their interval hulls.
Global optimization: stationary points in a box #
The interval Newton exclusion test for minimizers: let g x i be the i-th partial
derivative of φ at x ∈ s, and 𝒜 enclose the slopes of g at x₀ on s (for example an
interval matrix containing the Hessians of φ). If N ∩ s = ∅ for g, then no point of s is
a local minimizer of φ. In interval branch and bound, boxes in the interior of the search
region are discarded this way.
The strict Krawczyk test for stationary points: let g x i be the i-th partial
derivative of φ at x ∈ X = Icc a b, g continuous on X, and 𝒜 enclose the slopes of g
on X, x₀ ∈ X. If K(X) ⊆ interior X for g, then X contains exactly one stationary point
x of φ (a zero of g), and every local minimizer of φ in X is x.