On a nonempty compact space
ProvedPughClosingLemma.nonwanderingSet_nonemptyLet be a nonempty compact topological space and any map. Then the nonwandering set is nonempty.
This guarantees that the hypothesis of the closing lemma is never vacuous: every diffeomorphism of a nonempty compact manifold has nonwandering points.
Formalization Note The statement is usually quoted for continuous ; continuity is not needed, so the Lean statement omits it (it is a stronger, still true statement). No Hausdorff assumption is made.
import Mathlib import Definitions.Def_PughClosingLemma_nonwandering open scoped Topology
namespace PughClosingLemma
theorem nonwanderingSet_nonempty {X : Type*} [TopologicalSpace X] [CompactSpace X]
[Nonempty X] (f : X → X) : (nonwanderingSet f).Nonempty := by sorry
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.
For every topological space that is compact and nonempty, and every function (no continuity assumed), the set is nonempty, i.e. there exists such that for every neighbourhood of there is with . No separation axiom is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.