Interactions between relation homomorphisms and sets #
It is likely that there are better homes for many of these statement, in files further down the import graph.
theorem
RelHomClass.map_inf
{α : Type u_1}
{β : Type u_2}
{F : Type u_3}
[SemilatticeInf α]
[LinearOrder β]
[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
{α : Type u_1}
{β : Type u_2}
{F : Type u_3}
[SemilatticeSup α]
[LinearOrder β]
[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.directedOn
{α : Type u_1}
{β : Type u_2}
{r : α → α → Prop}
{s : β → β → Prop}
{F : Type u_3}
[FunLike F α β]
[RelHomClass F r s]
{f : F}
{t : Set α}
(hs : DirectedOn r t)
:
DirectedOn s (⇑f '' t)
@[simp]
theorem
subrel_val
{α : Type u_1}
(r : α → α → Prop)
(p : α → Prop)
{a b : Subtype p}
:
Subrel r p a b ↔ r ↑a ↑b
The relation embedding from the inherited relation on a subset.
Instances For
@[simp]
theorem
Subrel.relEmbedding_apply
{α : Type u_1}
(r : α → α → Prop)
(p : α → Prop)
(a : Subtype p)
:
(Subrel.relEmbedding r p) a = ↑a
Set.inclusion as a relation embedding.
Instances For
@[simp]
theorem
Subrel.coe_inclusionEmbedding
{α : Type u_1}
(r : α → α → Prop)
{s t : Set α}
(h : s ⊆ t)
:
⇑(Subrel.inclusionEmbedding r h) = Set.inclusion h
instance
Subrel.instReflSubtype
{α : Type u_1}
(r : α → α → Prop)
[Std.Refl r]
(p : α → Prop)
:
Std.Refl (Subrel r p)
instance
Subrel.instSymmSubtype
{α : Type u_1}
(r : α → α → Prop)
[Std.Symm r]
(p : α → Prop)
:
Std.Symm (Subrel r p)
instance
Subrel.instAsymmSubtype
{α : Type u_1}
(r : α → α → Prop)
[Std.Asymm r]
(p : α → Prop)
:
Std.Asymm (Subrel r p)
instance
Subrel.instIrreflSubtype
{α : Type u_1}
(r : α → α → Prop)
[Std.Irrefl r]
(p : α → Prop)
:
Std.Irrefl (Subrel r p)
instance
Subrel.instTrichotomousSubtype
{α : Type u_1}
(r : α → α → Prop)
[Std.Trichotomous r]
(p : α → Prop)
:
Std.Trichotomous (Subrel r p)
instance
Subrel.instIsWellFoundedSubtype
{α : Type u_1}
(r : α → α → Prop)
[IsWellFounded α r]
(p : α → Prop)
:
IsWellFounded (Subtype p) (Subrel r p)
instance
Subrel.instIsPreorderSubtype
{α : Type u_1}
(r : α → α → Prop)
[IsPreorder α r]
(p : α → Prop)
:
IsPreorder (Subtype p) (Subrel r p)
instance
Subrel.instIsStrictOrderSubtype
{α : Type u_1}
(r : α → α → Prop)
[IsStrictOrder α r]
(p : α → Prop)
:
IsStrictOrder (Subtype p) (Subrel r p)
instance
Subrel.instIsWellOrderSubtype
{α : Type u_1}
(r : α → α → Prop)
[IsWellOrder α r]
(p : α → Prop)
:
IsWellOrder (Subtype p) (Subrel r p)
If a proposition holds for all elements, then the Subrel is equivalent to the original
relation.
Instances For
@[simp]
theorem
RelIso.subrelUnivIso_apply
{α : Type u_1}
{r : α → α → Prop}
{p : α → Prop}
(h : ∀ (x : α), p x)
(x : Subtype p)
:
(subrelUnivIso h) x = ↑x
@[simp]
theorem
RelIso.subrelUnivIso_symm_apply
{α : Type u_1}
{r : α → α → Prop}
{p : α → Prop}
(h : ∀ (x : α), p x)
(x : α)
:
(subrelUnivIso h).symm x = ⟨x, ⋯⟩
@[simp]
theorem
RelEmbedding.codRestrict_apply
{α : Type u_1}
{β : Type u_2}
{r : α → α → Prop}
{s : β → β → Prop}
(p : Set β)
(f : r ↪r s)
(H : ∀ (a : α), f a ∈ p)
(a : α)
:
(codRestrict p f H) a = ⟨f a, ⋯⟩
theorem
wellFounded_iff_wellFounded_subrel
{α : 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.