Relations holding pairwise #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file develops pairwise relations and defines pairwise disjoint indexed sets.
We also prove many basic facts about pairwise
. It is possible that an intermediate file,
with more imports than logic.pairwise
but not importing data.set.function
would be appropriate
to hold many of these basic facts.
Main declarations #
set.pairwise_disjoint
:s.pairwise_disjoint f
states that images underf
of distinct elements ofs
are either equal ordisjoint
.
Notes #
The spelling s.pairwise_disjoint id
is preferred over s.pairwise disjoint
to permit dot notation
on set.pairwise_disjoint
, even though the latter unfolds to something nicer.
For a nonempty set s
, a function f
takes pairwise equal values on s
if and only if
for some z
in the codomain, f
takes value z
on all x ∈ s
. See also
set.pairwise_eq_iff_exists_eq
for a version that assumes [nonempty ι]
instead of
set.nonempty s
.
A function f : α → ι
with nonempty codomain takes pairwise equal values on a set s
if and
only if for some z
in the codomain, f
takes value z
on all x ∈ s
. See also
set.nonempty.pairwise_eq_iff_exists_eq
for a version that assumes set.nonempty s
instead of
[nonempty ι]
.
Alias of the forward direction of set.pairwise_bot_iff
.
A set is pairwise_disjoint
under f
, if the images of any distinct two elements under f
are disjoint.
s.pairwise disjoint
is (definitionally) the same as s.pairwise_disjoint id
. We prefer the latter
in order to allow dot notation on set.pairwise_disjoint
, even though the former unfolds more
nicely.
Equations
- s.pairwise_disjoint f = s.pairwise (disjoint on f)
Pairwise disjoint set of sets #
The partial images of a binary function f
whose partial evaluations are injective are pairwise
disjoint iff f
is injective .
The partial images of a binary function f
whose partial evaluations are injective are pairwise
disjoint iff f
is injective .