The areas / V13. General topology
Mathlib.Topology.WithTopology
41 declarations. Mathlib docs · Source
Basic lemmas and instances about the WithTopology type synonym
WithTopology X t is a copy of X equipped with the topology t.
This is useful for providing multiple topologies on the same type
without causing instance conflicts.
In this file we setup basic API about this type
and transfer instances (basic, order) from X to WithTopology X t.
Implementation notes
The pattern here is the same one as is used by Lex for order structures
and WithLp for metric structures.
Set-theoretic lemmas
Instance transfers
In this section we transfer some instances from X to WithTopology X t.
theorem WithTopology.ofTopology_toTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X) (x : X), (WithTopology.toTopology t x).ofTopology = x
theorem WithTopology.toTopology_ofTopology E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) (x : WithTopology X t), WithTopology.toTopology t x.ofTopology = x
theorem WithTopology.ofTopology_surjective E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Function.Surjective WithTopology.ofTopology
theorem WithTopology.toTopology_surjective E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Function.Surjective (WithTopology.toTopology t)
theorem WithTopology.ofTopology_injective E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Function.Injective WithTopology.ofTopology
theorem WithTopology.toTopology_injective E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Function.Injective (WithTopology.toTopology t)
theorem WithTopology.ofTopology_bijective E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Function.Bijective WithTopology.ofTopology
theorem WithTopology.toTopology_bijective E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Function.Bijective (WithTopology.toTopology t)
theorem WithTopology.toTopology_inj E2 #
∀ {X : Type u_1} (t : TopologicalSpace X) {x y : X}, WithTopology.toTopology t x = WithTopology.toTopology t y ↔ x = y
Injectivity lemma for the constructor toTopology t.
It is not marked as @[simp], because its autogenerated version
is already in the default simp set.
theorem WithTopology.ofTopology_inj E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) {x y : WithTopology X t}, x.ofTopology = y.ofTopology ↔ x = y
theorem WithTopology.isOpen_iff E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) {s : Set (WithTopology X t)},
IsOpen s ↔ IsOpen (WithTopology.toTopology t ⁻¹' s)
theorem WithTopology.isClosed_iff E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) {s : Set (WithTopology X t)},
IsClosed s ↔ IsClosed (WithTopology.toTopology t ⁻¹' s)
theorem WithTopology.continuous_toTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Continuous (WithTopology.toTopology t)
If X is equipped with topology t, the map X → WithTopology X t is continuous.
theorem WithTopology.continuous_ofTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X), Continuous WithTopology.ofTopology
If X is equipped with topology t, the map WithTopology X t → X is continuous.
theorem WithTopology.image_ofTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X) (s : Set (WithTopology X t)),
WithTopology.ofTopology '' s = WithTopology.toTopology t ⁻¹' s
theorem WithTopology.preimage_toTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X) (s : Set (WithTopology X t)),
WithTopology.toTopology t ⁻¹' s = WithTopology.ofTopology '' s
theorem WithTopology.image_toTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X) (s : Set X), WithTopology.toTopology t '' s = WithTopology.ofTopology ⁻¹' s
theorem WithTopology.preimage_ofTopology E1 #
∀ {X : Type u_1} (t : TopologicalSpace X) (s : Set X), WithTopology.ofTopology ⁻¹' s = WithTopology.toTopology t '' s
instance WithTopology.instNonempty E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) [Nonempty X], Nonempty (WithTopology X t)
instance WithTopology.instInhabited E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Inhabited X] → Inhabited (WithTopology X t)
instance WithTopology.instSubsingleton E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) [Subsingleton X], Subsingleton (WithTopology X t)
instance WithTopology.instUnique E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Unique X] → Unique (WithTopology X t)
instance WithTopology.instFinite E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) [Finite X], Finite (WithTopology X t)
instance WithTopology.instInfinite E0 #
∀ {X : Type u_1} (t : TopologicalSpace X) [Infinite X], Infinite (WithTopology X t)
instance WithTopology.instFintype E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Fintype X] → Fintype (WithTopology X t)
def WithTopology.instDecidableEq.decEq E1 #
{X : Type u_2} → {t : TopologicalSpace X} → [DecidableEq X] → (x x_1 : WithTopology X t) → Decidable (x = x_1)
instance WithTopology.instDecidableEq E0 #
{X : Type u_2} → {t : TopologicalSpace X} → [DecidableEq X] → DecidableEq (WithTopology X t)
instance WithTopology.instLE E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [LE X] → LE (WithTopology X t)
instance WithTopology.instLT E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [LT X] → LT (WithTopology X t)
instance WithTopology.instDecidableLE E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [inst : LE X] → [DecidableLE X] → DecidableLE (WithTopology X t)
instance WithTopology.instDecidableLT E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [inst : LT X] → [DecidableLT X] → DecidableLT (WithTopology X t)
instance WithTopology.instPreorder E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Preorder X] → Preorder (WithTopology X t)
instance WithTopology.instPartialOrder E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [PartialOrder X] → PartialOrder (WithTopology X t)
instance WithTopology.instMax E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Max X] → Max (WithTopology X t)
instance WithTopology.instMin E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Min X] → Min (WithTopology X t)
instance WithTopology.instSemilatticeInf E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [SemilatticeInf X] → SemilatticeInf (WithTopology X t)
instance WithTopology.instSemilatticeSup E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [SemilatticeSup X] → SemilatticeSup (WithTopology X t)
instance WithTopology.instLattice E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Lattice X] → Lattice (WithTopology X t)
instance WithTopology.instDistribLattice E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [DistribLattice X] → DistribLattice (WithTopology X t)
instance WithTopology.instOrd E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [Ord X] → Ord (WithTopology X t)
instance WithTopology.instLinearOrder E0 #
{X : Type u_1} → (t : TopologicalSpace X) → [LinearOrder X] → LinearOrder (WithTopology X t)