Documentation

ConvexAnalysis.RadiiPolynomial

The radii polynomial theorem #

Computer-assisted proofs in rigorous numerics show that an equation F x = 0 on a Banach space has a unique solution near a numerical approximation x₀. One picks an approximate inverse A of F'(x₀) and bounds, with ball or interval arithmetic,

If the radii polynomial p(r) = Y + Z r - r is ≤ 0 and Z < 1, the Newton-like map T x = x - A (F x) maps closedBall x₀ r into itself and is a contraction there (mean value theorem), so by Banach's fixed point theorem T has a unique fixed point in the ball, which is the unique zero of F in the ball if A is injective. This single-norm form is the one of the later literature (van den Berg, Lessard); it is a norm form of Day–Lessard–Mischaikow, Theorem 2.1, which is stated componentwise in a weighted sup norm (see ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial). The bound Z = Z(r) may depend on r; in the common case Z(r) = Z₀ + Z₁ r the polynomial p(r) = Z₁ r² - (1 - Z₀) r + Y is quadratic, and it is negative exactly between its two zeros.

Main definitions #

Main statements #

Implementation notes #

References #

Tags #

radii polynomial, computer-assisted proof, rigorous numerics, Newton–Kantorovich, simplified Newton method, contraction mapping, Krawczyk operator, a posteriori existence

The quadratic radii polynomial #

The quadratic radii polynomial p(r) = a r² - b r + Y. For a bound ‖1 - A F'(x)‖ ≤ Z₀ + Z₁ ‖x - x₀‖ it is radiiPolynomial Z₁ (1 - Z₀) Y, the polynomial Y + (Z₀ + Z₁ r) r - r of the radii polynomial theorem.

