The areas / V13. General topology
Mathlib.Topology.Piecewise
19 declarations. Mathlib docs · Source
theorem continuousWithinAt_update_same E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f : α → β} {s : Set α}
{x : α} [inst_2 : DecidableEq α] {y : β},
ContinuousWithinAt (Function.update f x y) s x ↔ Filter.Tendsto f (nhdsWithin x (s \ {x})) (nhds y)
theorem continuousAt_update_same E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f : α → β} {x : α}
[inst_2 : DecidableEq α] {y : β},
ContinuousAt (Function.update f x y) x ↔ Filter.Tendsto f (nhdsWithin x {x}ᶜ) (nhds y)
theorem ContinuousOn.if' E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {s : Set α} {p : α → Prop}
{f g : α → β} [inst_2 : (a : α) → Decidable (p a)],
(∀ a ∈ s ∩ frontier {a | p a}, Filter.Tendsto f (nhdsWithin a (s ∩ {a | p a})) (nhds (if p a then f a else g a))) →
(∀ a ∈ s ∩ frontier {a | p a}, Filter.Tendsto g (nhdsWithin a (s ∩ {a | ¬p a})) (nhds (if p a then f a else g a))) →
ContinuousOn f (s ∩ {a | p a}) →
ContinuousOn g (s ∩ {a | ¬p a}) → ContinuousOn (fun a ↦ if p a then f a else g a) s
theorem ContinuousOn.piecewise' E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s t : Set α}
[inst_2 : (a : α) → Decidable (a ∈ t)],
(∀ a ∈ s ∩ frontier t, Filter.Tendsto f (nhdsWithin a (s ∩ t)) (nhds (t.piecewise f g a))) →
(∀ a ∈ s ∩ frontier t, Filter.Tendsto g (nhdsWithin a (s ∩ tᶜ)) (nhds (t.piecewise f g a))) →
ContinuousOn f (s ∩ t) → ContinuousOn g (s ∩ tᶜ) → ContinuousOn (t.piecewise f g) s
theorem ContinuousOn.if E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s : Set α}
{p : α → Prop} [inst_2 : (a : α) → Decidable (p a)],
(∀ a ∈ s ∩ frontier {a | p a}, f a = g a) →
ContinuousOn f (s ∩ closure {a | p a}) →
ContinuousOn g (s ∩ closure {a | ¬p a}) → ContinuousOn (fun a ↦ if p a then f a else g a) s
theorem ContinuousOn.piecewise E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s t : Set α}
[inst_2 : (a : α) → Decidable (a ∈ t)],
(∀ a ∈ s ∩ frontier t, f a = g a) →
ContinuousOn f (s ∩ closure t) → ContinuousOn g (s ∩ closure tᶜ) → ContinuousOn (t.piecewise f g) s
theorem continuous_if' E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {p : α → Prop}
[inst_2 : (a : α) → Decidable (p a)],
(∀ a ∈ frontier {x | p x}, Filter.Tendsto f (nhdsWithin a {x | p x}) (nhds (if p a then f a else g a))) →
(∀ a ∈ frontier {x | p x}, Filter.Tendsto g (nhdsWithin a {x | ¬p x}) (nhds (if p a then f a else g a))) →
ContinuousOn f {x | p x} → ContinuousOn g {x | ¬p x} → Continuous fun a ↦ if p a then f a else g a
theorem continuous_if E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {p : α → Prop}
[inst_2 : (a : α) → Decidable (p a)],
(∀ a ∈ frontier {x | p x}, f a = g a) →
ContinuousOn f (closure {x | p x}) →
ContinuousOn g (closure {x | ¬p x}) → Continuous fun a ↦ if p a then f a else g a
theorem Continuous.if E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {p : α → Prop}
[inst_2 : (a : α) → Decidable (p a)],
(∀ a ∈ frontier {x | p x}, f a = g a) → Continuous f → Continuous g → Continuous fun a ↦ if p a then f a else g a
theorem continuous_if_const E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} (p : Prop)
[inst_2 : Decidable p], (p → Continuous f) → (¬p → Continuous g) → Continuous fun a ↦ if p then f a else g a
theorem Continuous.if_const E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} (p : Prop)
[inst_2 : Decidable p], Continuous f → Continuous g → Continuous fun a ↦ if p then f a else g a
theorem continuous_piecewise E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s : Set α}
[inst_2 : (a : α) → Decidable (a ∈ s)],
(∀ a ∈ frontier s, f a = g a) →
ContinuousOn f (closure s) → ContinuousOn g (closure sᶜ) → Continuous (s.piecewise f g)
theorem Continuous.piecewise E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s : Set α}
[inst_2 : (a : α) → Decidable (a ∈ s)],
(∀ a ∈ frontier s, f a = g a) → Continuous f → Continuous g → Continuous (s.piecewise f g)
theorem IsOpen.ite' E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] {s s' t : Set α},
IsOpen s → IsOpen s' → (∀ x ∈ frontier t, x ∈ s ↔ x ∈ s') → IsOpen (t.ite s s')
theorem IsOpen.ite E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] {s s' t : Set α},
IsOpen s → IsOpen s' → s ∩ frontier t = s' ∩ frontier t → IsOpen (t.ite s s')
theorem ite_inter_closure_eq_of_inter_frontier_eq E0 #
∀ {α : Type u_1} [inst : TopologicalSpace α] {s s' t : Set α},
s ∩ frontier t = s' ∩ frontier t → t.ite s s' ∩ closure t = s ∩ closure t
theorem ite_inter_closure_compl_eq_of_inter_frontier_eq E0 #
∀ {α : Type u_1} [inst : TopologicalSpace α] {s s' t : Set α},
s ∩ frontier t = s' ∩ frontier t → t.ite s s' ∩ closure tᶜ = s' ∩ closure tᶜ
theorem continuousOn_piecewise_ite' E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s s' t : Set α}
[inst_2 : (x : α) → Decidable (x ∈ t)],
ContinuousOn f (s ∩ closure t) →
ContinuousOn g (s' ∩ closure tᶜ) →
s ∩ frontier t = s' ∩ frontier t → Set.EqOn f g (s ∩ frontier t) → ContinuousOn (t.piecewise f g) (t.ite s s')
theorem continuousOn_piecewise_ite E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {f g : α → β} {s s' t : Set α}
[inst_2 : (x : α) → Decidable (x ∈ t)],
ContinuousOn f s →
ContinuousOn g s' →
s ∩ frontier t = s' ∩ frontier t → Set.EqOn f g (s ∩ frontier t) → ContinuousOn (t.piecewise f g) (t.ite s s')