Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 11.1 — period three implies all periods for a continuous map of a compact interval

Proved
TeschlODE.IntervalMaps.period_three_implies_all_periods

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamical-systemsinterval-mapsp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1periodic-pointssarkovskii

Let I=[a,b]⊆RI = [a, b] \subseteq \mathbb{R}I=[a,b]⊆R be a compact interval and f:I→If : I \to If:I→I continuous. Suppose fff has an orbit of period three, i.e. a point x∈Ix \in Ix∈I of prime period 333. Then for every n∈N={1,2,… }n \in \mathbb{N} = \{1, 2, \dots\}n∈N={1,2,…} there is a point of prime period nnn:

∃ x∈I:fn(x)=x  and  fm(x)≠x  for 1≤m<n.\exists\, x \in I:\quad f^n(x) = x \ \text{ and } \ f^m(x) \ne x \ \text{ for } 1 \le m < n .∃x∈I:fn(x)=x  and  fm(x)=x  for 1≤m<n.

This is the first case of Sarkovskii's theorem (Theorem 11.2), and the only one the book proves.

Formalization Note. fff is a continuous self-map of the subtype [a,b][a,b][a,b]; the prime period is Mathlib's Function.minimalPeriod. "An orbit of period three" is read as an orbit of prime period three, as in the book's proof (three points a<b<ca < b < ca<b<c) and its convention (§10.2, p. 282) that the period of a periodic point means its prime period.

Preamble
import Mathlib
Formal statement
namespace TeschlODE.IntervalMaps

/-- Teschl, Lemma 11.1, p. 294: let `I = [a, b] ⊆ ℝ` be a compact interval and `f : I → I`
continuous. If `f` has an orbit of (prime) period three, then for every `n ∈ ℕ = {1, 2, …}` it
has an orbit of prime period `n`. The prime period is Mathlib's `Function.minimalPeriod`. -/
theorem period_three_implies_all_periods (a b : ℝ) (hab : a ≤ b)
    (f : Set.Icc a b → Set.Icc a b) (hf : Continuous f)
    (h3 : ∃ x : Set.Icc a b, Function.minimalPeriod f x = 3) :
    ∀ n : ℕ, 1 ≤ n → ∃ x : Set.Icc a b, Function.minimalPeriod f x = n := by sorry

end TeschlODE.IntervalMaps
Source
Teschl, Ordinary Differential Equations and Dynamical Systems (author's preliminary version of AMS GSM 140, 2012), p. 294, Lemma 11.1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Hypotheses. Let a,ba, ba,b be real numbers with a≤ba \le ba≤b, and let I=[a,b]={t∈R:a≤t≤b}I = [a, b] = \{t \in \mathbb{R} : a \le t \le b\}I=[a,b]={t∈R:a≤t≤b} with its usual subspace topology. Let

f:I→If : I \to If:I→I

be continuous. Suppose some point x∈Ix \in Ix∈I has minimal period exactly 333.

For a map ggg and a point zzz, the minimal period of zzz is the least m≥1m \ge 1m≥1 with gm(z)=zg^m(z) = zgm(z)=z. If no such mmm exists, Mathlib defines it to be 000. So "minimal period 333" means:

f3(x)=x,f(x)≠x,f2(x)≠x.f^3(x) = x, \qquad f(x) \ne x, \qquad f^2(x) \ne x.f3(x)=x,f(x)=x,f2(x)=x.

Conclusion. For every natural number n≥1n \ge 1n≥1 there is a point xn∈Ix_n \in Ixn​∈I whose minimal period under fff is exactly nnn. That is, fn(xn)=xnf^n(x_n) = x_nfn(xn​)=xn​ and fm(xn)≠xnf^m(x_n) \ne x_nfm(xn​)=xn​ for 1≤m<n1 \le m < n1≤m<n.

Degenerate cases:

  • If a=ba = ba=b, then III is a single point and every point has minimal period 111. The hypothesis that some point has minimal period 333 cannot hold, so the statement is vacuously true there.
  • The case n=0n = 0n=0 is excluded from the conclusion. A point with minimal period 000 in Mathlib's convention is a non-periodic point, and nothing is claimed about such points.
  • For n=1n = 1n=1, the conclusion asserts a fixed point.
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 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