Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-07-29 (claude-fable-5)
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: ιiIAi=JI(1)J+1ιAJ\iota\lvert\bigcup_{i \in I} A_i\rvert = \sum_{\varnothing \ne J \subseteq I}(-1)^{\lvert J\rvert + 1}\,\iota\lvert A_J\rvert, together with the complementary form counting the elements in none of the AiA_i

Statement

Let XX, II, (Ai)iI(A_i)_{i \in I} and the intersections AJA_J be a sieve family (A finite family (Ai)iI(A_i)_{i \in I} of subsets of a finite set XX, the intersections AJA_J for JIJ \subseteq I, and the convention A=XA_\varnothing = X), let U:=iIAiU := \bigcup_{i \in I}A_i, and let ι:NR\iota : \mathbb{N} \to \mathbb{R} be the canonical natural (The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field). Then, in R\mathbb{R}:

  1. The sieve identity. ιU  =  JP(I){}(1)J+1ιAJ,\iota\lvert U\rvert \;=\; \sum_{J \in \mathcal{P}(I)\setminus\{\varnothing\}} (-1)^{\lvert J\rvert + 1}\,\iota\lvert A_J\rvert , the sum being over the finite index set of nonempty subsets of II.
  2. The complementary form. ιXU  =  JP(I)(1)JιAJ,\iota\lvert X \setminus U\rvert \;=\; \sum_{J \in \mathcal{P}(I)} (-1)^{\lvert J\rvert}\,\iota\lvert A_J\rvert , the sum now being over all subsets of II, its term at J=J = \varnothing being ιX\iota\lvert X\rvert by the stipulation A=XA_\varnothing = X.

The identities are stated in R\mathbb{R} because their terms carry signs and N\mathbb{N} has no subtraction; every cardinality appearing is a natural number carried into R\mathbb{R} by ι\iota, and ι\iota is injective, so an identity between two of them may be read back in N\mathbb{N} (Laws of finite sums and products in N\mathbb{N}, and ι(k<nak)=k<nι(ak)\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k), clause 7).

Both readings at I=I = \varnothing are part of the statement. Then U=U = \varnothing and clause 1 reads 0=00 = 0, the index set of its sum being empty. Clause 2 reads ιX=ιA\iota\lvert X\rvert = \iota\lvert A_\varnothing\rvert, its sum having the single term at J=J = \varnothing. At J=1\lvert J\rvert = 1 the sign in clause 1 is (1)2=1(-1)^{2} = 1 and A{i}=AiA_{\{i\}} = A_i, so the singleton terms enter with a plus sign.

Facts & Assumptions

Given: A sieve family XX, II, (Ai)iI(A_i)_{i \in I} with intersections AJA_J, union UU, traces T(x)T(x) and t(x):=T(x)t(x) := \lvert T(x)\rvert, all as in A finite family (Ai)iI(A_i)_{i \in I} of subsets of a finite set XX, the intersections AJA_J for JIJ \subseteq I, and the convention A=XA_\varnothing = X; the abbreviation J:=P(I){}\mathcal{J} := \mathcal{P}(I)\setminus\{\varnothing\}; and, for VXV \subseteq X, the indicator 1V:XR\mathbf{1}_V : X \to \mathbb{R} with 1V(x)=1\mathbf{1}_V(x) = 1 for xVx \in V and 1V(x)=0\mathbf{1}_V(x) = 0 otherwise.

[L3]

Sums over a finite index set (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form): the value is independent of the enumeration used; inai=i<nai\sum_{i \in n}a_i = \sum_{i<n}a_i (clause (a)); a sum over \varnothing is 00 and a constant real summand gives iSλ=ι(S)λ\sum_{i \in S}\lambda = \iota(\lvert S\rvert)\,\lambda (clause (c)).

[L5]

Additivity and scaling of a real finite sum over a finite index set: iS(ui+vi)=iSui+iSvi\sum_{i \in S}(u_i + v_i) = \sum_{i \in S}u_i + \sum_{i \in S}v_i and iSλui=λiSui\sum_{i \in S}\lambda u_i = \lambda\sum_{i \in S}u_i. Both are clauses 1 and 2 of Laws of finite sums and finite products read through an enumeration of SS (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form, Finite sums and finite products, by recursion).

[L6]

Partition of a power set by cardinality: for a finite SS with N:=SN := \lvert S\rvert, the sets [S]j[S]^{j} for jσ(N)j \in \sigma(N) are pairwise disjoint with union P(S)\mathcal{P}(S), since a subset of SS has exactly one cardinality and that cardinality is at most NN (A subset of a finite set is finite, with BA\lvert B\rvert \le \lvert A\rvert, and equality holds if and only if B=AB = A, clause 2).

