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.Lattice
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∈ 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∈ 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)
Bind operation for Set.PairwiseDisjoint
. If you want to only consider finsets of indices, you
can use Set.PairwiseDisjoint.bunionᵢ_finset
.
Pairwise disjoint set of sets #
Equivalence between a disjoint bounded union and a dependent sum.
Equations
- One or more equations did not get rendered due to their size.
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 .