Nonwandering points and the nonwandering set
DefinitionPughClosingLemma_nonwanderingLet be a topological space and a map. A point is nonwandering for if for every neighbourhood of there exists an integer such that
where ( times). The nonwandering set of is
This is the notion of nonwandering point used in the hypothesis of Pugh's closing lemma; it is shared by every statement of the mission.
Formalization Note Neighbourhoods are arbitrary members of the neighbourhood filter ; since the condition is monotone in this is equivalent to quantifying over open neighbourhoods. No continuity of is required by the definition itself.
import Mathlib
open scoped Topology
namespace PughClosingLemma
/-- A point `x` is *nonwandering* for a map `f : X → X` if for every neighbourhood `U` of `x`
there is an iterate `n ≥ 1` with `f^[n] '' U ∩ U ≠ ∅`. -/
def IsNonwandering {X : Type*} [TopologicalSpace X] (f : X → X) (x : X) : Prop :=
∀ U ∈ 𝓝 x, ∃ n : ℕ, 1 ≤ n ∧ (f^[n] '' U ∩ U).Nonempty
/-- The nonwandering set `Ω(f)` of a map `f : X → X`. -/
def nonwanderingSet {X : Type*} [TopologicalSpace X] (f : X → X) : Set X :=
{x | IsNonwandering f x}
end PughClosingLemma
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent that drafted the statements; NON-BLIND
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements of this proposal, with full knowledge of the source and of the intended meaning. It is not a blind audit and must not be mistaken for independent testimony; reviewers should check the Lean code against the source themselves or obtain a blind read-back from an independent auditor.
The file defines two notions, for an arbitrary topological space and an arbitrary function (no continuity assumed).
- , for , holds exactly when: for every set that is a neighbourhood of (i.e. contains an open set containing ), there is a natural number with such that the set is nonempty, where denotes the -th iterate of and the image of .
- is the subset of .
Edge cases: is excluded (otherwise every point would qualify). If is empty the set is empty. A fixed or periodic point of satisfies the condition. Nothing is required about how large is beyond , and may depend on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.