The quadratic family , its invariant set , and itineraries
DefinitionDevaney_quadraticThe family. , the quadratic family the book analyses throughout Chapter 1, together with the unit interval , where all its interesting dynamics take place.
Escape sets. is the set of points that leave after one iteration (nonempty precisely when ), and is the set of points that escape at the -st iteration. The complement splits into a left piece and a right piece , separated by the midpoint .
The invariant set. is the set of points whose entire forward orbit stays in ; equivalently, minus the union of all the . It is forward invariant, so restricts to a map .
Itineraries (Definition 7.1). The itinerary of is the sequence whose -th entry records which of the two pieces the -th iterate lands in: when lies in the left piece, when it lies in the right piece. Since the two pieces are separated by , the entry is determined by the test ; for the midpoint itself belongs to the gap and so never occurs along an orbit in .
import Mathlib
import Definitions.Def_Devaney_sigma2
namespace Devaney
/-- The quadratic family `Fμ(x) = μ x (1 - x)` of Devaney, §1.1 and §1.5. -/
def quadratic (μ x : ℝ) : ℝ := μ * x * (1 - x)
/-- The unit interval `I = [0,1]`, where all the interesting dynamics of `Fμ` takes place. -/
def unitI : Set ℝ := Set.Icc (0 : ℝ) 1
/-- Devaney, §1.5: `A₀`, the set of points of `I` that leave `I` after one iteration. -/
def escapeStep (μ : ℝ) : Set ℝ := {x ∈ unitI | 1 < quadratic μ x}
/-- Devaney, §1.5: `Aₙ = {x ∈ I | Fμⁿ(x) ∈ A₀}`, the points that escape from `I` at the
`(n+1)`-st iteration. -/
def escapeAfter (μ : ℝ) (n : ℕ) : Set ℝ := {x ∈ unitI | (quadratic μ)^[n] x ∈ escapeStep μ}
/-- Devaney, §1.5: `I₀`, the left component of `I - A₀`. -/
def leftPiece (μ : ℝ) : Set ℝ := {x ∈ unitI | x ≤ 1 / 2 ∧ quadratic μ x ≤ 1}
/-- Devaney, §1.5: `I₁`, the right component of `I - A₀`. -/
def rightPiece (μ : ℝ) : Set ℝ := {x ∈ unitI | 1 / 2 ≤ x ∧ quadratic μ x ≤ 1}
/-- Devaney, §1.5: `Λ`, the set of points whose entire forward orbit stays in the unit
interval; equivalently `I` minus the union of the escape sets `Aₙ`. -/
def Lambda (μ : ℝ) : Set ℝ := {x | ∀ n : ℕ, (quadratic μ)^[n] x ∈ unitI}
lemma mapsTo_Lambda (μ : ℝ) : Set.MapsTo (quadratic μ) (Lambda μ) (Lambda μ) := by
intro x hx n
have := hx (n + 1)
rwa [Function.iterate_succ_apply] at this
/-- The restriction of `Fμ` to its invariant set `Λ`. -/
def lambdaMap (μ : ℝ) : Lambda μ → Lambda μ :=
fun x => ⟨quadratic μ x.1, mapsTo_Lambda μ x.2⟩
/-- Devaney, Definition 7.1: the itinerary of `x`, the sequence recording for each `n`
whether `Fμⁿ(x)` lies in the left piece `I₀` (entry `0`) or the right piece `I₁` (entry `1`).
The two pieces are separated by the midpoint `1/2`, so the test is `Fμⁿ(x) ≤ 1/2`. -/
noncomputable def itinerary (μ : ℝ) (x : ℝ) : Sigma2 :=
fun n => if (quadratic μ)^[n] x ≤ 1 / 2 then 0 else 1
end Devaney
Read-back
What the Lean code literally says, in plain math · self-authored by the drafting agent (non-blind, not an independent auditor)
Provenance note — this read-back is NOT blind. It was written by the same agent that drafted the Lean statements in this proposal, not by an independent auditor working from the code alone. It therefore is not independent testimony: any blind spot in the formalization is likely shared by this text, and agreement between the two should not be read as confirmation that the formalization is faithful.
The file defines, for a real parameter :
- the map on , defined for every real and ;
- the set (endpoints included);
- , with strict inequality;
- , where is the -fold iterate and is the identity, so in this family of sets coincides with the set in item 3;
- and — both defined by non-strict inequalities, so the two sets are not disjoint in general: a point with lies in both;
- ; the case forces . The file proves maps into and packages the restriction as a map on the subtype;
- the itinerary of an arbitrary real (not only of points of ), defined entrywise by
The definition refers to the midpoint test only; it does not mention , or , and it assigns a value to every real number, including points whose orbit leaves .
Confirmed by the mission captain (proposal self-audit).