Documentation

ConvexAnalysis.Kantorovich

The Kantorovich theorem for Newton's method #

Let F : E → G be a map between real Banach spaces with derivative F'. Newton's method x (k + 1) = x k - F'(x k)⁻¹ F(x k) converges from x₀ to a zero of F if F' x₀ is invertible, ‖F'(x₀)⁻¹‖ ≤ β, ‖F'(x₀)⁻¹ F(x₀)‖ ≤ η, F' is L-Lipschitz on a set D ⊇ closedBall x₀ t⋆, and h = β L η ≤ 1 / 2. The theorem is semilocal: no zero is assumed to exist, the hypotheses concern x₀ and the ball around it, and the zero is part of the conclusion. The proof compares the iterates with Newton's method for the scalar majorant φ t = β L / 2 t² - t + η, which starts at 0 and increases to the smaller zero t⋆ = (1 - √(1 - 2 h)) / (β L) of φ (Kantorovich's majorant method).

Everything is proved in the affine covariant form of [Deu04], with the single Lipschitz condition ‖F'(x₀)⁻¹ (F' x - F' y)‖ ≤ ω ‖x - y‖ and h = ω η; the classical form is the case ω = β L (ConvexAnalysis.norm_inverse_comp_sub_le).

Main definitions #

Main statements #

Minimization, for F = ∇f on a real Hilbert space:

Implementation notes #

References #

Tags #

Newton's method, Kantorovich theorem, majorant, quadratic convergence, affine covariance

noncomputable def ConvexAnalysis.kantorovichRadius (ω η : ℝ) :

The radius t⋆ = 2 η / (1 + √(1 - 2 ω η)) of the Kantorovich theorem, the smaller zero of the majorant φ t = ω / 2 t² - t + η for 0 ≤ ω, 0 ≤ η, ω η ≤ 1 / 2. For ω ≠ 0 it is (1 - √(1 - 2 ω η)) / ω (ConvexAnalysis.kantorovichRadius_eq_div); the form used here is also right for ω = 0, where t⋆ = η.

Equations
Instances For
    noncomputable def ConvexAnalysis.kantorovichSeq (ω η : ℝ) :
    ℕ → ℝ

    The majorant sequence of the Kantorovich theorem: Newton's method t (k + 1) = t k - φ (t k) / φ' (t k) for the majorant φ t = ω / 2 t² - t + η, from t 0 = 0. Since φ' t = ω t - 1, the step is t (k + 1) = t k + φ (t k) / (1 - ω t k).

    Equations
    Instances For
      @[simp]

      The majorant sequence starts at 0.

      theorem ConvexAnalysis.kantorovichSeq_succ {ω η : ℝ} (k : ℕ) :
      kantorovichSeq ω η (k + 1) = kantorovichSeq ω η k + (ω / 2 * kantorovichSeq ω η k ^ 2 - kantorovichSeq ω η k + η) / (1 - ω * kantorovichSeq ω η k)

      The step of the majorant sequence.

      theorem ConvexAnalysis.kantorovichSeq_succ_eq_sub_div {ω η : ℝ} (k : ℕ) :
      kantorovichSeq ω η (k + 1) = kantorovichSeq ω η k - (ω / 2 * kantorovichSeq ω η k ^ 2 - kantorovichSeq ω η k + η) / (ω * kantorovichSeq ω η k - 1)

      The majorant sequence is Newton's method for φ t = ω / 2 t² - t + η, φ' t = ω t - 1.

      theorem ConvexAnalysis.kantorovichSeq_le_kantorovichRadius {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :

      The majorant sequence stays below t⋆.

      theorem ConvexAnalysis.one_sub_mul_kantorovichSeq_pos {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :
      0 < 1 - ω * kantorovichSeq ω η k

      The majorant sequence is well defined: φ' (t k) = ω t k - 1 < 0.

      theorem ConvexAnalysis.kantorovichRadius_sub_kantorovichSeq_succ {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :
      kantorovichRadius ω η - kantorovichSeq ω η (k + 1) = ω / 2 * (kantorovichRadius ω η - kantorovichSeq ω η k) ^ 2 / (1 - ω * kantorovichSeq ω η k)

      The error recursion of the majorant sequence: t⋆ - t (k + 1) = ω / 2 (t⋆ - t k)² / (1 - ω t k).

      theorem ConvexAnalysis.kantorovichRadius_sub_kantorovichSeq_succ_le {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :

      The error of the majorant sequence at least halves in each step.

      theorem ConvexAnalysis.kantorovichSeq_le_succ {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :
      kantorovichSeq ω η k ≤ kantorovichSeq ω η (k + 1)

      The majorant sequence is increasing.

      theorem ConvexAnalysis.monotone_kantorovichSeq {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) :

      The majorant sequence is monotone.

      theorem ConvexAnalysis.kantorovichSeq_nonneg {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :

      The majorant sequence is nonnegative.

      theorem ConvexAnalysis.kantorovichRadius_sub_kantorovichSeq_le_div_pow {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :

      Linear convergence of the majorant sequence: t⋆ - t k ≤ t⋆ / 2^k.

      theorem ConvexAnalysis.tendsto_kantorovichSeq {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) :

      The majorant sequence converges to t⋆.

      theorem ConvexAnalysis.majorant_kantorovichSeq_succ {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :
      ω / 2 * kantorovichSeq ω η (k + 1) ^ 2 - kantorovichSeq ω η (k + 1) + η = ω / 2 * (kantorovichSeq ω η (k + 1) - kantorovichSeq ω η k) ^ 2

      Along the majorant sequence, φ (t (k + 1)) = ω / 2 (t (k + 1) - t k)².

      theorem ConvexAnalysis.majorant_kantorovichSeq_nonneg {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :
      0 ≤ ω / 2 * kantorovichSeq ω η k ^ 2 - kantorovichSeq ω η k + η

      The majorant is nonnegative along the majorant sequence.

      theorem ConvexAnalysis.kantorovichRadius_sub_kantorovichSeq_le_pow {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) (k : ℕ) :
      kantorovichRadius ω η - kantorovichSeq ω η k ≤ 2 * (2 * (ω * η)) ^ (2 ^ k - 1) * η / 2 ^ k

      Error bound for the majorant sequence: t⋆ - t k ≤ 2 (2 h)^(2^k - 1) η / 2^k with h = ω η; it is quadratic for h < 1 / 2 and exact for h = 1 / 2.

      theorem ConvexAnalysis.le_kantorovichRadius {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) :

      η ≤ t⋆.

      theorem ConvexAnalysis.kantorovichRadius_le {ω η : ℝ} (hω : 0 ≤ ω) (hη : 0 ≤ η) (hh : ω * η ≤ 1 / 2) :

      t⋆ ≤ 2 η.

      theorem ConvexAnalysis.kantorovichRadius_nonneg {ω η : ℝ} (hη : 0 ≤ η) :

      0 ≤ t⋆.

      theorem ConvexAnalysis.majorant_kantorovichRadius {ω η : ℝ} (hh : ω * η ≤ 1 / 2) :
      ω / 2 * kantorovichRadius ω η ^ 2 - kantorovichRadius ω η + η = 0

      t⋆ is a zero of the majorant φ t = ω / 2 t² - t + η.

      theorem ConvexAnalysis.kantorovichRadius_eq_div {ω η : ℝ} (hω : ω ≠ 0) (hh : ω * η ≤ 1 / 2) :
      kantorovichRadius ω η = (1 - √(1 - 2 * (ω * η))) / ω

      For ω ≠ 0, t⋆ = (1 - √(1 - 2 ω η)) / ω, the form in the literature.

      noncomputable def ConvexAnalysis.newtonMap {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] (F : E → G) (F' : E → E →L[𝕜] G) (x : E) :
      E

      Newton's map x ↦ x - F'(x)⁻¹ F(x) for F : E → G with derivative F'. Where F' x is not invertible, ContinuousLinearMap.inverse (F' x) = 0 and the map fixes x.

      Equations
      Instances For
        noncomputable def ConvexAnalysis.newtonSeq {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] (F : E → G) (F' : E → E →L[𝕜] G) (x₀ : E) (k : ℕ) :
        E

        The Newton iterates x (k + 1) = x k - F'(x k)⁻¹ F(x k) from x 0 = x₀.

        Equations
        Instances For
          @[simp]
          theorem ConvexAnalysis.newtonSeq_zero {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {x₀ : E} :
          newtonSeq F F' x₀ 0 = x₀

          The Newton iterates start at x₀.

          theorem ConvexAnalysis.newtonSeq_succ {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {x₀ : E} (k : ℕ) :
          newtonSeq F F' x₀ (k + 1) = newtonMap F F' (newtonSeq F F' x₀ k)

          The Newton iterates are the iterates of Newton's map.

          theorem ConvexAnalysis.apply_newtonMap_sub {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {x : E} (hx : (F' x).IsInvertible) :
          (F' x) (newtonMap F F' x - x) = -F x

          Where F' x is invertible, the Newton step d = newtonMap F F' x - x solves F' x d = - F x.

          theorem ConvexAnalysis.isFixedPt_newtonMap_iff {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] {F : E → G} {F' : E → E →L[𝕜] G} {x : E} (hx : (F' x).IsInvertible) :

          Where F' x is invertible, x is a fixed point of Newton's map iff F x = 0.

          theorem ConvexAnalysis.newtonMap_equiv_comp {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} {G' : Type u_4} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] [NormedAddCommGroup G'] [NormedSpace 𝕜 G'] {F : E → G} {F' : E → E →L[𝕜] G} (A : G ≃L[𝕜] G') :
          (newtonMap (fun (x : E) => A (F x)) fun (x : E) => ↑A ∘SL F' x) = newtonMap F F'

          Affine covariance of Newton's method: replacing F by A ∘ F for a continuous linear equivalence A does not change Newton's map Deuflhard, Chapter 2.

          theorem ConvexAnalysis.newtonSeq_equiv_comp {𝕜 : Type u_1} {E : Type u_2} {G : Type u_3} {G' : Type u_4} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] [NormedSpace 𝕜 E] [NormedAddCommGroup G] [NormedSpace 𝕜 G] [NormedAddCommGroup G'] [NormedSpace 𝕜 G'] {F : E → G} {F' : E → E →L[𝕜] G} (A : G ≃L[𝕜] G') :
          (newtonSeq (fun (x : E) => A (F x)) fun (x : E) => ↑A ∘SL F' x) = newtonSeq F F'

          Affine covariance of Newton's method: replacing F by A ∘ F for a continuous linear equivalence A does not change the Newton iterates.

          Banach's perturbation lemma: in a Banach space, T with ‖1 - T‖ < 1 is invertible.

          Banach's perturbation lemma: in a Banach space, ‖T⁻¹‖ ≤ 1 / (1 - ‖1 - T‖) when ‖1 - T‖ < 1.

          theorem ConvexAnalysis.norm_sub_sub_apply_le_of_segment_subset {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {D : Set E} {a b : E} {ω : ℝ} (hab : segment ℝ a b ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ segment ℝ a b, ‖F' x - F' a‖ ≤ ω * ‖x - a‖) :
          ‖F b - F a - (F' a) (b - a)‖ ≤ ω / 2 * ‖b - a‖ ^ 2

          The linearization error of F on a segment where F' is ω-Lipschitz at a: ‖F b - F a - F' a (b - a)‖ ≤ ω / 2 ‖b - a‖².

          theorem ConvexAnalysis.norm_sub_sub_apply_le_of_lipschitz {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {ω : ℝ} (hF : ∀ (x : E), HasFDerivAt F (F' x) x) (hL : ∀ (x y : E), ‖F' x - F' y‖ ≤ ω * ‖x - y‖) (x h : E) :
          ‖F (x + h) - F x - (F' x) h‖ ≤ ω / 2 * ‖h‖ ^ 2

          The linearization error of a map F with an ω-Lipschitz derivative F': ‖F (x + h) - F x - F' x h‖ ≤ ω / 2 ‖h‖². This is ConvexAnalysis.norm_sub_sub_apply_le_of_segment_subset for D = univ.

          The theorem for F'(x₀) = 1 #

          The general statements reduce to this case by affine covariance.

          The Newton–Kantorovich theorem #

          theorem ConvexAnalysis.norm_newtonSeq_sub_le_kantorovichSeq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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‖) (k : ℕ) :
          ‖newtonSeq F F' x₀ k - x₀‖ ≤ kantorovichSeq ω η k

          Under the hypotheses of the Kantorovich theorem, ‖x k - x₀‖ ≤ t k.

          theorem ConvexAnalysis.newtonSeq_mem_closedBall {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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‖) (k : ℕ) :

          Under the hypotheses of the Kantorovich theorem, the Newton iterates stay in closedBall x₀ t⋆.

          theorem ConvexAnalysis.isInvertible_newtonSeq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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‖) (k : ℕ) :
          (F' (newtonSeq F F' x₀ k)).IsInvertible

          Under the hypotheses of the Kantorovich theorem, the Newton iterates are defined: F' is invertible at every iterate.

          theorem ConvexAnalysis.norm_newtonSeq_succ_sub_le {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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‖) (k : ℕ) :
          ‖newtonSeq F F' x₀ (k + 1) - newtonSeq F F' x₀ k‖ ≤ kantorovichSeq ω η (k + 1) - kantorovichSeq ω η k

          Under the hypotheses of the Kantorovich theorem, the majorant sequence bounds the Newton steps: ‖x (k + 1) - x k‖ ≤ t (k + 1) - t k.

          theorem ConvexAnalysis.exists_tendsto_newtonSeq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E), Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')

          Under the hypotheses of the Kantorovich theorem, the Newton iterates converge.

          theorem ConvexAnalysis.norm_sub_newtonSeq_le {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E} (hx' : Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')) (k : ℕ) :
          ‖x' - newtonSeq F F' x₀ k‖ ≤ kantorovichRadius ω η - kantorovichSeq ω η k

          Under the hypotheses of the Kantorovich theorem, the limit x' of the Newton iterates satisfies the majorant bound ‖x' - x k‖ ≤ t⋆ - t k.

          theorem ConvexAnalysis.apply_eq_zero_of_tendsto_newtonSeq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E} (hx' : Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')) :
          F x' = 0

          Under the hypotheses of the Kantorovich theorem, the limit of the Newton iterates is a zero of F.

          theorem ConvexAnalysis.norm_sub_newtonSeq_le_pow {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E} (hx' : Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')) (k : ℕ) :
          ‖x' - newtonSeq F F' x₀ k‖ ≤ 2 * (2 * (ω * η)) ^ (2 ^ k - 1) * η / 2 ^ k

          Error bound of the Kantorovich theorem: with h = ω η ≤ 1 / 2, ‖x' - x k‖ ≤ 2 (2 h)^(2^k - 1) η / 2^k = (2 h)^(2^k - 1) η / 2^(k - 1), quadratic convergence for h < 1 / 2.

          theorem ConvexAnalysis.norm_sub_newtonSeq_le_pow_div {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E} (hx' : Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')) (hh₀ : 0 < ω * η) (k : ℕ) :
          ‖x' - newtonSeq F F' x₀ k‖ ≤ (2 * (ω * η)) ^ 2 ^ k * η / (2 ^ k * (ω * η))

          Error bound of the Kantorovich theorem in the form ‖x' - x k‖ ≤ (2 h)^(2^k) η / (2^k h), for 0 < h = ω η ≤ 1 / 2; with ω = β γ and h = α this is the estimate (5) of Ortega–Rheinboldt, Theorem 12.6.2.

          theorem ConvexAnalysis.eq_of_tendsto_newtonSeq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E} (hx' : Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')) (hDc : Convex ℝ D) {y : E} (hyD : y ∈ D) (hFy : F y = 0) (hy : ‖y - x₀‖ ≤ kantorovichRadius ω η ∨ ω * ‖y - x₀‖ < 1 + √(1 - 2 * (ω * η))) :
          y = x'

          Uniqueness in the Kantorovich theorem: on a convex D, the limit x' of the Newton iterates is the only zero y of F with ‖y - x₀‖ ≤ t⋆ or ω ‖y - x₀‖ < 1 + √(1 - 2 ω η), that is, in closedBall x₀ t⋆ ∪ ball x₀ t⋆⋆ with t⋆⋆ = (1 + √(1 - 2 ω η)) / ω (t⋆⋆ = ∞ for ω = 0). For h < 1 / 2 the closed ball of radius t⋆⋆ would be wrong: for E = G = ℝ and F = φ the majorant itself, t⋆⋆ is a second zero at distance t⋆⋆ from x₀ = 0.

          theorem ConvexAnalysis.eq_of_tendsto_newtonSeq_of_mem_union {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E} (hx' : Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x')) (hDc : Convex ℝ D) (hω' : 0 < ω) {y : E} (hyD : y ∈ D) (hFy : F y = 0) (hy : y ∈ Metric.closedBall x₀ (kantorovichRadius ω η) ∪ Metric.ball x₀ ((1 + √(1 - 2 * (ω * η))) / ω)) :
          y = x'

          Uniqueness in the Kantorovich theorem for ω > 0: the limit of the Newton iterates is the only zero of F in D ∩ (closedBall x₀ t⋆ ∪ ball x₀ t⋆⋆), t⋆⋆ = (1 + √(1 - 2 ω η)) / ω.

          Local quadratic convergence #

          theorem ConvexAnalysis.newtonSeq_mem_closedBall_of_mem_closedBall {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω : ℝ} [CompleteSpace E] {xs : E} {ρ : ℝ} (hFs : F xs = 0) (hA : (F' xs).IsInvertible) (hω : 0 ≤ ω) (hD : Metric.closedBall xs ρ ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' xs).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) (hρ : ω * ρ < 2 / 3) (hx₀ : x₀ ∈ Metric.closedBall xs ρ) (k : ℕ) :
          newtonSeq F F' x₀ k ∈ Metric.closedBall xs ρ

          Local convergence of Newton's method, the iterates stay in the ball: let xs be a zero of F with F' xs invertible and ‖F'(xs)⁻¹ (F' x - F' y)‖ ≤ ω ‖x - y‖ on D ⊇ closedBall xs ρ, ω ρ < 2 / 3 TW, Theorem 2.1, Corollary 2.1. From any x₀ ∈ closedBall xs ρ, the Newton iterates stay in closedBall xs ρ.

          theorem ConvexAnalysis.isInvertible_newtonSeq_of_mem_closedBall {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω : ℝ} [CompleteSpace E] {xs : E} {ρ : ℝ} (hFs : F xs = 0) (hA : (F' xs).IsInvertible) (hω : 0 ≤ ω) (hD : Metric.closedBall xs ρ ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' xs).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) (hρ : ω * ρ < 2 / 3) (hx₀ : x₀ ∈ Metric.closedBall xs ρ) (k : ℕ) :
          (F' (newtonSeq F F' x₀ k)).IsInvertible

          Local convergence of Newton's method, the iterates are defined: under the hypotheses of ConvexAnalysis.newtonSeq_mem_closedBall_of_mem_closedBall, F' is invertible at every iterate.

          theorem ConvexAnalysis.norm_newtonSeq_succ_sub_le_of_mem_closedBall {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω : ℝ} [CompleteSpace E] {xs : E} {ρ : ℝ} (hFs : F xs = 0) (hA : (F' xs).IsInvertible) (hω : 0 ≤ ω) (hD : Metric.closedBall xs ρ ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' xs).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) (hρ : ω * ρ < 2 / 3) (hx₀ : x₀ ∈ Metric.closedBall xs ρ) (k : ℕ) :
          ‖newtonSeq F F' x₀ (k + 1) - xs‖ ≤ ω * ‖newtonSeq F F' x₀ k - xs‖ ^ 2 / (2 * (1 - ω * ‖newtonSeq F F' x₀ k - xs‖))

          Local quadratic convergence of Newton's method TW, Theorem 2.1: under the hypotheses of ConvexAnalysis.newtonSeq_mem_closedBall_of_mem_closedBall, ‖x (k + 1) - xs‖ ≤ ω ‖x k - xs‖² / (2 (1 - ω ‖x k - xs‖)), which is (2.6) of [TW79] with A₂ = ω / 2.

          theorem ConvexAnalysis.norm_newtonSeq_sub_le_of_mem_closedBall {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω : ℝ} [CompleteSpace E] {xs : E} {ρ : ℝ} (hFs : F xs = 0) (hA : (F' xs).IsInvertible) (hω : 0 ≤ ω) (hD : Metric.closedBall xs ρ ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' xs).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) (hρ : ω * ρ < 2 / 3) (hx₀ : x₀ ∈ Metric.closedBall xs ρ) (k : ℕ) :
          ‖newtonSeq F F' x₀ k - xs‖ ≤ (ω * ρ / (2 * (1 - ω * ρ))) ^ k * ‖x₀ - xs‖

          Local convergence of Newton's method, linear rate: under the hypotheses of ConvexAnalysis.newtonSeq_mem_closedBall_of_mem_closedBall, ‖x k - xs‖ ≤ q ^ k ‖x₀ - xs‖ with q = ω ρ / (2 (1 - ω ρ)) < 1, the q of TW, Theorem 2.1 with equality in their (2.3) (A₂ Γ = q / (1 + 2 q)), and (2.5) there.

          theorem ConvexAnalysis.tendsto_newtonSeq_of_mem_closedBall {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω : ℝ} [CompleteSpace E] {xs : E} {ρ : ℝ} (hFs : F xs = 0) (hA : (F' xs).IsInvertible) (hω : 0 ≤ ω) (hD : Metric.closedBall xs ρ ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' xs).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) (hρ : ω * ρ < 2 / 3) (hx₀ : x₀ ∈ Metric.closedBall xs ρ) :

          Local convergence of Newton's method TW, Theorem 2.1: under the hypotheses of ConvexAnalysis.newtonSeq_mem_closedBall_of_mem_closedBall, the Newton iterates converge to xs.

          theorem ConvexAnalysis.eq_of_mem_closedBall_of_apply_eq_zero {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {D : Set E} {ω : ℝ} {xs : E} {ρ : ℝ} (hFs : F xs = 0) (hA : (F' xs).IsInvertible) (hD : Metric.closedBall xs ρ ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖(F' xs).inverse ∘SL (F' x - F' y)‖ ≤ ω * ‖x - y‖) (hρ : ω * ρ < 2) {y : E} (hy : y ∈ Metric.closedBall xs ρ) (hFy : F y = 0) :
          y = xs

          Uniqueness of a regular zero: let xs be a zero of F with F' xs invertible and ‖F'(xs)⁻¹ (F' x - F' y)‖ ≤ ω ‖x - y‖ on D ⊇ closedBall xs ρ. If ω ρ < 2, then xs is the only zero of F in closedBall xs ρ. This covers the ball of the local convergence theorem (ω ρ < 2 / 3, ConvexAnalysis.tendsto_newtonSeq_of_mem_closedBall).

          theorem ConvexAnalysis.norm_inverse_comp_sub_le {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {β L : ℝ} (hβ : ‖(F' x₀).inverse‖ ≤ β) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖F' x - F' y‖ ≤ L * ‖x - y‖) (x : E) :
          x ∈ D → ∀ y ∈ D, ‖(F' x₀).inverse ∘SL (F' x - F' y)‖ ≤ β * L * ‖x - y‖

          The classical Lipschitz condition ‖F' x - F' y‖ ≤ L ‖x - y‖ with ‖F'(x₀)⁻¹‖ ≤ β gives the affine covariant one with ω = β L.

          theorem ConvexAnalysis.newton_kantorovich_affine {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {ω η : ℝ} [CompleteSpace 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' : E), F x' = 0 ∧ x' ∈ Metric.closedBall x₀ (kantorovichRadius ω η) ∧ Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x') ∧ (∀ (k : ℕ), (F' (newtonSeq F F' x₀ k)).IsInvertible ∧ newtonSeq F F' x₀ k ∈ Metric.closedBall x₀ (kantorovichRadius ω η)) ∧ (∀ (k : ℕ), ‖newtonSeq F F' x₀ (k + 1) - newtonSeq F F' x₀ k‖ ≤ kantorovichSeq ω η (k + 1) - kantorovichSeq ω η k) ∧ (∀ (k : ℕ), ‖x' - newtonSeq F F' x₀ k‖ ≤ kantorovichRadius ω η - kantorovichSeq ω η k) ∧ (∀ (k : ℕ), ‖x' - newtonSeq F F' x₀ k‖ ≤ 2 * (2 * (ω * η)) ^ (2 ^ k - 1) * η / 2 ^ k) ∧ (Convex ℝ D → ∀ y ∈ D, F y = 0 → ‖y - x₀‖ ≤ kantorovichRadius ω η ∨ ω * ‖y - x₀‖ < 1 + √(1 - 2 * (ω * η)) → y = x')

          Newton–Kantorovich theorem, affine covariant form Deuflhard, Chapter 2. Let F' be the derivative of F : E → G on D ⊇ closedBall x₀ t⋆, F' x₀ invertible, ‖F'(x₀)⁻¹ F(x₀)‖ ≤ η, ‖F'(x₀)⁻¹ (F' x - F' y)‖ ≤ ω ‖x - y‖ on D and h = ω η ≤ 1 / 2. Then the Newton iterates are defined, stay in closedBall x₀ t⋆ and converge to a zero x' of F, with the majorant bounds and the error bound ‖x' - x k‖ ≤ 2 (2 h)^(2^k - 1) η / 2^k; for convex D, x' is the only zero in D ∩ (closedBall x₀ t⋆ ∪ ball x₀ t⋆⋆). The theorem is semilocal: no zero of F is assumed to exist.

          theorem ConvexAnalysis.newton_kantorovich {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {F : E → G} {F' : E → E →L[ℝ] G} {x₀ : E} {D : Set E} {η : ℝ} [CompleteSpace E] {β L : ℝ} (hA : (F' x₀).IsInvertible) (hβ : ‖(F' x₀).inverse‖ ≤ β) (hη : ‖(F' x₀).inverse (F x₀)‖ ≤ η) (hL₀ : 0 ≤ L) (hh : β * L * η ≤ 1 / 2) (hD : Metric.closedBall x₀ (kantorovichRadius (β * L) η) ⊆ D) (hF : ∀ x ∈ D, HasFDerivWithinAt F (F' x) D x) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖F' x - F' y‖ ≤ L * ‖x - y‖) :
          ∃ (x' : E), F x' = 0 ∧ x' ∈ Metric.closedBall x₀ (kantorovichRadius (β * L) η) ∧ Filter.Tendsto (newtonSeq F F' x₀) Filter.atTop (nhds x') ∧ (∀ (k : ℕ), (F' (newtonSeq F F' x₀ k)).IsInvertible ∧ newtonSeq F F' x₀ k ∈ Metric.closedBall x₀ (kantorovichRadius (β * L) η)) ∧ (∀ (k : ℕ), ‖newtonSeq F F' x₀ (k + 1) - newtonSeq F F' x₀ k‖ ≤ kantorovichSeq (β * L) η (k + 1) - kantorovichSeq (β * L) η k) ∧ (∀ (k : ℕ), ‖x' - newtonSeq F F' x₀ k‖ ≤ kantorovichRadius (β * L) η - kantorovichSeq (β * L) η k) ∧ (∀ (k : ℕ), ‖x' - newtonSeq F F' x₀ k‖ ≤ 2 * (2 * (β * L * η)) ^ (2 ^ k - 1) * η / 2 ^ k) ∧ (Convex ℝ D → ∀ y ∈ D, F y = 0 → ‖y - x₀‖ ≤ kantorovichRadius (β * L) η ∨ β * L * ‖y - x₀‖ < 1 + √(1 - 2 * (β * L * η)) → y = x')

          Newton–Kantorovich theorem Kantorovich–Akilov, Chapter XVIII, Ortega–Rheinboldt, Theorem 12.6.2 (there on ℝⁿ, with γ = L and α = h). Let F : E → G between Banach spaces have the derivative F' on D ⊇ closedBall x₀ t⋆, with F' x₀ invertible, ‖F'(x₀)⁻¹‖ ≤ β, ‖F'(x₀)⁻¹ F(x₀)‖ ≤ η, ‖F' x - F' y‖ ≤ L ‖x - y‖ on D, and h = β L η ≤ 1 / 2. Here t⋆ = (1 - √(1 - 2 h)) / (β L) = kantorovichRadius (β * L) η and t k = kantorovichSeq (β * L) η k is Newton's method for the majorant φ t = β L / 2 t² - t + η. Then:

          • every Newton iterate x k is defined (F' (x k) is invertible) and lies in closedBall x₀ t⋆;
          • ‖x (k + 1) - x k‖ ≤ t (k + 1) - t k;
          • the iterates converge to a zero x' of F, with ‖x' - x k‖ ≤ t⋆ - t k and ‖x' - x k‖ ≤ 2 (2 h)^(2^k - 1) η / 2^k;
          • for convex D, x' is the only zero of F in D with ‖y - x₀‖ ≤ t⋆ or ‖y - x₀‖ < t⋆⋆ = (1 + √(1 - 2 h)) / (β L) (no bound if β L = 0).

          The theorem is semilocal: no zero of F is assumed to exist.

          Newton's method for minimization #

          theorem ConvexAnalysis.eventually_le_of_hasFDerivAt_gradient {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → ℝ} {g : H → H} {x : H} {B : H →L[ℝ] H} {μ c : ℝ} (hg : ∀ᶠ (y : H) in nhds x, HasGradientAt f (g y) y) (hB : HasFDerivAt g B x) (hgx : g x = 0) (hμ : ∀ (v : H), μ * ‖v‖ ^ 2 ≤ inner ℝ (B v) v) (hc : c < μ / 2) :
          ∀ᶠ (y : H) in nhds x, f x + c * ‖y - x‖ ^ 2 ≤ f y

          Second-order sufficient condition, quadratic growth: let g be the gradient of f near x with g x = 0, and let the derivative B of g at x (the Hessian of f at x) satisfy B ⪰ μ I, that is μ ‖v‖² ≤ ⟪B v, v⟫ for all v. Then f x + c ‖y - x‖² ≤ f y for all y near x, for every c < μ / 2. Only the derivative of g at x itself is used.

          theorem ConvexAnalysis.eventually_lt_of_hasFDerivAt_gradient {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → ℝ} {g : H → H} {x : H} {B : H →L[ℝ] H} {μ : ℝ} (hg : ∀ᶠ (y : H) in nhds x, HasGradientAt f (g y) y) (hB : HasFDerivAt g B x) (hgx : g x = 0) (hμ0 : 0 < μ) (hμ : ∀ (v : H), μ * ‖v‖ ^ 2 ≤ inner ℝ (B v) v) :
          ∀ᶠ (y : H) in nhdsWithin x {x}ᶜ, f x < f y

          Second-order sufficient condition: let g be the gradient of f near x with g x = 0, and let the derivative B of g at x satisfy B ⪰ μ I with μ > 0. Then x is a strict local minimizer of f: f x < f y for all y ≠ x near x.

          theorem ConvexAnalysis.isInvertible_of_mul_norm_sq_le_inner {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {T : H →L[ℝ] H} {μ : ℝ} (hμ : 0 < μ) (hT : ∀ (v : H), μ * ‖v‖ ^ 2 ≤ inner ℝ (T v) v) :

          Lax–Milgram for an operator: a coercive T, μ ‖v‖² ≤ ⟪T v, v⟫ for all v with μ > 0, on a real Hilbert space is invertible (Mathlib's IsCoercive.continuousLinearEquivOfBilin for the bilinear form ⟪T ·, ·⟫).

          theorem ConvexAnalysis.norm_inverse_le_of_mul_norm_sq_le_inner {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {T : H →L[ℝ] H} {μ : ℝ} (hμ : 0 < μ) (hT : ∀ (v : H), μ * ‖v‖ ^ 2 ≤ inner ℝ (T v) v) :

          The inverse of a coercive operator, μ ‖v‖² ≤ ⟪T v, v⟫ for all v with μ > 0, on a real Hilbert space has norm at most μ⁻¹.

          theorem ConvexAnalysis.newton_kantorovich_eventually_lt {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → ℝ} {g : H → H} {A : H → H →L[ℝ] H} {x₀ : H} {D : Set H} {L μ η : ℝ} (hg : ∀ (x : H), HasGradientAt f (g x) x) (hA : ∀ x ∈ D, HasFDerivAt g (A x) x) (hμ : 0 < μ) (hAμ : ∀ (v : H), μ * ‖v‖ ^ 2 ≤ inner ℝ ((A x₀) v) v) (hη : ‖(A x₀).inverse (g x₀)‖ ≤ η) (hL₀ : 0 ≤ L) (hh : L * η < μ / 2) (hD : Metric.closedBall x₀ (kantorovichRadius (L / μ) η) ⊆ D) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖A x - A y‖ ≤ L * ‖x - y‖) :
          ∃ (x' : H), g x' = 0 ∧ x' ∈ Metric.closedBall x₀ (kantorovichRadius (L / μ) η) ∧ Filter.Tendsto (newtonSeq g A x₀) Filter.atTop (nhds x') ∧ ∀ᶠ (y : H) in nhdsWithin x' {x'}ᶜ, f x' < f y

          Newton's method for minimization, the Kantorovich theorem for F = ∇f: let f have the gradient g on a real Hilbert space, let g have the derivative A (the Hessian) at the points of D ⊇ closedBall x₀ t⋆, A L-Lipschitz on D, A x₀ ⪰ μ I for some μ > 0, ‖A(x₀)⁻¹ g(x₀)‖ ≤ η and h = L η / μ < 1 / 2. Then the Newton iterates converge to a critical point x⋆ ∈ closedBall x₀ t⋆ of f, which is a strict local minimizer of f: f x⋆ < f y for all y ≠ x⋆ near x⋆. Here t⋆ = kantorovichRadius (L / μ) η. A x₀ is invertible by Lax–Milgram (ConvexAnalysis.isInvertible_of_mul_norm_sq_le_inner). Without the condition A x₀ ⪰ μ I, ConvexAnalysis.newton_kantorovich applied to g gives convergence to a critical point. ConvexAnalysis.newton_kantorovich_isLocalMin states the conclusion with IsLocalMin.

          theorem ConvexAnalysis.newton_kantorovich_isLocalMin {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → ℝ} {g : H → H} {A : H → H →L[ℝ] H} {x₀ : H} {D : Set H} {L μ η : ℝ} (hg : ∀ (x : H), HasGradientAt f (g x) x) (hA : ∀ x ∈ D, HasFDerivAt g (A x) x) (hμ : 0 < μ) (hAμ : ∀ (v : H), μ * ‖v‖ ^ 2 ≤ inner ℝ ((A x₀) v) v) (hη : ‖(A x₀).inverse (g x₀)‖ ≤ η) (hL₀ : 0 ≤ L) (hh : L * η < μ / 2) (hD : Metric.closedBall x₀ (kantorovichRadius (L / μ) η) ⊆ D) (hL : ∀ x ∈ D, ∀ y ∈ D, ‖A x - A y‖ ≤ L * ‖x - y‖) :
          ∃ (x' : H), g x' = 0 ∧ x' ∈ Metric.closedBall x₀ (kantorovichRadius (L / μ) η) ∧ Filter.Tendsto (newtonSeq g A x₀) Filter.atTop (nhds x') ∧ IsLocalMin f x'

          Newton's method for minimization with the conclusion IsLocalMin: under the hypotheses of ConvexAnalysis.newton_kantorovich_eventually_lt, the Newton iterates converge to a critical point x⋆ ∈ closedBall x₀ t⋆ of f that is a local minimizer of f; the theorem cited proves that it is a strict local minimizer.