Relations holding pairwise #
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.PairwiseDisjoint
:s.PairwiseDisjoint f
states that images underf
of distinct elements ofs
are either equal orDisjoint
.
Notes #
The spelling s.PairwiseDisjoint id
is preferred over s.Pairwise Disjoint
to permit dot notation
on Set.PairwiseDisjoint
, even though the latter unfolds to something nicer.
Alias of the forward direction of Set.pairwise_iff_of_refl
.
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
.
Alias of the reverse direction of pairwise_subtype_iff_pairwise_set
.
Alias of the forward direction of pairwise_subtype_iff_pairwise_set
.
A set is PairwiseDisjoint
under f
, if the images of any distinct two elements under f
are disjoint.
s.Pairwise Disjoint
is (definitionally) the same as s.PairwiseDisjoint id
. We prefer the latter
in order to allow dot notation on Set.PairwiseDisjoint
, even though the former unfolds more
nicely.
Equations
- Set.PairwiseDisjoint s f = Set.Pairwise s (Disjoint on f)
Instances For
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 .