Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7.9 — intersections of an orbit with a transversal arc are monotone

Proved
TeschlODE.Planar.intersections_monotone

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

dynamical-systemsordinary-differential-equationsp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1planar-systemstransversal

Let M⊆R2M \subseteq \mathbb{R}^2M⊆R2 be open, f∈C1(M,R2)f \in C^1(M, \mathbb{R}^2)f∈C1(M,R2), σ∈{±}\sigma \in \{\pm\}σ∈{±}, x0∈Mx_0 \in Mx0​∈M a regular point (f(x0)≠0f(x_0) \neq 0f(x0​)=0) and Σ=s(J)\Sigma = s(J)Σ=s(J) a transversal arc containing x0x_0x0​. Let t1,t2,…t_1, t_2, \dotst1​,t2​,… be the times t∈Ix0t \in I_{x_0}t∈Ix0​​ with σt>0\sigma t > 0σt>0 at which xn=Φ(tn,x0)∈Σx_n = \Phi(t_n, x_0) \in \Sigmaxn​=Φ(tn​,x0​)∈Σ, ordered according to tnt_ntn​ (the sequence may be finite). Then (xn)(x_n)(xn​) is monotone with respect to the order of Σ\SigmaΣ:

s−1(x1), s−1(x2), …is monotone.s^{-1}(x_1),\ s^{-1}(x_2),\ \dots \quad \text{is monotone.}s−1(x1​), s−1(x2​), …is monotone.

This is the planar ingredient of the whole section: it rests on the Jordan curve theorem and fails in dimension three.

Formalization Note. Instead of a sequence, the statement quantifies over any function uuu that gives the arc parameter u(t)∈Ju(t) \in Ju(t)∈J, s(u(t))=Φ(t,x0)s(u(t)) = \Phi(t, x_0)s(u(t))=Φ(t,x0​), of every intersection time ttt (unique, since sss is injective), and asserts that uuu is monotone or antitone on the set of intersection times. For σ=−\sigma = -σ=− this is the same as monotonicity of the sequence ordered by decreasing time. As in the book's statement, n≥1n \ge 1n≥1: the time t=0t = 0t=0 is not an intersection time.

Preamble
import Mathlib
import Definitions.Def_TeschlODE_Planar_flow
import Definitions.Def_TeschlODE_Planar_IsTransversalArc
Formal statement
namespace TeschlODE.Planar

/-- Teschl, Lemma 7.9 (p. 221): let `M ⊆ ℝ²` be open, `f ∈ C¹(M, ℝ²)`, `x₀ ∈ M` a regular point
(`f x₀ ≠ 0`) and `Σ = s(J)` a transversal arc containing `x₀`. The intersection times of the
half-orbit `γ_σ(x₀)` with `Σ` are the `t ∈ I_{x₀}` with `σ t > 0` (`σ = true`: `t > 0`;
`σ = false`: `t < 0`) and `Φ(t, x₀) ∈ Σ`. If `u t ∈ J` is the arc parameter of the intersection
point `Φ(t, x₀) = s(u t)` at every such time, then `u` is monotone or antitone on the set of
intersection times, i.e. the sequence of intersections, ordered by time, is monotone with respect
to the order of `Σ`. -/
theorem intersections_monotone {M : Set (Fin 2 → ℝ)} (hM : IsOpen M)
    {f : (Fin 2 → ℝ) → Fin 2 → ℝ} (hf : ContDiffOn ℝ 1 f M) (σ : Bool)
    {x₀ : Fin 2 → ℝ} (hx₀ : x₀ ∈ M) (hreg : f x₀ ≠ 0)
    {J : Set ℝ} {s : ℝ → Fin 2 → ℝ} (harc : IsTransversalArc f M J s) (hx₀arc : x₀ ∈ s '' J)
    (u : ℝ → ℝ)
    (hu : ∀ t, t ∈ lifetime f M x₀ → (if σ then 0 < t else t < 0) → flow f M t x₀ ∈ s '' J →
      u t ∈ J ∧ s (u t) = flow f M t x₀) :
    MonotoneOn u {t | t ∈ lifetime f M x₀ ∧ (if σ then 0 < t else t < 0) ∧ flow f M t x₀ ∈ s '' J} ∨
      AntitoneOn u
        {t | t ∈ lifetime f M x₀ ∧ (if σ then 0 < t else t < 0) ∧ flow f M t x₀ ∈ s '' J} := by sorry

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

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

