Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: port Topology.Algebra.Order.Filter (#2167)
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/- | ||
Copyright (c) 2022 Yury Kudryashov. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Yury Kudryashov | ||
! This file was ported from Lean 3 source module topology.algebra.order.filter | ||
! leanprover-community/mathlib commit 98e83c3d541c77cdb7da20d79611a780ff8e7d90 | ||
! Please do not edit these lines, except to modify the commit id | ||
! if you have ported upstream changes. | ||
-/ | ||
import Mathlib.Topology.Order.Basic | ||
import Mathlib.Topology.Filter | ||
|
||
/-! | ||
# Topology on filters of a space with order topology | ||
In this file we prove that `π (f x)` tends to `π Filter.atTop` provided that `f` tends to | ||
`Filter.atTop`, and similarly for `Filter.atBot`. | ||
-/ | ||
|
||
|
||
open Topology | ||
|
||
namespace Filter | ||
|
||
variable {Ξ± X : Type _} [TopologicalSpace X] [PartialOrder X] [OrderTopology X] | ||
|
||
protected theorem tendsto_nhds_atTop [NoMaxOrder X] : Tendsto π (atTop : Filter X) (π atTop) := | ||
Filter.tendsto_nhds_atTop_iff.2 fun x => (eventually_gt_atTop x).mono fun _ => le_mem_nhds | ||
#align filter.tendsto_nhds_at_top Filter.tendsto_nhds_atTop | ||
|
||
protected theorem tendsto_nhds_atBot [NoMinOrder X] : Tendsto π (atBot : Filter X) (π atBot) := | ||
@Filter.tendsto_nhds_atTop Xα΅α΅ _ _ _ _ | ||
#align filter.tendsto_nhds_at_bot Filter.tendsto_nhds_atBot | ||
|
||
theorem Tendsto.nhds_atTop [NoMaxOrder X] {f : Ξ± β X} {l : Filter Ξ±} (h : Tendsto f l atTop) : | ||
Tendsto (π β f) l (π atTop) := | ||
Filter.tendsto_nhds_atTop.comp h | ||
#align filter.tendsto.nhds_at_top Filter.Tendsto.nhds_atTop | ||
|
||
theorem Tendsto.nhds_atBot [NoMinOrder X] {f : Ξ± β X} {l : Filter Ξ±} (h : Tendsto f l atBot) : | ||
Tendsto (π β f) l (π atBot) := | ||
@Tendsto.nhds_atTop Ξ± Xα΅α΅ _ _ _ _ _ _ h | ||
#align filter.tendsto.nhds_at_bot Filter.Tendsto.nhds_atBot | ||
|
||
end Filter |