Lemma·L26
Cardinality of a disjoint union
Counting two separate piles: sizes add.
In words
If two finite sets are disjoint, sharing no element, then their union is finite and the size of the union equals the sum of their sizes.
Never needed: F10 · F13 · A03 · A04 · A05 · A07 (computed from the citation graph, not asserted).
Proof
- 1Let and , with bijections and (D035). Define on by a set by Separation inside , and a function: each lies in exactly one of (disjointness, D008, excluded middle), so exactly one clause fires.
- 2lands in : for : and by L17 (i), so by L15 (ii) (equality case by substitutivity). For : , so by L17 (iii) with commutativity (adding on the left).
- 3is injective: two arguments in : gives (D014). Two in : gives by cancellation, so . Mixed, , : , so by irreflexivity (L15 (i), (ii)).
- 4
- 5
∎
Remarks
The map lists
first and then
shifted by
: the arithmetic of L17 is exactly what makes "shifting by
" injective and exhaustive. For overlapping sets the statement becomes inclusion-exclusion,
, which needs subtraction and is not developed here. Iterated, this lemma counts any partition piece by piece: that is L27.