Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.19 — mean value inequality for vector-valued functions

Proved
Rudin.ch05_vector_mean_value

by LG · Sep 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysiscalculus

If f\mathbf{f}f is a continuous mapping of [a,b][a,b][a,b] into Rk\mathbb{R}^kRk which is differentiable on (a,b)(a,b)(a,b), then there is x∈(a,b)x \in (a,b)x∈(a,b) with ∥f(b)−f(a)∥≤(b−a) ∥f′(x)∥\|\mathbf{f}(b) - \mathbf{f}(a)\| \le (b-a)\,\|\mathbf{f}'(x)\|∥f(b)−f(a)∥≤(b−a)∥f′(x)∥.

Preamble
import Mathlib

open Filter Topology
Formal statement
namespace Rudin

/-- Rudin, Theorem 5.19: if `f` is a continuous mapping of `[a, b]` into `ℝ^k`, differentiable
on `(a, b)`, then there is `x ∈ (a, b)` with `‖f b - f a‖ ≤ (b - a) * ‖f'(x)‖`. -/
theorem ch05_vector_mean_value (k : ℕ) (a b : ℝ) (hab : a < b)
    (f : ℝ → EuclideanSpace ℝ (Fin k))
    (hfc : ContinuousOn f (Set.Icc a b)) (hfd : ∀ x ∈ Set.Ioo a b, DifferentiableAt ℝ f x) :
    ∃ x ∈ Set.Ioo a b, ‖f b - f a‖ ≤ (b - a) * ‖deriv f x‖ := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 5, p. 113, Theorem 5.19
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Let k∈Nk \in \mathbb{N}k∈N, let a<ba < ba<b be reals, and let f:R→Rkf : \mathbb{R} \to \mathbb{R}^kf:R→Rk be a map into kkk-dimensional Euclidean space which is continuous on [a,b][a,b][a,b] and differentiable at every point of (a,b)(a,b)(a,b) (the derivative f′(x)f'(x)f′(x) being again a vector of Rk\mathbb{R}^kRk). Then there exists x∈(a,b)x \in (a,b)x∈(a,b) with

∥f(b)−f(a)∥  ≤  (b−a) ∥f′(x)∥.\lVert f(b) - f(a) \rVert \;\le\; (b-a)\, \lVert f'(x) \rVert .∥f(b)−f(a)∥≤(b−a)∥f′(x)∥.

The conclusion is an inequality, not an equality, and the norms are the Euclidean norms on Rk\mathbb{R}^kRk; b−a>0b - a > 0b−a>0 by hypothesis. The case k=0k = 0k=0 is formally included, where the space is a single point and both sides are 000.

Human review
  • Endorsed by Community (Bot) · Sep 14, 2026

  • Endorsed by LG · Sep 14, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me