The areas / V04. Order and lattices
Mathlib.Order.Restriction
19 declarations. Mathlib docs · Source
def Preorder.restrictLe E1 #
{α : Type u_1} → [inst : Preorder α] → {π : α → Type u_2} → (a : α) → ((a : α) → π a) → (a_1 : ↑(Set.Iic a)) → π ↑a_1
Restrict domain of a function f indexed by α to elements ≤ a.
theorem Preorder.restrictLe_apply E0 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} (a : α) (f : (a : α) → π a) (i : ↑(Set.Iic a)),
Preorder.restrictLe a f i = f ↑i
def Preorder.restrictLe₂ E1 #
{α : Type u_1} →
[inst : Preorder α] →
{π : α → Type u_2} → {a b : α} → a ≤ b → ((a : ↑(Set.Iic b)) → π ↑a) → (a_1 : ↑(Set.Iic a)) → π ↑a_1
If a function f indexed by α is restricted to elements ≤ π, and a ≤ b,
this is the restriction to elements ≤ a.
theorem Preorder.restrictLe₂_apply E0 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} {a b : α} (hab : a ≤ b) (f : (i : ↑(Set.Iic b)) → π ↑i)
(i : ↑(Set.Iic a)), Preorder.restrictLe₂ hab f i = f ⟨↑i, ⋯⟩
theorem Preorder.restrictLe₂_comp_restrictLe E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} {a b : α} (hab : a ≤ b),
Preorder.restrictLe₂ hab ∘ Preorder.restrictLe b = Preorder.restrictLe a
theorem Preorder.restrictLe₂_comp_restrictLe₂ E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} {a b c : α} (hab : a ≤ b) (hbc : b ≤ c),
Preorder.restrictLe₂ hab ∘ Preorder.restrictLe₂ hbc = Preorder.restrictLe₂ ⋯
theorem Preorder.dependsOn_restrictLe E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} (a : α), DependsOn (Preorder.restrictLe a) (Set.Iic a)
def Preorder.frestrictLe E1 #
{α : Type u_1} →
[inst : Preorder α] →
{π : α → Type u_2} → [inst_1 : LocallyFiniteOrderBot α] → (a : α) → ((i : α) → π i) → (i : ↥(Finset.Iic a)) → π ↑i
Restrict domain of a function f indexed by α to elements ≤ a, seen as a finite set.
theorem Preorder.frestrictLe_apply E0 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] (a : α) (f : (a : α) → π a)
(i : ↥(Finset.Iic a)), Preorder.frestrictLe a f i = f ↑i
def Preorder.frestrictLe₂ E1 #
{α : Type u_1} →
[inst : Preorder α] →
{π : α → Type u_2} →
[inst_1 : LocallyFiniteOrderBot α] →
{a b : α} → a ≤ b → ((i : ↥(Finset.Iic b)) → π ↑i) → (i : ↥(Finset.Iic a)) → π ↑i
If a function f indexed by α is restricted to elements ≤ b, and a ≤ b,
this is the restriction to elements ≤ b. Intervals are seen as finite sets.
theorem Preorder.frestrictLe₂_apply E0 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] {a b : α} (hab : a ≤ b)
(f : (i : ↥(Finset.Iic b)) → π ↑i) (i : ↥(Finset.Iic a)), Preorder.frestrictLe₂ hab f i = f ⟨↑i, ⋯⟩
theorem Preorder.frestrictLe₂_comp_frestrictLe E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] {a b : α} (hab : a ≤ b),
Preorder.frestrictLe₂ hab ∘ Preorder.frestrictLe b = Preorder.frestrictLe a
theorem Preorder.frestrictLe₂_comp_frestrictLe₂ E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] {a b c : α} (hab : a ≤ b)
(hbc : b ≤ c), Preorder.frestrictLe₂ hab ∘ Preorder.frestrictLe₂ hbc = Preorder.frestrictLe₂ ⋯
theorem Preorder.piCongrLeft_comp_restrictLe E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] {a : α},
⇑(Equiv.piCongrLeft (fun i ↦ π ↑i) (Equiv.IicFinsetSet a).symm) ∘ Preorder.restrictLe a = Preorder.frestrictLe a
theorem Preorder.piCongrLeft_comp_frestrictLe E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] {a : α},
⇑(Equiv.piCongrLeft (fun i ↦ π ↑i) (Equiv.IicFinsetSet a)) ∘ Preorder.frestrictLe a = Preorder.restrictLe a
theorem Preorder.frestrictLe_updateFinset_of_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] [inst_2 : DecidableEq α]
{a b : α} (hab : a ≤ b) (x : (c : α) → π c) (y : (c : ↥(Finset.Iic b)) → π ↑c),
Preorder.frestrictLe a (Function.updateFinset x (Finset.Iic b) y) = Preorder.frestrictLe₂ hab y
theorem Preorder.frestrictLe_updateFinset E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] [inst_2 : DecidableEq α]
{a : α} (x : (a : α) → π a) (y : (b : ↥(Finset.Iic a)) → π ↑b),
Preorder.frestrictLe a (Function.updateFinset x (Finset.Iic a) y) = y
theorem Preorder.updateFinset_frestrictLe E0 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] [inst_2 : DecidableEq α]
(a : α) (x : (a : α) → π a), Function.updateFinset x (Finset.Iic a) (Preorder.frestrictLe a x) = x
theorem Preorder.dependsOn_frestrictLe E1 #
∀ {α : Type u_1} [inst : Preorder α] {π : α → Type u_2} [inst_1 : LocallyFiniteOrderBot α] (a : α),
DependsOn (Preorder.frestrictLe a) (Set.Iic a)