Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.17 — uniform convergence and differentiation

Proved
Rudin.ch07_uniform_derivative

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

analysiscalculus

Let fnf_nfn​ be differentiable on [a,b][a,b][a,b], suppose {fn(x0)}\{f_n(x_0)\}{fn​(x0​)} converges for some x0∈[a,b]x_0 \in [a,b]x0​∈[a,b], and suppose {fn′}\{f_n'\}{fn′​} converges uniformly on [a,b][a,b][a,b]. Then {fn}\{f_n\}{fn​} converges uniformly on [a,b][a,b][a,b] to a function ggg, and g′(x)=lim⁡nfn′(x)g'(x) = \lim_n f_n'(x)g′(x)=limn​fn′​(x) for every x∈[a,b]x \in [a,b]x∈[a,b].

Preamble
import Mathlib

open Filter Topology
Formal statement
namespace Rudin

/-- Rudin, Theorem 7.17: let `f n` be differentiable on `[a, b]`, suppose `f n x₀` converges
for some `x₀ ∈ [a, b]`, and suppose the derivatives converge uniformly on `[a, b]`.  Then
`f n` converges uniformly on `[a, b]` to a function `g` whose derivative at each point is the
limit of the derivatives. -/
theorem ch07_uniform_derivative (a b : ℝ) (hab : a < b) (f : ℕ → ℝ → ℝ) (f' : ℕ → ℝ → ℝ)
    (hdiff : ∀ n, ∀ x ∈ Set.Icc a b, HasDerivAt (f n) (f' n x) x)
    (x₀ : ℝ) (hx₀ : x₀ ∈ Set.Icc a b) (hconv : ∃ c : ℝ, Tendsto (fun n => f n x₀) atTop (𝓝 c))
    (h' : ∃ h : ℝ → ℝ, TendstoUniformlyOn f' h atTop (Set.Icc a b)) :
    ∃ g : ℝ → ℝ, ∃ h : ℝ → ℝ,
      TendstoUniformlyOn f g atTop (Set.Icc a b) ∧
      TendstoUniformlyOn f' h atTop (Set.Icc a b) ∧
      ∀ x ∈ Set.Icc a b, HasDerivAt g (h x) x := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 7, p. 152, Theorem 7.17
Read-back

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

Let a<ba < ba<b be reals, and let fn,fn′:R→Rf_n, f'_n : \mathbb{R} \to \mathbb{R}fn​,fn′​:R→R for n∈Nn \in \mathbb{N}n∈N (the second family is given data, not the derivative operator applied to the first). Assume:

  • for every nnn and every x∈[a,b]x \in [a,b]x∈[a,b], fnf_nfn​ is differentiable at xxx with derivative fn′(x)f'_n(x)fn′​(x);
  • there is a point x0∈[a,b]x_0 \in [a,b]x0​∈[a,b] such that the numerical sequence fn(x0)f_n(x_0)fn​(x0​) converges to some real ccc;
  • the sequence fn′f'_nfn′​ converges uniformly on [a,b][a,b][a,b] to some function.

Then there exist functions g,h:R→Rg, h : \mathbb{R} \to \mathbb{R}g,h:R→R such that:

  • fn→gf_n \to gfn​→g uniformly on [a,b][a,b][a,b];
  • fn′→hf'_n \to hfn′​→h uniformly on [a,b][a,b][a,b];
  • for every x∈[a,b]x \in [a,b]x∈[a,b], ggg is differentiable at xxx with derivative exactly h(x)h(x)h(x).

The differentiability in hypothesis and conclusion is the two-sided derivative of a function defined on all of R\mathbb{R}R, imposed at the endpoints as well; ggg and hhh are unconstrained outside [a,b][a,b][a,b] apart from those conditions. Continuity of the fn′f'_nfn′​ is not assumed.

Human review
  • Endorsed by Shuze Chen · Sep 13, 2026

  • Endorsed by LG · Sep 13, 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