The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Order.UpperLower.Relative

39 declarations. Mathlib docs · Source

theorem isRelUpperSet_true_iff_isUpperSet E0 #

∀ {α : Type u_1} {s : Set α} [inst : LE α], (IsRelUpperSet s fun x ↦ True) ↔ IsUpperSet s

theorem isRelLowerSet_true_iff_isLowerSet E0 #

∀ {α : Type u_1} {s : Set α} [inst : LE α], (IsRelLowerSet s fun x ↦ True) ↔ IsLowerSet s

theorem IsUpperSet.isRelUpperSet_sep E1 #

∀ {α : Type u_1} {s : Set α} (P : α → Prop) [inst : LE α], IsUpperSet s → IsRelUpperSet {x | x ∈ s ∧ P x} P

theorem IsLowerSet.isRelLowerSet_sep E1 #

∀ {α : Type u_1} {s : Set α} (P : α → Prop) [inst : LE α], IsLowerSet s → IsRelLowerSet {x | x ∈ s ∧ P x} P

theorem IsRelLowerSet.mono_isLowerSet E1 #

∀ {α : Type u_1} {s t : Set α} {P : α → Prop} [inst : LE α],
  IsRelLowerSet t P → IsLowerSet s → s ⊆ t → IsRelLowerSet s P

A subset that is a lower set is additionally a relative lower set.

theorem IsRelUpperSet.mono_isUpperSet E1 #

∀ {α : Type u_1} {s t : Set α} {P : α → Prop} [inst : LE α],
  IsRelUpperSet t P → IsUpperSet s → s ⊆ t → IsRelUpperSet s P

A subset that is an upper set is additionally a relative upper set.

theorem IsRelUpperSet.prop_of_mem E1 #

∀ {α : Type u_1} {s : Set α} {a : α} {P : α → Prop} [inst : LE α], IsRelUpperSet s P → a ∈ s → P a

theorem IsRelLowerSet.prop_of_mem E1 #

∀ {α : Type u_1} {s : Set α} {a : α} {P : α → Prop} [inst : LE α], IsRelLowerSet s P → a ∈ s → P a

theorem IsRelUpperSet.mem_of_le E0 #

∀ {α : Type u_1} {s : Set α} {a b : α} {P : α → Prop} [inst : LE α], IsRelUpperSet s P → a ∈ s → a ≤ b → P b → b ∈ s

theorem IsRelLowerSet.mem_of_le E0 #

∀ {α : Type u_1} {s : Set α} {a b : α} {P : α → Prop} [inst : LE α], IsRelLowerSet s P → a ∈ s → b ≤ a → P b → b ∈ s

theorem isRelUpperSet_empty E0 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α], IsRelUpperSet ∅ P

theorem isRelLowerSet_empty E0 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α], IsRelLowerSet ∅ P

theorem isRelUpperSet_self E0 #

∀ {α : Type u_1} {s : Set α} [inst : LE α], IsRelUpperSet s fun x ↦ x ∈ s

theorem isRelLowerSet_self E0 #

∀ {α : Type u_1} {s : Set α} [inst : LE α], IsRelLowerSet s fun x ↦ x ∈ s

theorem IsRelUpperSet.union E1 #

∀ {α : Type u_1} {s t : Set α} {P : α → Prop} [inst : LE α],
  IsRelUpperSet s P → IsRelUpperSet t P → IsRelUpperSet (s ∪ t) P

theorem IsRelLowerSet.union E1 #

∀ {α : Type u_1} {s t : Set α} {P : α → Prop} [inst : LE α],
  IsRelLowerSet s P → IsRelLowerSet t P → IsRelLowerSet (s ∪ t) P

theorem IsRelUpperSet.inter E1 #

∀ {α : Type u_1} {s t : Set α} {P : α → Prop} [inst : LE α],
  IsRelUpperSet s P → IsRelUpperSet t P → IsRelUpperSet (s ∩ t) P

theorem IsRelLowerSet.inter E1 #

∀ {α : Type u_1} {s t : Set α} {P : α → Prop} [inst : LE α],
  IsRelLowerSet s P → IsRelLowerSet t P → IsRelLowerSet (s ∩ t) P

theorem IsRelUpperSet.sUnion E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] {S : Set (Set α)}, (∀ s ∈ S, IsRelUpperSet s P) → IsRelUpperSet (⋃₀ S) P

theorem IsRelLowerSet.sUnion E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] {S : Set (Set α)}, (∀ s ∈ S, IsRelLowerSet s P) → IsRelLowerSet (⋃₀ S) P

theorem IsRelUpperSet.iUnion E1 #

∀ {α : Type u_1} {ι : Sort u_2} {P : α → Prop} [inst : LE α] {f : ι → Set α},
  (∀ (i : ι), IsRelUpperSet (f i) P) → IsRelUpperSet (⋃ i, f i) P

