Documentation

Mathlib.Topology.Order.LowerUpperTopology

Lower and Upper topology #

This file introduces the lower topology on a preorder as the topology generated by the complements of the left-closed right-infinite intervals.

For completeness we also introduce the dual upper topology, generated by the complements of the right-closed left-infinite intervals.

Main statements #

Implementation notes #

A type synonym WithLower is introduced and for a preorder α, WithLower α is made an instance of TopologicalSpace by the topology generated by the complements of the closed intervals to infinity.

We define a mixin class IsLower for the class of types which are both a preorder and a topology and where the topology is generated by the complements of the closed intervals to infinity. It is shown that WithLower α is an instance of IsLower.

Similarly for the upper topology.

Motivation #

The lower topology is used with the Scott topology to define the Lawson topology. The restriction of the lower topology to the spectrum of a complete lattice coincides with the hull-kernel topology.

References #

Tags #

lower topology, upper topology, preorder

The lower topology is the topology generated by the complements of the left-closed right-infinite intervals.

Equations
    Instances For

      The upper topology is the topology generated by the complements of the right-closed left-infinite intervals.

      Equations
        Instances For
          def Topology.WithLower (α : Type u_1) :
          Type u_1

          Type synonym for a preorder equipped with the lower set topology.

          Equations
            Instances For
              @[match_pattern]

              toLower is the identity function to the WithLower of a type.

              Equations
                Instances For
                  @[match_pattern]

                  ofLower is the identity function from the WithLower of a type.

                  Equations
                    Instances For
                      @[simp]
                      theorem Topology.WithLower.ofLower_toLower {α : Type u_1} (a : α) :
                      def Topology.WithLower.rec {α : Type u_1} {motive : WithLower αSort u_3} (toLower : (a : α) → motive (toLower a)) (a : WithLower α) :
                      motive a

                      A recursor for WithLower. Use as induction x.

                      Equations
                        Instances For
                          @[simp]
                          theorem Topology.WithLower.toLower_le_toLower {α : Type u_1} [Preorder α] {x y : α} :
                          @[simp]
                          theorem Topology.WithLower.toLower_lt_toLower {α : Type u_1} [Preorder α] {x y : α} :
                          def Topology.WithUpper (α : Type u_3) :
                          Type u_3

                          Type synonym for a preorder equipped with the upper topology.

                          Equations
                            Instances For
                              @[match_pattern]

                              toUpper is the identity function to the WithUpper of a type.

                              Equations
                                Instances For
                                  @[match_pattern]

                                  ofUpper is the identity function from the WithUpper of a type.

                                  Equations
                                    Instances For
                                      @[simp]
                                      theorem Topology.WithUpper.ofUpper_toUpper {α : Type u_1} (a : α) :
                                      def Topology.WithUpper.rec {α : Type u_1} {motive : WithUpper αSort u_3} (toUpper : (a : α) → motive (toUpper a)) (a : WithUpper α) :
                                      motive a

                                      A recursor for WithUpper. Use as induction x.

                                      Equations
                                        Instances For
                                          @[simp]
                                          theorem Topology.WithUpper.toUpper_le_toUpper {α : Type u_1} [Preorder α] {x y : α} :
                                          @[simp]
                                          theorem Topology.WithUpper.toUpper_lt_toUpper {α : Type u_1} [Preorder α] {x y : α} :
                                          class Topology.IsLower (α : Type u_3) [t : TopologicalSpace α] [Preorder α] :

                                          The lower topology is the topology generated by the complements of the left-closed right-infinite intervals.

                                          • topology_eq_lowerTopology : t = lower α
                                          Instances
                                            class Topology.IsUpper (α : Type u_3) [t : TopologicalSpace α] [Preorder α] :

                                            The upper topology is the topology generated by the complements of the right-closed left-infinite intervals.

                                            • topology_eq_upperTopology : t = upper α
                                            Instances

                                              The lower topology is homeomorphic to the upper topology on the dual order

                                              Equations
                                                Instances For
                                                  def Topology.IsLower.lowerBasis (α : Type u_3) [Preorder α] :
                                                  Set (Set α)

                                                  The complements of the upper closures of finite sets are a collection of lower sets which form a basis for the lower topology.

                                                  Equations
                                                    Instances For

                                                      If α is equipped with the lower topology, then it is homeomorphic to WithLower α.

                                                      Equations
                                                        Instances For

                                                          Left-closed right-infinite intervals [a, ∞) are closed in the lower topology.

                                                          The upper closure of a finite set is closed in the lower topology.

                                                          theorem Topology.IsLower.isLowerSet_of_isOpen {α : Type u_1} [Preorder α] [TopologicalSpace α] [IsLower α] {s : Set α} (h : IsOpen s) :

                                                          Every set open in the lower topology is a lower set.

                                                          theorem Topology.IsLower.tendsto_nhds_iff_not_le {α : Type u_1} [Preorder α] [TopologicalSpace α] [IsLower α] {β : Type u_3} {f : βα} {l : Filter β} {x : α} :
                                                          Filter.Tendsto f l (nhds x) ∀ (y : α), ¬y x∀ᶠ (z : β) in l, ¬y f z
                                                          @[simp]

                                                          The closure of a singleton {a} in the lower topology is the left-closed right-infinite interval [a, ∞).

                                                          theorem Topology.IsLower.continuous_iff_Ici {α : Type u_1} {β : Type u_2} [Preorder α] [TopologicalSpace α] [IsLower α] [TopologicalSpace β] {f : βα} :
                                                          Continuous f ∀ (a : α), IsClosed (f ⁻¹' Set.Ici a)

                                                          A function f : β → α with lower topology in the codomain is continuous if and only if the preimage of every interval Set.Ici a is a closed set.

                                                          @[instance 90]

                                                          The lower topology on a partial order is T₀.

                                                          theorem Topology.IsLower.tendsto_nhds_iff_lt {α : Type u_1} [LinearOrder α] [TopologicalSpace α] [IsLower α] {β : Type u_3} {f : βα} {l : Filter β} {x : α} :
                                                          Filter.Tendsto f l (nhds x) ∀ (y : α), x < y∀ᶠ (z : β) in l, f z < y
                                                          def Topology.IsUpper.upperBasis (α : Type u_3) [Preorder α] :
                                                          Set (Set α)

                                                          The complements of the lower closures of finite sets are a collection of upper sets which form a basis for the upper topology.

                                                          Equations
                                                            Instances For

                                                              If α is equipped with the upper topology, then it is homeomorphic to WithUpper α.

                                                              Equations
                                                                Instances For

                                                                  Left-infinite right-closed intervals (-∞,a] are closed in the upper topology.

                                                                  The lower closure of a finite set is closed in the upper topology.

                                                                  theorem Topology.IsUpper.isUpperSet_of_isOpen {α : Type u_1} [Preorder α] [TopologicalSpace α] [IsUpper α] {s : Set α} (h : IsOpen s) :

                                                                  Every set open in the upper topology is an upper set.

                                                                  theorem Topology.IsUpper.tendsto_nhds_iff_not_le {α : Type u_1} [Preorder α] [TopologicalSpace α] [IsUpper α] {β : Type u_3} {f : βα} {l : Filter β} {x : α} :
                                                                  Filter.Tendsto f l (nhds x) ∀ (y : α), ¬x y∀ᶠ (z : β) in l, ¬f z y
                                                                  @[simp]

                                                                  The closure of a singleton {a} in the upper topology is the left-infinite right-closed interval (-∞,a].

                                                                  theorem Topology.IsUpper.continuous_iff_Iic {α : Type u_1} {β : Type u_2} [Preorder α] [TopologicalSpace α] [IsUpper α] [TopologicalSpace β] {f : βα} :
                                                                  Continuous f ∀ (a : α), IsClosed (f ⁻¹' Set.Iic a)

                                                                  A function f : β → α with upper topology in the codomain is continuous if and only if the preimage of every interval Set.Iic a is a closed set.

                                                                  @[instance 90]

                                                                  The upper topology on a partial order is T₀.

                                                                  theorem Topology.IsUpper.tendsto_nhds_iff_lt {α : Type u_1} [LinearOrder α] [TopologicalSpace α] [IsUpper α] {β : Type u_3} {f : βα} {l : Filter β} {x : α} :
                                                                  Filter.Tendsto f l (nhds x) y < x, ∀ᶠ (z : β) in l, y < f z
                                                                  instance Topology.instIsLowerProd {α : Type u_1} {β : Type u_2} [Preorder α] [TopologicalSpace α] [IsLower α] [OrderBot α] [Preorder β] [TopologicalSpace β] [IsLower β] [OrderBot β] :
                                                                  IsLower (α × β)
                                                                  instance Topology.instIsUpperProd {α : Type u_1} {β : Type u_2} [Preorder α] [TopologicalSpace α] [IsUpper α] [OrderTop α] [Preorder β] [TopologicalSpace β] [IsUpper β] [OrderTop β] :
                                                                  IsUpper (α × β)

                                                                  The Sierpiński topology on Prop is the upper topology