state
stringlengths
0
159k
srcUpToTactic
stringlengths
387
167k
nextTactic
stringlengths
3
9k
declUpToTactic
stringlengths
22
11.5k
declId
stringlengths
38
95
decl
stringlengths
16
1.89k
file_tag
stringlengths
17
73
case refine_1.intro α✝ : Type u β✝ : Type v γ : Type w α : Type u_1 β : Type u_2 inst✝² : LinearOrder α inst✝¹ : LinearOrder β t : TopologicalSpace β inst✝ : OrderTopology β f : α → β hf : StrictMono f hc : OrdConnected (range f) a✝ x✝ y : α h₁ : f y < f a✝ h₂ : ¬f y < f x✝ ⊢ ∃ y_1 < a✝, f y ≤ f y_1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨y, hf.lt_iff_lt.1 h₁, le_rfl⟩
/-- The topology induced by a strictly monotone function with order-connected range is the preorder topology. -/ nonrec theorem StrictMono.induced_topology_eq_preorder {α β : Type*} [LinearOrder α] [LinearOrder β] [t : TopologicalSpace β] [OrderTopology β] {f : α → β} (hf : StrictMono f) (hc : OrdConnected (ran...
Mathlib.Topology.Order.Basic.1024_0.Npdof1X5b8sCkZ2
/-- The topology induced by a strictly monotone function with order-connected range is the preorder topology. -/ nonrec theorem StrictMono.induced_topology_eq_preorder {α β : Type*} [LinearOrder α] [LinearOrder β] [t : TopologicalSpace β] [OrderTopology β] {f : α → β} (hf : StrictMono f) (hc : OrdConnected (ran...
Mathlib_Topology_Order_Basic
case refine_2 α✝ : Type u β✝ : Type v γ : Type w α : Type u_1 β : Type u_2 inst✝² : LinearOrder α inst✝¹ : LinearOrder β t : TopologicalSpace β inst✝ : OrderTopology β f : α → β hf : StrictMono f hc : OrdConnected (range f) a✝ : α b✝ : β x✝ : α h₁ : f a✝ < b✝ h₂ : ¬f x✝ < b✝ ⊢ ∃ y, a✝ < y ∧ f y ≤ b✝
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases hc.out (mem_range_self _) (mem_range_self _) ⟨h₁.le, not_lt.1 h₂⟩ with ⟨y, rfl⟩
/-- The topology induced by a strictly monotone function with order-connected range is the preorder topology. -/ nonrec theorem StrictMono.induced_topology_eq_preorder {α β : Type*} [LinearOrder α] [LinearOrder β] [t : TopologicalSpace β] [OrderTopology β] {f : α → β} (hf : StrictMono f) (hc : OrdConnected (ran...
Mathlib.Topology.Order.Basic.1024_0.Npdof1X5b8sCkZ2
/-- The topology induced by a strictly monotone function with order-connected range is the preorder topology. -/ nonrec theorem StrictMono.induced_topology_eq_preorder {α β : Type*} [LinearOrder α] [LinearOrder β] [t : TopologicalSpace β] [OrderTopology β] {f : α → β} (hf : StrictMono f) (hc : OrdConnected (ran...
Mathlib_Topology_Order_Basic
case refine_2.intro α✝ : Type u β✝ : Type v γ : Type w α : Type u_1 β : Type u_2 inst✝² : LinearOrder α inst✝¹ : LinearOrder β t : TopologicalSpace β inst✝ : OrderTopology β f : α → β hf : StrictMono f hc : OrdConnected (range f) a✝ x✝ y : α h₁ : f a✝ < f y h₂ : ¬f x✝ < f y ⊢ ∃ y_1, a✝ < y_1 ∧ f y_1 ≤ f y
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨y, hf.lt_iff_lt.1 h₁, le_rfl⟩
/-- The topology induced by a strictly monotone function with order-connected range is the preorder topology. -/ nonrec theorem StrictMono.induced_topology_eq_preorder {α β : Type*} [LinearOrder α] [LinearOrder β] [t : TopologicalSpace β] [OrderTopology β] {f : α → β} (hf : StrictMono f) (hc : OrdConnected (ran...
Mathlib.Topology.Order.Basic.1024_0.Npdof1X5b8sCkZ2
/-- The topology induced by a strictly monotone function with order-connected range is the preorder topology. -/ nonrec theorem StrictMono.induced_topology_eq_preorder {α β : Type*} [LinearOrder α] [LinearOrder β] [t : TopologicalSpace β] [OrderTopology β] {f : α → β} (hf : StrictMono f) (hc : OrdConnected (ran...
Mathlib_Topology_Order_Basic
α✝ : Type u β : Type v γ : Type w α : Type u inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α t : Set α ht : OrdConnected t ⊢ OrdConnected (range Subtype.val)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rwa [← @Subtype.range_val _ t] at ht
/-- On a `Set.OrdConnected` subset of a linear order, the order topology for the restriction of the order is the same as the restriction to the subset of the order topology. -/ instance orderTopology_of_ordConnected {α : Type u} [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {t : Set α} [ht : OrdConnected t...
Mathlib.Topology.Order.Basic.1042_0.Npdof1X5b8sCkZ2
/-- On a `Set.OrdConnected` subset of a linear order, the order topology for the restriction of the order is the same as the restriction to the subset of the order topology. -/ instance orderTopology_of_ordConnected {α : Type u} [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {t : Set α} [ht : OrdConnected t...
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : Preorder α inst✝ : OrderTopology α a : α ⊢ 𝓝[≥] a = (⨅ u, ⨅ (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rw [nhdsWithin, nhds_eq_order]
theorem nhdsWithin_Ici_eq'' [TopologicalSpace α] [Preorder α] [OrderTopology α] (a : α) : 𝓝[≥] a = (⨅ (u) (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a) := by
Mathlib.Topology.Order.Basic.1050_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Ici_eq'' [TopologicalSpace α] [Preorder α] [OrderTopology α] (a : α) : 𝓝[≥] a = (⨅ (u) (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : Preorder α inst✝ : OrderTopology α a : α ⊢ ((⨅ b ∈ Iio a, 𝓟 (Ioi b)) ⊓ ⨅ b ∈ Ioi a, 𝓟 (Iio b)) ⊓ 𝓟 (Ici a) = (⨅ u, ⨅ (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' le_antisymm (inf_le_inf_right _ inf_le_right) (le_inf (le_inf _ inf_le_left) inf_le_right)
theorem nhdsWithin_Ici_eq'' [TopologicalSpace α] [Preorder α] [OrderTopology α] (a : α) : 𝓝[≥] a = (⨅ (u) (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a) := by rw [nhdsWithin, nhds_eq_order]
Mathlib.Topology.Order.Basic.1050_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Ici_eq'' [TopologicalSpace α] [Preorder α] [OrderTopology α] (a : α) : 𝓝[≥] a = (⨅ (u) (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : Preorder α inst✝ : OrderTopology α a : α ⊢ (⨅ u, ⨅ (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a) ≤ ⨅ b ∈ Iio a, 𝓟 (Ioi b)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact inf_le_right.trans (le_iInf₂ fun l hl => principal_mono.2 <| Ici_subset_Ioi.2 hl)
theorem nhdsWithin_Ici_eq'' [TopologicalSpace α] [Preorder α] [OrderTopology α] (a : α) : 𝓝[≥] a = (⨅ (u) (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a) := by rw [nhdsWithin, nhds_eq_order] refine' le_antisymm (inf_le_inf_right _ inf_le_right) (le_inf (le_inf _ inf_le_left) inf_le_right)
Mathlib.Topology.Order.Basic.1050_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Ici_eq'' [TopologicalSpace α] [Preorder α] [OrderTopology α] (a : α) : 𝓝[≥] a = (⨅ (u) (_ : a < u), 𝓟 (Iio u)) ⊓ 𝓟 (Ici a)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : Preorder α inst✝ : OrderTopology α a : α ha : ∃ u, a < u ⊢ 𝓝[≥] a = ⨅ u, ⨅ (_ : a < u), 𝓟 (Ico a u)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp only [nhdsWithin_Ici_eq'', biInf_inf ha, inf_principal, Iio_inter_Ici]
theorem nhdsWithin_Ici_eq' [TopologicalSpace α] [Preorder α] [OrderTopology α] {a : α} (ha : ∃ u, a < u) : 𝓝[≥] a = ⨅ (u) (_ : a < u), 𝓟 (Ico a u) := by
Mathlib.Topology.Order.Basic.1062_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Ici_eq' [TopologicalSpace α] [Preorder α] [OrderTopology α] {a : α} (ha : ∃ u, a < u) : 𝓝[≥] a = ⨅ (u) (_ : a < u), 𝓟 (Ico a u)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : Preorder α inst✝ : OrderTopology α a : α ha : ∃ l, l < a ⊢ 𝓝[≤] a = ⨅ l, ⨅ (_ : l < a), 𝓟 (Ioc l a)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp only [nhdsWithin_Iic_eq'', biInf_inf ha, inf_principal, Ioi_inter_Iic]
theorem nhdsWithin_Iic_eq' [TopologicalSpace α] [Preorder α] [OrderTopology α] {a : α} (ha : ∃ l, l < a) : 𝓝[≤] a = ⨅ l < a, 𝓟 (Ioc l a) := by
Mathlib.Topology.Order.Basic.1067_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Iic_eq' [TopologicalSpace α] [Preorder α] [OrderTopology α] {a : α} (ha : ∃ l, l < a) : 𝓝[≤] a = ⨅ l < a, 𝓟 (Ioc l a)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α ha : ∃ l, l < a ⊢ HasBasis (𝓝[≤] a) (fun l => l < a) fun l => Ioc l a
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
convert nhdsWithin_Ici_basis' (α := αᵒᵈ) ha using 2
theorem nhdsWithin_Iic_basis' [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {a : α} (ha : ∃ l, l < a) : (𝓝[≤] a).HasBasis (fun l => l < a) fun l => Ioc l a := by
Mathlib.Topology.Order.Basic.1081_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Iic_basis' [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {a : α} (ha : ∃ l, l < a) : (𝓝[≤] a).HasBasis (fun l => l < a) fun l => Ioc l a
Mathlib_Topology_Order_Basic
case h.e'_5.h.h α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α ha : ∃ l, l < a e_1✝ : α = αᵒᵈ x✝ : α ⊢ Ioc x✝ a = Ico a x✝
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact dual_Ico.symm
theorem nhdsWithin_Iic_basis' [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {a : α} (ha : ∃ l, l < a) : (𝓝[≤] a).HasBasis (fun l => l < a) fun l => Ioc l a := by convert nhdsWithin_Ici_basis' (α := αᵒᵈ) ha using 2
Mathlib.Topology.Order.Basic.1081_0.Npdof1X5b8sCkZ2
theorem nhdsWithin_Iic_basis' [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {a : α} (ha : ∃ l, l < a) : (𝓝[≤] a).HasBasis (fun l => l < a) fun l => Ioc l a
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : Preorder α inst✝¹ : OrderTop α inst✝ : OrderTopology α ⊢ 𝓝 ⊤ = ⨅ l, ⨅ (_ : l < ⊤), 𝓟 (Ioi l)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp [nhds_eq_order (⊤ : α)]
theorem nhds_top_order [TopologicalSpace α] [Preorder α] [OrderTop α] [OrderTopology α] : 𝓝 (⊤ : α) = ⨅ (l) (h₂ : l < ⊤), 𝓟 (Ioi l) := by
Mathlib.Topology.Order.Basic.1097_0.Npdof1X5b8sCkZ2
theorem nhds_top_order [TopologicalSpace α] [Preorder α] [OrderTop α] [OrderTopology α] : 𝓝 (⊤ : α) = ⨅ (l) (h₂ : l < ⊤), 𝓟 (Ioi l)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : Preorder α inst✝¹ : OrderBot α inst✝ : OrderTopology α ⊢ 𝓝 ⊥ = ⨅ l, ⨅ (_ : ⊥ < l), 𝓟 (Iio l)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp [nhds_eq_order (⊥ : α)]
theorem nhds_bot_order [TopologicalSpace α] [Preorder α] [OrderBot α] [OrderTopology α] : 𝓝 (⊥ : α) = ⨅ (l) (h₂ : ⊥ < l), 𝓟 (Iio l) := by
Mathlib.Topology.Order.Basic.1101_0.Npdof1X5b8sCkZ2
theorem nhds_bot_order [TopologicalSpace α] [Preorder α] [OrderBot α] [OrderTopology α] : 𝓝 (⊥ : α) = ⨅ (l) (h₂ : ⊥ < l), 𝓟 (Iio l)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝⁴ : TopologicalSpace α inst✝³ : LinearOrder α inst✝² : OrderTop α inst✝¹ : OrderTopology α inst✝ : Nontrivial α ⊢ HasBasis (𝓝 ⊤) (fun a => a < ⊤) fun a => Ioi a
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have : ∃ x : α, x < ⊤ := (exists_ne ⊤).imp fun x hx => hx.lt_top
theorem nhds_top_basis [TopologicalSpace α] [LinearOrder α] [OrderTop α] [OrderTopology α] [Nontrivial α] : (𝓝 ⊤).HasBasis (fun a : α => a < ⊤) fun a : α => Ioi a := by
Mathlib.Topology.Order.Basic.1105_0.Npdof1X5b8sCkZ2
theorem nhds_top_basis [TopologicalSpace α] [LinearOrder α] [OrderTop α] [OrderTopology α] [Nontrivial α] : (𝓝 ⊤).HasBasis (fun a : α => a < ⊤) fun a : α => Ioi a
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝⁴ : TopologicalSpace α inst✝³ : LinearOrder α inst✝² : OrderTop α inst✝¹ : OrderTopology α inst✝ : Nontrivial α this : ∃ x, x < ⊤ ⊢ HasBasis (𝓝 ⊤) (fun a => a < ⊤) fun a => Ioi a
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simpa only [Iic_top, nhdsWithin_univ, Ioc_top] using nhdsWithin_Iic_basis' this
theorem nhds_top_basis [TopologicalSpace α] [LinearOrder α] [OrderTop α] [OrderTopology α] [Nontrivial α] : (𝓝 ⊤).HasBasis (fun a : α => a < ⊤) fun a : α => Ioi a := by have : ∃ x : α, x < ⊤ := (exists_ne ⊤).imp fun x hx => hx.lt_top
Mathlib.Topology.Order.Basic.1105_0.Npdof1X5b8sCkZ2
theorem nhds_top_basis [TopologicalSpace α] [LinearOrder α] [OrderTop α] [OrderTopology α] [Nontrivial α] : (𝓝 ⊤).HasBasis (fun a : α => a < ⊤) fun a : α => Ioi a
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace β inst✝² : Preorder β inst✝¹ : OrderTop β inst✝ : OrderTopology β l : Filter α f g : α → β hf : Tendsto f l (𝓝 ⊤) hg : f ≤ᶠ[l] g ⊢ Tendsto g l (𝓝 ⊤)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp only [nhds_top_order, tendsto_iInf, tendsto_principal] at hf ⊢
theorem tendsto_nhds_top_mono [TopologicalSpace β] [Preorder β] [OrderTop β] [OrderTopology β] {l : Filter α} {f g : α → β} (hf : Tendsto f l (𝓝 ⊤)) (hg : f ≤ᶠ[l] g) : Tendsto g l (𝓝 ⊤) := by
Mathlib.Topology.Order.Basic.1128_0.Npdof1X5b8sCkZ2
theorem tendsto_nhds_top_mono [TopologicalSpace β] [Preorder β] [OrderTop β] [OrderTopology β] {l : Filter α} {f g : α → β} (hf : Tendsto f l (𝓝 ⊤)) (hg : f ≤ᶠ[l] g) : Tendsto g l (𝓝 ⊤)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace β inst✝² : Preorder β inst✝¹ : OrderTop β inst✝ : OrderTopology β l : Filter α f g : α → β hg : f ≤ᶠ[l] g hf : ∀ i < ⊤, ∀ᶠ (a : α) in l, f a ∈ Ioi i ⊢ ∀ i < ⊤, ∀ᶠ (a : α) in l, g a ∈ Ioi i
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
intro x hx
theorem tendsto_nhds_top_mono [TopologicalSpace β] [Preorder β] [OrderTop β] [OrderTopology β] {l : Filter α} {f g : α → β} (hf : Tendsto f l (𝓝 ⊤)) (hg : f ≤ᶠ[l] g) : Tendsto g l (𝓝 ⊤) := by simp only [nhds_top_order, tendsto_iInf, tendsto_principal] at hf ⊢
Mathlib.Topology.Order.Basic.1128_0.Npdof1X5b8sCkZ2
theorem tendsto_nhds_top_mono [TopologicalSpace β] [Preorder β] [OrderTop β] [OrderTopology β] {l : Filter α} {f g : α → β} (hf : Tendsto f l (𝓝 ⊤)) (hg : f ≤ᶠ[l] g) : Tendsto g l (𝓝 ⊤)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace β inst✝² : Preorder β inst✝¹ : OrderTop β inst✝ : OrderTopology β l : Filter α f g : α → β hg : f ≤ᶠ[l] g hf : ∀ i < ⊤, ∀ᶠ (a : α) in l, f a ∈ Ioi i x : β hx : x < ⊤ ⊢ ∀ᶠ (a : α) in l, g a ∈ Ioi x
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
filter_upwards [hf x hx, hg] with _ using lt_of_lt_of_le
theorem tendsto_nhds_top_mono [TopologicalSpace β] [Preorder β] [OrderTop β] [OrderTopology β] {l : Filter α} {f g : α → β} (hf : Tendsto f l (𝓝 ⊤)) (hg : f ≤ᶠ[l] g) : Tendsto g l (𝓝 ⊤) := by simp only [nhds_top_order, tendsto_iInf, tendsto_principal] at hf ⊢ intro x hx
Mathlib.Topology.Order.Basic.1128_0.Npdof1X5b8sCkZ2
theorem tendsto_nhds_top_mono [TopologicalSpace β] [Preorder β] [OrderTop β] [OrderTopology β] {l : Filter α} {f g : α → β} (hf : Tendsto f l (𝓝 ⊤)) (hg : f ≤ᶠ[l] g) : Tendsto g l (𝓝 ⊤)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝 a u : α hu : a < u ⊢ ∃ u' ∈ Ioc a u, Ico a u' ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simpa only [OrderDual.exists, exists_prop, dual_Ico, dual_Ioc] using exists_Ioc_subset_of_mem_nhds' (show ofDual ⁻¹' s ∈ 𝓝 (toDual a) from hs) hu.dual
theorem exists_Ico_subset_of_mem_nhds' {a : α} {s : Set α} (hs : s ∈ 𝓝 a) {u : α} (hu : a < u) : ∃ u' ∈ Ioc a u, Ico a u' ⊆ s := by
Mathlib.Topology.Order.Basic.1202_0.Npdof1X5b8sCkZ2
theorem exists_Ico_subset_of_mem_nhds' {a : α} {s : Set α} (hs : s ∈ 𝓝 a) {u : α} (hu : a < u) : ∃ u' ∈ Ioc a u, Ico a u' ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha)
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inl α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : IsMax a ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
use a
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) ·
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case h α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : IsMax a ⊢ a ≤ a ∧ Icc a a ∈ 𝓝[≥] a ∧ Icc a a ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simpa [ha.Ici_eq] using hs
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inr α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab, hbs⟩
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs ·
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inr.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b b : α hab : a < b hbs : Ico a b ⊆ s ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases eq_empty_or_nonempty (Ioo a b) with (H | ⟨c, hac, hcb⟩)
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs · rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab,...
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inr.intro.intro.inl α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b b : α hab : a < b hbs : Ico a b ⊆ s H : Ioo a b = ∅ ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have : Ico a b = Icc a a := by rw [← Icc_union_Ioo_eq_Ico le_rfl hab, H, union_empty]
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs · rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab,...
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b b : α hab : a < b hbs : Ico a b ⊆ s H : Ioo a b = ∅ ⊢ Ico a b = Icc a a
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rw [← Icc_union_Ioo_eq_Ico le_rfl hab, H, union_empty]
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs · rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab,...
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inr.intro.intro.inl α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b b : α hab : a < b hbs : Ico a b ⊆ s H : Ioo a b = ∅ this : Ico a b = Icc a a ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨a, le_rfl, this ▸ ⟨Ico_mem_nhdsWithin_Ici' hab, hbs⟩⟩
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs · rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab,...
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inr.intro.intro.inr.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b b : α hab : a < b hbs : Ico a b ⊆ s c : α hac : a < c hcb : c < b ⊢ ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' ⟨c, hac.le, Icc_mem_nhdsWithin_Ici' hac, _⟩
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs · rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab,...
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
case inr.intro.intro.inr.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≥] a ha : ∃ b, a < b b : α hab : a < b hbs : Ico a b ⊆ s c : α hac : a < c hcb : c < b ⊢ Icc a c ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact (Icc_subset_Ico_right hcb).trans hbs
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s := by rcases (em (IsMax a)).imp_right not_isMax_iff.mp with (ha | ha) · use a simpa [ha.Ici_eq] using hs · rcases (nhdsWithin_Ici_basis' ha).mem_iff.mp hs with ⟨b, hab,...
Mathlib.Topology.Order.Basic.1215_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Ici {a : α} {s : Set α} (hs : s ∈ 𝓝[≥] a) : ∃ b, a ≤ b ∧ Icc a b ∈ 𝓝[≥] a ∧ Icc a b ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝[≤] a ⊢ ∃ b ≤ a, Icc b a ∈ 𝓝[≤] a ∧ Icc b a ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simpa only [dual_Icc, toDual.surjective.exists] using exists_Icc_mem_subset_of_mem_nhdsWithin_Ici (α := αᵒᵈ) (a := toDual a) hs
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Iic {a : α} {s : Set α} (hs : s ∈ 𝓝[≤] a) : ∃ b ≤ a, Icc b a ∈ 𝓝[≤] a ∧ Icc b a ⊆ s := by
Mathlib.Topology.Order.Basic.1228_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhdsWithin_Iic {a : α} {s : Set α} (hs : s ∈ 𝓝[≤] a) : ∃ b ≤ a, Icc b a ∈ 𝓝[≤] a ∧ Icc b a ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝 a ⊢ ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Iic (nhdsWithin_le_nhds hs) with ⟨b, hba, hb_nhds, hbs⟩
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s := by
Mathlib.Topology.Order.Basic.1234_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝 a b : α hba : b ≤ a hb_nhds : Icc b a ∈ 𝓝[≤] a hbs : Icc b a ⊆ s ⊢ ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Ici (nhdsWithin_le_nhds hs) with ⟨c, hac, hc_nhds, hcs⟩
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s := by rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Iic (nhdsWithin_le_nhds hs) with ⟨b, hba, hb_nhds, hbs⟩
Mathlib.Topology.Order.Basic.1234_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.intro.intro.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝 a b : α hba : b ≤ a hb_nhds : Icc b a ∈ 𝓝[≤] a hbs : Icc b a ⊆ s c : α hac : a ≤ c hc_nhds : Icc a c ∈ 𝓝[≥] a hcs : Icc a c ⊆ s ⊢ ∃ b c, a ∈ ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' ⟨b, c, ⟨hba, hac⟩, _⟩
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s := by rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Iic (nhdsWithin_le_nhds hs) with ⟨b, hba, hb_nhds, hbs⟩ rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Ici (nhdsWithin_le_nhd...
Mathlib.Topology.Order.Basic.1234_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.intro.intro.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝 a b : α hba : b ≤ a hb_nhds : Icc b a ∈ 𝓝[≤] a hbs : Icc b a ⊆ s c : α hac : a ≤ c hc_nhds : Icc a c ∈ 𝓝[≥] a hcs : Icc a c ⊆ s ⊢ Icc b c ∈ �...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rw [← Icc_union_Icc_eq_Icc hba hac, ← nhds_left_sup_nhds_right]
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s := by rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Iic (nhdsWithin_le_nhds hs) with ⟨b, hba, hb_nhds, hbs⟩ rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Ici (nhdsWithin_le_nhd...
Mathlib.Topology.Order.Basic.1234_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.intro.intro.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hs : s ∈ 𝓝 a b : α hba : b ≤ a hb_nhds : Icc b a ∈ 𝓝[≤] a hbs : Icc b a ⊆ s c : α hac : a ≤ c hc_nhds : Icc a c ∈ 𝓝[≥] a hcs : Icc a c ⊆ s ⊢ Icc b a ∪ I...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨union_mem_sup hb_nhds hc_nhds, union_subset hbs hcs⟩
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s := by rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Iic (nhdsWithin_le_nhds hs) with ⟨b, hba, hb_nhds, hbs⟩ rcases exists_Icc_mem_subset_of_mem_nhdsWithin_Ici (nhdsWithin_le_nhd...
Mathlib.Topology.Order.Basic.1234_0.Npdof1X5b8sCkZ2
theorem exists_Icc_mem_subset_of_mem_nhds {a : α} {s : Set α} (hs : s ∈ 𝓝 a) : ∃ b c, a ∈ Icc b c ∧ Icc b c ∈ 𝓝 a ∧ Icc b c ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s h : Set.Nonempty s ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s y : α hy : y ≠ x ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases lt_trichotomy x y with (H | rfl | H)
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s y : α hy : y ≠ x H : x < y ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
obtain ⟨u, xu, hu⟩ : ∃ u, x < u ∧ Ico x u ⊆ s := exists_Ico_subset_of_mem_nhds (hs.mem_nhds hx) ⟨y, H⟩
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x rcases lt_trichotomy x y with (H | rfl | H) ·
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.inl.intro.intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s y : α hy : y ≠ x H : x < y u : α xu : x < u hu : Ico x u ⊆ s ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨x, u, xu, Ioo_subset_Ico_self.trans hu⟩
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x rcases lt_trichotomy x y with (H | rfl | H) · obtain ⟨u, xu, hu⟩ : ∃ u, x < u ∧ Ico x u ⊆ s := exi...
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.inr.inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s hy : x ≠ x ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact (hy rfl).elim
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x rcases lt_trichotomy x y with (H | rfl | H) · obtain ⟨u, xu, hu⟩ : ∃ u, x < u ∧ Ico x u ⊆ s := exi...
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.inr.inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s y : α hy : y ≠ x H : y < x ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
obtain ⟨l, lx, hl⟩ : ∃ l, l < x ∧ Ioc l x ⊆ s := exists_Ioc_subset_of_mem_nhds (hs.mem_nhds hx) ⟨y, H⟩
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x rcases lt_trichotomy x y with (H | rfl | H) · obtain ⟨u, xu, hu⟩ : ∃ u, x < u ∧ Ico x u ⊆ s := exi...
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
case intro.intro.inr.inr.intro.intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α hs : IsOpen s x : α hx : x ∈ s y : α hy : y ≠ x H : y < x l : α lx : l < x hl : Ioc l x ⊆ s ⊢ ∃ a b, a < b ∧ Ioo a b ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨l, x, lx, Ioo_subset_Ioc_self.trans hl⟩
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s := by obtain ⟨x, hx⟩ : ∃ x, x ∈ s := h obtain ⟨y, hy⟩ : ∃ y, y ≠ x := exists_ne x rcases lt_trichotomy x y with (H | rfl | H) · obtain ⟨u, xu, hu⟩ : ∃ u, x < u ∧ Ico x u ⊆ s := exi...
Mathlib.Topology.Order.Basic.1245_0.Npdof1X5b8sCkZ2
theorem IsOpen.exists_Ioo_subset [Nontrivial α] {s : Set α} (hs : IsOpen s) (h : s.Nonempty) : ∃ a b, a < b ∧ Ioo a b ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α h : ∀ ⦃a b : α⦄, a < b → ∃ c ∈ s, a < c ∧ c < b ⊢ Dense s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine dense_iff_inter_open.2 fun U U_open U_nonempty => ?_
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s := by
Mathlib.Topology.Order.Basic.1259_0.Npdof1X5b8sCkZ2
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α h : ∀ ⦃a b : α⦄, a < b → ∃ c ∈ s, a < c ∧ c < b U : Set α U_open : IsOpen U U_nonempty : Set.Nonempty U ⊢ Set.Nonempty (U ∩ s)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
obtain ⟨a, b, hab, H⟩ : ∃ a b : α, a < b ∧ Ioo a b ⊆ U := U_open.exists_Ioo_subset U_nonempty
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s := by refine dense_iff_inter_open.2 fun U U_open U_nonempty => ?_
Mathlib.Topology.Order.Basic.1259_0.Npdof1X5b8sCkZ2
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s
Mathlib_Topology_Order_Basic
case intro.intro.intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α h : ∀ ⦃a b : α⦄, a < b → ∃ c ∈ s, a < c ∧ c < b U : Set α U_open : IsOpen U U_nonempty : Set.Nonempty U a b : α hab : a < b H : Ioo a b ⊆ U ⊢ Set.Nonempty (U...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
obtain ⟨x, xs, hx⟩ : ∃ x ∈ s, a < x ∧ x < b := h hab
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s := by refine dense_iff_inter_open.2 fun U U_open U_nonempty => ?_ obtain ⟨a, b, hab, H⟩ : ∃ a b : α, a < b ∧ Ioo a b ⊆ U := U_open.exists_Ioo_subset U_nonempty
Mathlib.Topology.Order.Basic.1259_0.Npdof1X5b8sCkZ2
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s
Mathlib_Topology_Order_Basic
case intro.intro.intro.intro.intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : Nontrivial α s : Set α h : ∀ ⦃a b : α⦄, a < b → ∃ c ∈ s, a < c ∧ c < b U : Set α U_open : IsOpen U U_nonempty : Set.Nonempty U a b : α hab : a < b H : Ioo a b ⊆ U x : α...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨x, ⟨H hx, xs⟩⟩
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s := by refine dense_iff_inter_open.2 fun U U_open U_nonempty => ?_ obtain ⟨a, b, hab, H⟩ : ∃ a b : α, a < b ∧ Ioo a b ⊆ U := U_open.exists_Ioo_subset U_nonempty obtain ⟨x, xs, hx⟩ : ∃ x ∈ s, a < x...
Mathlib.Topology.Order.Basic.1259_0.Npdof1X5b8sCkZ2
theorem dense_of_exists_between [Nontrivial α] {s : Set α} (h : ∀ ⦃a b⦄, a < b → ∃ c ∈ s, a < c ∧ c < b) : Dense s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl : ∃ l, l < a hu : ∃ u, a < u ⊢ s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
constructor
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
case mp α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl : ∃ l, l < a hu : ∃ u, a < u ⊢ s ∈ 𝓝 a → ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
intro h
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by cons...
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
case mp α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl : ∃ l, l < a hu : ∃ u, a < u h : s ∈ 𝓝 a ⊢ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases exists_Ico_subset_of_mem_nhds h hu with ⟨u, au, hu⟩
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by cons...
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
case mp.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl : ∃ l, l < a hu✝ : ∃ u, a < u h : s ∈ 𝓝 a u : α au : a < u hu : Ico a u ⊆ s ⊢ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases exists_Ioc_subset_of_mem_nhds h hl with ⟨l, la, hl⟩
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by cons...
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
case mp.intro.intro.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl✝ : ∃ l, l < a hu✝ : ∃ u, a < u h : s ∈ 𝓝 a u : α au : a < u hu : Ico a u ⊆ s l : α la : l < a hl : Ioc l a ⊆ s ⊢ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨l, u, ⟨la, au⟩, Ioc_union_Ico_eq_Ioo la au ▸ union_subset hl hu⟩
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by cons...
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
case mpr α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl : ∃ l, l < a hu : ∃ u, a < u ⊢ (∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s) → s ∈ 𝓝 a
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rintro ⟨l, u, ha, h⟩
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by cons...
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
case mpr.intro.intro.intro α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α s : Set α hl : ∃ l, l < a hu : ∃ u, a < u l u : α ha : a ∈ Ioo l u h : Ioo l u ⊆ s ⊢ s ∈ 𝓝 a
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
apply mem_of_superset (Ioo_mem_nhds ha.1 ha.2) h
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s := by cons...
Mathlib.Topology.Order.Basic.1275_0.Npdof1X5b8sCkZ2
/-- A set is a neighborhood of `a` if and only if it contains an interval `(l, u)` containing `a`, provided `a` is neither a bottom element nor a top element. -/ theorem mem_nhds_iff_exists_Ioo_subset' {a : α} {s : Set α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : s ∈ 𝓝 a ↔ ∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝² : TopologicalSpace α inst✝¹ : LinearOrder α inst✝ : OrderTopology α a : α hl : ∃ l, l < a hu : ∃ u, a < u s : Set α ⊢ (∃ l u, a ∈ Ioo l u ∧ Ioo l u ⊆ s) ↔ ∃ i, (i.1 < a ∧ a < i.2) ∧ Ioo i.1 i.2 ⊆ s
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp
theorem nhds_basis_Ioo' {a : α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : (𝓝 a).HasBasis (fun b : α × α => b.1 < a ∧ a < b.2) fun b => Ioo b.1 b.2 := ⟨fun s => (mem_nhds_iff_exists_Ioo_subset' hl hu).trans <| by
Mathlib.Topology.Order.Basic.1295_0.Npdof1X5b8sCkZ2
theorem nhds_basis_Ioo' {a : α} (hl : ∃ l, l < a) (hu : ∃ u, a < u) : (𝓝 a).HasBasis (fun b : α × α => b.1 < a ∧ a < b.2) fun b => Ioo b.1 b.2
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s ⊢ inst✝³ = generateFrom (Ioi '' s ∪ Iio '' s)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s ⊢ generateFrom {s | ∃ a, s = Ioi a ∨ s = Iio a} = generateFrom (Ioi '' s ∪ Iio '' s)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_)
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_1 α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s ⊢ Ioi '' s ∪ Iio '' s ⊆ {s | ∃ a, s = Ioi a ∨ s = Iio a}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp only [union_subset_iff, image_subset_iff]
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) ·
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_1 α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s ⊢ s ⊆ Ioi ⁻¹' {s | ∃ a, s = Ioi a ∨ s = Iio a} ∧ s ⊆ Iio ⁻¹' {s | ∃ a, s = Ioi a ∨ s = Iio a}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact ⟨fun a _ ↦ ⟨a, .inl rfl⟩, fun a _ ↦ ⟨a, .inr rfl⟩⟩
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2 α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s ⊢ ∀ s_1 ∈ {s | ∃ a, s = Ioi a ∨ s = Iio a}, IsOpen s_1
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rintro _ ⟨a, rfl | rfl⟩
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2.intro.inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s a : α ⊢ IsOpen (Ioi a)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rw [hs.Ioi_eq_biUnion]
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2.intro.inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s a : α ⊢ IsOpen (⋃ y ∈ s ∩ Ioi a, Ioi y)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
let _ := generateFrom (Ioi '' s ∪ Iio '' s)
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2.intro.inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s a : α x✝ : TopologicalSpace α := generateFrom (Ioi '' s ∪ Iio '' s) ⊢ IsOpen (⋃ y ∈ s ∩ Ioi a, Ioi y)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact isOpen_iUnion fun x ↦ isOpen_iUnion fun h ↦ .basic _ <| .inl <| mem_image_of_mem _ h.1
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2.intro.inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s a : α ⊢ IsOpen (Iio a)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rw [hs.Iio_eq_biUnion]
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2.intro.inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s a : α ⊢ IsOpen (⋃ y ∈ s ∩ Iio a, Iio y)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
let _ := generateFrom (Ioi '' s ∪ Iio '' s)
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
case refine_2.intro.inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : DenselyOrdered α s : Set α hs : Dense s a : α x✝ : TopologicalSpace α := generateFrom (Ioi '' s ∪ Iio '' s) ⊢ IsOpen (⋃ y ∈ s ∩ Iio a, Iio y)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact isOpen_iUnion fun x ↦ isOpen_iUnion fun h ↦ .basic _ <| .inr <| mem_image_of_mem _ h.1
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s) := by refine (OrderTopology.topology_eq_generate_intervals (α := α)).trans ?_ refine le_antisymm (generateFrom_anti ?_) (le_generateFrom ?_) · simp only [union_subs...
Mathlib.Topology.Order.Basic.1310_0.Npdof1X5b8sCkZ2
theorem Dense.topology_eq_generateFrom [DenselyOrdered α] {s : Set α} (hs : Dense s) : ‹TopologicalSpace α› = .generateFrom (Ioi '' s ∪ Iio '' s)
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝⁴ : TopologicalSpace α inst✝³ : LinearOrder α inst✝² : OrderTopology α inst✝¹ : DenselyOrdered α inst✝ : SeparableSpace α ⊢ SecondCountableTopology α
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases exists_countable_dense α with ⟨s, hc, hd⟩
/-- Let `α` be a densely ordered linear order with order topology. If `α` is a separable space, then it has second countable topology. Note that the "densely ordered" assumption cannot be dropped, see [double arrow space](https://topology.pi-base.org/spaces/S000093) for a counterexample. -/ theorem SecondCountableTopol...
Mathlib.Topology.Order.Basic.1326_0.Npdof1X5b8sCkZ2
/-- Let `α` be a densely ordered linear order with order topology. If `α` is a separable space, then it has second countable topology. Note that the "densely ordered" assumption cannot be dropped, see [double arrow space](https://topology.pi-base.org/spaces/S000093) for a counterexample. -/ theorem SecondCountableTopol...
Mathlib_Topology_Order_Basic
case intro.intro α : Type u β : Type v γ : Type w inst✝⁴ : TopologicalSpace α inst✝³ : LinearOrder α inst✝² : OrderTopology α inst✝¹ : DenselyOrdered α inst✝ : SeparableSpace α s : Set α hc : Set.Countable s hd : Dense s ⊢ SecondCountableTopology α
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine ⟨⟨_, ?_, hd.topology_eq_generateFrom⟩⟩
/-- Let `α` be a densely ordered linear order with order topology. If `α` is a separable space, then it has second countable topology. Note that the "densely ordered" assumption cannot be dropped, see [double arrow space](https://topology.pi-base.org/spaces/S000093) for a counterexample. -/ theorem SecondCountableTopol...
Mathlib.Topology.Order.Basic.1326_0.Npdof1X5b8sCkZ2
/-- Let `α` be a densely ordered linear order with order topology. If `α` is a separable space, then it has second countable topology. Note that the "densely ordered" assumption cannot be dropped, see [double arrow space](https://topology.pi-base.org/spaces/S000093) for a counterexample. -/ theorem SecondCountableTopol...
Mathlib_Topology_Order_Basic
case intro.intro α : Type u β : Type v γ : Type w inst✝⁴ : TopologicalSpace α inst✝³ : LinearOrder α inst✝² : OrderTopology α inst✝¹ : DenselyOrdered α inst✝ : SeparableSpace α s : Set α hc : Set.Countable s hd : Dense s ⊢ Set.Countable (Ioi '' s ∪ Iio '' s)
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact (hc.image _).union (hc.image _)
/-- Let `α` be a densely ordered linear order with order topology. If `α` is a separable space, then it has second countable topology. Note that the "densely ordered" assumption cannot be dropped, see [double arrow space](https://topology.pi-base.org/spaces/S000093) for a counterexample. -/ theorem SecondCountableTopol...
Mathlib.Topology.Order.Basic.1326_0.Npdof1X5b8sCkZ2
/-- Let `α` be a densely ordered linear order with order topology. If `α` is a separable space, then it has second countable topology. Note that the "densely ordered" assumption cannot be dropped, see [double arrow space](https://topology.pi-base.org/spaces/S000093) for a counterexample. -/ theorem SecondCountableTopol...
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ⊢ Set.Countable {x | ∃ y, x ⋖ y}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
nontriviality α
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α ⊢ Set.Countable {x | ∃ y, x ⋖ y}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
let s := { x : α | ∃ y, x ⋖ y }
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} ⊢ Set.Countable {x | ∃ y, x ⋖ y}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y }
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} this : ∀ x ∈ s, ∃ y, x ⋖ y ⊢ Set.Countable {x | ∃ y, x ⋖ y}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
choose! y hy using this
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x ⊢ Set.Countable {x | ∃ y, x ⋖ y}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have Hy : ∀ x z, x ∈ s → z < y x → z ≤ x := fun x z hx => (hy x hx).le_of_lt
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x ⊢ Set.Countable {x | ∃ y, x ⋖ y}
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
suffices H : ∀ a : Set α, IsOpen a → Set.Countable { x | x ∈ s ∧ x ∈ a ∧ y x ∉ a }
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x H : ∀ (a : Set α), IsOpen a → Set.Countable {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have : s ⊆ ⋃ a ∈ countableBasis α, { x | x ∈ s ∧ x ∈ a ∧ y x ∉ a } := fun x hx => by rcases (isBasis_countableBasis α).exists_mem_of_ne (hy x hx).ne with ⟨a, ab, xa, ya⟩ exact mem_iUnion₂.2 ⟨a, ab, hx, xa, ya⟩
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x H : ∀ (a : Set α), IsOpen a → Set.Countable {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases (isBasis_countableBasis α).exists_mem_of_ne (hy x hx).ne with ⟨a, ab, xa, ya⟩
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case intro.intro.intro α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x H : ∀ (a : Set α), IsOpen a → Set...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact mem_iUnion₂.2 ⟨a, ab, hx, xa, ya⟩
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x H : ∀ (a : Set α), IsOpen a → Set.Countable {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine Set.Countable.mono this ?_
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x H : ∀ (a : Set α), IsOpen a → Set.Countable {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' Countable.biUnion (countable_countableBasis α) fun a ha => H _ _
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x H : ∀ (a : Set α), IsOpen a → Set.Countable {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact isOpen_of_mem_countableBasis ha
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x ⊢ ∀ (a : Set α), IsOpen a → Set.Countable {x | x ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
intro a ha
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a ⊢ Set.Countable {x | x ∈ ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
suffices H : Set.Countable { x | (x ∈ s ∧ x ∈ a ∧ y x ∉ a) ∧ ¬IsBot x }
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a H : Set.Countable {x | (x...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact H.of_diff (subsingleton_isBot α).countable
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a ⊢ Set.Countable {x | (x ∈...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simp only [and_assoc]
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a ⊢ Set.Countable {x | x ∈ ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
let t := { x | x ∈ s ∧ x ∈ a ∧ y x ∉ a ∧ ¬IsBot x }
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have : ∀ x ∈ t, ∃ z < x, Ioc z x ⊆ a := by intro x hx apply exists_Ioc_subset_of_mem_nhds (ha.mem_nhds hx.2.1) simpa only [IsBot, not_forall, not_le] using hx.right.right.right
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧ x ∈ a ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
intro x hx
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧ x ∈ a ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
apply exists_Ioc_subset_of_mem_nhds (ha.mem_nhds hx.2.1)
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧ x ∈ a ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
simpa only [IsBot, not_forall, not_le] using hx.right.right.right
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
choose! z hz h'z using this
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case H α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
have : PairwiseDisjoint t fun x => Ioc (z x) x := fun x xt x' x't hxx' => by rcases hxx'.lt_or_lt with (h' | h') · refine' disjoint_left.2 fun u ux ux' => xt.2.2.1 _ refine' h'z x' x't ⟨ux'.1.trans_le (ux.2.trans (hy x xt.1).le), _⟩ by_contra! H exact lt_irrefl _ ((Hy _ _ xt.1 H).trans_lt h') ...
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s ∧ x ∈ a ...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
rcases hxx'.lt_or_lt with (h' | h')
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' disjoint_left.2 fun u ux ux' => xt.2.2.1 _
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' h'z x' x't ⟨ux'.1.trans_le (ux.2.trans (hy x xt.1).le), _⟩
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
by_contra! H
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inl α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
exact lt_irrefl _ ((Hy _ _ xt.1 H).trans_lt h')
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' disjoint_left.2 fun u ux ux' => x't.2.2.1 _
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
refine' h'z x xt ⟨ux.1.trans_le (ux'.2.trans (hy x' x't.1).le), _⟩
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic
case inr α : Type u β : Type v γ : Type w inst✝³ : TopologicalSpace α inst✝² : LinearOrder α inst✝¹ : OrderTopology α inst✝ : SecondCountableTopology α ✝ : Nontrivial α s : Set α := {x | ∃ y, x ⋖ y} y : α → α hy : ∀ x ∈ s, x ⋖ y x Hy : ∀ (x z : α), x ∈ s → z < y x → z ≤ x a : Set α ha : IsOpen a t : Set α := {x | x ∈ s...
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import Mathlib.Data.Set.Intervals.Pi import Mathlib.Data.Set.Pointwise.Interval import Mathlib.Order.Filter.Interval import Mathlib.T...
by_contra! H
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y } := by nontriviality α let s := { x : α | ∃ y, x ⋖ y } have : ∀ x ∈ s, ∃ y, x ⋖ y := fun x => id cho...
Mathlib.Topology.Order.Basic.1338_0.Npdof1X5b8sCkZ2
/-- The set of points which are isolated on the right is countable when the space is second-countable. -/ theorem countable_setOf_covby_right [SecondCountableTopology α] : Set.Countable { x : α | ∃ y, x ⋖ y }
Mathlib_Topology_Order_Basic