The areas / V04. Order and lattices
Mathlib.Order.RelIso.Set
31 declarations. Mathlib docs · Source
theorem Equiv.subtypeUnivEquiv.congr_simp E1 #
∀ {α : Sort u_8} {p : α → Prop} (h : ∀ (x : α), p x), Equiv.subtypeUnivEquiv h = Equiv.subtypeUnivEquiv h
theorem RelHomClass.map_inf E0 #
∀ {α : Type u_1} {β : Type u_2} {F : Type u_3} [inst : SemilatticeInf α] [inst_1 : LinearOrder β]
[inst_2 : FunLike F β α] [RelHomClass F (fun x1 x2 ↦ x1 < x2) fun x1 x2 ↦ x1 < x2] (a : F) (m n : β),
a (min m n) = a m ⊓ a n
theorem RelHomClass.map_sup E0 #
∀ {α : Type u_1} {β : Type u_2} {F : Type u_3} [inst : SemilatticeSup α] [inst_1 : LinearOrder β]
[inst_2 : FunLike F β α] [RelHomClass F (fun x1 x2 ↦ x1 > x2) fun x1 x2 ↦ x1 > x2] (a : F) (m n : β),
a (max m n) = a m ⊔ a n
theorem RelHomClass.directed E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} {F : Type u_3} [inst : FunLike F α β]
[RelHomClass F r s] {ι : Sort u_4} {a : ι → α} {f : F}, Directed r a → Directed s (⇑f ∘ a)
theorem RelHomClass.directedOn E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} {F : Type u_3} [inst : FunLike F α β]
[RelHomClass F r s] {f : F} {t : Set α}, DirectedOn r t → DirectedOn s (⇑f '' t)
theorem RelIso.range_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} (e : r ≃r s), Set.range ⇑e = Set.univ
def Subrel E1 #
{α : Type u_1} → (α → α → Prop) → (p : α → Prop) → Subtype p → Subtype p → Prop
Subrel r p is the inherited relation on a subtype.
We could also consider a Set.Subrel r s variant for dot notation, but this ends up interacting
poorly with simpNF.
theorem subrel_val E0 #
∀ {α : Type u_1} (r : α → α → Prop) (p : α → Prop) {a b : Subtype p}, Subrel r p a b ↔ r ↑a ↑b
def Subrel.relEmbedding E1 #
{α : Type u_1} → (r : α → α → Prop) → (p : α → Prop) → Subrel r p ↪r r
The relation embedding from the inherited relation on a subset.
theorem Subrel.relEmbedding_apply E0 #
∀ {α : Type u_1} (r : α → α → Prop) (p : α → Prop) (a : Subtype p), (Subrel.relEmbedding r p) a = ↑a
def Subrel.inclusionEmbedding E1 #
{α : Type u_1} → (r : α → α → Prop) → {s t : Set α} → s ⊆ t → (Subrel r fun x ↦ x ∈ s) ↪r Subrel r fun x ↦ x ∈ t
Set.inclusion as a relation embedding.
theorem Subrel.coe_inclusionEmbedding E0 #
∀ {α : Type u_1} (r : α → α → Prop) {s t : Set α} (h : s ⊆ t), ⇑(Subrel.inclusionEmbedding r h) = Set.inclusion h
instance Subrel.instReflSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Refl r] (p : α → Prop), Std.Refl (Subrel r p)
instance Subrel.instSymmSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Symm r] (p : α → Prop), Std.Symm (Subrel r p)
instance Subrel.instAsymmSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Asymm r] (p : α → Prop), Std.Asymm (Subrel r p)
instance Subrel.instIsTransSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [IsTrans α r] (p : α → Prop), IsTrans (Subtype p) (Subrel r p)
instance Subrel.instIrreflSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Irrefl r] (p : α → Prop), Std.Irrefl (Subrel r p)
instance Subrel.instTrichotomousSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Trichotomous r] (p : α → Prop), Std.Trichotomous (Subrel r p)
instance Subrel.instWellFoundedSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [WellFounded r] (p : α → Prop), WellFounded (Subrel r p)
instance Subrel.instIsPreorderSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [IsPreorder α r] (p : α → Prop), IsPreorder (Subtype p) (Subrel r p)
instance Subrel.instIsStrictOrderSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [IsStrictOrder α r] (p : α → Prop), IsStrictOrder (Subtype p) (Subrel r p)
instance Subrel.instIsWellOrderSubtype E0 #
∀ {α : Type u_1} (r : α → α → Prop) [IsWellOrder α r] (p : α → Prop), IsWellOrder (Subtype p) (Subrel r p)
def RelIso.subrelUnivIso E1 #
{α : Type u_1} → {r : α → α → Prop} → {p : α → Prop} → (∀ (x : α), p x) → Subrel r p ≃r r
If a proposition holds for all elements, then the Subrel is equivalent to the original
relation.
theorem RelIso.subrelUnivIso_symm_apply E0 #
∀ {α : Type u_1} {r : α → α → Prop} {p : α → Prop} (h : ∀ (x : α), p x) (x : α),
(RelIso.subrelUnivIso h).symm x = ⟨x, ⋯⟩
theorem RelIso.subrelUnivIso_apply E0 #
∀ {α : Type u_1} {r : α → α → Prop} {p : α → Prop} (h : ∀ (x : α), p x) (x : Subtype p), (RelIso.subrelUnivIso h) x = ↑x
def RelEmbedding.codRestrict E1 #
{α : Type u_1} →
{β : Type u_2} →
{r : α → α → Prop} →
{s : β → β → Prop} → (p : Set β) → (f : r ↪r s) → (∀ (a : α), f a ∈ p) → r ↪r Subrel s fun x ↦ x ∈ p
Restrict the codomain of a relation embedding.
theorem RelEmbedding.codRestrict_apply E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} (p : Set β) (f : r ↪r s) (H : ∀ (a : α), f a ∈ p)
(a : α), (RelEmbedding.codRestrict p f H) a = ⟨f a, ⋯⟩
theorem RelIso.image_eq_preimage_symm E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} (e : r ≃r s) (t : Set α), ⇑e '' t = ⇑e.symm ⁻¹' t
theorem RelIso.preimage_eq_image_symm E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} (e : r ≃r s) (t : Set β), ⇑e ⁻¹' t = ⇑e.symm '' t
theorem Acc.of_subrel E1 #
∀ {α : Type u_1} {r : α → α → Prop} [IsTrans α r] {b : α} (a : { a // r a b }),
Acc (Subrel r fun x ↦ r x b) a → Acc r ↑a
theorem wellFounded_iff_wellFounded_subrel E1 #
∀ {α : Type u_1} {r : α → α → Prop} [IsTrans α r], WellFounded r ↔ ∀ (b : α), WellFounded (Subrel r fun x ↦ r x b)
A relation r is well-founded iff every downward-interval { a | r a b } of it is
well-founded.