Relations holding pairwise #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file defines pairwise relations.
Main declarations #
pairwise
:pairwise r
states thatr i j
for alli ≠ j
.set.pairwise
:s.pairwise r
states thatr i j
for alli ≠ j
withi, j ∈ s
.
theorem
function.injective_iff_pairwise_ne
{α : Type u_1}
{ι : Type u_4}
{f : ι → α} :
function.injective f ↔ pairwise (ne on f)
theorem
function.injective.pairwise_ne
{α : Type u_1}
{ι : Type u_4}
{f : ι → α} :
function.injective f → pairwise (ne on f)
Alias of the forward direction of function.injective_iff_pairwise_ne
.
@[protected]
The relation r
holds pairwise on the set s
if r x y
for all distinct x y ∈ s
.