Maps into the parts of a finite partition #
Let P be a finite partition of a finset s and let ι be a finite index type. A map
g : ι → α with values in s has a cell assignment i ↦ P.part (g i), and the maps whose cell
assignment is a given φ : ι → P.parts form the box Fintype.piFinset fun i ↦ φ i. These boxes
partition the maps ι → s, so sums over such maps split along cell assignments.
Counting lemmas for regular partitions treat the maps whose coordinates lie in distinct parts separately from the rest: a map with an injective cell assignment is itself injective, while the maps putting two coordinates in a common part are few when all parts are small. This file supplies both facts.
Main results #
Finpartition.sum_sum_piFinset_parts: a sum over mapsι → ssplits along cell assignments.Finpartition.sum_piFinset_apply_part: a sum over mapsι → sof a function of their cell assignments weights each cell assignment by the size of its box.Finpartition.mem_piFinset_part_iff: a map lies in the box of parts throughxexactly when it has the same cell assignment asx.Finpartition.injective_of_mem_piFinset_parts: a map in the box of an injective cell assignment is injective.Finpartition.card_filter_not_injective_part_le: at most(card ι).choose 2 * #s ^ (card ι - 2) * ∑ A ∈ P.parts, #A ^ 2mapsι → shave a non-injective cell assignment.Finpartition.sum_prod_card_of_not_injective_le: the same bound for the total size of the boxes of non-injective cell assignments.Finpartition.card_filter_not_injective_part_le_of_card_le,Finpartition.sum_prod_card_of_not_injective_le_of_card_le: when all parts have size at mostm, both counts are at most(card ι).choose 2 * m * #s ^ (card ι - 1).Finpartition.card_embedding_exists_mem_part_le_of_card_le: the same bound for the embeddingsι ↪ αsending two distinct points to a common part of a partition of a finite typeα.
The boxes of distinct cell assignments are disjoint.
The boxes of all cell assignments cover the maps ι → s.
A sum over the maps ι → s splits along cell assignments.
The maps ι → s with a given property are counted along cell assignments.
A map in the box of an injective cell assignment is injective.
On the box of a cell assignment φ, the cell assignment of each map is φ.
A map y lies in the box of parts through a map x : ι → s exactly when y has the same
cell assignment as x.
A sum over the maps ι → s of a function of their cell assignments counts each cell
assignment φ with the size ∏ i, #(φ i) of its box.
At most #s ^ (card ι - 2) * ∑ A ∈ P.parts, #A ^ 2 maps ι → s send two given distinct
coordinates to a common part.
At most (card ι).choose 2 * #s ^ (card ι - 2) * ∑ A ∈ P.parts, #A ^ 2 maps ι → s send two
distinct coordinates to a common part.
The boxes of the non-injective cell assignments have total size at most
(card ι).choose 2 * #s ^ (card ι - 2) * ∑ A ∈ P.parts, #A ^ 2.
If every part of P has at most m elements, at most
(card ι).choose 2 * m * #s ^ (card ι - 1) maps ι → s send two distinct coordinates to a common
part.
If every part of P has at most m elements, the boxes of the non-injective cell assignments
have total size at most (card ι).choose 2 * m * #s ^ (card ι - 1).
If every part of a finite partition P of a finite type α has at most m elements, at most
(card ι).choose 2 * m * card α ^ (card ι - 1) embeddings ι ↪ α send two distinct points to a
common part.