The areas / V04. Order and lattices
Mathlib.Order.Interval.Set.ProjIcc
74 declarations and 1 deprecated aliases. Mathlib docs · Source
Projection of a line onto a closed interval
Given a linearly ordered type α, in this file we define
Set.projIci (a : α)to be the mapα → [a, ∞)sending(-∞, a]toa, and each pointx ∈ [a, ∞)to itself;Set.projIic (b : α)to be the mapα → (-∞, b[sending[b, ∞)tob, and each pointx ∈ (-∞, b]to itself;Set.projIcc (a b : α) (h : a ≤ b)to be the mapα → [a, b]sending(-∞, a]toa,[b, ∞)tob, and each pointx ∈ [a, b]to itself;Set.IccExtend {a b : α} (h : a ≤ b) (f : Icc a b → β)to be the extension offtoαdefined asf ∘ projIcc a b h.Set.IciExtend {a : α} (f : Ici a → β)to be the extension offtoαdefined asf ∘ projIci a.Set.IicExtend {b : α} (f : Iic b → β)to be the extension offtoαdefined asf ∘ projIic b.
We also prove some trivial properties of these maps.
theorem Set.projIcc.congr_simp E1 #
∀ {α : Type u_1} [inst : LinearOrder α] (a b : α) (h : a ≤ b) (x x_1 : α),
x = x_1 → Set.projIcc a b h x = Set.projIcc a b h x_1
theorem Set.IccExtend.congr_simp E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f f_1 : ↑(Set.Icc a b) → β),
f = f_1 → ∀ (a_1 a_2 : α), a_1 = a_2 → Set.IccExtend h f a_1 = Set.IccExtend h f_1 a_2
def Set.projIci E1 #
{α : Type u_1} → [inst : LinearOrder α] → (a : α) → α → ↑(Set.Ici a)
Projection of α to the closed interval [a, ∞).
def Set.projIic E1 #
{α : Type u_1} → [inst : LinearOrder α] → (b : α) → α → ↑(Set.Iic b)
Projection of α to the closed interval (-∞, b].
def Set.projIcc E1 #
{α : Type u_1} → [inst : LinearOrder α] → (a b : α) → a ≤ b → α → ↑(Set.Icc a b)
Projection of α to the closed interval [a, b].
theorem Set.coe_projIci E0 #
∀ {α : Type u_1} [inst : LinearOrder α] (a x : α), ↑(Set.projIci a x) = max a x
theorem Set.coe_projIic E0 #
∀ {α : Type u_1} [inst : LinearOrder α] (b x : α), ↑(Set.projIic b x) = min b x
theorem Set.coe_projIcc E0 #
∀ {α : Type u_1} [inst : LinearOrder α] (a b : α) (h : a ≤ b) (x : α), ↑(Set.projIcc a b h x) = max a (min b x)
theorem Set.projIci_of_le E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a x : α}, x ≤ a → Set.projIci a x = ⟨a, ⋯⟩
theorem Set.projIic_of_le E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b x : α}, b ≤ x → Set.projIic b x = ⟨b, ⋯⟩
theorem Set.projIcc_of_le_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b) {x : α}, x ≤ a → Set.projIcc a b h x = ⟨a, ⋯⟩
theorem Set.projIcc_of_right_le E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b) {x : α}, b ≤ x → Set.projIcc a b h x = ⟨b, ⋯⟩
theorem Set.projIci_self E0 #
∀ {α : Type u_1} [inst : LinearOrder α] (a : α), Set.projIci a a = ⟨a, ⋯⟩
theorem Set.projIic_self E0 #
∀ {α : Type u_1} [inst : LinearOrder α] (b : α), Set.projIic b b = ⟨b, ⋯⟩
theorem Set.projIcc_left E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), Set.projIcc a b h a = ⟨a, ⋯⟩
theorem Set.projIcc_right E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), Set.projIcc a b h b = ⟨b, ⋯⟩
theorem Set.projIci_eq_self E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a x : α}, Set.projIci a x = ⟨a, ⋯⟩ ↔ x ≤ a
theorem Set.projIic_eq_self E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b x : α}, Set.projIic b x = ⟨b, ⋯⟩ ↔ b ≤ x
theorem Set.projIcc_eq_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b x : α} (h : a < b), Set.projIcc a b ⋯ x = ⟨a, ⋯⟩ ↔ x ≤ a
theorem Set.projIcc_eq_right E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b x : α} (h : a < b), Set.projIcc a b ⋯ x = ⟨b, ⋯⟩ ↔ b ≤ x
theorem Set.projIci_of_mem E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a x : α} (hx : x ∈ Set.Ici a), Set.projIci a x = ⟨x, hx⟩
theorem Set.projIic_of_mem E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b x : α} (hx : x ∈ Set.Iic b), Set.projIic b x = ⟨x, hx⟩
theorem Set.projIcc_of_mem E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b) {x : α} (hx : x ∈ Set.Icc a b),
Set.projIcc a b h x = ⟨x, hx⟩
theorem Set.projIci_coe E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α} (x : ↑(Set.Ici a)), Set.projIci a ↑x = x
theorem Set.projIic_coe E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {b : α} (x : ↑(Set.Iic b)), Set.projIic b ↑x = x
theorem Set.projIcc_val E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (x : ↑(Set.Icc a b)), Set.projIcc a b h ↑x = x
theorem Set.projIci_surjOn E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, Set.SurjOn (Set.projIci a) (Set.Ici a) Set.univ
theorem Set.projIic_surjOn E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b : α}, Set.SurjOn (Set.projIic b) (Set.Iic b) Set.univ
theorem Set.projIcc_surjOn E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), Set.SurjOn (Set.projIcc a b h) (Set.Icc a b) Set.univ
theorem Set.projIci_surjective E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, Function.Surjective (Set.projIci a)
theorem Set.projIic_surjective E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b : α}, Function.Surjective (Set.projIic b)
theorem Set.projIcc_surjective E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), Function.Surjective (Set.projIcc a b h)
theorem Set.range_projIci E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, Set.range (Set.projIci a) = Set.univ
theorem Set.range_projIic E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, Set.range (Set.projIic a) = Set.univ
theorem Set.range_projIcc E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), Set.range (Set.projIcc a b h) = Set.univ
theorem Set.monotone_projIci E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, Monotone (Set.projIci a)
theorem Set.monotone_projIic E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, Monotone (Set.projIic a)
theorem Set.monotone_projIcc E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), Monotone (Set.projIcc a b h)
theorem Set.strictMonoOn_projIci E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α}, StrictMonoOn (Set.projIci a) (Set.Ici a)
theorem Set.strictMonoOn_projIic E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b : α}, StrictMonoOn (Set.projIic b) (Set.Iic b)
theorem Set.strictMonoOn_projIcc E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α} (h : a ≤ b), StrictMonoOn (Set.projIcc a b h) (Set.Icc a b)
def Set.IciExtend E1 #
{α : Type u_1} → {β : Type u_2} → [inst : LinearOrder α] → {a : α} → (↑(Set.Ici a) → β) → α → β
Extend a function [a, ∞) → β to a map α → β.
def Set.IicExtend E1 #
{α : Type u_1} → {β : Type u_2} → [inst : LinearOrder α] → {b : α} → (↑(Set.Iic b) → β) → α → β
Extend a function (-∞, b] → β to a map α → β.
def Set.IccExtend E1 #
{α : Type u_1} → {β : Type u_2} → [inst : LinearOrder α] → {a b : α} → a ≤ b → (↑(Set.Icc a b) → β) → α → β
Extend a function [a, b] → β to a map α → β.
theorem Set.IciExtend_apply E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a : α} (f : ↑(Set.Ici a) → β) (x : α),
Set.IciExtend f x = f ⟨max a x, ⋯⟩
theorem Set.IicExtend_apply E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {b : α} (f : ↑(Set.Iic b) → β) (x : α),
Set.IicExtend f x = f ⟨min b x, ⋯⟩
theorem Set.IccExtend_apply E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f : ↑(Set.Icc a b) → β) (x : α),
Set.IccExtend h f x = f ⟨max a (min b x), ⋯⟩
theorem Set.range_IciExtend E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a : α} (f : ↑(Set.Ici a) → β),
Set.range (Set.IciExtend f) = Set.range f
theorem Set.range_IicExtend E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {b : α} (f : ↑(Set.Iic b) → β),
Set.range (Set.IicExtend f) = Set.range f
theorem Set.IccExtend_range E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f : ↑(Set.Icc a b) → β),
Set.range (Set.IccExtend h f) = Set.range f
theorem Set.IciExtend_of_le E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a x : α} (f : ↑(Set.Ici a) → β),
x ≤ a → Set.IciExtend f x = f ⟨a, ⋯⟩
theorem Set.IicExtend_of_le E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {b x : α} (f : ↑(Set.Iic b) → β),
b ≤ x → Set.IicExtend f x = f ⟨b, ⋯⟩
theorem Set.IccExtend_of_le_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) {x : α} (f : ↑(Set.Icc a b) → β),
x ≤ a → Set.IccExtend h f x = f ⟨a, ⋯⟩
theorem Set.IccExtend_of_right_le E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) {x : α} (f : ↑(Set.Icc a b) → β),
b ≤ x → Set.IccExtend h f x = f ⟨b, ⋯⟩
theorem Set.IciExtend_self E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a : α} (f : ↑(Set.Ici a) → β), Set.IciExtend f a = f ⟨a, ⋯⟩
theorem Set.IicExtend_self E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {b : α} (f : ↑(Set.Iic b) → β), Set.IicExtend f b = f ⟨b, ⋯⟩
theorem Set.IccExtend_left E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f : ↑(Set.Icc a b) → β),
Set.IccExtend h f a = f ⟨a, ⋯⟩
theorem Set.IccExtend_right E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f : ↑(Set.Icc a b) → β),
Set.IccExtend h f b = f ⟨b, ⋯⟩
theorem Set.IciExtend_of_mem E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a x : α} (f : ↑(Set.Ici a) → β) (hx : x ∈ Set.Ici a),
Set.IciExtend f x = f ⟨x, hx⟩
theorem Set.IicExtend_of_mem E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {b x : α} (f : ↑(Set.Iic b) → β) (hx : x ∈ Set.Iic b),
Set.IicExtend f x = f ⟨x, hx⟩
theorem Set.IccExtend_of_mem E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) {x : α} (f : ↑(Set.Icc a b) → β)
(hx : x ∈ Set.Icc a b), Set.IccExtend h f x = f ⟨x, hx⟩
theorem Set.IciExtend_coe E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a : α} (f : ↑(Set.Ici a) → β) (x : ↑(Set.Ici a)),
Set.IciExtend f ↑x = f x
theorem Set.IicExtend_coe E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {b : α} (f : ↑(Set.Iic b) → β) (x : ↑(Set.Iic b)),
Set.IicExtend f ↑x = f x
theorem Set.IccExtend_val E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f : ↑(Set.Icc a b) → β)
(x : ↑(Set.Icc a b)), Set.IccExtend h f ↑x = f x
theorem Set.IccExtend_eq_self E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] {a b : α} (h : a ≤ b) (f : α → β),
(∀ x < a, f x = f a) → (∀ (x : α), b < x → f x = f b) → Set.IccExtend h (f ∘ Subtype.val) = f
If f : α → β is a constant both on $(-∞, a]$ and on $[b, +∞)$, then the extension of this
function from $[a, b]$ to the whole line is equal to the original function.
theorem Monotone.IciExtend E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] {a : α} {f : ↑(Set.Ici a) → β},
Monotone f → Monotone (Set.IciExtend f)
theorem Monotone.IicExtend E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] {b : α} {f : ↑(Set.Iic b) → β},
Monotone f → Monotone (Set.IicExtend f)
theorem Monotone.IccExtend E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] {a b : α} (h : a ≤ b)
{f : ↑(Set.Icc a b) → β}, Monotone f → Monotone (Set.IccExtend h f)
theorem StrictMono.strictMonoOn_IciExtend E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] {a : α} {f : ↑(Set.Ici a) → β},
StrictMono f → StrictMonoOn (Set.IciExtend f) (Set.Ici a)
theorem StrictMono.strictMonoOn_IicExtend E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] {b : α} {f : ↑(Set.Iic b) → β},
StrictMono f → StrictMonoOn (Set.IicExtend f) (Set.Iic b)
theorem StrictMono.strictMonoOn_IccExtend E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : LinearOrder α] [inst_1 : Preorder β] {a b : α} (h : a ≤ b)
{f : ↑(Set.Icc a b) → β}, StrictMono f → StrictMonoOn (Set.IccExtend h f) (Set.Icc a b)
theorem Set.OrdConnected.IciExtend E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a : α} {s : Set ↑(Set.Ici a)},
s.OrdConnected → {x | Set.IciExtend (fun x ↦ x ∈ s) x}.OrdConnected
theorem Set.OrdConnected.IicExtend E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {b : α} {s : Set ↑(Set.Iic b)},
s.OrdConnected → {x | Set.IicExtend (fun x ↦ x ∈ s) x}.OrdConnected
theorem Set.OrdConnected.domRestrict E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {s t : Set α},
s.OrdConnected → {x | t.domRestrict (fun x ↦ x ∈ s) x}.OrdConnected
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Set.OrdConnected.restrict | Set.OrdConnected.domRestrict | 2026-07-19 |