[L7]

Powers of 1-1 and the alternating row sum: (1)0=1(-1)^{0} = 1 and (1)p+1=(1)p(-1)^{p+1} = -(-1)^{p} (Integer powers ama^m); and j<t+1(1)jι(tj)=0\sum_{j<t+1}(-1)^{j}\,\iota\binom{t}{j} = 0 for every t1t \ge 1 (k<n+1(nk)=2n\sum_{k<n+1}\binom{n}{k} = 2^{n}, and k<n+1(1)kι ⁣(nk)=0\sum_{k<n+1}(-1)^{k}\iota\!\binom{n}{k} = 0 for n1n \ge 1, clause 2). The hypothesis t1t \ge 1 there is not decoration: at t=0t = 0 that sum is 11.

[L8]

ι\iota is additive and injective (Laws of finite sums and products in N\mathbb{N}, and ι(k<nak)=k<nι(ak)\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k), clauses 0 and 7), and R\mathbb{R} is an ordered field, so subtraction is available (Ordered field, Field).

Proof

technique · direct
1.1

Indicator sums. For every VXV \subseteq X one has xX1V(x)=ιV\sum_{x \in X}\mathbf{1}_V(x) = \iota\lvert V\rvert: the sets VV and XVX \setminus V are disjoint finite sets with union XX, so [L2] splits the sum into xV1+xXV0\sum_{x \in V}1 + \sum_{x \in X\setminus V}0, which is ιV1+ιXV0=ιV\iota\lvert V\rvert\cdot 1 + \iota\lvert X\setminus V\rvert\cdot 0 = \iota\lvert V\rvert by the constant clause of [L3].

L1L2L3construct
1.2

The double list. Define h:J×XRh : \mathcal{J} \times X \to \mathbb{R} by h(J,x):=(1)J+11AJ(x)h(J,x) := (-1)^{\lvert J\rvert + 1}\,\mathbf{1}_{A_J}(x); both J\mathcal{J} and XX are finite by [L1], so both iterated sums of hh are defined.

L1construct
1.3

Fix xXx \in X and write t:=t(x)t := t(x). The sets J1:={JJ:JT(x)}\mathcal{J}_1 := \{\,J \in \mathcal{J} : J \subseteq T(x)\,\} and JJ1\mathcal{J}\setminus\mathcal{J}_1 are disjoint with union J\mathcal{J}; by [L1] we have 1AJ(x)=1\mathbf{1}_{A_J}(x) = 1 for JJ1J \in \mathcal{J}_1 and 1AJ(x)=0\mathbf{1}_{A_J}(x) = 0 for JJJ1J \in \mathcal{J}\setminus\mathcal{J}_1, so splitting by [L2] gives JJh(J,x)=JJ1(1)J+1\sum_{J \in \mathcal{J}}h(J,x) = \sum_{J \in \mathcal{J}_1}(-1)^{\lvert J\rvert + 1}, and J1=P(T(x)){}\mathcal{J}_1 = \mathcal{P}(T(x))\setminus\{\varnothing\}.

L1L2L3
1.4

Grouping the subsets of T(x)T(x) by size. By [L6] applied to T(x)T(x), then the constant clause of [L3] on each block, then scaling by 1-1 and (1)j+1=(1)j(-1)^{j+1} = -(-1)^{j} from [L7], JP(T(x))(1)J+1=j<t+1(J[T(x)]j(1)j+1)=j<t+1ι(tj)(1)j+1=j<t+1(1)jι(tj).\sum_{J \in \mathcal{P}(T(x))}(-1)^{\lvert J\rvert + 1} = \sum_{j<t+1}\Big(\sum_{J \in [T(x)]^{j}}(-1)^{j+1}\Big) = \sum_{j<t+1}\iota\binom{t}{j}\,(-1)^{j+1} = -\sum_{j<t+1}(-1)^{j}\,\iota\binom{t}{j}.

L1L2L3L5L6L7
1.5

