Theorem 13.1 — the Smale horseshoe has an invariant Cantor set on which it is conjugate to the two-sided shift, hence chaotic
ProvedTeschlODE.Horseshoe.horseshoe_topEquiv_shiftZLet and , and let be a Smale horseshoe map: on and on . Let
(13.8), and let be the two-sided itinerary map (13.9). The book states: The Smale horseshoe map has an invariant Cantor set on which the dynamics is equivalent to the double sided shift on two symbols. In particular it is chaotic. Formally:
- is a Cantor set (compact, totally disconnected, perfect);
- ;
- is a bijection of onto and on , where is the two-sided shift;
- and are continuous, with and carrying the metric (11.35);
- the restricted system is chaotic: is continuous, is infinite, is topologically transitive and its periodic points are dense in .
The horseshoe is the model of the dynamics near a transverse homoclinic point (Smale–Birkhoff, Theorem 13.2), and so the source of chaos in the Melnikov criterion of §13.3.
Formalization Note. Parameters (correction to the page). The book fixes and . At the strips meet on , where (13.2) and (13.3) disagree, and is not a Cantor set. At the images meet and again. The theorem is therefore stated for and .
Extension. is any map agreeing with (13.2)–(13.3) on , and the conclusion holds for every such extension, since .
Topology. is ℝ × ℝ with Mathlib's max-distance, which has the same topology as the Euclidean one. "Equivalent" is topological equivalence (11.10), spelled out as clauses 2–4, with continuity in – form. "Chaotic" is the book's definition of p. 296 (no sensitive-dependence axiom), applied to the subtype .
import Mathlib import Definitions.Def_TeschlODE_Horseshoe_IsHorseshoeMap import Definitions.Def_TeschlODE_Horseshoe_horseshoeSet import Definitions.Def_TeschlODE_Horseshoe_horseshoeItinerary import Definitions.Def_TeschlODE_Horseshoe_shiftZ import Definitions.Def_TeschlODE_Horseshoe_symDistZ import Definitions.Def_TeschlODE_Horseshoe_IsCantorSet import Definitions.Def_TeschlODE_Shared_IsChaotic
namespace TeschlODE.Horseshoe
/-- Teschl, Theorem 13.1, p. 333: the Smale horseshoe map has an invariant Cantor set `Λ` on which
the dynamics is equivalent to the double sided shift on two symbols; in particular it is
chaotic.
Here `F` is any map agreeing with (13.2) on `J₀` and with (13.3) on `J₁` (its values elsewhere
are arbitrary, as in the book), `Λ = Λ(T_{1/λ}) × Λ(T_µ)` is the set (13.8), and `ϕ` is the
itinerary map (13.9). The conclusion: `Λ` is a Cantor set; `F(Λ) = Λ`; `ϕ` is a bijection from
`Λ` onto `Σ₂ = {0, 1}^ℤ`; `σ ∘ ϕ = ϕ ∘ F` on `Λ` (σ the two-sided shift); `ϕ` and `ϕ⁻¹` are
continuous (ε–δ, `Λ ⊆ ℝ²` with its usual topology and `Σ₂` with the metric (11.35)); and the
restricted system `(Λ, F|_Λ)` is chaotic in the sense of p. 296.
Correction to the page: the book fixes `λ ∈ (0, 1/2]`, `µ ∈ [2, ∞)`. At `µ = 2` the strips `J₀`,
`J₁` meet on `y = 1/2`, where (13.2) and (13.3) disagree, and `Λ(T₂) = [0, 1]` is not a Cantor
set; at `λ = 1/2` the images `K₀`, `K₁` meet and `Λ(T₂) = [0, 1]` again. The theorem is stated for
`λ ∈ (0, 1/2)` and `µ > 2`. -/
theorem horseshoe_topEquiv_shiftZ (lam μ : ℝ) (hlam₀ : 0 < lam) (hlam : lam < 1 / 2)
(hμ : 2 < μ) (F : ℝ × ℝ → ℝ × ℝ) (hF : IsHorseshoeMap lam μ F) :
IsCantorSet (horseshoeSet lam μ) ∧
F '' horseshoeSet lam μ = horseshoeSet lam μ ∧
Set.BijOn (horseshoeItinerary lam μ F) (horseshoeSet lam μ) Set.univ ∧
(∀ p ∈ horseshoeSet lam μ,
shiftZ (horseshoeItinerary lam μ F p) = horseshoeItinerary lam μ F (F p)) ∧
(∀ p ∈ horseshoeSet lam μ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
∀ q ∈ horseshoeSet lam μ, dist q p < δ →
symDistZ 2 (horseshoeItinerary lam μ F q) (horseshoeItinerary lam μ F p) < ε) ∧
(∀ p ∈ horseshoeSet lam μ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
∀ q ∈ horseshoeSet lam μ,
symDistZ 2 (horseshoeItinerary lam μ F q) (horseshoeItinerary lam μ F p) < δ →
dist q p < ε) ∧
∃ h : Set.MapsTo F (horseshoeSet lam μ) (horseshoeSet lam μ),
TeschlODE.Shared.IsChaotic (h.restrict F (horseshoeSet lam μ) (horseshoeSet lam μ)) := by sorry
end TeschlODE.Horseshoe
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix two real parameters and with
and let be any map that satisfies the bundle predicate . The body of that predicate is not shown here. No other assumption is made about : it need not be continuous, injective or measurable, except where the predicate requires it. The statement also uses the following bundle definitions, whose bodies are likewise not shown:
- , a subset of . It depends only on and , not on .
- , a function defined on all of . Its values lie in some type of "itineraries". The code does not show what is.
- , a map .
- , a real-valued function of two itineraries, with the number as its first argument.
- , a predicate on subsets of .
- , a predicate on self-maps.
Throughout, on is Mathlib's product distance. That is the maximum metric
not the Euclidean one. Under these hypotheses the statement asserts that all seven of the following hold at once:
- satisfies .
- , where is the image set. This means maps into , and every point of is for some .
- restricted to is a bijection from onto all of :
- is injective on ;
- every element of the type equals for some .
- For every ,
- Pointwise continuity of on : for every and every real there is a real such that
- The reverse closeness property, stated point by point: for every and every real there is a real such that
This is phrased directly in terms of points of and their itineraries; no inverse function is formed. Also, may depend on both and , so neither clause 5 nor clause 6 asserts uniform continuity. 7. maps into . Given that fact, consider the restricted map
on the subtype . This map satisfies . The code does not show what topology or metric uses on ; presumably it is whatever structure the subtype inherits from with the max metric.
In clauses 5 and 6, is used only as a real number compared against or . The statement does not assert that is a metric, and it does not give any topology.
Degenerate cases. The parameter hypotheses can be satisfied, for example by and . Only the endpoints and are excluded; may be arbitrarily large, and arbitrarily close to . Whether can be satisfied cannot be seen from this code. If no satisfies it for given and , the theorem says nothing for those parameters. Values of that the predicate does not constrain are arbitrary, and so are the values of outside ; the statement makes no claim about points outside .
If were empty:
- clauses 2, 4, 5 and 6 would hold trivially;
- clause 3 would force the itinerary type to be empty;
- clauses 1 and 7 would depend on how and treat an empty set or an empty type, which is not visible here.
Clause 3 also rules out being a single point unless has exactly one element. The code does not show how behaves when its two arguments are equal, or whether it can take negative values or a default value. If could be for two different itineraries, clause 6 would still require the corresponding points to be within every of each other. With that forces the two points to be equal.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.