theorem IsRelLowerSet.iUnion E1 #

∀ {α : Type u_1} {ι : Sort u_2} {P : α → Prop} [inst : LE α] {f : ι → Set α},
  (∀ (i : ι), IsRelLowerSet (f i) P) → IsRelLowerSet (⋃ i, f i) P

theorem IsRelUpperSet.iUnion₂ E1 #

∀ {α : Type u_1} {ι : Sort u_2} {κ : ι → Sort u_3} {P : α → Prop} [inst : LE α] {f : (i : ι) → κ i → Set α},
  (∀ (i : ι) (j : κ i), IsRelUpperSet (f i j) P) → IsRelUpperSet (⋃ i, ⋃ j, f i j) P

theorem IsRelLowerSet.iUnion₂ E1 #

∀ {α : Type u_1} {ι : Sort u_2} {κ : ι → Sort u_3} {P : α → Prop} [inst : LE α] {f : (i : ι) → κ i → Set α},
  (∀ (i : ι) (j : κ i), IsRelLowerSet (f i j) P) → IsRelLowerSet (⋃ i, ⋃ j, f i j) P

theorem IsRelUpperSet.sInter E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] {S : Set (Set α)},
  S.Nonempty → (∀ s ∈ S, IsRelUpperSet s P) → IsRelUpperSet (⋂₀ S) P

theorem IsRelLowerSet.sInter E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] {S : Set (Set α)},
  S.Nonempty → (∀ s ∈ S, IsRelLowerSet s P) → IsRelLowerSet (⋂₀ S) P

theorem IsRelUpperSet.iInter E1 #

∀ {α : Type u_1} {ι : Sort u_2} {P : α → Prop} [inst : LE α] [Nonempty ι] {f : ι → Set α},
  (∀ (i : ι), IsRelUpperSet (f i) P) → IsRelUpperSet (⋂ i, f i) P

theorem IsRelLowerSet.iInter E1 #

∀ {α : Type u_1} {ι : Sort u_2} {P : α → Prop} [inst : LE α] [Nonempty ι] {f : ι → Set α},
  (∀ (i : ι), IsRelLowerSet (f i) P) → IsRelLowerSet (⋂ i, f i) P

theorem IsRelUpperSet.iInter₂ E1 #

∀ {α : Type u_1} {ι : Sort u_2} {κ : ι → Sort u_3} {P : α → Prop} [inst : LE α] [Nonempty ι] [∀ (i : ι), Nonempty (κ i)]
  {f : (i : ι) → κ i → Set α}, (∀ (i : ι) (j : κ i), IsRelUpperSet (f i j) P) → IsRelUpperSet (⋂ i, ⋂ j, f i j) P

theorem IsRelLowerSet.iInter₂ E1 #

∀ {α : Type u_1} {ι : Sort u_2} {κ : ι → Sort u_3} {P : α → Prop} [inst : LE α] [Nonempty ι] [∀ (i : ι), Nonempty (κ i)]
  {f : (i : ι) → κ i → Set α}, (∀ (i : ι) (j : κ i), IsRelLowerSet (f i j) P) → IsRelLowerSet (⋂ i, ⋂ j, f i j) P

theorem isUpperSet_subtype_iff_isRelUpperSet E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] {s : Set { x // P x }}, IsUpperSet s ↔ IsRelUpperSet (Subtype.val '' s) P

theorem isLowerSet_subtype_iff_isRelLowerSet E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] {s : Set { x // P x }}, IsLowerSet s ↔ IsRelLowerSet (Subtype.val '' s) P

instance instSetLikeRelUpperSet E0 #

{α : Type u_1} → {P : α → Prop} → [inst : LE α] → SetLike (RelUpperSet P) α

instance instPartialOrderRelUpperSet E0 #

{α : Type u_1} → {P : α → Prop} → [inst : LE α] → PartialOrder (RelUpperSet P)

instance instSetLikeRelLowerSet E0 #

{α : Type u_1} → {P : α → Prop} → [inst : LE α] → SetLike (RelLowerSet P) α

theorem RelUpperSet.isRelUpperSet E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] (u : RelUpperSet P), IsRelUpperSet (↑u) P

theorem RelLowerSet.isRelLowerSet E1 #

∀ {α : Type u_1} {P : α → Prop} [inst : LE α] (l : RelLowerSet P), IsRelLowerSet (↑l) P

theorem isRelUpperSet_Icc_le E1 #

∀ {α : Type u_1} {a : α} [inst : Preorder α] {c : α}, IsRelUpperSet (Set.Icc a c) fun x ↦ x ≤ c

theorem isRelLowerSet_Icc_ge E1 #

∀ {α : Type u_1} {a : α} [inst : Preorder α] {c : α}, IsRelLowerSet (Set.Icc c a) fun x ↦ c ≤ x