Splitting off the empty subset. {}\{\varnothing\} and P(T(x)){}\mathcal{P}(T(x))\setminus\{\varnothing\} are disjoint with union P(T(x))\mathcal{P}(T(x)), so [L2] and [L7] give JP(T(x))(1)J+1=(1)0+1+JP(T(x)){}(1)J+1=1+JP(T(x)){}(1)J+1\sum_{J \in \mathcal{P}(T(x))}(-1)^{\lvert J\rvert + 1} = (-1)^{0+1} + \sum_{J \in \mathcal{P}(T(x))\setminus\{\varnothing\}}(-1)^{\lvert J\rvert + 1} = -1 + \sum_{J \in \mathcal{P}(T(x))\setminus\{\varnothing\}}(-1)^{\lvert J\rvert + 1}.

L2L3L7
2.1

The inner sum is the indicator of UU. If t1t \ge 1 then [L7] makes the right-hand side of step 1.4 zero, so step 1.5 gives JP(T(x)){}(1)J+1=1\sum_{J \in \mathcal{P}(T(x))\setminus\{\varnothing\}}(-1)^{\lvert J\rvert + 1} = 1. If t=0t = 0 then T(x)=T(x) = \varnothing, so P(T(x)){}=\mathcal{P}(T(x))\setminus\{\varnothing\} = \varnothing and that sum is 00 by [L3]. Since xUx \in U exactly when t1t \ge 1 by [L1], step 1.3 gives JJh(J,x)=1U(x)\sum_{J \in \mathcal{J}}h(J,x) = \mathbf{1}_U(x) for every xXx \in X.

step 1.3step 1.4step 1.5L1L3L7
2.2

The outer sum recovers the sieve terms. Scaling by the constant (1)J+1(-1)^{\lvert J\rvert+1} and applying step 1.1 to V=AJV = A_J gives xXh(J,x)=(1)J+1ιAJ\sum_{x \in X}h(J,x) = (-1)^{\lvert J\rvert + 1}\,\iota\lvert A_J\rvert for every JJJ \in \mathcal{J}.

step 1.1L5
3.1

Clause 1. Summing step 2.2 over J\mathcal{J}, interchanging by [L4], and then using step 2.1 and step 1.1 with V=UV = U: JJ(1)J+1ιAJ=JJxXh(J,x)=xXJJh(J,x)=xX1U(x)=ιU.\sum_{J \in \mathcal{J}}(-1)^{\lvert J\rvert + 1}\iota\lvert A_J\rvert = \sum_{J \in \mathcal{J}}\sum_{x \in X}h(J,x) = \sum_{x \in X}\sum_{J \in \mathcal{J}}h(J,x) = \sum_{x \in X}\mathbf{1}_U(x) = \iota\lvert U\rvert .

step 1.1step 2.1step 2.2L4
4.1

Clause 2. The sets UU and XUX \setminus U are disjoint finite sets with union XX, so X=U+XU\lvert X\rvert = \lvert U\rvert + \lvert X\setminus U\rvert by [L2] and hence ιXU=ιXιU\iota\lvert X\setminus U\rvert = \iota\lvert X\rvert - \iota\lvert U\rvert by the additivity of ι\iota in [L8]. On the other side, {}\{\varnothing\} and J\mathcal{J} are disjoint with union P(I)\mathcal{P}(I), so [L2], [L3] and [L7] give JP(I)(1)JιAJ=ιA+JJ(1)JιAJ=ιXJJ(1)J+1ιAJ\sum_{J \in \mathcal{P}(I)}(-1)^{\lvert J\rvert}\iota\lvert A_J\rvert = \iota\lvert A_\varnothing\rvert + \sum_{J \in \mathcal{J}}(-1)^{\lvert J\rvert}\iota\lvert A_J\rvert = \iota\lvert X\rvert - \sum_{J \in \mathcal{J}}(-1)^{\lvert J\rvert+1}\iota\lvert A_J\rvert, which by step 3.1 is ιXιU\iota\lvert X\rvert - \iota\lvert U\rvert. The two right-hand sides agree, which is clause 2.

step 3.1L2L3L5L7L8

Remarks

  • Where the alternating row sum is spent, and why its hypothesis matters. The whole content of the proof is that each xx contributes 11 to the right-hand side when it lies in some AiA_i and 00 otherwise. The first case is the vanishing of the full alternating row sum of t(x)t(x), which holds only for t(x)1t(x) \ge 1; the second case is not that identity at all but the emptiness of the index set. Applying the identity at t(x)=0t(x) = 0 would give 11, not 00, and would make the theorem false.

  • The empty intersection is used once. Only in clause 2, at the term J=J = \varnothing, where A=XA_\varnothing = X contributes ιX\iota\lvert X\rvert. 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 (Ai)iI(A_i)_{i \in I} is given as a function.

Depends on

Used by

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