How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Inclusion and exclusion: , together with the complementary form counting the elements in none of the
Statement
Let , , and the intersections be a sieve family (A finite family of subsets of a finite set , the intersections for , and the convention ), let , and let be the canonical natural (The canonical natural of a field). Then, in :
- The sieve identity. the sum being over the finite index set of nonempty subsets of .
- The complementary form. the sum now being over all subsets of , its term at being by the stipulation .
The identities are stated in because their terms carry signs and has no subtraction; every cardinality appearing is a natural number carried into by , and is injective, so an identity between two of them may be read back in (Laws of finite sums and products in , and , clause 7).
Both readings at are part of the statement. Then and clause 1 reads , the index set of its sum being empty. Clause 2 reads , its sum having the single term at . At the sign in clause 1 is and , so the singleton terms enter with a plus sign.
Facts & Assumptions
Given: A sieve family , , with intersections , union , traces and , all as in A finite family of subsets of a finite set , the intersections for , and the convention ; the abbreviation ; and, for , the indicator with for and otherwise.
Sieve facts (A finite family of subsets of a finite set , the intersections for , and the convention ): , , each , each , and each are finite ( for finite , A subset of a finite set is finite, with , and equality holds if and only if , The cardinality of a finite set); for nonempty , if and only if ; if and only if ; and (The set of -element subsets and the binomial coefficient ).
Splitting a sum along a partition of its index set, and the sum rule for two disjoint blocks (The sum rule: a finite disjoint union is finite with and , and a sum over a finite index set splits along a partition, clauses 3 and 1).
Sums over a finite index set (The sum over a finite index set, and its product form): the value is independent of the enumeration used; (clause (a)); a sum over is and a constant real summand gives (clause (c)).
Interchange of a double sum over two finite index sets ( for finite index sets and ).
Additivity and scaling of a real finite sum over a finite index set: and . Both are clauses 1 and 2 of Laws of finite sums and finite products read through an enumeration of (The sum over a finite index set, and its product form, Finite sums and finite products, by recursion).
Partition of a power set by cardinality: for a finite with , the sets for are pairwise disjoint with union , since a subset of has exactly one cardinality and that cardinality is at most (A subset of a finite set is finite, with , and equality holds if and only if , clause 2).
Powers of and the alternating row sum: and (Integer powers ); and for every (, and for , clause 2). The hypothesis there is not decoration: at that sum is .
is additive and injective (Laws of finite sums and products in , and , clauses 0 and 7), and is an ordered field, so subtraction is available (Ordered field, Field).
Proof
Indicator sums. For every one has : the sets and are disjoint finite sets with union , so [L2] splits the sum into , which is by the constant clause of [L3].
The double list. Define by ; both and are finite by [L1], so both iterated sums of are defined.
Fix and write . The sets and are disjoint with union ; by [L1] we have for and for , so splitting by [L2] gives , and .
Grouping the subsets of by size. By [L6] applied to , then the constant clause of [L3] on each block, then scaling by and from [L7],
Splitting off the empty subset. and are disjoint with union , so [L2] and [L7] give .
The inner sum is the indicator of . If then [L7] makes the right-hand side of step 1.4 zero, so step 1.5 gives . If then , so and that sum is by [L3]. Since exactly when by [L1], step 1.3 gives for every .
The outer sum recovers the sieve terms. Scaling by the constant and applying step 1.1 to gives for every .
Clause 1. Summing step 2.2 over , interchanging by [L4], and then using step 2.1 and step 1.1 with :
Clause 2. The sets and are disjoint finite sets with union , so by [L2] and hence by the additivity of in [L8]. On the other side, and are disjoint with union , so [L2], [L3] and [L7] give , which by step 3.1 is . The two right-hand sides agree, which is clause 2.
Remarks
-
Where the alternating row sum is spent, and why its hypothesis matters. The whole content of the proof is that each contributes to the right-hand side when it lies in some and otherwise. The first case is the vanishing of the full alternating row sum of , which holds only for ; the second case is not that identity at all but the emptiness of the index set. Applying the identity at would give , not , and would make the theorem false.
-
The empty intersection is used once. Only in clause 2, at the term , where contributes . Clause 1 never mentions it.
-
No choice principle is used. A sum over a finite index set is defined because all its enumerations agree, not by selecting one, and the family is given as a function.
Depends on
- A finite family $(A_i)_{i \in I}$ of subsets of a finite set $X$, the intersections $A_J$ for $J \subseteq I$, and the convention $A_\varnothing = X$
- $\sum_{i \in S}\sum_{j \in T} a_{ij} = \sum_{(i,j) \in S \times T} a_{ij} = \sum_{j \in T}\sum_{i \in S} a_{ij}$ for finite index sets $S$ and $T$
- The sum rule: a finite disjoint union is finite with $\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert$ and $\lvert\bigcup_{i \in I} A_i\rvert = \sum_{i \in I}\lvert A_i\rvert$, and a sum over a finite index set splits along a partition
- The sum $\sum_{i \in S} a_i$ over a finite index set, and its product form
- $\sum_{k<n+1}\binom{n}{k} = 2^{n}$, and $\sum_{k<n+1}(-1)^{k}\iota\!\binom{n}{k} = 0$ for $n \ge 1$
- The set $[A]^{k}$ of $k$-element subsets and the binomial coefficient $\binom{n}{k} := \lvert [n]^{k}\rvert$
- The canonical natural $\iota(n) = n \cdot 1_F$ of a field
- Integer powers $a^m$
- Laws of finite sums and products in $\mathbb{N}$, and $\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k)$
- Laws of finite sums and finite products
- Finite sums and finite products, by recursion
- The cardinality $\lvert A\rvert$ of a finite set
- A subset of a finite set is finite, with $\lvert B\rvert \le \lvert A\rvert$, and equality holds if and only if $B = A$
- $\lvert\mathcal{P}(A)\rvert = 2^{\lvert A\rvert}$ for finite $A$
- Ordered field
- Field
Used by
- The complementary inclusion-exclusion formula is Möbius inversion on the Boolean lattice Corollary
- A three-set count that drops the triple intersection and returns the wrong answer Counterexample
- The sieve run in full on three explicit finite sets and then on four, with every nonempty intersection listed Example
- FALSE: the real-valued three-set inclusion-exclusion identity remains true after deleting the triple-intersection term False statement
- The conventions this page fixes: the empty intersection, where the counts live, the first index of every sum, and what the declared prerequisites do not supply Remark
- Euler's product formula φ(n)=n∏_p∣ n(1-1/p)=∏_pᵏ∥ n(pᵏ-pᵏ⁻¹) for n≥1, stated through a finite injective list of its prime divisors Theorem
- The number of surjections from an n-element set onto a k-element set is ∑_i<k+1(-1)ⁱbinomki(k-i)ⁿ, read in ℝ through ι Theorem
- Truncating the sieve at an odd depth over-estimates the size of the union and truncating it at an even depth under-estimates it Theorem
- ι(Dₙ) = ι(n!)∑_i<n+1(-1)ⁱ/ι(i!), with the term at i = 0 equal to 1 and D₀ = 1 Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 84 results over 28 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Inclusion-exclusion principle (Wikipedia) (standard reference, not scraped)
- Binomial coefficient (Wikipedia) (standard reference, not scraped)
- R. Stanley, Enumerative Combinatorics, Vol. 1, Ch. 2 (standard reference, not scraped)
- Guichard, The Inclusion-Exclusion Formula (LibreTexts) (standard reference, not scraped)