The areas / V01. The language of Mathlib
Mathlib.Logic.Relation
194 declarations and 29 deprecated aliases. Mathlib docs · Source
Relation closures
This file defines the reflexive, symmetric, transitive, reflexive transitive and equivalence closures of relations and proves some basic results on them.
Note that this is about unbundled relations, that is terms of types of the form α → β → Prop. For
the bundled version, see Rel.
Definitions
Relation.ReflGen: Reflexive closure.ReflGen rrelates everythingrrelated, plus for allait relatesawith itself. SoReflGen r a b ↔ r a b ∨ a = b.Relation.SymmGen: Symmetric closure. This is also the comparability relation, such thatSymmGen r a bmeans that eitherr a borr b a(seeMathlib.Order.Comparable)Relation.TransGen: Transitive closure.TransGen rrelates everythingrrelated transitively. SoTransGen r a b ↔ ∃ x₀ ... xₙ, r a x₀ ∧ r x₀ x₁ ∧ ... ∧ r xₙ b.Relation.ReflTransGen: Reflexive transitive closure.ReflTransGen rrelates everythingrrelated transitively, plus for allait relatesawith itself. SoReflTransGen r a b ↔ (∃ x₀ ... xₙ, r a x₀ ∧ r x₀ x₁ ∧ ... ∧ r xₙ b) ∨ a = b. It is the same as the reflexive closure of the transitive closure, or the transitive closure of the reflexive closure. In terms of rewriting systems, this means thatacan be rewritten tobin a number of rewrites.Relation.EqvGen: Equivalence closure.EqvGen rrelates everythingReflTransGen rrelates, plus for all related pairs it relates them in the opposite order.Relation.Comp: Relation composition. We provide notation∘r. Forr : α → β → Propands : β → γ → Prop,r ∘r srelatesa : αandc : γiff there existsb : βthat's related to both.Relation.Map: Image of a relation under a pair of maps. Forr : α → β → Prop,f : α → γ,g : β → δ,Map r f gis the relationγ → δ → Proprelatingf aandg bfor alla,brelated byr.Relation.Join: Join of a relation. Forr : α → α → Prop,Join r a b ↔ ∃ c, r a c ∧ r b c. In terms of rewriting systems, this means thataandbcan be rewritten to the same term.
ctor Relation.EqvGen.below.trans E0 #
∀ {α : Type u_1} {r : α → α → Prop} {motive : (a a_1 : α) → Relation.EqvGen r a a_1 → Prop} (x y z : α)
(a : Relation.EqvGen r x y) (a_1 : Relation.EqvGen r y z),
Relation.EqvGen.below a → motive x y a → Relation.EqvGen.below a_1 → motive y z a_1 → Relation.EqvGen.below ⋯
ctor Relation.ReflTransGen.below.refl E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a : α} {motive : (a_1 : α) → Relation.ReflTransGen r a a_1 → Prop},
Relation.ReflTransGen.below ⋯
ctor Relation.EqvGen.below.symm E0 #
∀ {α : Type u_1} {r : α → α → Prop} {motive : (a a_1 : α) → Relation.EqvGen r a a_1 → Prop} (x y : α)
(a : Relation.EqvGen r x y), Relation.EqvGen.below a → motive x y a → Relation.EqvGen.below ⋯
ctor Relation.EqvGen.below.rel E0 #
∀ {α : Type u_1} {r : α → α → Prop} {motive : (a a_1 : α) → Relation.EqvGen r a a_1 → Prop} (x y : α) (a : r x y),
Relation.EqvGen.below ⋯
ctor Relation.EqvGen.below.refl E0 #
∀ {α : Type u_1} {r : α → α → Prop} {motive : (a a_1 : α) → Relation.EqvGen r a a_1 → Prop} (x : α),
Relation.EqvGen.below ⋯
ctor Relation.ReflTransGen.below.tail E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a : α} {motive : (a_1 : α) → Relation.ReflTransGen r a a_1 → Prop} {b c : α}
(a_1 : Relation.ReflTransGen r a b) (a_2 : r b c),
Relation.ReflTransGen.below a_1 → motive b a_1 → Relation.ReflTransGen.below ⋯
theorem Subrelation.antisymm E1 #
∀ {α : Type u_1} {r r' : α → α → Prop}, r ≤ r' → r' ≤ r → r = r'
theorem Std.Refl.rel_of_ne_imp E1 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r] {x y : α}, (x ≠ y → r x y) → r x y
To show a reflexive relation r : α → α → Prop holds over x y : α,
it suffices to show it holds when x ≠ y.
theorem Std.Refl.ne_imp_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r] {x y : α}, x ≠ y → r x y ↔ r x y
If a reflexive relation r : α → α → Prop holds over x y : α,
then it holds whether or not x ≠ y.
theorem refl_iff_eq_le E1 #
∀ {α : Type u_1} {r : α → α → Prop}, Std.Refl r ↔ Eq ≤ r
theorem irrefl_iff_le_ne E1 #
∀ {α : Type u_1} {r : α → α → Prop}, Std.Irrefl r ↔ r ≤ Ne
theorem Std.Symm.iff E1 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Symm r] (x y : α), r x y ↔ r y x
theorem Std.Symm.flip_eq E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Symm r], flip r = r
theorem Std.Symm.swap_eq E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Symm r], Function.swap r = r
theorem flip_eq_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop}, flip r = r ↔ Std.Symm r
theorem swap_eq_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Function.swap r = r ↔ Std.Symm r
instance Std.Refl.comap E0 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop} [Std.Refl r] (f : α → β), Std.Refl (Function.onFun r f)
instance Std.Symm.comap E0 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop} [Std.Symm r] (f : α → β), Std.Symm (Function.onFun r f)
instance IsTrans.comap E0 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop} [IsTrans β r] (f : α → β), IsTrans α (Function.onFun r f)
instance IsEquiv.comap E0 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop} [IsEquiv β r] (f : α → β), IsEquiv α (Function.onFun r f)
theorem Equivalence.comap E1 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop}, Equivalence r → ∀ (f : α → β), Equivalence (Function.onFun r f)
def Relation.Comp E1 #
{α : Type u_1} → {β : Type u_2} → {γ : Type u_3} → (α → β → Prop) → (β → γ → Prop) → α → γ → Prop
The composition of two relations, yielding a new relation. The result
relates a term of α and a term of γ if there is an intermediate
term of β related to both.
theorem Relation.comp_eq_fun E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {r : α → β → Prop} (f : γ → β),
(Relation.Comp r fun x1 x2 ↦ x1 = f x2) = fun x1 x2 ↦ r x1 (f x2)
theorem Relation.comp_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → β → Prop}, (Relation.Comp r fun x1 x2 ↦ x1 = x2) = r
theorem Relation.fun_eq_comp E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {r : α → β → Prop} (f : γ → α),
Relation.Comp (fun x1 x2 ↦ f x1 = x2) r = fun x ↦ r (f x)
theorem Relation.iff_comp E0 #
∀ {α : Type u_1} {r : Prop → α → Prop}, Relation.Comp (fun x1 x2 ↦ x1 ↔ x2) r = r
theorem Relation.comp_iff E0 #
∀ {α : Type u_1} {r : α → Prop → Prop}, (Relation.Comp r fun x1 x2 ↦ x1 ↔ x2) = r
theorem Relation.comp_assoc E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r : α → β → Prop} {p : β → γ → Prop} {q : γ → δ → Prop},
Relation.Comp (Relation.Comp r p) q = Relation.Comp r (Relation.Comp p q)
theorem Relation.flip_comp E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {r : α → β → Prop} {p : β → γ → Prop},
flip (Relation.Comp r p) = Relation.Comp (flip p) (flip r)
def Relation.Fibration E1 #
{α : Type u_1} → {β : Type u_2} → (α → α → Prop) → (β → β → Prop) → (α → β) → Prop
A function f : α → β is a fibration between the relation rα and rβ if for all
a : α and b : β, whenever b : β and f a are related by rβ, b is the image
of some a' : α under f, and a' and a are related by rα.
theorem Acc.of_fibration E1 #
∀ {α : Type u_1} {β : Type u_2} {rα : α → α → Prop} {rβ : β → β → Prop} (f : α → β),
Relation.Fibration rα rβ f → ∀ {a : α}, Acc rα a → Acc rβ (f a)
If f : α → β is a fibration between relations rα and rβ, and a : α is
accessible under rα, then f a is accessible under rβ.
theorem Acc.of_downward_closed E1 #
∀ {α : Type u_1} {β : Type u_2} {rβ : β → β → Prop} (f : α → β),
(∀ {a : α} {b : β}, rβ b (f a) → ∃ c, f c = b) → ∀ (a : α), Acc (InvImage rβ f) a → Acc rβ (f a)
def Relation.Map E1 #
{α : Type u_1} → {β : Type u_2} → {γ : Type u_3} → {δ : Type u_4} → (α → β → Prop) → (α → γ) → (β → δ) → γ → δ → Prop
The map of a relation r through a pair of functions pushes the
relation to the codomains of the functions. The resulting relation is
defined by having pairs of terms related if they have preimages
related by r.
theorem Relation.map_apply E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r : α → β → Prop} {f : α → γ} {g : β → δ} {c : γ}
{d : δ}, Relation.Map r f g c d ↔ ∃ a b, r a b ∧ f a = c ∧ g b = d
theorem Relation.map_map E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {ε : Type u_5} {ζ : Type u_6} (r : α → β → Prop)
(f₁ : α → γ) (g₁ : β → δ) (f₂ : γ → ε) (g₂ : δ → ζ),
Relation.Map (Relation.Map r f₁ g₁) f₂ g₂ = Relation.Map r (f₂ ∘ f₁) (g₂ ∘ g₁)
theorem Relation.map_apply_apply E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {f : α → γ} {g : β → δ},
Function.Injective f →
Function.Injective g → ∀ (r : α → β → Prop) (a : α) (b : β), Relation.Map r f g (f a) (g b) ↔ r a b
theorem Relation.map_id_id E0 #
∀ {α : Type u_1} {β : Type u_2} (r : α → β → Prop), Relation.Map r id id = r
instance Relation.instDecidableMapOfExistsAndEq E0 #
{α : Type u_1} →
{β : Type u_2} →
{γ : Type u_3} →
{δ : Type u_4} →
{r : α → β → Prop} →
{f : α → γ} →
{g : β → δ} →
{c : γ} → {d : δ} → [Decidable (∃ a b, r a b ∧ f a = c ∧ g b = d)] → Decidable (Relation.Map r f g c d)
theorem Std.Refl.map E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} [Std.Refl r] {f : α → β},
Function.Surjective f → Std.Refl (Relation.Map r f f)
instance Std.Symm.map E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} [Std.Symm r] (f : α → β), Std.Symm (Relation.Map r f f)
theorem IsTrans.map E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} [IsTrans α r] {f : α → β},
(∀ (x y : α), f x = f y → r x y) → IsTrans β (Relation.Map r f f)
theorem Relation.map_equivalence E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop},
Equivalence r →
∀ (f : α → β), Function.Surjective f → (∀ (x y : α), f x = f y → r x y) → Equivalence (Relation.Map r f f)
theorem Relation.map_mono E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r s : α → β → Prop} {f : α → γ} {g : β → δ},
r ≤ s → Relation.Map r f g ≤ Relation.Map s f g
theorem Relation.bicompl_le_of_le_map E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r : α → β → Prop} {s : γ → δ → Prop} {f : α → γ}
{g : β → δ}, Function.Injective f → Function.Injective g → s ≤ Relation.Map r f g → Function.bicompl s f g ≤ r
theorem Relation.onFun_le_of_le_map E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} {f : α → β},
Function.Injective f → s ≤ Relation.Map r f f → Function.onFun s f ≤ r
theorem Relation.le_map_of_bicompl_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r : α → β → Prop} {s : γ → δ → Prop} {f : α → γ}
{g : β → δ}, Function.Surjective f → Function.Surjective g → Function.bicompl s f g ≤ r → s ≤ Relation.Map r f g
theorem Relation.le_map_of_onFun_le E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} {f : α → β},
Function.Surjective f → Function.onFun s f ≤ r → s ≤ Relation.Map r f f
theorem Relation.le_map_iff_bicompl_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r : α → β → Prop} {s : γ → δ → Prop} {f : α → γ}
{g : β → δ}, Function.Bijective f → Function.Bijective g → (s ≤ Relation.Map r f g ↔ Function.bicompl s f g ≤ r)
theorem Relation.le_map_iff_onFun_le E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} {f : α → β},
Function.Bijective f → (s ≤ Relation.Map r f f ↔ Function.onFun s f ≤ r)
theorem Relation.map_le_iff_le_bicompl E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {r : α → β → Prop} {s : γ → δ → Prop} {f : α → γ}
{g : β → δ}, Relation.Map r f g ≤ s ↔ r ≤ Function.bicompl s f g
theorem Relation.map_le_iff_le_onFun E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {s : β → β → Prop} {f : α → β},
Relation.Map r f f ≤ s ↔ r ≤ Function.onFun s f
theorem Relation.le_bicompl_map E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (r : α → β → Prop) {f : α → γ} {g : β → δ},
r ≤ Function.bicompl (Relation.Map r f g) f g
theorem Relation.le_onFun_map E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} (f : α → β), r ≤ Function.onFun (Relation.Map r f f) f
theorem Relation.bicompl_map_eq_of_injective E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (r : α → β → Prop) {f : α → γ} {g : β → δ},
Function.Injective f → Function.Injective g → Function.bicompl (Relation.Map r f g) f g = r
theorem Relation.onFun_map_eq_of_injective E1 #
∀ {α : Type u_1} {β : Type u_2} (r : α → α → Prop) {f : α → β},
Function.Injective f → Function.onFun (Relation.Map r f f) f = r
theorem Relation.map_bicompl_le E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (s : γ → δ → Prop) (f : α → γ) (g : β → δ),
Relation.Map (Function.bicompl s f g) f g ≤ s
theorem Relation.map_onFun_le E0 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop} (f : α → β), Relation.Map (Function.onFun r f) f f ≤ r
theorem Relation.map_bicompl_eq_of_surjective E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (s : γ → δ → Prop) {f : α → γ} {g : β → δ},
Function.Surjective f → Function.Surjective g → Relation.Map (Function.bicompl s f g) f g = s
theorem Relation.map_onFun_eq_of_surjective E0 #
∀ {α : Type u_1} {β : Type u_2} (r : β → β → Prop) {f : α → β},
Function.Surjective f → Relation.Map (Function.onFun r f) f f = r
theorem Relation.map_bicompl_map_eq_map E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (r : α → β → Prop) (f : α → γ) (g : β → δ),
Relation.Map (Function.bicompl (Relation.Map r f g) f g) f g = Relation.Map r f g
theorem Relation.map_onFun_map_eq_map E0 #
∀ {α : Type u_1} {β : Type u_2} (r : α → α → Prop) (f : α → β),
Relation.Map (Function.onFun (Relation.Map r f f) f) f f = Relation.Map r f f
theorem Relation.bicompl_map_bicompl_eq_bicompl E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (s : γ → δ → Prop) (f : α → γ) (g : β → δ),
Function.bicompl (Relation.Map (Function.bicompl s f g) f g) f g = Function.bicompl s f g
theorem Relation.onFun_map_onFun_eq_onFun E1 #
∀ {α : Type u_1} {β : Type u_2} (r : β → β → Prop) (f : α → β),
Function.onFun (Relation.Map (Function.onFun r f) f f) f = Function.onFun r f
theorem Relation.bicompl_map_bicompl_iff_bicompl E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {s : γ → δ → Prop} {f : α → γ} {g : β → δ} {a : α}
{b : β}, Relation.Map (Function.bicompl s f g) f g (f a) (g b) ↔ s (f a) (g b)
theorem Relation.onFun_map_onFun_iff_onFun E1 #
∀ {α : Type u_1} {β : Type u_2} {r : β → β → Prop} {f : α → β} {a b : α},
Relation.Map (Function.onFun r f) f f (f a) (f b) ↔ r (f a) (f b)
theorem Acc.of_map E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {f : α → β} {a : α}, Acc (Relation.Map r f f) (f a) → Acc r a
theorem Function.Injective.acc_map_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {f : α → β} {a : α},
Function.Injective f → (Acc (Relation.Map r f f) (f a) ↔ Acc r a)
inductive Relation.ReflTransGen E1 #
{α : Type u_1} → (α → α → Prop) → α → α → Prop
ReflTransGen r: reflexive transitive closure of r
theorem Relation.ReflTransGen.cases_tail_iff E0 #
∀ {α : Type u_1} (r : α → α → Prop) (a a_1 : α),
Relation.ReflTransGen r a a_1 ↔ a_1 = a ∨ ∃ b, Relation.ReflTransGen r a b ∧ r b a_1
ctor Relation.ReflTransGen.refl E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a : α}, Relation.ReflTransGen r a a
ctor Relation.ReflTransGen.tail E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α}, Relation.ReflTransGen r a b → r b c → Relation.ReflTransGen r a c
inductive Relation.ReflGen E1 #
{α : Type u_1} → (α → α → Prop) → α → α → Prop
ReflGen r: reflexive closure of r
theorem Relation.reflGen_iff E0 #
∀ {α : Type u_1} (r : α → α → Prop) (a a_1 : α), Relation.ReflGen r a a_1 ↔ a_1 = a ∨ r a a_1
ctor Relation.ReflGen.refl E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a : α}, Relation.ReflGen r a a
ctor Relation.ReflGen.single E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, r a b → Relation.ReflGen r a b
def Relation.SymmGen E3 #
{α : Type u_1} → (α → α → Prop) → α → α → Prop
SymmGen r: symmetric closure of r. This is also the comparability relation, such
that SymmGen r a b means that either r a b or r b a (see Mathlib.Order.Comparable).
inductive Relation.EqvGen E1 #
{α : Type u_1} → (α → α → Prop) → α → α → Prop
EqvGen r: equivalence closure of r.
theorem Relation.eqvGen_iff E0 #
∀ {α : Type u_1} (r : α → α → Prop) (a a_1 : α),
Relation.EqvGen r a a_1 ↔
r a a_1 ∨ a_1 = a ∨ Relation.EqvGen r a_1 a ∨ ∃ y, Relation.EqvGen r a y ∧ Relation.EqvGen r y a_1
ctor Relation.EqvGen.rel E0 #
∀ {α : Type u_1} {r : α → α → Prop} (x y : α), r x y → Relation.EqvGen r x y
ctor Relation.EqvGen.refl E0 #
∀ {α : Type u_1} {r : α → α → Prop} (x : α), Relation.EqvGen r x x
ctor Relation.EqvGen.symm E0 #
∀ {α : Type u_1} {r : α → α → Prop} (x y : α), Relation.EqvGen r x y → Relation.EqvGen r y x
ctor Relation.EqvGen.trans E0 #
∀ {α : Type u_1} {r : α → α → Prop} (x y z : α), Relation.EqvGen r x y → Relation.EqvGen r y z → Relation.EqvGen r x z
theorem Relation.transGen_iff E0 #
∀ {α : Sort u} (r : α → α → Prop) (a a_1 : α),
Relation.TransGen r a a_1 ↔ r a a_1 ∨ ∃ b, Relation.TransGen r a b ∧ r b a_1
theorem Relation.reflGen_le_reflTransGen E1 #
∀ {α : Type u_1} {r : α → α → Prop}, Relation.ReflGen r ≤ Relation.ReflTransGen r
theorem Relation.ReflGen.to_reflTransGen E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.ReflGen r a b → Relation.ReflTransGen r a b
theorem Relation.ReflGen.mono E1 #
∀ {α : Type u_1} {r p : α → α → Prop}, r ≤ p → Relation.ReflGen r ≤ Relation.ReflGen p
instance Relation.ReflGen.instRefl E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Std.Refl (Relation.ReflGen r)
instance Relation.ReflGen.stdSymm E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Symm r], Std.Symm (Relation.ReflGen r)
instance Relation.ReflGen.instIsPreorderOfIsTrans E0 #
∀ {α : Type u_1} {r : α → α → Prop} [IsTrans α r], IsPreorder α (Relation.ReflGen r)
theorem Relation.SymmGen.of_rel E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, r a b → Relation.SymmGen r a b
theorem Relation.SymmGen.of_rel_symm E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, r b a → Relation.SymmGen r a b
theorem Relation.SymmGen.swap E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.SymmGen r b a → Relation.SymmGen (Function.swap r) a b
theorem Relation.SymmGen.refl E0 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Refl r] (a : α), Relation.SymmGen r a a
theorem Relation.SymmGen.rfl E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a : α} [Std.Refl r], Relation.SymmGen r a a
instance Relation.SymmGen.instRefl E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r], Std.Refl (Relation.SymmGen r)
theorem Relation.SymmGen.symm E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.SymmGen r a b → Relation.SymmGen r b a
instance Relation.SymmGen.instSymm E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Std.Symm (Relation.SymmGen r)
instance Relation.SymmGen.decidableRel E0 #
{α : Type u_1} → {r : α → α → Prop} → [DecidableRel r] → DecidableRel (Relation.SymmGen r)
theorem Relation.SymmGen.of_le E1 #
∀ {α : Type u_7} [inst : LE α] {a b : α}, a ≤ b → Relation.SymmGen (fun x1 x2 ↦ x1 ≤ x2) a b
theorem Relation.SymmGen.of_ge E1 #
∀ {α : Type u_7} [inst : LE α] {a b : α}, b ≤ a → Relation.SymmGen (fun x1 x2 ↦ x1 ≤ x2) a b
theorem LE.le.symmGen E1 #
∀ {α : Type u_7} [inst : LE α] {a b : α}, a ≤ b → Relation.SymmGen (fun x1 x2 ↦ x1 ≤ x2) a b
Alias of Relation.SymmGen.of_le.
theorem LE.le.symmGen_symm E1 #
∀ {α : Type u_7} [inst : LE α] {a b : α}, b ≤ a → Relation.SymmGen (fun x1 x2 ↦ x1 ≤ x2) a b
Alias of Relation.SymmGen.of_ge.
theorem Relation.ReflTransGen.trans E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α},
Relation.ReflTransGen r a b → Relation.ReflTransGen r b c → Relation.ReflTransGen r a c
theorem Relation.ReflTransGen.single E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, r a b → Relation.ReflTransGen r a b
theorem Relation.ReflTransGen.le_reflTransGen E1 #
∀ {α : Type u_1} {r : α → α → Prop}, r ≤ Relation.ReflTransGen r
theorem Relation.ReflTransGen.head E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α}, r a b → Relation.ReflTransGen r b c → Relation.ReflTransGen r a c
instance Relation.ReflTransGen.stdSymm E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Symm r], Std.Symm (Relation.ReflTransGen r)
theorem Relation.ReflTransGen.cases_tail E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α},
Relation.ReflTransGen r a b → b = a ∨ ∃ c, Relation.ReflTransGen r a c ∧ r c b
theorem Relation.ReflTransGen.head_induction_on E1 #
∀ {α : Type u_1} {r : α → α → Prop} {b : α} {motive : (a : α) → Relation.ReflTransGen r a b → Prop} {a : α}
(h : Relation.ReflTransGen r a b),
motive b ⋯ → (∀ {a c : α} (h' : r a c) (h : Relation.ReflTransGen r c b), motive c h → motive a ⋯) → motive a h
theorem Relation.ReflTransGen.trans_induction_on E1 #
∀ {α : Type u_1} {r : α → α → Prop} {motive : {a b : α} → Relation.ReflTransGen r a b → Prop} {a b : α}
(h : Relation.ReflTransGen r a b),
(∀ (a : α), motive ⋯) →
(∀ {a b : α} (h : r a b), motive ⋯) →
(∀ {a b c : α} (h₁ : Relation.ReflTransGen r a b) (h₂ : Relation.ReflTransGen r b c),
motive h₁ → motive h₂ → motive ⋯) →
motive h
theorem Relation.ReflTransGen.cases_head E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α},
Relation.ReflTransGen r a b → a = b ∨ ∃ c, r a c ∧ Relation.ReflTransGen r c b
theorem Relation.ReflTransGen.cases_head_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α},
Relation.ReflTransGen r a b ↔ a = b ∨ ∃ c, r a c ∧ Relation.ReflTransGen r c b
theorem Relation.ReflTransGen.total_of_right_unique E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α},
Relator.RightUnique r →
Relation.ReflTransGen r a b →
Relation.ReflTransGen r a c → Relation.ReflTransGen r b c ∨ Relation.ReflTransGen r c b
theorem Relation.transGen_le_reflTransGen E1 #
∀ {α : Type u_1} {r : α → α → Prop}, Relation.TransGen r ≤ Relation.ReflTransGen r
theorem Relation.TransGen.to_reflTransGen E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.TransGen r a b → Relation.ReflTransGen r a b
theorem Relation.TransGen.trans_left E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α},
Relation.TransGen r a b → Relation.ReflTransGen r b c → Relation.TransGen r a c
theorem Relation.TransGen.head' E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α}, r a b → Relation.ReflTransGen r b c → Relation.TransGen r a c
theorem Relation.TransGen.tail' E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α}, Relation.ReflTransGen r a b → r b c → Relation.TransGen r a c
theorem Relation.TransGen.head E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α}, r a b → Relation.TransGen r b c → Relation.TransGen r a c
theorem Relation.TransGen.head_induction_on E1 #
∀ {α : Type u_1} {r : α → α → Prop} {b : α} {motive : (a : α) → Relation.TransGen r a b → Prop} {a : α}
(h : Relation.TransGen r a b),
(∀ {a : α} (h : r a b), motive a ⋯) →
(∀ {a c : α} (h' : r a c) (h : Relation.TransGen r c b), motive c h → motive a ⋯) → motive a h
theorem Relation.TransGen.trans_induction_on E1 #
∀ {α : Type u_1} {r : α → α → Prop} {motive : {a b : α} → Relation.TransGen r a b → Prop} {a b : α}
(h : Relation.TransGen r a b),
(∀ {a b : α} (h : r a b), motive ⋯) →
(∀ {a b c : α} (h₁ : Relation.TransGen r a b) (h₂ : Relation.TransGen r b c), motive h₁ → motive h₂ → motive ⋯) →
motive h
theorem Relation.TransGen.trans_right E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α},
Relation.ReflTransGen r a b → Relation.TransGen r b c → Relation.TransGen r a c
theorem Relation.TransGen.tail'_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a c : α}, Relation.TransGen r a c ↔ ∃ b, Relation.ReflTransGen r a b ∧ r b c
theorem Relation.TransGen.head'_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a c : α}, Relation.TransGen r a c ↔ ∃ b, r a b ∧ Relation.ReflTransGen r b c
instance Relation.TransGen.stdSymm E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Symm r], Std.Symm (Relation.TransGen r)
instance Relation.TransGen.instIsTrans E0 #
∀ {α : Type u_1} {r : α → α → Prop}, IsTrans α (Relation.TransGen r)
instance Relation.TransGen.instIsPreorderOfRefl E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r], IsPreorder α (Relation.TransGen r)
theorem Relation.reflGen_eq_self E1 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r], Relation.ReflGen r = r
theorem Relation.reflGen_minimal E1 #
∀ {α : Type u_1} {r r' : α → α → Prop} [Std.Refl r'], r ≤ r' → Relation.ReflGen r ≤ r'
theorem Relation.symmGen_swap E1 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.SymmGen (Function.swap r) = Relation.SymmGen r
theorem Relation.symmGen_swap_apply E0 #
∀ {α : Type u_1} {a b : α} (r : α → α → Prop), Relation.SymmGen (Function.swap r) a b ↔ Relation.SymmGen r a b
theorem Relation.symmGen_comm E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.SymmGen r a b ↔ Relation.SymmGen r b a
theorem Relation.symmGen_of_total E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Total r] (a b : α), Relation.SymmGen r a b
instance Relation.instTransTransGen_mathlib E0 #
{α : Type u_1} → {r : α → α → Prop} → Trans (Relation.TransGen r) r (Relation.TransGen r)
instance Relation.instTransTransGen_mathlib_1 E0 #
{α : Type u_1} → {r : α → α → Prop} → Trans r (Relation.TransGen r) (Relation.TransGen r)
instance Relation.instTransTransGenReflTransGen E0 #
{α : Type u_1} → {r : α → α → Prop} → Trans (Relation.TransGen r) (Relation.ReflTransGen r) (Relation.TransGen r)
instance Relation.instTransReflTransGenTransGen E0 #
{α : Type u_1} → {r : α → α → Prop} → Trans (Relation.ReflTransGen r) (Relation.TransGen r) (Relation.TransGen r)
theorem Relation.transGen_eq_self E1 #
∀ {α : Type u_1} {r : α → α → Prop} [IsTrans α r], Relation.TransGen r = r
theorem Relation.TransGen.lift E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {p : β → β → Prop} (f : α → β),
r ≤ Function.onFun p f → Relation.TransGen r ≤ Function.onFun (Relation.TransGen p) f
theorem Relation.TransGen.lift' E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {p : β → β → Prop} (f : α → β),
r ≤ Function.onFun (Relation.TransGen p) f → Relation.TransGen r ≤ Function.onFun (Relation.TransGen p) f
theorem Relation.TransGen.closed E1 #
∀ {α : Type u_1} {r p : α → α → Prop}, r ≤ Relation.TransGen p → Relation.TransGen r ≤ Relation.TransGen p
theorem Relation.TransGen.closed' E1 #
∀ {α : Type u_1} {r : α → α → Prop} {P : α → Prop},
(∀ {a b : α}, r a b → P b → P a) → ∀ {a b : α}, Relation.TransGen r a b → P b → P a
theorem Relation.TransGen.mono E1 #
∀ {α : Type u_1} {r p : α → α → Prop}, r ≤ p → Relation.TransGen r ≤ Relation.TransGen p
theorem Relation.transGen_minimal E1 #
∀ {α : Type u_1} {r r' : α → α → Prop} [IsTrans α r'], r ≤ r' → Relation.TransGen r ≤ r'
theorem Relation.TransGen.swap E1 #
∀ {α : Type u_1} {r : α → α → Prop}, Function.swap (Relation.TransGen r) ≤ Relation.TransGen (Function.swap r)
theorem Relation.transGen_swap E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.TransGen (Function.swap r) a b ↔ Relation.TransGen r b a
theorem Relation.reflTransGen_iff_eq E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, (∀ (b : α), ¬r a b) → (Relation.ReflTransGen r a b ↔ b = a)
theorem Relation.reflTransGen_iff_eq_or_transGen E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.ReflTransGen r a b ↔ b = a ∨ Relation.TransGen r a b
theorem Relation.ReflTransGen.lift E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {p : β → β → Prop} (f : α → β),
r ≤ Function.onFun p f → Relation.ReflTransGen r ≤ Function.onFun (Relation.ReflTransGen p) f
theorem Relation.ReflTransGen.mono E1 #
∀ {α : Type u_1} {r p : α → α → Prop}, r ≤ p → Relation.ReflTransGen r ≤ Relation.ReflTransGen p
theorem Relation.reflTransGen_eq_self E1 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r] [IsTrans α r], Relation.ReflTransGen r = r
instance Relation.instTransReflTransGen E0 #
{α : Type u_1} → {r : α → α → Prop} → Trans r (Relation.ReflTransGen r) (Relation.ReflTransGen r)
instance Relation.instTransReflTransGen_1 E0 #
{α : Type u_1} → {r : α → α → Prop} → Trans (Relation.ReflTransGen r) r (Relation.ReflTransGen r)
instance Relation.instIsPreorderReflTransGen E0 #
∀ {α : Type u_1} {r : α → α → Prop}, IsPreorder α (Relation.ReflTransGen r)
theorem Relation.ReflTransGen.lift' E1 #
∀ {α : Type u_1} {β : Type u_2} {r : α → α → Prop} {p : β → β → Prop} (f : α → β),
r ≤ Function.onFun (Relation.ReflTransGen p) f → Relation.ReflTransGen r ≤ Function.onFun (Relation.ReflTransGen p) f
theorem Relation.reflTransGen_closed E1 #
∀ {α : Type u_1} {r p : α → α → Prop}, r ≤ Relation.ReflTransGen p → Relation.ReflTransGen r ≤ Relation.ReflTransGen p
theorem Relation.ReflTransGen.swap E1 #
∀ {α : Type u_1} {r : α → α → Prop}, Function.swap (Relation.ReflTransGen r) ≤ Relation.ReflTransGen (Function.swap r)
theorem Relation.reflTransGen_swap E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.ReflTransGen (Function.swap r) a b ↔ Relation.ReflTransGen r b a
theorem Relation.reflGen_transGen E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Relation.ReflGen (Relation.TransGen r) = Relation.ReflTransGen r
theorem Relation.transGen_reflGen E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Relation.TransGen (Relation.ReflGen r) = Relation.ReflTransGen r
theorem Relation.reflTransGen_reflGen E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Relation.ReflTransGen (Relation.ReflGen r) = Relation.ReflTransGen r
theorem Relation.reflTransGen_transGen E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Relation.ReflTransGen (Relation.TransGen r) = Relation.ReflTransGen r
theorem Relation.reflTransGen_eq_transGen E1 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r], Relation.ReflTransGen r = Relation.TransGen r
theorem Relation.reflTransGen_eq_reflGen E1 #
∀ {α : Type u_1} {r : α → α → Prop} [IsTrans α r], Relation.ReflTransGen r = Relation.ReflGen r
theorem Relation.EqvGen.equivalence E1 #
∀ {α : Type u_1} (r : α → α → Prop), Equivalence (Relation.EqvGen r)
instance Relation.instIsEquivEqvGen E0 #
∀ {α : Type u_1} (r : α → α → Prop), IsEquiv α (Relation.EqvGen r)
def Relation.EqvGen.setoid E1 #
{α : Type u_1} → (α → α → Prop) → Setoid α
EqvGen.setoid r is the setoid generated by a relation r.
The motivation for this definition is that Quot r behaves like Quotient (EqvGen.setoid r),
see for example Quot.eqvGen_exact and Quot.eqvGen_sound.
theorem Relation.EqvGen.mono E1 #
∀ {α : Type u_1} {r p : α → α → Prop}, r ≤ p → Relation.EqvGen r ≤ Relation.EqvGen p
theorem Relation.eqvGen_le E1 #
∀ {α : Type u_1} {r r' : α → α → Prop} [IsEquiv α r'], r ≤ r' → Relation.EqvGen r ≤ r'
theorem Relation.reflGen_le_eqvGen E1 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.ReflGen r ≤ Relation.EqvGen r
theorem Relation.symmGen_le_eqvGen E1 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.SymmGen r ≤ Relation.EqvGen r
theorem Relation.transGen_le_eqvGen E1 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.TransGen r ≤ Relation.EqvGen r
theorem Relation.reflTransGen_le_eqvGen E1 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.ReflTransGen r ≤ Relation.EqvGen r
theorem Relation.eqvGen_reflGen E0 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.EqvGen (Relation.ReflGen r) = Relation.EqvGen r
theorem Relation.eqvGen_transGen E0 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.EqvGen (Relation.TransGen r) = Relation.EqvGen r
theorem Relation.eqvGen_symmGen E0 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.EqvGen (Relation.SymmGen r) = Relation.EqvGen r
theorem Relation.eqvGen_reflTransGen E0 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.EqvGen (Relation.ReflTransGen r) = Relation.EqvGen r
theorem Relation.eqvGen_eq_reflTransGen E1 #
∀ {α : Type u_1} (r : α → α → Prop) [Std.Symm r], Relation.EqvGen r = Relation.ReflTransGen r
theorem Relation.reflTransGen_symmGen E1 #
∀ {α : Type u_1} (r : α → α → Prop), Relation.ReflTransGen (Relation.SymmGen r) = Relation.EqvGen r
def Relation.Join E1 #
{α : Type u_1} → (α → α → Prop) → α → α → Prop
The join of a relation on a single type is a new relation for which
pairs of terms are related if there is a third term they are both
related to. For example, if r is a relation representing rewrites
in a term rewriting system, then confluence is the property that if
a rewrites to both b and c, then join r relates b and c
(see Relation.church_rosser).
theorem Relation.church_rosser E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b c : α},
(∀ (a b c : α), r a b → r a c → ∃ d, Relation.ReflGen r b d ∧ Relation.ReflTransGen r c d) →
Relation.ReflTransGen r a b → Relation.ReflTransGen r a c → Relation.Join (Relation.ReflTransGen r) b c
A sufficient condition for the Church-Rosser property.
theorem Relation.le_join_of_refl E1 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r], r ≤ Relation.Join r
instance Relation.Join.symm E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Std.Symm (Relation.Join r)
instance Relation.Join.refl E0 #
∀ {α : Type u_1} {r : α → α → Prop} [Std.Refl r], Std.Refl (Relation.Join r)
theorem Relation.isTrans_join E1 #
∀ {α : Type u_1} {r : α → α → Prop} [IsTrans α r],
(∀ (a b c : α), r a b → r a c → Relation.Join r b c) → IsTrans α (Relation.Join r)
theorem Relation.equivalence_join E1 #
∀ {α : Type u_1} {r : α → α → Prop} [IsPreorder α r],
(∀ (a b c : α), r a b → r a c → Relation.Join r b c) → Equivalence (Relation.Join r)
theorem Relation.equivalence_join_reflTransGen E1 #
∀ {α : Type u_1} {r : α → α → Prop},
(∀ (a b c : α), r a b → r a c → ∃ d, Relation.ReflGen r b d ∧ Relation.ReflTransGen r c d) →
Equivalence (Relation.Join (Relation.ReflTransGen r))
theorem Relation.join_le_of_equivalence_of_le E1 #
∀ {α : Type u_1} {r r' : α → α → Prop}, Equivalence r → r' ≤ r → Relation.Join r' ≤ r
theorem Relation.reflTransGen_le_of_le E1 #
∀ {α : Type u_1} {r r' : α → α → Prop} [Std.Refl r] [IsTrans α r], r' ≤ r → Relation.ReflTransGen r' ≤ r
theorem Relation.reflTransGen_le_of_equivalence_of_le E1 #
∀ {α : Type u_1} {r r' : α → α → Prop}, Equivalence r → r' ≤ r → Relation.ReflTransGen r' ≤ r
theorem Quot.eqvGen_exact E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Quot.mk r a = Quot.mk r b → Relation.EqvGen r a b
theorem Quot.eqvGen_sound E1 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Relation.EqvGen r a b → Quot.mk r a = Quot.mk r b
theorem Equivalence.eqvGen_iff E0 #
∀ {α : Type u_1} {r : α → α → Prop} {a b : α}, Equivalence r → (Relation.EqvGen r a b ↔ r a b)
theorem Equivalence.eqvGen_eq E0 #
∀ {α : Type u_1} {r : α → α → Prop}, Equivalence r → Relation.EqvGen r = r
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Relation.EqvGen.eqvGen_eq_reflTransGen | Relation.eqvGen_eq_reflTransGen | 2026-10-15 |
Relation.EqvGen.eqvGen_le | Relation.eqvGen_le | 2026-10-15 |
Relation.EqvGen.eqvGen_mono | Relation.EqvGen.mono | 2026-10-15 |
Relation.EqvGen.eqvGen_reflGen | Relation.eqvGen_reflGen | 2026-10-15 |
Relation.EqvGen.eqvGen_reflTransGen | Relation.eqvGen_reflTransGen | 2026-10-15 |
Relation.EqvGen.eqvGen_symmGen | Relation.eqvGen_symmGen | 2026-10-15 |
Relation.EqvGen.eqvGen_transGen | Relation.eqvGen_transGen | 2026-10-15 |
Relation.EqvGen.is_equivalence | Relation.EqvGen.equivalence | 2026-10-24 |
Relation.EqvGen.reflGen_le_eqvGen | Relation.reflGen_le_eqvGen | 2026-10-15 |
Relation.EqvGen.reflTransGen_le_eqvGen | Relation.reflTransGen_le_eqvGen | 2026-10-15 |
Relation.EqvGen.reflTransGen_symmGen | Relation.reflTransGen_symmGen | 2026-10-15 |
Relation.EqvGen.symmGen_le_eqvGen | Relation.symmGen_le_eqvGen | 2026-10-15 |
Relation.EqvGen.transGen_le_eqvGen | Relation.transGen_le_eqvGen | 2026-10-15 |
Relation.ReflGen.symmetric | Relation.ReflGen.stdSymm | 2026-06-10 |
Relation.ReflTransGen.symmetric | Relation.ReflTransGen.stdSymm | 2026-06-10 |
Relation.TransGen.symmetric | Relation.TransGen.stdSymm | 2026-06-10 |
Relation.join_of_equivalence | Relation.join_le_of_equivalence_of_le | 2026-06-30 |
Relation.join_of_single | Relation.le_join_of_refl | 2026-06-30 |
Relation.map_symmetric | Std.Symm.map | 2026-06-10 |
Relation.reflTransGen_of_equivalence | Relation.reflTransGen_le_of_equivalence_of_le | 2026-06-30 |
Relation.reflTransGen_of_isTrans_reflexive | Relation.reflTransGen_le_of_le | 2026-06-30 |
Relation.reflexive_join | Relation.Join.refl | 2026-06-10 |
Relation.symmetric_join | Relation.Join.symm | 2026-06-10 |
Symmetric.comap | Std.Symm.comap | 2026-06-10 |
Symmetric.flip_eq | Std.Symm.flip_eq | 2026-06-10 |
Symmetric.iff | Std.Symm.iff | 2026-06-10 |
Symmetric.swap_eq | Std.Symm.swap_eq | 2026-06-10 |
irrefl_iff_subrelation_ne | irrefl_iff_le_ne | 2026-06-30 |
refl_iff_subrelation_eq | refl_iff_eq_le | 2026-06-30 |