Documentation

Cslib.Foundations.Relation.Domain

Relations: Domain and Codomain #

This module proves basic properties of the domain and codomain of relations.

References #

@[simp]
theorem Relation.emptyHrelation_apply {α : Sort u_1} {β : Sort u_2} (a : α) (b : β) :
@[simp]
theorem Relation.mem_dom {α : Type u_2} {β : Type u_1} {r : αβProp} {a : α} :
a dom r (b : β), r a b
@[simp]
theorem Relation.mem_cod {α : Sort u_2} {β : Type u_1} {r : αβProp} {b : β} :
b cod r (a : α), r a b
theorem Relation.dom_mono {ι✝ : Type u_2} {ι✝¹ : Type u_3} {r₁ r₂ : ι✝ι✝¹Prop} (h : r₁ r₂) :
dom r₁ dom r₂
theorem Relation.cod_mono {ι✝ : Type u_2} {ι✝¹ : Type u_3} {r₁ r₂ : ι✝ι✝¹Prop} (h : r₁ r₂) :
cod r₁ cod r₂
@[simp]
theorem Relation.dom_empty {α : Type u_2} {β : Type u_1} :
@[simp]
theorem Relation.cod_empty {α : Sort u_2} {β : Type u_1} :
@[simp]
theorem Relation.dom_eq_empty_iff {α : Type u_2} {β : Type u_1} {r : αβProp} :
@[simp]
theorem Relation.cod_eq_empty_iff {α : Sort u_2} {β : Type u_1} {r : αβProp} :
@[simp]
theorem Relation.cod_inv {α : Type u_2} {β : Type u_1} {r : αβProp} :
(cod fun (a : β) (b : α) => r b a) = dom r
@[simp]
theorem Relation.dom_inv {α : Sort u_2} {β : Type u_1} {r : αβProp} :
(dom fun (a : β) (b : α) => r b a) = cod r