Equations
Instances For
    noncomputable def ConvexAnalysis.radiiPolynomialRoot (a b Y : ℝ) :

    The zero r₋ = 2 Y / (b + √(b² - 4 a Y)) of the radii polynomial a r² - b r + Y (for b > 0 and 4 a Y ≤ b²), written without division by a. For a > 0 it is the smaller of the two zeros, for a = 0 the only zero Y / b, and for a < 0 and Y ≥ 0 the nonnegative zero.

    Equations
    Instances For
      theorem ConvexAnalysis.radiiPolynomialRoot_nonneg {a b Y : ℝ} (hb : 0 < b) (hY : 0 ≤ Y) :

      r₋ ≥ 0 for b > 0 and Y ≥ 0.

      theorem ConvexAnalysis.two_mul_mul_radiiPolynomialRoot {a b Y : ℝ} (hb : 0 < b) (hΔ : 4 * a * Y ≤ b ^ 2) :
      2 * a * radiiPolynomialRoot a b Y = b - √(b ^ 2 - 4 * a * Y)

      2 a r₋ = b - √Δ.

      theorem ConvexAnalysis.radiiPolynomial_eq_mul {a b Y : ℝ} (hb : 0 < b) (hΔ : 4 * a * Y ≤ b ^ 2) (r : ℝ) :
      radiiPolynomial a b Y r = (r - radiiPolynomialRoot a b Y) * (2 * a * r - (b + √(b ^ 2 - 4 * a * Y))) / 2

      The factorization a r² - b r + Y = (r - r₋) (2 a r - (b + √Δ)) / 2 of the radii polynomial, with r₋ = radiiPolynomialRoot a b Y; the second factor vanishes at the other zero r₊ = (b + √Δ) / (2 a) (for a ≠ 0).

      theorem ConvexAnalysis.radiiPolynomial_radiiPolynomialRoot {a b Y : ℝ} (hb : 0 < b) (hΔ : 4 * a * Y ≤ b ^ 2) :

      r₋ is a zero of the radii polynomial.

      theorem ConvexAnalysis.radiiPolynomial_nonpos {a b Y : ℝ} (hb : 0 < b) (hΔ : 4 * a * Y ≤ b ^ 2) {r : ℝ} (h₁ : radiiPolynomialRoot a b Y ≤ r) (h₂ : 2 * a * r ≤ b + √(b ^ 2 - 4 * a * Y)) :

      The radii polynomial is ≤ 0 between its zeros: for r₋ ≤ r and 2 a r ≤ b + √Δ.

      theorem ConvexAnalysis.radiiPolynomial_neg {a b Y : ℝ} (hb : 0 < b) (hΔ : 4 * a * Y ≤ b ^ 2) {r : ℝ} (h₁ : radiiPolynomialRoot a b Y < r) (h₂ : 2 * a * r < b + √(b ^ 2 - 4 * a * Y)) :
      radiiPolynomial a b Y r < 0

      The radii polynomial is < 0 strictly between its zeros: for r₋ < r and 2 a r < b + √Δ.

      theorem ConvexAnalysis.radiiPolynomial_neg_iff {a b Y : ℝ} (ha : 0 ≤ a) (hb : 0 < b) (hΔ : 4 * a * Y ≤ b ^ 2) {r : ℝ} :
      radiiPolynomial a b Y r < 0 ↔ radiiPolynomialRoot a b Y < r ∧ 2 * a * r < b + √(b ^ 2 - 4 * a * Y)

      For a ≥ 0, the radii polynomial is negative exactly between its zeros: a r² - b r + Y < 0 iff r₋ < r and 2 a r < b + √Δ (that is r < r₊ for a > 0).

      Kantorovich's radius t⋆ is the smaller zero of the majorant ω / 2 t² - t + η.

      The radii polynomial theorem #

      def ConvexAnalysis.newtonLikeMap {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] (A : G →L[𝕜] E) (F : E → G) (x : E) :
      E

      The Newton-like map x ↦ x - A (F x) of an approximate inverse A of F'(x₀). For A = F'(x₀)⁻¹ it is the simplified Newton map.

      Equations
      Instances For
        theorem ConvexAnalysis.isFixedPt_newtonLikeMap_iff {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {A : G →L[𝕜] E} {x : E} :

        The fixed points of the Newton-like map are the solutions of A (F x) = 0.

        theorem ConvexAnalysis.hasFDerivWithinAt_newtonLikeMap {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x : E} {s : Set E} (hF : HasFDerivWithinAt F (F' x) s x) :
        HasFDerivWithinAt (newtonLikeMap A F) (1 - A ∘SL F' x) s x

        The derivative of the Newton-like map is 1 - A ∘L F' x.

        theorem ConvexAnalysis.norm_newtonLikeMap_sub_le {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ x y : E} {r Z : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hx : x ∈ Metric.closedBall x₀ r) (hy : y ∈ Metric.closedBall x₀ r) :

        If ‖1 - A F'(x)‖ ≤ Z on the ball, the Newton-like map is Z-Lipschitz on the ball (mean value theorem).

        theorem ConvexAnalysis.norm_sub_le_div_of_apply_eq_zero {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ x : E} {r Y Z : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hY : ‖A (F x₀)‖ ≤ Y) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hZ1 : Z < 1) (hx : x ∈ Metric.closedBall x₀ r) (hFx : A (F x) = 0) :
        ‖x - x₀‖ ≤ Y / (1 - Z)

        The a priori bound: a solution of A (F x) = 0 in a ball where ‖1 - A F'‖ ≤ Z < 1 satisfies ‖x - x₀‖ ≤ ‖A (F x₀)‖ / (1 - Z), so ‖x - x₀‖ ≤ Y / (1 - Z).

        theorem ConvexAnalysis.exists_apply_eq_zero_of_mapsTo {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {r Z : ℝ} [CompleteSpace E] (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hZ1 : Z < 1) (hr : 0 ≤ r) (hT : Set.MapsTo (newtonLikeMap A F) (Metric.closedBall x₀ r) (Metric.closedBall x₀ r)) :
        ∃ x ∈ Metric.closedBall x₀ r, A (F x) = 0 ∧ Filter.Tendsto (fun (n : ℕ) => (newtonLikeMap A F)^[n] x₀) Filter.atTop (nhds x) ∧ ∀ y ∈ Metric.closedBall x₀ r, A (F y) = 0 → y = x

        The contraction principle for the Newton-like map. If T x = x - A (F x) maps closedBall x₀ r (r ≥ 0) into itself and ‖1 - A F'(x)‖ ≤ Z < 1 on the ball, then A (F x) = 0 has exactly one solution x in the ball, and the iterates of T from x₀ (the simplified Newton method) converge to it.

        theorem ConvexAnalysis.mapsTo_newtonLikeMap {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {r Y Z : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hY : ‖A (F x₀)‖ ≤ Y) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hr0 : 0 ≤ r) (hr : Y + Z * r ≤ r) :

        Under the radii polynomial condition Y + Z r ≤ r, the Newton-like map sends closedBall x₀ r into itself: ‖T x - x₀‖ ≤ ‖T x - T x₀‖ + ‖A (F x₀)‖ ≤ Z r + Y.

        theorem ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {r Y Z : ℝ} [CompleteSpace E] (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hA : Function.Injective ⇑A) (hY : ‖A (F x₀)‖ ≤ Y) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hZ1 : Z < 1) (hr : Y + Z * r ≤ r) :
        ∃! x : E, x ∈ Metric.closedBall x₀ r ∧ F x = 0

        The radii polynomial theorem, the single-norm form of later literature (van den Berg, Lessard) of the contraction theorem Day–Lessard–Mischaikow, Theorem 2.1. Let F : E → G have the derivative F' on closedBall x₀ r, with E complete, and let A : G →L[𝕜] E be injective. If ‖A (F x₀)‖ ≤ Y, ‖1 - A F'(x)‖ ≤ Z for all x in the ball, Z < 1, and Y + Z r - r ≤ 0, then F has exactly one zero in closedBall x₀ r.

        Day, Lessard and Mischaikow state their theorem componentwise (a Yamamoto-type theorem), in a weighted sup norm, for the fixed point map u - J f(u) with an invertible J, and with one bound Y n + K n < |w̃ n| per component; their radii polynomials are [DLM2007, Definitions 3.1–3.3] and [DLM2007, Theorem 3.4]. In a weighted sup norm and with Y + Z r < r, the theorem here is a special case of [DLM2007, Theorem 2.1] (one bound for all components); with Y + Z r ≤ r, on a general Banach space, with A only injective and F between different spaces, it generalizes it.

        theorem ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial_neg {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {r Y Z : ℝ} [CompleteSpace E] (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hA : Function.Injective ⇑A) (hY : ‖A (F x₀)‖ ≤ Y) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hr0 : 0 ≤ r) (hr : Y + Z * r < r) :
        ∃! x : E, x ∈ Metric.closedBall x₀ r ∧ F x = 0

        The radii polynomial theorem with p(r) = Y + Z r - r < 0 and r ≥ 0, the form of the literature; Z < 1 follows. The zero lies in closedBall x₀ (Y / (1 - Z)), inside the open ball ball x₀ r (ConvexAnalysis.norm_sub_le_div_of_apply_eq_zero).

        theorem ConvexAnalysis.exists_eq_zero_of_radii_polynomial_affine {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {Y : ℝ} [CompleteSpace E] {r₀ Z₀ Z₁ : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r₀, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r₀) x) (hA : Function.Injective ⇑A) (hY : ‖A (F x₀)‖ ≤ Y) (hZ : ∀ x ∈ Metric.closedBall x₀ r₀, ‖1 - A ∘SL F' x‖ ≤ Z₀ + Z₁ * ‖x - x₀‖) (hZ₀ : Z₀ < 1) (hZ₁ : 0 ≤ Z₁) (hΔ : 4 * Z₁ * Y ≤ (1 - Z₀) ^ 2) (hr₀ : radiiPolynomialRoot Z₁ (1 - Z₀) Y ≤ r₀) :
        ∃ (x : E), F x = 0 ∧ ‖x - x₀‖ ≤ radiiPolynomialRoot Z₁ (1 - Z₀) Y ∧ ∀ y ∈ Metric.closedBall x₀ r₀, F y = 0 → ‖y - x₀‖ ≤ radiiPolynomialRoot Z₁ (1 - Z₀) Y ∨ 2 * Z₁ * ‖y - x₀‖ < 1 - Z₀ + √((1 - Z₀) ^ 2 - 4 * Z₁ * Y) → y = x

        The radii polynomial theorem for an affine bound Z(r) = Z₀ + Z₁ r. Let ‖1 - A F'(x)‖ ≤ Z₀ + Z₁ ‖x - x₀‖ on closedBall x₀ r₀, with Z₀ < 1, Z₁ ≥ 0, and let the radii polynomial p(r) = Z₁ r² - (1 - Z₀) r + Y (ConvexAnalysis.radiiPolynomial) have real zeros, 4 Z₁ Y ≤ (1 - Z₀)², the smaller one r₋ ≤ r₀. Then F has a zero x with ‖x - x₀‖ ≤ r₋, and x is the only zero y in closedBall x₀ r₀ with ‖y - x₀‖ ≤ r₋ or ‖y - x₀‖ < r₊, the larger zero of p (2 Z₁ r₊ = 1 - Z₀ + √Δ, no bound for Z₁ = 0).

        theorem ConvexAnalysis.norm_newtonLikeMap_sub_le_of_lipschitz {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ x : E} {r Y : ℝ} [IsScalarTower ℝ 𝕜 E] {Z₀ Z₂ : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hY : ‖A (F x₀)‖ ≤ Y) (hZ₀ : ‖1 - A ∘SL F' x₀‖ ≤ Z₀) (hZ₂ : ∀ x ∈ Metric.closedBall x₀ r, ‖A ∘SL (F' x - F' x₀)‖ ≤ Z₂ * ‖x - x₀‖) (hx : x ∈ Metric.closedBall x₀ r) :
        ‖newtonLikeMap A F x - x₀‖ ≤ Y + Z₀ * ‖x - x₀‖ + Z₂ / 2 * ‖x - x₀‖ ^ 2

        The sharper self-map estimate for a Lipschitz bound at x₀: with ‖1 - A F'(x₀)‖ ≤ Z₀ and ‖A (F'(x) - F'(x₀))‖ ≤ Z₂ ‖x - x₀‖ on the ball, Taylor's formula gives ‖T x - x₀‖ ≤ Y + Z₀ ‖x - x₀‖ + Z₂ / 2 ‖x - x₀‖².

        theorem ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial_lipschitz {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {r Y : ℝ} [CompleteSpace E] [IsScalarTower ℝ 𝕜 E] {Z₀ Z₂ : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hA : Function.Injective ⇑A) (hY : ‖A (F x₀)‖ ≤ Y) (hZ₀ : ‖1 - A ∘SL F' x₀‖ ≤ Z₀) (hZ₂ : ∀ x ∈ Metric.closedBall x₀ r, ‖A ∘SL (F' x - F' x₀)‖ ≤ Z₂ * ‖x - x₀‖) (hZ₂0 : 0 ≤ Z₂) (hr0 : 0 ≤ r) (hr : Y + Z₀ * r + Z₂ / 2 * r ^ 2 ≤ r) (hZ : Z₀ + Z₂ * r < 1) :
        ∃! x : E, x ∈ Metric.closedBall x₀ r ∧ F x = 0

        The radii polynomial theorem with a Lipschitz bound: the bound Z₂ of van den Berg, Lessard taken pointwise, ‖A (F'(x) - F'(x₀))‖ ≤ Z₂ ‖x - x₀‖, and Taylor's formula instead of the mean value theorem, which halves the quadratic term of the radii polynomial. Let ‖A (F x₀)‖ ≤ Y, ‖1 - A F'(x₀)‖ ≤ Z₀ and ‖A (F'(x) - F'(x₀))‖ ≤ Z₂ ‖x - x₀‖ on closedBall x₀ r, r ≥ 0, Z₂ ≥ 0. If Y + Z₀ r + Z₂ / 2 r² ≤ r and Z₀ + Z₂ r < 1, and A is injective, then F has exactly one zero in closedBall x₀ r.

        theorem ConvexAnalysis.exists_eq_zero_of_radii_polynomial_lipschitz {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {A : G →L[𝕜] E} {x₀ : E} {Y : ℝ} [CompleteSpace E] [IsScalarTower ℝ 𝕜 E] {r₀ Z₀ Z₂ : ℝ} (hF : ∀ x ∈ Metric.closedBall x₀ r₀, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r₀) x) (hA : Function.Injective ⇑A) (hY : ‖A (F x₀)‖ ≤ Y) (hZ₀ : ‖1 - A ∘SL F' x₀‖ ≤ Z₀) (hZ₂ : ∀ x ∈ Metric.closedBall x₀ r₀, ‖A ∘SL (F' x - F' x₀)‖ ≤ Z₂ * ‖x - x₀‖) (hZ₂0 : 0 ≤ Z₂) (hZ₀1 : Z₀ < 1) (hΔ : 2 * Z₂ * Y < (1 - Z₀) ^ 2) (hr₀ : radiiPolynomialRoot (Z₂ / 2) (1 - Z₀) Y ≤ r₀) :
        ∃ (x : E), F x = 0 ∧ ‖x - x₀‖ ≤ radiiPolynomialRoot (Z₂ / 2) (1 - Z₀) Y ∧ ∀ y ∈ Metric.closedBall x₀ r₀, F y = 0 → Z₂ * ‖y - x₀‖ < 1 - Z₀ → y = x

        The radii polynomial theorem with a Lipschitz bound, explicit radii. With the hypotheses of ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial_lipschitz on closedBall x₀ r₀, Z₀ < 1 and 2 Z₂ Y < (1 - Z₀)², let r₋ ≤ r₀ be the smaller zero of radiiPolynomial (Z₂ / 2) (1 - Z₀) Y. Then F has a zero x with ‖x - x₀‖ ≤ r₋, and it is the only zero y in closedBall x₀ r₀ with Z₂ ‖y - x₀‖ < 1 - Z₀.

        theorem ConvexAnalysis.existsUnique_eq_zero_of_kantorovich {𝕜 : Type u_1} {E : Type u_2} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] {x₀ : E} [CompleteSpace E] [IsScalarTower ℝ 𝕜 E] {F : E → E} {F' : E → E →L[𝕜] E} {ω η : ℝ} (hA : (F' x₀).IsInvertible) (hη : ‖(F' x₀).inverse (F x₀)‖ ≤ η) (hω : 0 ≤ ω) (hh : ω * η < 1 / 2) (hF : ∀ x ∈ Metric.closedBall x₀ (kantorovichRadius ω η), HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ (kantorovichRadius ω η)) x) (hL : ∀ x ∈ Metric.closedBall x₀ (kantorovichRadius ω η), ‖(F' x₀).inverse ∘SL (F' x - F' x₀)‖ ≤ ω * ‖x - x₀‖) :
        ∃ x ∈ Metric.closedBall x₀ (kantorovichRadius ω η), F x = 0 ∧ Filter.Tendsto (fun (n : ℕ) => (newtonLikeMap (F' x₀).inverse F)^[n] x₀) Filter.atTop (nhds x) ∧ ∀ y ∈ Metric.closedBall x₀ (kantorovichRadius ω η), F y = 0 → y = x

        Kantorovich's theorem for the simplified Newton method, from the radii polynomial theorem. Let F'(x₀) be invertible, ‖F'(x₀)⁻¹ F(x₀)‖ ≤ η, h = ω η < 1 / 2, and let F' be the derivative of F on the ball closedBall x₀ t⋆ of Kantorovich's radius t⋆, with the center-Lipschitz bound ‖F'(x₀)⁻¹ (F'(x) - F'(x₀))‖ ≤ ω ‖x - x₀‖ there (only this bound, not the Lipschitz bound between all pairs of points, is needed). Take A = F'(x₀)⁻¹: then Z₀ = 0, Z₂ = ω, Y = η, the sharper radii polynomial is Kantorovich's majorant ω / 2 r² - r + η, its smaller zero is t⋆, and ω t⋆ < 1. So F has a zero x in closedBall x₀ t⋆, the only one there, and the simplified Newton iterates x ↦ x - F'(x₀)⁻¹ F(x) from x₀ converge to it. For h = 1 / 2 the Lipschitz bound ω t⋆ of the map on the ball is 1, the contraction argument fails, and only Newton's method is covered (by ConvexAnalysis.newton_kantorovich_affine).

        theorem ConvexAnalysis.existsUnique_eq_zero_of_kantorovich_of_subset {𝕜 : Type u_1} {E : Type u_2} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] {x₀ : E} [CompleteSpace E] [IsScalarTower ℝ 𝕜 E] {F : E → E} {F' : E → E →L[𝕜] E} {D : Set E} {ω η : ℝ} (hA : (F' x₀).IsInvertible) (hη : ‖(F' x₀).inverse (F x₀)‖ ≤ η) (hω : 0 ≤ ω) (hh : ω * η < 1 / 2) (hD : Metric.closedBall x₀ (kantorovichRadius ω η) ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' x₀).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) :
        ∃ x ∈ Metric.closedBall x₀ (kantorovichRadius ω η), F x = 0 ∧ Filter.Tendsto (fun (n : ℕ) => (newtonLikeMap (F' x₀).inverse F)^[n] x₀) Filter.atTop (nhds x) ∧ ∀ y ∈ Metric.closedBall x₀ (kantorovichRadius ω η), F y = 0 → y = x

        Kantorovich's theorem for the simplified Newton method in the setting of ConvexAnalysis.newton_kantorovich_affine: F differentiable on a set D that contains closedBall x₀ t⋆, with ‖F'(x₀)⁻¹ (F'(x) - F'(y))‖ ≤ ω ‖x - y‖ on D, and h = ω η < 1 / 2. A corollary of ConvexAnalysis.existsUnique_eq_zero_of_kantorovich.

        theorem ConvexAnalysis.injective_of_norm_one_sub_comp_lt {𝕜 : Type u_1} {E : Type u_2} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [FiniteDimensional 𝕜 E] {A T : E →L[𝕜] E} (h : ‖1 - A ∘SL T‖ < 1) :

        In finite dimension, an approximate inverse A with ‖1 - A T‖ < 1 is injective: A T is invertible (Neumann series), so A is surjective, hence injective.

        theorem ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial_of_finiteDimensional {𝕜 : Type u_1} {E : Type u_2} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedSpace ℝ E] {x₀ : E} {r Y Z : ℝ} [FiniteDimensional 𝕜 E] {F : E → E} {F' : E → E →L[𝕜] E} {A : E →L[𝕜] E} (hF : ∀ x ∈ Metric.closedBall x₀ r, HasFDerivWithinAt F (F' x) (Metric.closedBall x₀ r) x) (hY : ‖A (F x₀)‖ ≤ Y) (hZ : ∀ x ∈ Metric.closedBall x₀ r, ‖1 - A ∘SL F' x‖ ≤ Z) (hZ1 : Z < 1) (hr : Y + Z * r ≤ r) :
        ∃! x : E, x ∈ Metric.closedBall x₀ r ∧ F x = 0

        The radii polynomial theorem in finite dimension: for F : E → E on a finite-dimensional space, no injectivity of A is assumed, since it follows from ‖1 - A F'(x₀)‖ ≤ Z < 1.

        The scalar case #

        theorem ConvexAnalysis.existsUnique_eq_zero_of_radii_polynomial_real {f f' : ℝ → ℝ} {x₀ r a Y Z : ℝ} (hf : ∀ x ∈ Set.Icc (x₀ - r) (x₀ + r), HasDerivWithinAt f (f' x) (Set.Icc (x₀ - r) (x₀ + r)) x) (hY : |a * f x₀| ≤ Y) (hZ : ∀ x ∈ Set.Icc (x₀ - r) (x₀ + r), |1 - a * f' x| ≤ Z) (hZ1 : Z < 1) (hr : Y + Z * r ≤ r) :
        ∃! x : ℝ, x ∈ Set.Icc (x₀ - r) (x₀ + r) ∧ f x = 0

        The radii polynomial theorem for f : ℝ → ℝ: with an approximate inverse a of f'(x₀), if |a f(x₀)| ≤ Y, |1 - a f'(x)| ≤ Z < 1 on [x₀ - r, x₀ + r] and Y + Z r ≤ r, then f has exactly one zero in [x₀ - r, x₀ + r]. (a ≠ 0 follows from |1 - a f'(x₀)| < 1.)

        The Krawczyk test on a ball #

        theorem ConvexAnalysis.krawczyk_closedBall_subset_ball {ι : Type u_1} [Fintype ι] [DecidableEq ι] {f : (ι → ℝ) → ι → ℝ} {𝒜 : Set (Matrix ι ι ℝ)} {Y : Matrix ι ι ℝ} {x₀ : ι → ℝ} {r Z : ℝ} (hZ0 : 0 ≤ Z) (hZ : ∀ A ∈ 𝒜, ∀ (u : ι → ℝ), ‖(1 - Y * A).mulVec u‖ ≤ Z * ‖u‖) (hr : ‖Y.mulVec (f x₀)‖ + Z * r < r) :
        krawczyk f 𝒜 Y x₀ (Metric.closedBall x₀ r) ⊆ Metric.ball x₀ r

        If ‖(1 - Y A) u‖ ≤ Z ‖u‖ for A ∈ 𝒜 and ‖Y f x₀‖ + Z r < r, the Krawczyk operator of the ball closedBall x₀ r lies in the open ball ball x₀ r.

        theorem ConvexAnalysis.existsUnique_eq_zero_of_krawczyk_ball {ι : Type u_1} [Fintype ι] [DecidableEq ι] {f : (ι → ℝ) → ι → ℝ} {𝒜 : Set (Matrix ι ι ℝ)} {Y : Matrix ι ι ℝ} {x₀ : ι → ℝ} {r Z : ℝ} (hr0 : 0 ≤ r) (hf : ContinuousOn f (Metric.closedBall x₀ r)) (h𝒜 : IsSlopeEnclosure 𝒜 f (Metric.closedBall x₀ r)) (hZ0 : 0 ≤ Z) (hZ : ∀ A ∈ 𝒜, ∀ (u : ι → ℝ), ‖(1 - Y * A).mulVec u‖ ≤ Z * ‖u‖) (hr : ‖Y.mulVec (f x₀)‖ + Z * r < r) :
        ∃! x : ι → ℝ, x ∈ Metric.closedBall x₀ r ∧ f x = 0

        The Krawczyk test on a ball of ι → ℝ with the sup norm, the ball form of ConvexAnalysis.existsUnique_eq_zero_of_krawczyk_subset_interior. Let 𝒜 enclose the slopes of the continuous map f on closedBall x₀ r (r ≥ 0), and let ‖(1 - Y A) u‖ ≤ Z ‖u‖ for all A ∈ 𝒜 and all u, with Z ≥ 0. If the radii polynomial condition ‖Y f x₀‖ + Z r < r holds, then f has exactly one zero in closedBall x₀ r. No derivative is needed, only slopes.

        noncomputable def ConvexAnalysis.intervalKrawczyk {ι : Type u_1} [Fintype ι] [DecidableEq ι] (Fx₀ : ι → NonemptyInterval ℝ) (M : ι → ι → NonemptyInterval ℝ) (Y : Matrix ι ι ℝ) (x₀ : ι → ℝ) (X : ι → NonemptyInterval ℝ) :

        The interval Krawczyk operator x₀ - Y 𝐅 + (1 - Y 𝐌) (X - x₀) evaluated in interval arithmetic, for an interval vector Fx₀ enclosing the value f(x₀) (Fx₀ k ∋ f(x₀) k), an interval matrix M (the entries M k j enclose the entries of the slope matrices), a box X, a point x₀ and a matrix Y: the i-th side is x₀ i - ∑ k, Y i k · Fx₀ k + ∑ j, (δ i j - ∑ k, Y i k · M k j) · (X j - x₀ j). With the point intervals Fx₀ k = [f(x₀) k, f(x₀) k] it is the operator with the exact value f(x₀); in a verified computation Fx₀ is an interval evaluation of f at x₀, since f(x₀) itself is not computable.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem ConvexAnalysis.krawczyk_subset_box_intervalKrawczyk {ι : Type u_1} [Fintype ι] [DecidableEq ι] {f : (ι → ℝ) → ι → ℝ} {𝒜 : Set (Matrix ι ι ℝ)} {Y : Matrix ι ι ℝ} {x₀ : ι → ℝ} {Fx₀ : ι → NonemptyInterval ℝ} {M : ι → ι → NonemptyInterval ℝ} {X : ι → NonemptyInterval ℝ} (hFx₀ : ∀ (k : ι), f x₀ k ∈ Fx₀ k) (hM : ∀ A ∈ 𝒜, ∀ (k j : ι), A k j ∈ M k j) :
          krawczyk f 𝒜 Y x₀ (IntervalArith.box X) ⊆ IntervalArith.box (intervalKrawczyk Fx₀ M Y x₀ X)

          The interval Krawczyk operator encloses the Krawczyk operator: if Fx₀ encloses f(x₀) and every matrix of 𝒜 has its entries in the interval matrix M, then krawczyk f 𝒜 Y x₀ (box X) lies in the box of ConvexAnalysis.intervalKrawczyk Fx₀ M Y x₀ X, by the inclusion property of the interval operations.

          theorem ConvexAnalysis.setOf_forall_mem_eq_matrixIcc {ι : Type u_1} (M : ι → ι → NonemptyInterval ℝ) :
          {A : Matrix ι ι ℝ | ∀ (k j : ι), A k j ∈ M k j} = matrixIcc (fun (k j : ι) => (M k j).toProd.1) fun (k j : ι) => (M k j).toProd.2

          An interval matrix M of NonemptyIntervals, as a set of matrices, is the interval matrix ConvexAnalysis.matrixIcc of its lower and upper endpoints.

          theorem ConvexAnalysis.isCompact_setOf_forall_mem {ι : Type u_1} [Fintype ι] (M : ι → ι → NonemptyInterval ℝ) :
          IsCompact {A : Matrix ι ι ℝ | ∀ (k j : ι), A k j ∈ M k j}

          An interval matrix M of NonemptyIntervals, as a set of matrices, is compact.

          theorem ConvexAnalysis.convex_setOf_forall_mem {ι : Type u_1} (M : ι → ι → NonemptyInterval ℝ) :
          Convex ℝ {A : Matrix ι ι ℝ | ∀ (k j : ι), A k j ∈ M k j}

          An interval matrix M of NonemptyIntervals, as a set of matrices, is convex.

          theorem ConvexAnalysis.existsUnique_eq_zero_of_intervalKrawczyk {ι : Type u_1} [Fintype ι] [DecidableEq ι] {f : (ι → ℝ) → ι → ℝ} {Y : Matrix ι ι ℝ} {x₀ : ι → ℝ} {Fx₀ : ι → NonemptyInterval ℝ} {M : ι → ι → NonemptyInterval ℝ} {X : ι → NonemptyInterval ℝ} (h𝒜 : IsSlopeEnclosure {A : Matrix ι ι ℝ | ∀ (k j : ι), A k j ∈ M k j} f (IntervalArith.box X)) (hx₀ : x₀ ∈ IntervalArith.box X) (hFx₀ : ∀ (k : ι), f x₀ k ∈ Fx₀ k) (hK : ∀ (i : ι), (X i).toProd.1 < (intervalKrawczyk Fx₀ M Y x₀ X i).toProd.1 ∧ (intervalKrawczyk Fx₀ M Y x₀ X i).toProd.2 < (X i).toProd.2) :
          ∃! x : ι → ℝ, x ∈ IntervalArith.box X ∧ f x = 0

          The Krawczyk test in interval arithmetic: let the interval matrix M enclose the slopes of f on the box X (every slope matrix has its entries in M), let x₀ ∈ X, and let the interval vector Fx₀ enclose f(x₀) (for the exact value take the point intervals NonemptyInterval.pure (f x₀ k)). If the interval Krawczyk operator lies in the interior of X, side by side, then f has exactly one zero in X. This is ConvexAnalysis.existsUnique_eq_zero_of_krawczyk_subset_interior with the operator computed in interval arithmetic (ConvexAnalysis.krawczyk_subset_box_intervalKrawczyk); f is continuous on X since its slopes are bounded (ConvexAnalysis.IsSlopeEnclosure.continuousOn).