The Hansen–Sengupta operator #
The Hansen–Sengupta operator of Hansen–Sengupta is the interval Newton
operator computed by one sweep of the preconditioned interval Gauss–Seidel method. For a box X,
a point x₀ ∈ X, an interval matrix G enclosing the preconditioned slopes Y A of f and an
interval vector b enclosing Y f(x₀), it replaces the sides of X one after the other by
X'ᵢ = (x₀ᵢ - (bᵢ + ∑_{j ≠ i} Gᵢⱼ (X'ⱼ - x₀ⱼ)) / Gᵢᵢ) ∩ Xᵢ,
where X'ⱼ = Xⱼ for the sides not yet replaced; a row with 0 ∈ Gᵢᵢ leaves its side unchanged.
It is the operator H(x̃, x) = x̃ + Γ(C A, -C F(x̃), x - x̃) of
Neumaier, Section 5.1, (14) there, with Neumaier's Gauss–Seidel operator Γ of
Neumaier, Section 4.3, (15) there, and one sweep of the iteration (7.10) of
Moore–Kearfott–Cloud, Section 7.5. It encloses the zeros of f in X
at least as tightly as the Krawczyk operator with the same preconditioner
(Neumaier, Theorem 4.3.5 and (15) of Section 5.1), and its existence test succeeds
on boxes where the Krawczyk test fails
(ConvexAnalysis.existsUnique_circle_inter_hyperbola_hansenSengupta).
The test X' ⊆ int X certifies by itself that every matrix of the interval matrix is invertible;
no regularity is assumed. With the dyadic evaluator of ConvexAnalysis.IntervalDyadic, the
operator is a computable function whose result the kernel checks: an empty result excludes the
zeros, every zero lies in the result, and a result inside the box proves a unique zero.
Main definitions #
ConvexAnalysis.gaussSeidelSweep G c x₀ l x: one Gauss–Seidel sweep for the real linear systemG (x - x₀) = -c, through the rows in the order of the listl.ConvexAnalysis.hansenSengupta G b x₀ l X: the Hansen–Sengupta operator in real interval arithmetic, with the rows in the order ofl, intersecting in Mathlib's latticeInterval ℝ;noneif an intersection is empty.ConvexAnalysis.DyadicInterval.inter,ConvexAnalysis.DyadicInterval.hansenSenguptaSweep: the intersection of two intervals of theinclusiontactic (noneif empty) and the sweep in dyadic interval arithmetic.ConvexAnalysis.RatArithExpr.hansenSenguptaBox prec F x₀ Y X: the dyadic Hansen–Sengupta operator of a systemF : Fin n → RatArithExpr (Fin n)on a dyadic boxX, with the derivatives computed symbolically;ConvexAnalysis.RatArithExpr.hansenSenguptaTestandConvexAnalysis.RatArithExpr.hansenSenguptaEnclosureTest: the dyadic Hansen–Sengupta test on a rational box, and the test that the operator lies in a given rational box.
Main statements #
ConvexAnalysis.exists_hansenSengupta_eq_some_of_mulVec_eq: every solution inXof a linear systemB (x - x₀) = -cwithB ∈ Gandc ∈ blies in the result (Neumaier, Proposition 4.3.4, (16) there).ConvexAnalysis.isUnit_of_hansenSengupta,ConvexAnalysis.mem_box_of_hansenSengupta_of_mulVec_eq: if the sweep visits every row at most once and its resultX'lies in the interior ofX, side by side, then every real matrix inGis invertible, and the solutions ofB (x - x₀) = -cwithB ∈ G,c ∈ blie inX'. Neumaier, Theorem 4.4.5 (ii) proves more for the natural order of the rows:Gis an H-matrix.ConvexAnalysis.mem_hansenSengupta_of_eq_zero,ConvexAnalysis.ne_zero_of_hansenSengupta_eq_none: every zero offinXlies inX', and if an intersection is empty,fhas no zero inX(Neumaier, Theorem 5.1.8 (i), (ii), for slopes atx₀Neumaier, Corollary 5.4.3 (i), (ii)).ConvexAnalysis.exists_eq_zero_of_hansenSengupta,ConvexAnalysis.existsUnique_eq_zero_of_hansenSengupta: the Hansen–Sengupta test (Neumaier, Theorem 5.1.8 (iii), found by Moore and Qi): ifX' ⊆ int X, side by side, then a continuousfwith slopes atx₀inMhas a zero inX'(Neumaier, Corollary 5.4.3 (iii)), and with slopes inMbetween all points ofXexactly one zero inX;ConvexAnalysis.existsUnique_eq_zero_of_hansenSengupta_pderivis the form with automatic derivatives.ConvexAnalysis.RatArithExpr.mem_hansenSenguptaBox_of_eq_zero,ConvexAnalysis.RatArithExpr.exists_ne_zero_of_hansenSenguptaBox_eq_none: every zero of the system in the dyadic box lies in the computed operator, and if it isnone, the system has no zero in the box.ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_hansenSenguptaTest: if the dyadic test returnstrue, the system has exactly one zero in the box (_real: one equation in one variable);ConvexAnalysis.RatArithExpr.mem_Icc_of_hansenSenguptaEnclosureTest: its zeros lie in the tighter box of the enclosure test.
Implementation notes #
- Gauss–Seidel, not Jacobi: the sides are replaced in place, so row
iuses the new sides of the rows before it. The order of the rows is a listl; the inclusion of the zeros holds for every list, the existence test needs a list without repetitions (l.Nodup, as for one sweep in Neumaier's natural order,List.finRange nin the computation), and the test can only succeed if every row is visited. A row with0 ∈ Gᵢᵢleaves its side unchanged, so the inclusion and exclusion theorems hold for every interval matrix, and the existence test fails by itself on such a row (its side is not in the interior). Neumaier'sΓand Moore–Kearfott–Cloud, Section 7.5 treat0 ∈ Gᵢᵢwith extended division, which can split a side into two intervals; that is not done here. - Intersections are those of Mathlib's lattice
Interval ℝ = WithBot (NonemptyInterval ℝ)(Interval.coe_inf), whose⊥is the empty interval; the real operator is not computed, so the kernel never evaluates them. The dyadic sweep intersects with Mathlib'sInclusion.Interval.interand checks for emptiness (ConvexAnalysis.DyadicInterval.inter). - Regularity from the test. Neumaier proves that
Gis an H-matrix via his fixed point inverse (Neumaier, Theorems 4.3.9 and 4.4.5). Here the argument is more direct, and proves only what the existence test needs. For a real matrixB ∈ Gandc ∈ b, the point sweepφ = ConvexAnalysis.gaussSeidelSweep B c x₀ lis an affine map whose values onXlie inX', since every interval operation contains the corresponding real operation (ConvexAnalysis.gaussSeidelSweep_mem_of_hansenSengupta; herel.Nodupis used). IfX' ⊆ int X, the linear partψofφmaps the box|u| ≤ w(wthe side lengths ofX) into|v| < w, so it has no nonzero fixed point (ConvexAnalysis.eq_zero_of_isFixedPt_of_forall_abs_lt). The solutions ofB v = 0are fixed points ofψ, soBis invertible; Brouwer's theorem gives a fixed point ofφinX, which is then the solution ofB (x - x₀) = -c. Every slope matrix is then invertible and the interval Newton set lies inX', and the interval Newton test (ConvexAnalysis.exists_eq_zero_of_intervalNewton_subset) gives a zero. Moore–Kearfott–Cloud, Theorem 8.4 concludes fromN(X) = y + V ⊆ int XwhenVencloses the whole solution set of the interval linear system; the intersected sweep encloses only the solutions inX, so that theorem does not apply directly, and the regularity is proved here instead. - Hypotheses. The interval matrix
Gand vectorbare any enclosures ofY A(for the slope matricesA) and ofY f(x₀); the interval products∑ₖ Yᵢₖ Mₖⱼand∑ₖ Yᵢₖ Fx₀ₖare such enclosures (ConvexAnalysis.IntervalArith.mul_apply_mem_sum_mul_pure,ConvexAnalysis.IntervalArith.mulVec_apply_mem_sum_mul_pure). Neumaier assumesx₀ ∈ interior X; herex₀ ∈ Xsuffices. The continuity offfollows from its slopes in the bounded interval matrix (ConvexAnalysis.IsSlopeEnclosure.continuousOn); only the existence form with slopes atx₀,ConvexAnalysis.exists_eq_zero_of_hansenSengupta, assumes it. - The dyadic operator.
ConvexAnalysis.DyadicInterval.hansenSenguptaSweepcomputes the new sideiwith the operations of theinclusiontactic, intersects it with the current side, and skips the row unless the diagonal entry excludes0. Its result contains every zero offin the box, by the same argument as for the real operator, point by point (ConvexAnalysis.DyadicInterval.exists_hansenSenguptaSweep_eq_some_of_mulVec_eq); if every side lies strictly inside the rational box, the real operator has a result in the interior of the box (ConvexAnalysis.DyadicInterval.hansenSengupta_eq_some_of_hansenSenguptaSweep_eq_some), and the real-interval theorem applies.ConvexAnalysis.RatArithExpr.hansenSenguptaBoxworks on a dyadic box, so its exclusion form fits the bisection testConvexAnalysis.DyadicInterval.allPiecesofConvexAnalysis.IntervalBranchAndBoundas a pruning predicate. - Searches on 2026-12-01 (Mathlib
5a27f5e): Mathlib has no interval Gauss–Seidel method, Hansen–Sengupta operator or interval linear systems; no pull request (any state) matches "interval Newton", "Gauss-Seidel", "Gauss Seidel", "Hansen", "Hansen-Sengupta", "Krawczyk" or "interval linear system".
References #
- E. Hansen, S. Sengupta, Bounding solutions of systems of equations using interval analysis, BIT 21 (1981), 203–211.
- R. E. Moore, L. Qi, A successive interval test for nonlinear systems, SIAM J. Numer. Anal. 19 (1982), 845–850.
- R. E. Moore, R. B. Kearfott, M. J. Cloud, Introduction to Interval Analysis, SIAM, 2009, Section 7.5 (the interval Gauss–Seidel method, (7.10)) and Section 8.4 (Theorem 8.4).
- A. Neumaier, Interval Methods for Systems of Equations, Cambridge University Press, 1990, Sections 4.3, 4.4, 5.1 and 5.4. Neumaier credits Theorem 5.1.8 (i), (ii) for the Hansen–Sengupta operator to Hansen and Sengupta (1981) and (iii) to Moore and Qi (1982).
Tags #
Hansen–Sengupta operator, interval Gauss–Seidel method, interval Newton method, existence test, exclusion test, verified computation, computer-assisted proof
Intersections and interval products #
An interval that meets [a, b] only inside (a, b) lies in (a, b): if t is
order-connected, s contains [a, b], and s ∩ t is nonempty and lies in (a, b), then
t ⊆ (a, b); otherwise t would contain a or b.
A common point of two intervals lies in their intersection in Interval ℝ, which is an
interval, not ⊥.
If the intersection Z of X and Y in Interval ℝ lies in the interior of X, then it is
all of Y: every point of Y lies in Z.
Interval matrix products: if the entries of A lie in the interval matrix M, the
entries of Y * A lie in the interval matrix ∑ k, Yᵢₖ Mₖⱼ computed in interval arithmetic.
Interval matrix-vector products: if v k ∈ F k for all k, then the coordinates of
Y *ᵥ v lie in the intervals ∑ k, Yᵢₖ Fₖ computed in interval arithmetic.
Gauss–Seidel sweeps of a real linear system #
One Gauss–Seidel step for the linear system G (x - x₀) = -c in the row i: the
coordinate x i is replaced by the solution of the i-th equation, the other coordinates kept,
x i ↦ x₀ i - (c i + ∑_{j ≠ i} G i j (x j - x₀ j)) / G i i.
Equations
- ConvexAnalysis.gaussSeidelStep G c x₀ x i = Function.update x i (x₀ i - (c i + ∑ j ∈ Finset.univ.erase i, G i j * (x j - x₀ j)) / G i i)
Instances For
One Gauss–Seidel sweep for G (x - x₀) = -c: the Gauss–Seidel steps in the rows of the
list l, one after the other.
Equations
- ConvexAnalysis.gaussSeidelSweep G c x₀ l x = List.foldl (ConvexAnalysis.gaussSeidelStep G c x₀) x l
Instances For
The sweep through i :: l is the step in the row i, followed by the sweep through l.
The sweep is affine: differences of sweeps are sweeps of the homogeneous system.
The sweep of the homogeneous system is homogeneous.
A solution of G (x - x₀) = -c is a fixed point of every sweep through rows with nonzero
diagonal entries.
The Gauss–Seidel sweep is continuous.
Regularity from a Gauss–Seidel sweep: if the sweep through rows with nonzero diagonal
entries maps the box Icc a b into its interior, side by side, then G is invertible.
The solution lies in the box: if the sweep through rows with nonzero diagonal entries
maps the box Icc a b into its interior, side by side, then every solution of
G (x - x₀) = -c lies in the box. By Brouwer's theorem the sweep has a fixed point in the box,
and it has only one fixed point.
The Hansen–Sengupta operator in interval arithmetic #
One step of the Hansen–Sengupta operator in the row i: if 0 ∉ G i i, the side X i
is replaced by its intersection with x₀ i - (b i + ∑_{j ≠ i} G i j (X j - x₀ j)) / G i i,
computed in interval arithmetic and intersected in Mathlib's lattice Interval ℝ; the result is
none if the intersection is empty. If 0 ∈ G i i, the step leaves the box unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A step of the Hansen–Sengupta operator in a row with 0 ∈ G i i leaves the box unchanged.
A step of the Hansen–Sengupta operator in a row with 0 ∉ G i i intersects the side.
The Hansen–Sengupta operator H(x₀, X) = x₀ + Γ(G, -b, X - x₀) of
Neumaier, Section 5.1, (14) there, with G an interval matrix enclosing the
preconditioned slopes Y A and b an interval vector enclosing Y f(x₀): one sweep of the
interval Gauss–Seidel method (Neumaier, Section 4.3, (15) there;
Moore–Kearfott–Cloud, Section 7.5, (7.10) there) through the rows in the
order of the list l, each row with 0 ∉ G i i replacing its side by
(x₀ i - (b i + ∑_{j ≠ i} G i j (X j - x₀ j)) / G i i) ∩ X i with the current sides X j, and
each row with 0 ∈ G i i leaving it unchanged. It is none if some intersection is empty, which
proves that f has no zero in X (ConvexAnalysis.ne_zero_of_hansenSengupta_eq_none).
Equations
- ConvexAnalysis.hansenSengupta G b x₀ l X = List.foldlM (ConvexAnalysis.hansenSenguptaStep G b x₀) X l
Instances For
The Hansen–Sengupta operator through i :: l: the step in the row i, then the operator
through l.
A step of the Hansen–Sengupta operator changes only the side of its row.
Inclusion property of a step: for a real matrix B in G, a vector c in b and a
point x of the box X, the new coordinate x₀ i - (c i + ∑_{j ≠ i} B i j (x j - x₀ j)) / B i i
of the Gauss–Seidel step lies in the interval that the step in a row with 0 ∉ G i i intersects
with X i.
The Gauss–Seidel operator contains the solutions: if B (x - x₀) = -c for a real matrix
B in G, a vector c in b and a point x of the box X, then the Hansen–Sengupta operator
of X (for any order l of the rows) is not empty and contains x. This is (16) of
Neumaier, Proposition 4.3.4, Σ(A, b) ∩ x ⊆ Γ(A, b, x).
The test skips no row: if the sweep through the rows of l, without repetitions, gives
X' with every side X' k, k ∈ l, in the interior of X k, then 0 ∉ G i i for every row
i ∈ l: a skipped row keeps its side.
The point sweep stays in the Hansen–Sengupta operator: let B be a real matrix in G
and c a vector in b, and let the sweep through the rows of l, without repetitions, give
X' with every side X' k, k ∈ l, in the interior of X k. Then for every point x of the
box X, the real Gauss–Seidel sweep of B (x - x₀) = -c from x ends in the box X'. The new
coordinate of each step lies in the interval that the step intersects with X i, and that
interval lies in X i because the intersection lies in its interior.
The Hansen–Sengupta test certifies regularity: if the sweep through the rows of l,
without repetitions, gives X' with every side X' i in the interior of X i, then every real
matrix B in the interval matrix G is invertible. Neumaier, Theorem 4.4.5 (ii)
shows, for the natural order of the rows, that G is even an H-matrix.
The Hansen–Sengupta operator encloses the solution set: under the Hansen–Sengupta test
(as in ConvexAnalysis.isUnit_of_hansenSengupta), the solution of B (x - x₀) = -c for a real
matrix B in G and a vector c in b lies in X'. Compare
Neumaier, Theorem 4.4.5 (ii), A^F b ⊆ int x.
The zeros lie in the Hansen–Sengupta operator (Hansen–Sengupta;
Neumaier, Theorem 5.1.8 (i) and, for slopes at x₀,
Neumaier, Corollary 5.4.3 (i)): if every matrix of 𝒜 encloses the slopes of
f at x₀ on the box X, G encloses the matrices Y A with A ∈ 𝒜 and b encloses
Y f(x₀), then for every order l of the rows and every zero x of f in X, the
Hansen–Sengupta operator is not empty and contains x.
The Hansen–Sengupta exclusion test (Neumaier, Theorem 5.1.8 (ii),
Neumaier, Corollary 5.4.3 (ii)): with the enclosures of
ConvexAnalysis.mem_hansenSengupta_of_eq_zero, if some intersection of the sweep is empty,
then f has no zero in X.
The Hansen–Sengupta existence test with slopes at x₀
(Neumaier, Corollary 5.4.3 (iii)): let the interval matrix M enclose the slopes
of the continuous map f at x₀ on the box X, let G enclose the matrices Y A for all A
with entries in M, let b enclose Y f(x₀), and let the Hansen–Sengupta operator through the
rows of l, without repetitions, give X' with every side X' i in the interior of X i. Then
f has a zero in X'. Every matrix with entries in M is invertible
(ConvexAnalysis.isUnit_of_hansenSengupta), the interval Newton set lies in X', and the
interval Newton test ConvexAnalysis.exists_eq_zero_of_intervalNewton_subset gives the zero.
Neither x₀ ∈ X nor uniqueness is claimed; with slopes between all points of X, the zero is
unique (ConvexAnalysis.existsUnique_eq_zero_of_hansenSengupta).
The Hansen–Sengupta existence test (Neumaier, Theorem 5.1.8 (iii), due
to Moore–Qi; compare Moore–Kearfott–Cloud, Theorem 8.4):
let the interval matrix M enclose the slopes of f on the box X, let G enclose the matrices
Y A for all A with entries in M (for example the interval products ∑ k, Yᵢₖ Mₖⱼ,
ConvexAnalysis.IntervalArith.mul_apply_mem_sum_mul_pure), let x₀ ∈ X, let b enclose
Y f(x₀), and let the Hansen–Sengupta operator through the rows of l, without repetitions, give
X' with every side X' i in the interior of X i. Then f has exactly one zero in X, and it
lies in X' (ConvexAnalysis.exists_eq_zero_of_hansenSengupta). No regularity and no continuity
is assumed: every matrix with entries in M is invertible
(ConvexAnalysis.isUnit_of_hansenSengupta), and f is continuous since its slopes are bounded
(ConvexAnalysis.IsSlopeEnclosure.continuousOn). Neumaier assumes a Lipschitz matrix,
x₀ ∈ interior X and the natural order of the rows.
The Hansen–Sengupta test with automatic derivatives: for a system F : ι → ArithExpr ι
with rounded evaluations M k j of the partial derivatives ArithExpr.pderiv j (F k) on the box
X (as in ConvexAnalysis.existsUnique_eq_zero_of_intervalKrawczyk_pderiv), an enclosure G of
the matrices Y A with entries of A in M, a point x₀ ∈ X, an enclosure b of Y F(x₀),
and a sweep through the rows of l without repetitions whose result X' lies in the interior of
X, side by side, the system F x = 0 has exactly one solution in X. This is
ConvexAnalysis.existsUnique_eq_zero_of_hansenSengupta with the slope enclosure
ConvexAnalysis.isSlopeEnclosure_of_isRoundedEval_pderiv; the dyadic test
ConvexAnalysis.RatArithExpr.hansenSenguptaTest computes all inputs.
The Hansen–Sengupta operator computed with dyadic intervals #
excludesZero I: the interval I of the inclusion tactic is bounded and does not contain
0.
Equations
Instances For
The points of an interval I with excludesZero I are not 0.
isWithin I a b: the interval I of the inclusion tactic is bounded, and its dyadic
endpoints lie between the rationals a and b.
Equations
Instances For
The dyadic box ConvexAnalysis.DyadicInterval.ofRat a b prec around [a, b] is never
strictly inside (a, b): its lower endpoint is at most a.
The real points of an interval of the inclusion tactic form an order-connected set.
The real points of Mathlib's intersection Inclusion.Interval.inter I J are the common
points of I and J.
The intersection of two intervals of the inclusion tactic: Mathlib's
Inclusion.Interval.inter I J, or none if it is bounded with its upper endpoint below its
lower one, that is, empty.
Equations
Instances For
A nonempty intersection is Mathlib's Inclusion.Interval.inter.
A nonempty intersection has a real point.
The new side x₀ i - (b i + ∑_{j ≠ i} G i j (X j - x₀ j)) / G i i of the Hansen–Sengupta
step in the row i, computed with the intervals of the inclusion tactic: the rational point
x₀ is enclosed by Inclusion.IntervalDyadicReal.rat, products are rounded outward to multiples
of 2⁻ᵖʳᵉᶜ, and the inverse is ConvexAnalysis.DyadicInterval.inv. It encloses the interval of
ConvexAnalysis.hansenSenguptaStep
(ConvexAnalysis.DyadicInterval.forall_mem_hansenSenguptaSide).
Equations
- One or more equations did not get rendered due to their size.
Instances For
One step of the Hansen–Sengupta operator in dyadic arithmetic in the row i: if the
diagonal entry G i i excludes 0, the side X i is replaced by its intersection with the new
side ConvexAnalysis.DyadicInterval.hansenSenguptaSide, and the step is none if the
intersection is empty; otherwise the box is left unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Hansen–Sengupta sweep in dyadic arithmetic through the rows of l: the steps
ConvexAnalysis.DyadicInterval.hansenSenguptaStep one after the other; none if some
intersection is empty, which excludes the zeros
(ConvexAnalysis.RatArithExpr.exists_ne_zero_of_hansenSenguptaBox_eq_none).
Equations
- ConvexAnalysis.DyadicInterval.hansenSenguptaSweep prec G b x₀ l X = List.foldlM (ConvexAnalysis.DyadicInterval.hansenSenguptaStep prec G b x₀) X l
Instances For
The dyadic sweep through i :: l: the step in the row i, then the sweep through l.
A step of the dyadic sweep changes only the side of its row.
Interval inverses, compared with ConvexAnalysis.DyadicInterval.inv.
Sums of intervals over j ≠ i, compared with ConvexAnalysis.DyadicInterval.sum with the
term 0 at j = i.
The dyadic side encloses the real side: if the points of the real intervals Gr i j,
br i and S j lie in the dyadic intervals G i j, b i and X j, and 0 ∉ Gr i i, then the
interval that the real step ConvexAnalysis.hansenSenguptaStep intersects with S i lies in
ConvexAnalysis.DyadicInterval.hansenSenguptaSide.
The point step lies in the dyadic side: for a real matrix B and a vector c whose
entries lie in the dyadic G and b, a point x of the dyadic box X and a row with
B i i ≠ 0, the new coordinate of the real Gauss–Seidel step for B (x - x₀) = -c lies in the
dyadic side ConvexAnalysis.DyadicInterval.hansenSenguptaSide.
The dyadic sweep contains the solutions: if B (x - x₀) = -c for a real matrix B and
a vector c whose entries lie in the dyadic G and b, and x lies in the dyadic box X,
then the dyadic sweep through the rows of l is not none, and its result contains x. This is
the dyadic form of ConvexAnalysis.exists_hansenSengupta_eq_some_of_mulVec_eq.
A dyadic sweep inside the box gives a real sweep inside the box: let the real interval
matrix Gr and vector br lie in the dyadic G and b, point by point, let the real box S
lie in the dyadic box X, and let the sides S k, k ∈ l, be [lo k, hi k]. If the dyadic
sweep through the rows of l, without repetitions, gives X' with every side X' k, k ∈ l,
strictly inside (lo k, hi k), then the real Hansen–Sengupta operator
ConvexAnalysis.hansenSengupta with Gr and br is not empty, and its sides k ∈ l lie in the
open intervals (lo k, hi k). The new dyadic side of each row lies in (lo k, hi k) itself,
since its intersection with the side, which contains [lo k, hi k], does
(ConvexAnalysis.IntervalArith.subset_Ioo_of_inter_subset_Ioo).
The Hansen–Sengupta operator computed with dyadic intervals for the system
F : Fin n → RatArithExpr (Fin n) on the dyadic box X, with the rational point x₀ and the
rational preconditioner Y (an approximate inverse of the Jacobian at x₀), at the precision
2⁻ᵖʳᵉᶜ. It evaluates F at x₀ and the symbolic partial derivatives on X with
ConvexAnalysis.RatArithExpr.dyadicEval, computes the interval products G = Y M and
b = Y F(x₀), and runs the sweep ConvexAnalysis.DyadicInterval.hansenSenguptaSweep through the
rows 0, 1, …, n - 1. If x₀ ∉ X or an evaluation is undefined, it returns the box X
itself. Every zero of F in X lies in the result
(ConvexAnalysis.RatArithExpr.mem_hansenSenguptaBox_of_eq_zero), so none excludes the zeros
(ConvexAnalysis.RatArithExpr.exists_ne_zero_of_hansenSenguptaBox_eq_none).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The zeros lie in the dyadic Hansen–Sengupta operator: every zero x of the system
(F k).toArithExpr.eval x = 0 in the dyadic box X lies in the result of
ConvexAnalysis.RatArithExpr.hansenSenguptaBox, which is therefore not none
(Neumaier, Corollary 5.4.3 (i) with computed enclosures).
The dyadic Hansen–Sengupta exclusion test: if
ConvexAnalysis.RatArithExpr.hansenSenguptaBox returns none, the system has no zero in the
dyadic box X: at every point some equation fails
(Neumaier, Corollary 5.4.3 (ii) with computed enclosures).
The Hansen–Sengupta test computed with dyadic intervals for the system
F : Fin n → RatArithExpr (Fin n) on the rational box [lo, hi], with the rational point x₀
and the rational preconditioner Y, at the precision 2⁻ᵖʳᵉᶜ: it checks lo ≤ x₀ ≤ hi and that
the dyadic operator ConvexAnalysis.RatArithExpr.hansenSenguptaBox on a dyadic box containing
[lo, hi] has every side strictly inside (lo i, hi i). If it returns true, the system has
exactly one zero in the box
(ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_hansenSenguptaTest).
Equations
- One or more equations did not get rendered due to their size.
Instances For
A verified computation of a unique zero by the Hansen–Sengupta test: if the dyadic test
ConvexAnalysis.RatArithExpr.hansenSenguptaTest succeeds, the system of equations
(F k).toArithExpr.eval x = 0 has exactly one solution x in the box [lo, hi]. Nothing else is
assumed, and the hypothesis can be proved by decide +kernel. The proof goes through the real
interval statement ConvexAnalysis.existsUnique_eq_zero_of_hansenSengupta_pderiv
(Neumaier, Theorem 5.1.8 (iii)) with slopes from interval differentiation and the
real enclosures Y M and Y F(x₀) of the computed intervals
(ConvexAnalysis.DyadicInterval.hansenSengupta_eq_some_of_hansenSenguptaSweep_eq_some).
The dyadic Hansen–Sengupta test for one equation e(x) = 0 in one real variable (the
case n = 1 of ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_hansenSenguptaTest, stated
on ℝ by ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_real_of_hasUniqueZero): if the test
succeeds with the rational interval [lo, hi], the point x₀ and the approximate inverse y of
e'(x₀), then e(x) = 0 has exactly one solution in [lo, hi].
The Hansen–Sengupta enclosure test: every side of the dyadic operator
ConvexAnalysis.RatArithExpr.hansenSenguptaBox on a dyadic box containing [lo, hi] lies in
[lo' i, hi' i] (or the operator is none). If it returns true, every zero of the system in
[lo, hi] lies in [lo', hi']
(ConvexAnalysis.RatArithExpr.mem_Icc_of_hansenSenguptaEnclosureTest).
Equations
- One or more equations did not get rendered due to their size.
Instances For
A verified enclosure of the zeros by the Hansen–Sengupta operator: if the enclosure test
ConvexAnalysis.RatArithExpr.hansenSenguptaEnclosureTest succeeds, every solution x ∈ [lo, hi]
of the system (F k).toArithExpr.eval x = 0 lies in [lo', hi']
(Neumaier, Corollary 5.4.3 (i) with computed enclosures). With
ConvexAnalysis.RatArithExpr.existsUnique_eq_zero_of_hansenSenguptaTest it gives a tighter box
for the unique zero.