Is there a well-known formalization of the fallacy of composition? More generally, where in mathematics is it true that if a property holds for all of some elements of a set it holds for the whole set, and is there a particular requirement that will make this true?
To try to make this more clear, when is it that for, say, a set $X$ where $|X| = n$, $Px_1$ $\implies$ $\forall x$ $Px$.
Each of the five chapters of my book is less than 100 pages long, but the whole book is more than 100 pages long.
The rigorous treatment of the part-whole relation is Mereology.