The areas / V04. Order and lattices
Mathlib.Order.Cover
179 declarations. Mathlib docs · Source
The covering relation
This file proves properties of the covering relation in an order.
We say that b covers a if a < b and there is no element in between.
We say that b weakly covers a if a ≤ b and there is no element between a and b.
In a partial order this is equivalent to a ⋖ b ∨ a = b,
in a preorder this is equivalent to a ⋖ b ∨ (a ≤ b ∧ b ≤ a)
Notation
a ⋖ bmeans thatbcoversa.a ⩿ bmeans thatbweakly coversa.
theorem WCovBy.le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → a ≤ b
theorem WCovBy.refl E1 #
∀ {α : Type u_1} [inst : Preorder α] (a : α), a ⩿ a
theorem WCovBy.rfl E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, a ⩿ a
theorem Eq.wcovBy' E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a = b → b ⩿ a
theorem Eq.wcovBy E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a = b → a ⩿ b
theorem wcovBy_of_le_of_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ≤ b → b ≤ a → a ⩿ b
theorem LE.le.wcovBy_of_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ≤ b → b ≤ a → a ⩿ b
Alias of wcovBy_of_le_of_le.
theorem AntisymmRel.wcovBy E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → a ⩿ b
theorem WCovBy.wcovBy_iff_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → (b ⩿ a ↔ b ≤ a)
theorem wcovBy_of_eq_or_eq E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ≤ b → (∀ (c : α), a ≤ c → c ≤ b → c = a ∨ c = b) → a ⩿ b
theorem AntisymmRel.trans_wcovBy E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → b ⩿ c → a ⩿ c
theorem wcovBy_congr_left E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → (a ⩿ c ↔ b ⩿ c)
theorem WCovBy.trans_antisymm_rel E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, a ⩿ b → AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) b c → a ⩿ c
theorem wcovBy_congr_right E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → (c ⩿ a ↔ c ⩿ b)
theorem not_wcovBy_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ≤ b → (¬a ⩿ b ↔ ∃ c, a < c ∧ c < b)
If a ≤ b, then b does not cover a iff there's an element in between.
instance instReflWCovBy E0 #
∀ {α : Type u_1} [inst : Preorder α], Std.Refl fun x1 x2 ↦ x1 ⩿ x2
instance instAntisymmWCovBy E0 #
∀ {α : Type u_3} [inst : PartialOrder α], Std.Antisymm fun x1 x2 ↦ x1 ⩿ x2
theorem WCovBy.Ioo_eq E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → Set.Ioo a b = ∅
theorem wcovBy_iff_Ioo_eq E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b ↔ a ≤ b ∧ Set.Ioo a b = ∅
theorem WCovBy.of_le_of_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, a ⩿ c → a ≤ b → b ≤ c → b ⩿ c
theorem WCovBy.of_le_of_le' E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, c ⩿ a → b ≤ a → c ≤ b → c ⩿ b
theorem WCovBy.of_image E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} (f : α ↪o β), f a ⩿ f b → a ⩿ b
theorem WCovBy.image E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} (f : α ↪o β),
a ⩿ b → (Set.range ⇑f).OrdConnected → f a ⩿ f b
theorem WCovBy.of_isLUB_Iio E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, IsLUB (Set.Iio b) a → a ⩿ b
theorem WCovBy.of_isGLB_Ioi E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, IsGLB (Set.Ioi a) b → a ⩿ b
theorem Set.OrdConnected.apply_wcovBy_apply_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} (f : α ↪o β),
(Set.range ⇑f).OrdConnected → (f a ⩿ f b ↔ a ⩿ b)
theorem apply_wcovBy_apply_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} {E : Type u_3}
[inst_2 : EquivLike E α β] [OrderIsoClass E α β] (e : E), e a ⩿ e b ↔ a ⩿ b
theorem toDual_wcovBy_toDual_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, OrderDual.toDual b ⩿ OrderDual.toDual a ↔ a ⩿ b
theorem ofDual_wcovBy_ofDual_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : αᵒᵈ}, OrderDual.ofDual a ⩿ OrderDual.ofDual b ↔ b ⩿ a
theorem WCovBy.toDual E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → OrderDual.toDual b ⩿ OrderDual.toDual a
Alias of the reverse direction of toDual_wcovBy_toDual_iff.
theorem WCovBy.ofDual E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : αᵒᵈ}, b ⩿ a → OrderDual.ofDual a ⩿ OrderDual.ofDual b
Alias of the reverse direction of ofDual_wcovBy_ofDual_iff.
theorem wcovBy_iff_le_and_eq_or_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b ↔ a ≤ b ∧ ∀ (c : α), a ≤ c → c ≤ b → c = a ∨ c = b
An iff version of WCovBy.eq_or_eq and wcovBy_of_eq_or_eq.
theorem WCovBy.le_and_le_iff E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b c : α}, a ⩿ b → (a ≤ c ∧ c ≤ b ↔ c = a ∨ c = b)
theorem WCovBy.Icc_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b → Set.Icc a b = {a, b}
theorem WCovBy.Ico_subset E1 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b → Set.Ico a b ⊆ {a}
theorem WCovBy.Ioc_subset E1 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b → Set.Ioc a b ⊆ {b}
theorem WCovBy.inf_eq E0 #
∀ {α : Type u_1} [inst : SemilatticeInf α] {a b c : α}, c ⩿ a → c ⩿ b → a ≠ b → a ⊓ b = c
theorem WCovBy.sup_eq E0 #
∀ {α : Type u_1} [inst : SemilatticeSup α] {a b c : α}, a ⩿ c → b ⩿ c → a ≠ b → a ⊔ b = c
theorem CovBy.lt E1 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, a ⋖ b → a < b
theorem not_covBy E1 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, ¬a ⋖ b ↔ a < b → ∃ c, a < c ∧ c < b
theorem not_covBy_iff E0 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, a < b → (¬a ⋖ b ↔ ∃ c, a < c ∧ c < b)
If a < b, then b does not cover a iff there's an element in between.
theorem exists_lt_lt_of_not_covBy E1 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, a < b → ¬a ⋖ b → ∃ c, a < c ∧ c < b
Alias of the forward direction of not_covBy_iff.
If a < b, then b does not cover a iff there's an element in between.
theorem LT.lt.exists_lt_lt E1 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, a < b → ¬a ⋖ b → ∃ c, a < c ∧ c < b
Alias of exists_lt_lt_of_not_covBy.
Alias of the forward direction of not_covBy_iff.
If a < b, then b does not cover a iff there's an element in between.
theorem not_covBy_of_denselyOrdered E1 #
∀ {α : Type u_1} [inst : LT α] {a b : α} [DenselyOrdered α], ¬a ⋖ b
In a dense order, nothing covers anything.
theorem denselyOrdered_iff_forall_not_covBy E1 #
∀ {α : Type u_1} [inst : LT α], DenselyOrdered α ↔ ∀ (a b : α), ¬a ⋖ b
theorem toDual_covBy_toDual_iff E0 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, OrderDual.toDual b ⋖ OrderDual.toDual a ↔ a ⋖ b
theorem ofDual_covBy_ofDual_iff E0 #
∀ {α : Type u_1} [inst : LT α] {a b : αᵒᵈ}, OrderDual.ofDual a ⋖ OrderDual.ofDual b ↔ b ⋖ a
theorem CovBy.toDual E1 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, a ⋖ b → OrderDual.toDual b ⋖ OrderDual.toDual a
Alias of the reverse direction of toDual_covBy_toDual_iff.
theorem CovBy.ofDual E1 #
∀ {α : Type u_1} [inst : LT α] {a b : αᵒᵈ}, b ⋖ a → OrderDual.ofDual a ⋖ OrderDual.ofDual b
Alias of the reverse direction of ofDual_covBy_ofDual_iff.
theorem covBy_irrefl E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ¬a ⋖ a
theorem not_covBy_iff_nonempty_Ioo E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a < b → (¬a ⋖ b ↔ (Set.Ioo a b).Nonempty)
theorem CovBy.le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b → a ≤ b
theorem CovBy.ne E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b → a ≠ b
theorem CovBy.ne' E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, b ⋖ a → a ≠ b
theorem CovBy.wcovBy E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b → a ⩿ b
theorem WCovBy.covBy_of_not_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → ¬b ≤ a → a ⋖ b
theorem WCovBy.covBy_of_lt E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → a < b → a ⋖ b
theorem CovBy.of_le_of_lt E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, a ⋖ c → a ≤ b → b < c → b ⋖ c
theorem CovBy.of_lt_of_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, a ⋖ c → a < b → b ≤ c → a ⋖ b
theorem not_covBy_of_lt_of_lt E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, a < b → b < c → ¬a ⋖ c
theorem not_covBy_iff_exists_mem_Ioo E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a < b → (¬a ⋖ b ↔ ∃ c, c ∈ Set.Ioo a b)
theorem covBy_iff_wcovBy_and_lt E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b ↔ a ⩿ b ∧ a < b
theorem covBy_iff_wcovBy_and_not_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b ↔ a ⩿ b ∧ ¬b ≤ a
theorem wcovBy_iff_covBy_or_le_and_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b ↔ a ⋖ b ∨ a ≤ b ∧ b ≤ a
theorem WCovBy.covBy_or_le_and_le E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⩿ b → a ⋖ b ∨ a ≤ b ∧ b ≤ a
Alias of the forward direction of wcovBy_iff_covBy_or_le_and_le.
theorem top_wcovBy_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] [inst_1 : OrderTop α] {a : α}, ⊤ ⩿ a ↔ ⊤ ≤ a
theorem wcovBy_bot_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] [inst_1 : OrderBot α] {a : α}, a ⩿ ⊥ ↔ a ≤ ⊥
theorem AntisymmRel.trans_covBy E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → b ⋖ c → a ⋖ c
theorem covBy_congr_left E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → (a ⋖ c ↔ b ⋖ c)
theorem CovBy.trans_antisymmRel E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, a ⋖ b → AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) b c → a ⋖ c
theorem covBy_congr_right E1 #
∀ {α : Type u_1} [inst : Preorder α] {a b c : α}, AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) a b → (c ⋖ a ↔ c ⋖ b)
instance instIsNonstrictStrictOrderWCovByCovBy E0 #
∀ {α : Type u_1} [inst : Preorder α], IsNonstrictStrictOrder α (fun x1 x2 ↦ x1 ⩿ x2) fun x1 x2 ↦ x1 ⋖ x2
instance instAsymmCovBy E0 #
∀ {α : Type u_1} [inst : Preorder α], Std.Asymm fun x1 x2 ↦ x1 ⋖ x2
theorem CovBy.Ioo_eq E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b → Set.Ioo a b = ∅
theorem covBy_iff_Ioo_eq E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a ⋖ b ↔ a < b ∧ Set.Ioo a b = ∅
theorem CovBy.of_image E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} (f : α ↪o β), f a ⋖ f b → a ⋖ b
theorem CovBy.image E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} (f : α ↪o β),
a ⋖ b → (Set.range ⇑f).OrdConnected → f a ⋖ f b
theorem Set.OrdConnected.apply_covBy_apply_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} (f : α ↪o β),
(Set.range ⇑f).OrdConnected → (f a ⋖ f b ↔ a ⋖ b)
theorem apply_covBy_apply_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {a b : α} {E : Type u_3}
[inst_2 : EquivLike E α β] [OrderIsoClass E α β] (e : E), e a ⋖ e b ↔ a ⋖ b
theorem covBy_of_eq_or_eq E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, a < b → (∀ (c : α), a ≤ c → c ≤ b → c = a ∨ c = b) → a ⋖ b
theorem WCovBy.covBy_of_ne E1 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b → a ≠ b → a ⋖ b
theorem covBy_iff_wcovBy_and_ne E1 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⋖ b ↔ a ⩿ b ∧ a ≠ b
theorem wcovBy_iff_covBy_or_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b ↔ a ⋖ b ∨ a = b
theorem wcovBy_iff_eq_or_covBy E1 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b ↔ a = b ∨ a ⋖ b
theorem WCovBy.covBy_or_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⩿ b → a ⋖ b ∨ a = b
Alias of the forward direction of wcovBy_iff_covBy_or_eq.
theorem covBy_iff_lt_and_eq_or_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⋖ b ↔ a < b ∧ ∀ (c : α), a ≤ c → c ≤ b → c = a ∨ c = b
An iff version of CovBy.eq_or_eq and covBy_of_eq_or_eq.
theorem CovBy.Ioc_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, b ⋖ a → Set.Ioc b a = {a}
theorem CovBy.Ico_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⋖ b → Set.Ico a b = {a}
theorem CovBy.Icc_eq E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, a ⋖ b → Set.Icc a b = {a, b}
theorem Set.Ico_eq_singleton_iff E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b c : α}, Set.Ico a b = {c} ↔ a = c ∧ a ⋖ b
theorem Set.Ioc_eq_singleton_iff E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b c : α}, Set.Ioc b a = {c} ↔ a = c ∧ b ⋖ a
theorem Set.Ico_eq_singleton_left_iff E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, Set.Ico a b = {a} ↔ a ⋖ b
theorem Set.Ioc_eq_singleton_right_iff E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {a b : α}, Set.Ioc b a = {a} ↔ b ⋖ a
theorem WCovBy.ge_of_gt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, b ⩿ a → b < c → a ≤ c
theorem WCovBy.le_of_lt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, a ⩿ b → c < b → c ≤ a
theorem CovBy.le_of_lt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, a ⋖ b → c < b → c ≤ a
theorem CovBy.ge_of_gt E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, b ⋖ a → b < c → a ≤ c
theorem CovBy.Ioi_eq E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, a ⋖ b → Set.Ioi a = Set.Ici b
theorem CovBy.Iio_eq E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, a ⋖ b → Set.Iio b = Set.Iic a
theorem CovBy.Ioo_eq_Ico E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, a ⋖ b → ∀ (c : α), Set.Ioo a c = Set.Ico b c
theorem CovBy.Ioo_eq_Ioc E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, b ⋖ a → ∀ (c : α), Set.Ioo c a = Set.Ioc c b
theorem Set.Ioo_eq_singleton_iff E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, Set.Ioo a b = {c} ↔ a ⋖ c ∧ c ⋖ b
theorem Set.Iio_eq_singleton_iff E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, Set.Iio a = {b} ↔ IsBot b ∧ b ⋖ a
theorem Set.Ioi_eq_singleton_iff E0 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, Set.Ioi a = {b} ↔ IsTop b ∧ a ⋖ b
theorem CovBy.unique_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, a ⋖ c → b ⋖ c → a = b
theorem CovBy.unique_right E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b c : α}, c ⋖ a → c ⋖ b → a = b
theorem covBy_iff_lt_iff_le_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, x ⋖ y ↔ ∀ {z : α}, z < y ↔ z ≤ x
theorem covBy_iff_lt_iff_le_right E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, y ⋖ x ↔ ∀ {z : α}, y < z ↔ x ≤ z
theorem covBy_iff_le_iff_lt_right E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, y ⋖ x ↔ ∀ {z : α}, x ≤ z ↔ y < z
theorem covBy_iff_le_iff_lt_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, x ⋖ y ↔ ∀ {z : α}, z ≤ x ↔ z < y
theorem CovBy.lt_iff_le_right E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, y ⋖ x → ∀ {z : α}, y < z ↔ x ≤ z
Alias of the forward direction of covBy_iff_lt_iff_le_right.
theorem CovBy.lt_iff_le_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, x ⋖ y → ∀ {z : α}, z < y ↔ z ≤ x
Alias of the forward direction of covBy_iff_lt_iff_le_left.
theorem CovBy.le_iff_lt_right E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, y ⋖ x → ∀ {z : α}, x ≤ z ↔ y < z
Alias of the forward direction of covBy_iff_le_iff_lt_right.
theorem CovBy.le_iff_lt_left E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {x y : α}, x ⋖ y → ∀ {z : α}, z ≤ x ↔ z < y
Alias of the forward direction of covBy_iff_le_iff_lt_left.
theorem LT.lt.exists_disjoint_Iio_Ioi E1 #
∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, a < b → ∃ a' > a, ∃ b' < b, ∀ x < a', ∀ y > b', x < y
If a < b then there exist a' > a and b' < b such that Set.Iio a' is strictly to the left
of Set.Ioi b'.
theorem CovBy.isLUB_Iio_of_linearOrder E1 #
∀ {α : Type u_3} [inst : LinearOrder α] {a b : α}, a ⋖ b → IsLUB (Set.Iio b) a
theorem CovBy.isGLB_Ioi_of_linearOrder E1 #
∀ {α : Type u_3} [inst : LinearOrder α] {a b : α}, a ⋖ b → IsGLB (Set.Ioi a) b
theorem Bool.wcovBy_iff E0 #
∀ {a b : Bool}, a ⩿ b ↔ a ≤ b
theorem Bool.covBy_iff E0 #
∀ {a b : Bool}, a ⋖ b ↔ a < b
theorem Set.wcovBy_insert E0 #
∀ {α : Type u_1} (x : α) (s : Set α), s ⩿ insert x s
theorem Set.sdiff_singleton_wcovBy E0 #
∀ {α : Type u_1} (s : Set α) (a : α), s \ {a} ⩿ s
theorem Set.covBy_insert E0 #
∀ {α : Type u_1} {s : Set α} {a : α}, a ∉ s → s ⋖ insert a s
theorem Set.empty_covBy_singleton E0 #
∀ {α : Type u_1} (a : α), ∅ ⋖ {a}
theorem Set.sdiff_singleton_covBy E0 #
∀ {α : Type u_1} {s : Set α} {a : α}, a ∈ s → s \ {a} ⋖ s
theorem CovBy.exists_set_insert E1 #
∀ {α : Type u_1} {s t : Set α}, s ⋖ t → ∃ a ∉ s, insert a s = t
theorem CovBy.exists_set_sdiff_singleton E1 #
∀ {α : Type u_1} {s t : Set α}, s ⋖ t → ∃ a ∈ t, t \ {a} = s
theorem Set.covBy_iff_exists_insert E1 #
∀ {α : Type u_1} {s t : Set α}, s ⋖ t ↔ ∃ a ∉ s, insert a s = t
theorem Set.covBy_iff_exists_sdiff_singleton E1 #
∀ {α : Type u_1} {s t : Set α}, s ⋖ t ↔ ∃ a ∈ t, t \ {a} = s
theorem wcovBy_eq_reflGen_covBy E1 #
∀ {α : Type u_1} [inst : PartialOrder α], (fun x1 x2 ↦ x1 ⩿ x2) = Relation.ReflGen fun x1 x2 ↦ x1 ⋖ x2
theorem transGen_wcovBy_eq_reflTransGen_covBy E1 #
∀ {α : Type u_1} [inst : PartialOrder α],
(Relation.TransGen fun x1 x2 ↦ x1 ⩿ x2) = Relation.ReflTransGen fun x1 x2 ↦ x1 ⋖ x2
theorem reflTransGen_wcovBy_eq_reflTransGen_covBy E1 #
∀ {α : Type u_1} [inst : PartialOrder α],
(Relation.ReflTransGen fun x1 x2 ↦ x1 ⩿ x2) = Relation.ReflTransGen fun x1 x2 ↦ x1 ⋖ x2
theorem Prod.swap_wcovBy_swap E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β}, x.swap ⩿ y.swap ↔ x ⩿ y
theorem Prod.swap_covBy_swap E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β}, x.swap ⋖ y.swap ↔ x ⋖ y
theorem Prod.fst_eq_or_snd_eq_of_wcovBy E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β},
x ⩿ y → x.1 = y.1 ∨ x.2 = y.2
theorem WCovBy.fst E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β}, x ⩿ y → x.1 ⩿ y.1
theorem WCovBy.snd E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β}, x ⩿ y → x.2 ⩿ y.2
theorem Prod.mk_wcovBy_mk_iff_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {a₁ a₂ : α} {b : β},
(a₁, b) ⩿ (a₂, b) ↔ a₁ ⩿ a₂
theorem Prod.mk_wcovBy_mk_iff_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {a : α} {b₁ b₂ : β},
(a, b₁) ⩿ (a, b₂) ↔ b₁ ⩿ b₂
theorem Prod.mk_covBy_mk_iff_left E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {a₁ a₂ : α} {b : β},
(a₁, b) ⋖ (a₂, b) ↔ a₁ ⋖ a₂
theorem Prod.mk_covBy_mk_iff_right E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {a : α} {b₁ b₂ : β},
(a, b₁) ⋖ (a, b₂) ↔ b₁ ⋖ b₂
theorem Prod.mk_wcovBy_mk_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {a₁ a₂ : α} {b₁ b₂ : β},
(a₁, b₁) ⩿ (a₂, b₂) ↔ a₁ ⩿ a₂ ∧ b₁ = b₂ ∨ b₁ ⩿ b₂ ∧ a₁ = a₂
theorem Prod.mk_covBy_mk_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {a₁ a₂ : α} {b₁ b₂ : β},
(a₁, b₁) ⋖ (a₂, b₂) ↔ a₁ ⋖ a₂ ∧ b₁ = b₂ ∨ b₁ ⋖ b₂ ∧ a₁ = a₂
theorem Prod.wcovBy_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β},
x ⩿ y ↔ x.1 ⩿ y.1 ∧ x.2 = y.2 ∨ x.2 ⩿ y.2 ∧ x.1 = y.1
theorem Prod.covBy_iff E0 #
∀ {α : Type u_1} {β : Type u_2} [inst : PartialOrder α] [inst_1 : PartialOrder β] {x y : α × β},
x ⋖ y ↔ x.1 ⋖ y.1 ∧ x.2 = y.2 ∨ x.2 ⋖ y.2 ∧ x.1 = y.1
theorem WCovBy.eval E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {a b : (i : ι) → α i},
a ⩿ b → ∀ (i : ι), a i ⩿ b i
theorem Pi.exists_forall_antisymmRel_of_covBy E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {a b : (i : ι) → α i},
a ⋖ b → ∃ i, ∀ (j : ι), j ≠ i → AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) (a j) (b j)
theorem Pi.exists_forall_antisymmRel_of_wcovBy E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {a b : (i : ι) → α i} [Nonempty ι],
a ⩿ b → ∃ i, ∀ (j : ι), j ≠ i → AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) (a j) (b j)
theorem Pi.wcovBy_iff_antisymmRel E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {a b : (i : ι) → α i} [Nonempty ι],
a ⩿ b ↔ ∃ i, a i ⩿ b i ∧ ∀ (j : ι), j ≠ i → AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) (a j) (b j)
A characterisation of the WCovBy relation in products of preorders. See Pi.wcovBy_iff for the
(more common) version in products of partial orders.
theorem Pi.covBy_iff_antisymmRel E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {a b : (i : ι) → α i},
a ⋖ b ↔ ∃ i, a i ⋖ b i ∧ ∀ (j : ι), j ≠ i → AntisymmRel (fun x1 x2 ↦ x1 ≤ x2) (a j) (b j)
A characterisation of the CovBy relation in products of preorders. See Pi.covBy_iff for the
(more common) version in products of partial orders.
theorem Pi.exists_forall_eq_of_covBy E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i},
a ⋖ b → ∃ i, ∀ (j : ι), j ≠ i → a j = b j
theorem Pi.exists_forall_eq_of_wcovBy E1 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i} [Nonempty ι],
a ⩿ b → ∃ i, ∀ (j : ι), j ≠ i → a j = b j
theorem Pi.wcovBy_iff E0 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i} [Nonempty ι],
a ⩿ b ↔ ∃ i, a i ⩿ b i ∧ ∀ (j : ι), j ≠ i → a j = b j
theorem Pi.covBy_iff E0 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i},
a ⋖ b ↔ ∃ i, a i ⋖ b i ∧ ∀ (j : ι), j ≠ i → a j = b j
theorem Pi.wcovBy_iff_exists_right_eq E0 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i} [Nonempty ι]
[inst_2 : DecidableEq ι], a ⩿ b ↔ ∃ i x, a i ⩿ x ∧ b = Function.update a i x
theorem Pi.covBy_iff_exists_right_eq E0 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i}
[inst_1 : DecidableEq ι], a ⋖ b ↔ ∃ i x, a i ⋖ x ∧ b = Function.update a i x
theorem Pi.wcovBy_iff_exists_left_eq E0 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i} [Nonempty ι]
[inst_2 : DecidableEq ι], a ⩿ b ↔ ∃ i x, x ⩿ b i ∧ a = Function.update b i x
theorem Pi.covBy_iff_exists_left_eq E0 #
∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → PartialOrder (α i)] {a b : (i : ι) → α i}
[inst_1 : DecidableEq ι], a ⋖ b ↔ ∃ i x, x ⋖ b i ∧ a = Function.update b i x
theorem WithTop.coe_covBy_coe E0 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, ↑a ⋖ ↑b ↔ a ⋖ b
theorem WithBot.coe_covBy_coe E0 #
∀ {α : Type u_1} [inst : LT α] {a b : α}, ↑b ⋖ ↑a ↔ b ⋖ a
theorem WithTop.not_covBy_top E0 #
∀ {α : Type u_1} [inst : LT α] [NoMaxOrder α] {a : WithTop α}, ¬a ⋖ ⊤
theorem WithBot.not_bot_covBy E0 #
∀ {α : Type u_1} [inst : LT α] [NoMinOrder α] {a : WithBot α}, ¬⊥ ⋖ a
theorem WithTop.not_top_covBy E0 #
∀ {α : Type u_1} [inst : LT α] {a : WithTop α}, ¬⊤ ⋖ a
theorem WithBot.not_covBy_bot E0 #
∀ {α : Type u_1} [inst : LT α] {a : WithBot α}, ¬a ⋖ ⊥
theorem WithBot.coe_wcovBy_coe E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, ↑b ⩿ ↑a ↔ b ⩿ a
theorem WithTop.coe_wcovBy_coe E0 #
∀ {α : Type u_1} [inst : Preorder α] {a b : α}, ↑a ⩿ ↑b ↔ a ⩿ b
theorem WithTop.covBy_top_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : WithTop α}, a ⋖ ⊤ ↔ ∃ b, a = ↑b ∧ IsMax b
theorem WithBot.bot_covBy_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : WithBot α}, ⊥ ⋖ a ↔ ∃ b, a = ↑b ∧ IsMin b
theorem WithTop.wcovBy_top_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : WithTop α}, a ⩿ ⊤ ↔ a = ⊤ ∨ ∃ b, a = ↑b ∧ IsMax b
theorem WithBot.bot_wcovBy_iff E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : WithBot α}, ⊥ ⩿ a ↔ a = ⊥ ∨ ∃ b, a = ↑b ∧ IsMin b
theorem WithTop.coe_covBy_top E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ↑a ⋖ ⊤ ↔ IsMax a
theorem WithBot.bot_covBy_coe E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ⊥ ⋖ ↑a ↔ IsMin a
theorem WithTop.coe_wcovBy_top E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ↑a ⩿ ⊤ ↔ IsMax a
theorem WithBot.bot_wcovBy_coe E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ⊥ ⩿ ↑a ↔ IsMin a
theorem WithBot.not_bot_wcovBy E1 #
∀ {α : Type u_1} [inst : Preorder α] [NoMinOrder α] {a : α}, ¬⊥ ⩿ ↑a
theorem WithTop.not_coe_wcovBy_top E1 #
∀ {α : Type u_1} [inst : Preorder α] [NoMaxOrder α] {a : α}, ¬↑a ⩿ ⊤
theorem WithBot.not_wcovBy_bot E1 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ¬↑a ⩿ ⊥
theorem WithTop.not_top_wcovBy_coe E0 #
∀ {α : Type u_1} [inst : Preorder α] {a : α}, ¬⊤ ⩿ ↑a
theorem exists_covBy_of_wellFoundedGT E1 #
∀ {α : Type u_1} [inst : Preorder α] [wf : WellFoundedGT α] ⦃a : α⦄, ¬IsMin a → ∃ a', a' ⋖ a
theorem exists_covBy_of_wellFoundedLT E1 #
∀ {α : Type u_1} [inst : Preorder α] [wf : WellFoundedLT α] ⦃a : α⦄, ¬IsMax a → ∃ a', a ⋖ a'