Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Attractors and basins of maps and flows

Definition
palis_attractor

by Lucas · Oct 11, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

attractorsdynamical-systems

Let MMM be a topological space modelled on Rn\mathbb R^nRn.

Discrete time. For a map T:M→MT:M\to MT:M→M and p∈Mp\in Mp∈M, the ω\omegaω-limit set ω(p)\omega(p)ω(p) is the set of accumulation points of (Tkp)k≥0(T^k p)_{k\ge0}(Tkp)k≥0​, namely ω(p)=⋂N{Tkp:k≥N}‾\omega(p)=\bigcap_{N}\overline{\{T^kp: k\ge N\}}ω(p)=⋂N​{Tkp:k≥N}​. The basin of Λ⊂M\Lambda\subset MΛ⊂M is B(Λ)={p∈M:ω(p)⊂Λ}B(\Lambda)=\{p\in M:\omega(p)\subset\Lambda\}B(Λ)={p∈M:ω(p)⊂Λ}. The set Λ\LambdaΛ is transitive if there is x∈Λx\in\Lambdax∈Λ with {Tkx:k≥0}‾=Λ\overline{\{T^kx:k\ge0\}}=\Lambda{Tkx:k≥0}​=Λ, and Λ\LambdaΛ is an attractor of TTT if

  1. T(Λ)=ΛT(\Lambda)=\LambdaT(Λ)=Λ (invariance),
  2. Λ\LambdaΛ is transitive,
  3. B(Λ)B(\Lambda)B(Λ) is not Lebesgue-null.

TTT has finitely many attractors covering almost all of MMM if there are finitely many attractors Λ1,…,Λk\Lambda_1,\dots,\Lambda_kΛ1​,…,Λk​ of TTT such that M∖⋃iB(Λi)M\setminus\bigcup_i B(\Lambda_i)M∖⋃i​B(Λi​) is Lebesgue-null.

Continuous time. For a flow Φ:R×M→M\Phi:\mathbb R\times M\to MΦ:R×M→M the same notions are defined with ω(p)\omega(p)ω(p) the set of accumulation points of Φt(p)\Phi_t(p)Φt​(p) as t→+∞t\to+\inftyt→+∞, invariance meaning Φt(Λ)=Λ\Phi_t(\Lambda)=\LambdaΦt​(Λ)=Λ for every t∈Rt\in\mathbb Rt∈R, and transitivity meaning {Φtx:t≥0}‾=Λ\overline{\{\Phi_t x:t\ge0\}}=\Lambda{Φt​x:t≥0}​=Λ for some x∈Λx\in\Lambdax∈Λ.

These are exactly the notions in the Definition of the source: an attractor is an invariant, transitive set whose basin B(Λ)={p:ω(p)⊂Λ}B(\Lambda)=\{p:\omega(p)\subset\Lambda\}B(Λ)={p:ω(p)⊂Λ} has positive Lebesgue measure.

Formalization Note ω\omegaω-limits are Mathlib's omegaLimit atTop. Lebesgue-nullity is PalisConjecture.IsLebesgueNull. The finite family of attractors is a Finset (Set M).

Definition code
import Mathlib
import Definitions.Def_palis_lebesgue_null

/-!
# Attractors and their basins (discrete and continuous time)

Following the definition in the source: a set `Λ ⊆ M` is an *attractor* if it is invariant,
transitive, and its basin `B(Λ) = {p ∈ M | ω(p) ⊆ Λ}` has positive Lebesgue measure.
-/

namespace PalisConjecture

open Filter

variable {M : Type*} [TopologicalSpace M]

/-! ### Discrete time: a map `T : M → M` -/

/-- The ω-limit set `ω(p)` of `p` under iteration of `T`. -/
def omegaLimitMap (T : M → M) (p : M) : Set M :=
  omegaLimit atTop (fun (k : ℕ) (x : M) => T^[k] x) {p}

/-- The basin of attraction `B(Λ) = {p ∈ M | ω(p) ⊆ Λ}`. -/
def basin (T : M → M) (Λ : Set M) : Set M :=
  {p | omegaLimitMap T p ⊆ Λ}