Throughout, points of R2\mathbb{R}^2R2 are pairs (p1,p2)(p_1,p_2)(p1​,p2​), and the objects used are defined as follows.

  • Integral curves. For f:R2→R2f:\mathbb{R}^2\to\mathbb{R}^2f:R2→R2 and M⊆R2M\subseteq\mathbb{R}^2M⊆R2, an integral curve at xxx is a pair (K,φ)(K,\varphi)(K,φ) where:
    • K⊆RK\subseteq\mathbb{R}K⊆R is an open interval containing 000;
    • φ:R→R2\varphi:\mathbb{R}\to\mathbb{R}^2φ:R→R2 satisfies φ(0)=x\varphi(0)=xφ(0)=x;
    • for all r∈Kr\in Kr∈K, φ(r)∈M\varphi(r)\in Mφ(r)∈M and φ\varphiφ is differentiable at rrr with φ′(r)=f(φ(r))\varphi'(r)=f(\varphi(r))φ′(r)=f(φ(r)).
  • Lifetime. I(x)I(x)I(x) is the union of the intervals KKK of all integral curves at xxx.
  • Flow. For t∈I(x)t\in I(x)t∈I(x), Φ(t,x)\Phi(t,x)Φ(t,x) is the value at ttt of an integral curve at xxx defined at ttt, chosen by the axiom of choice separately for each ttt. For t∉I(x)t\notin I(x)t∈/I(x), Φ(t,x)=x\Phi(t,x)=xΦ(t,x)=x.
  • Transversal arc. "(J,s)(J,s)(J,s) is a transversal arc" means all of the following:
    • J⊆RJ\subseteq\mathbb{R}J⊆R is a nonempty open interval;
    • s:R→R2s:\mathbb{R}\to\mathbb{R}^2s:R→R2 is C1C^1C1 on JJJ;
    • s∣Js|_Js∣J​ is a topological embedding of JJJ into R2\mathbb{R}^2R2 (in particular injective);
    • s(J)⊆Ms(J)\subseteq Ms(J)⊆M;
    • for every t∈Jt\in Jt∈J, s′(t)≠0s'(t)\neq0s′(t)=0 and s1′(t)f2(s(t))−s2′(t)f1(s(t))≠0s_1'(t)f_2(s(t))-s_2'(t)f_1(s(t))\neq0s1′​(t)f2​(s(t))−s2′​(t)f1​(s(t))=0.

Hypotheses. Let the following be given:

  • M⊆R2M\subseteq\mathbb{R}^2M⊆R2 open;
  • f:R2→R2f:\mathbb{R}^2\to\mathbb{R}^2f:R2→R2 continuously differentiable on MMM, with values off MMM unrestricted;
  • a Boolean σ\sigmaσ;
  • a point x0∈Mx_0\in Mx0​∈M with f(x0)≠0f(x_0)\neq0f(x0​)=0;
  • J⊆RJ\subseteq\mathbb{R}J⊆R and s:R→R2s:\mathbb{R}\to\mathbb{R}^2s:R→R2 such that (J,s)(J,s)(J,s) is a transversal arc for fff in MMM, and x0∈s(J)x_0\in s(J)x0​∈s(J);
  • an arbitrary function u:R→Ru:\mathbb{R}\to\mathbb{R}u:R→R.

Define the set of intersection times

Sσ={t∈I(x0):Φ(t,x0)∈s(J) and t>0}if σ=true,S_\sigma=\{t\in I(x_0) : \Phi(t,x_0)\in s(J)\ \text{and}\ t>0\}\quad\text{if }\sigma=\text{true},Sσ​={t∈I(x0​):Φ(t,x0​)∈s(J) and t>0}if σ=true,

and the same with t<0t<0t<0 in place of t>0t>0t>0 if σ=false\sigma=\text{false}σ=false.

The hypothesis on uuu is that for every t∈Sσt\in S_\sigmat∈Sσ​, u(t)∈Ju(t)\in Ju(t)∈J and s(u(t))=Φ(t,x0)s(u(t))=\Phi(t,x_0)s(u(t))=Φ(t,x0​). Values of uuu off SσS_\sigmaSσ​ are unrestricted.

Conclusion. Either uuu is monotone non-decreasing on SσS_\sigmaSσ​, meaning

t,t′∈Sσ, t≤t′  ⟹  u(t)≤u(t′),t,t'\in S_\sigma,\ t\le t'\implies u(t)\le u(t'),t,t′∈Sσ​, t≤t′⟹u(t)≤u(t′),

or uuu is non-increasing on SσS_\sigmaSσ​, meaning t≤t′  ⟹  u(t)≥u(t′)t\le t'\implies u(t)\ge u(t')t≤t′⟹u(t)≥u(t′). The inequalities are non-strict.

Degenerate cases.

  • Few intersections: if SσS_\sigmaSσ​ is empty or has one element, both alternatives hold trivially. This happens, for instance, if I(x0)I(x_0)I(x0​) has no times of the required sign, or if the half-trajectory never meets s(J)s(J)s(J).
  • uuu is determined on SσS_\sigmaSσ​: because sss is injective on JJJ, the hypothesis on uuu fixes uuu uniquely on SσS_\sigmaSσ​, and a function satisfying it always exists.
  • Time 000: t=0t=0t=0 is never in SσS_\sigmaSσ​, even though x0∈s(J)x_0\in s(J)x0​∈s(J).
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