Pigeonhole-like results for Fin #
This adapts Pigeonhole-like results from Mathlib.Data.Fintype.Card
to the setting where the map
has the type f : Fin m → Fin n
.
If we have an injective map from Fin m
to Fin n
, then m ≤ n
.
See also Fintype.card_le_of_injective
for the generalisation to arbitrary finite types.
If we have an embedding from Fin m
to Fin n
, then m ≤ n
.
See also Fintype.card_le_of_embedding
for the generalisation to arbitrary finite types.
If we have an injective map from Fin m
to Fin n
whose image does not contain everything,
then m < n
. See also Fintype.card_lt_of_injective_of_notMem
for the generalisation to
arbitrary finite types.
If we have a surjective map from Fin m
to Fin n
, then m ≥ n
.
See also Fintype.card_le_of_surjective
for the generalisation to arbitrary finite types.
Any map from Fin m
reaches at most m
different values.
See also Fintype.card_range_le
for the generalisation to an arbitrary finite type.