/-- `Λ` is transitive: some point `x ∈ Λ` has forward orbit `{T^k x | k ≥ 0}` dense in `Λ`
(the closure of the orbit equals `Λ`). -/
def IsTransitive (T : M → M) (Λ : Set M) : Prop :=
  ∃ x ∈ Λ, closure {y | ∃ k : ℕ, T^[k] x = y} = Λ

/-- `Λ` is an attractor of `T`: invariant (`T(Λ) = Λ`), transitive, and its basin is not
Lebesgue-null. -/
def IsAttractor (n : ℕ) {M : Type*} [TopologicalSpace M]
    [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] (T : M → M) (Λ : Set M) : Prop :=
  T '' Λ = Λ ∧ IsTransitive T Λ ∧ ¬ IsLebesgueNull n (basin T Λ)

/-- `T` exhibits finitely many attractors whose basins cover Lebesgue-almost all of `M`. -/
def HasFiniteAttractorsCoveringAE (n : ℕ) {M : Type*} [TopologicalSpace M]
    [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] (T : M → M) : Prop :=
  ∃ A : Finset (Set M), (∀ Λ ∈ A, IsAttractor n T Λ) ∧
    IsLebesgueNull n (⋃ Λ ∈ A, basin T Λ)ᶜ

/-! ### Continuous time: a flow `Φ : ℝ → M → M` -/

/-- The ω-limit set `ω(p)` of `p` under the flow `Φ` as `t → +∞`. -/
def omegaLimitFlow (Φ : ℝ → M → M) (p : M) : Set M :=
  omegaLimit atTop Φ {p}

/-- The basin `B(Λ) = {p ∈ M | ω(p) ⊆ Λ}` for the flow `Φ`. -/
def flowBasin (Φ : ℝ → M → M) (Λ : Set M) : Set M :=
  {p | omegaLimitFlow Φ p ⊆ Λ}

/-- `Λ` is transitive for the flow: some `x ∈ Λ` has forward orbit `{Φ t x | t ≥ 0}` dense
in `Λ`. -/
def IsFlowTransitive (Φ : ℝ → M → M) (Λ : Set M) : Prop :=
  ∃ x ∈ Λ, closure {y | ∃ t : ℝ, 0 ≤ t ∧ Φ t x = y} = Λ

/-- `Λ` is an attractor of the flow `Φ`: invariant (`Φ_t(Λ) = Λ` for all `t`), transitive,
and its basin is not Lebesgue-null. -/
def IsFlowAttractor (n : ℕ) {M : Type*} [TopologicalSpace M]
    [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] (Φ : ℝ → M → M) (Λ : Set M) : Prop :=
  (∀ t : ℝ, Φ t '' Λ = Λ) ∧ IsFlowTransitive Φ Λ ∧ ¬ IsLebesgueNull n (flowBasin Φ Λ)

/-- The flow `Φ` exhibits finitely many attractors whose basins cover Lebesgue-almost
all of `M`. -/
def FlowHasFiniteAttractorsCoveringAE (n : ℕ) {M : Type*} [TopologicalSpace M]
    [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] (Φ : ℝ → M → M) : Prop :=
  ∃ A : Finset (Set M), (∀ Λ ∈ A, IsFlowAttractor n Φ Λ) ∧
    IsLebesgueNull n (⋃ Λ ∈ A, flowBasin Φ Λ)ᶜ

end PalisConjecture
Source
Open Problem Garden, "Jacob Palis Conjecture (Finitude of Attractors) (Dynamical Systems)", posted by Jailton Viana, April 24, 2013, https://www.openproblemgarden.org/op/jacob_palis_conjecture_finitude_of_attractors_dynamical_systems (Conjecture box and the Definition of attractor below it); bibliography: C. Bonatti, L. J. Diaz, M. Viana, Dynamics Beyond Uniform Hyperbolicity, Encyclopaedia of Mathematical Sciences 102, Springer, 2005.
Human review
  • Endorsed by Shuze Chen · Oct 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 11, 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