Skip to content

Commit

Permalink
feat: Port Dynamics.FixedPoints.Topology (#2023)
Browse files Browse the repository at this point in the history
Only renaming.
  • Loading branch information
casavaca committed Feb 3, 2023
1 parent 60790d4 commit d050243
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib.lean
Expand Up @@ -600,6 +600,7 @@ import Mathlib.Deprecated.Ring
import Mathlib.Deprecated.Subgroup
import Mathlib.Deprecated.Submonoid
import Mathlib.Dynamics.FixedPoints.Basic
import Mathlib.Dynamics.FixedPoints.Topology
import Mathlib.Dynamics.PeriodicPts
import Mathlib.GroupTheory.Archimedean
import Mathlib.GroupTheory.Congruence
Expand Down
47 changes: 47 additions & 0 deletions Mathlib/Dynamics/FixedPoints/Topology.lean
@@ -0,0 +1,47 @@
/-
Copyright (c) 2020 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Johannes Hölzl
! This file was ported from Lean 3 source module dynamics.fixed_points.topology
! leanprover-community/mathlib commit d90e4e186f1d18e375dcd4e5b5f6364b01cb3e46
! Please do not edit these lines, except to modify the commit id
! if you have ported upstream changes.
-/
import Mathlib.Dynamics.FixedPoints.Basic
import Mathlib.Topology.Separation

/-!
# Topological properties of fixed points
Currently this file contains two lemmas:
- `isFixedPt_of_tendsto_iterate`: if `f^n(x) → y` and `f` is continuous at `y`, then `f y = y`;
- `isClosed_fixedPoints`: the set of fixed points of a continuous map is a closed set.
## TODO
fixed points, iterates
-/


variable {α : Type _} [TopologicalSpace α] [T2Space α] {f : α → α}

open Function Filter

open Topology

/-- If the iterates `f^[n] x` converge to `y` and `f` is continuous at `y`,
then `y` is a fixed point for `f`. -/
theorem isFixedPt_of_tendsto_iterate {x y : α} (hy : Tendsto (fun n => (f^[n]) x) atTop (𝓝 y))
(hf : ContinuousAt f y) : IsFixedPt f y := by
refine' tendsto_nhds_unique ((tendsto_add_atTop_iff_nat 1).1 _) hy
simp only [iterate_succ' f]
exact hf.tendsto.comp hy
#align is_fixed_pt_of_tendsto_iterate isFixedPt_of_tendsto_iterate

/-- The set of fixed points of a continuous map is a closed set. -/
theorem isClosed_fixedPoints (hf : Continuous f) : IsClosed (fixedPoints f) :=
isClosed_eq hf continuous_id
#align is_closed_fixed_points isClosed_fixedPoints

0 comments on commit d050243

Please sign in to comment.