Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck 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: ι∣⋃i∈IAi∣=∑∅≠J⊆I(−1)∣J∣+1 ι∣AJ∣, together with the complementary form counting the elements in none of the Ai

Statement

Let X, I, (Ai)i∈I and the intersections AJ be a sieve family (A finite family (Ai)i∈I of subsets of a finite set X, the intersections AJ for J⊆I, and the convention A∅=X), let U:=⋃i∈IAi, and let ι:N→R be the canonical natural (The canonical natural ι(n)=n⋅1F of a field). Then, in R:

  1. The sieve identity. ι∣U∣  =  ∑J∈P(I)∖{∅}(−1)∣J∣+1 ι∣AJ∣, the sum being over the finite index set of nonempty subsets of I.
  2. The complementary form. ι∣X∖U∣  =  ∑J∈P(I)(−1)∣J∣ ι∣AJ∣, the sum now being over all subsets of I, its term at J=∅ being ι∣X∣ by the stipulation A∅=X.

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

Both readings at I=∅ are part of the statement. Then U=∅ and clause 1 reads 0=0, the index set of its sum being empty. Clause 2 reads ι∣X∣=ι∣A∅∣, its sum having the single term at J=∅. At ∣J∣=1 the sign in clause 1 is (−1)2=1 and A{i}=Ai, so the singleton terms enter with a plus sign.

Facts & Assumptions

Given: A sieve family X, I, (Ai)i∈I with intersections AJ, union U, traces T(x) and t(x):=∣T(x)∣, all as in A finite family (Ai)i∈I of subsets of a finite set X, the intersections AJ for J⊆I, and the convention A∅=X; the abbreviation J:=P(I)∖{∅}; and, for V⊆X, the indicator 1V:X→R with 1V(x)=1 for x∈V and 1V(x)=0 otherwise.

[L3]

Sums over a finite index set (The sum ∑i∈Sai over a finite index set, and its product form): the value is independent of the enumeration used; ∑i∈nai=∑i<nai (clause (a)); a sum over ∅ is 0 and a constant real summand gives ∑i∈Sλ=ι(∣S∣) λ (clause (c)).

[L5]

Additivity and scaling of a real finite sum over a finite index set: ∑i∈S(ui+vi)=∑i∈Sui+∑i∈Svi and ∑i∈Sλui=λ∑i∈Sui. Both are clauses 1 and 2 of Laws of finite sums and finite products read through an enumeration of S (The sum ∑i∈Sai 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 S with N:=∣S∣, the sets [S]j for j∈σ(N) are pairwise disjoint with union P(S), since a subset of S has exactly one cardinality and that cardinality is at most N (A subset of a finite set is finite, with ∣B∣≤∣A∣, and equality holds if and only if B=A, clause 2).

[L7]

Powers of −1 and the alternating row sum: (−1)0=1 and (−1)p+1=−(−1)p (Integer powers am); and ∑j<t+1(−1)j ι(tj)=0 for every t≥1 (∑k<n+1(nk)=2n, and ∑k<n+1(−1)kι ⁣(nk)=0 for n≥1, clause 2). The hypothesis t≥1 there is not decoration: at t=0 that sum is 1.

[L8]

ι is additive and injective (Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak), clauses 0 and 7), and R is an ordered field, so subtraction is available (Ordered field, Field).

Proof

technique · direct
1.1

Indicator sums. For every V⊆X one has ∑x∈X1V(x)=ι∣V∣: the sets V and X∖V are disjoint finite sets with union X, so [L2] splits the sum into ∑x∈V1+∑x∈X∖V0, which is ι∣V∣⋅1+ι∣X∖V∣⋅0=ι∣V∣ by the constant clause of [L3].

L1L2L3construct
1.2

The double list. Define h:J×X→R by h(J,x):=(−1)∣J∣+1 1AJ(x); both J and X are finite by [L1], so both iterated sums of h are defined.

L1construct
1.3

Fix x∈X and write t:=t(x). The sets J1:={ J∈J:J⊆T(x) } and J∖J1 are disjoint with union J; by [L1] we have 1AJ(x)=1 for J∈J1 and 1AJ(x)=0 for J∈J∖J1, so splitting by [L2] gives ∑J∈Jh(J,x)=∑J∈J1(−1)∣J∣+1, and J1=P(T(x))∖{∅}.

L1L2L3
1.4

Grouping the subsets of T(x) by size. By [L6] applied to T(x), then the constant clause of [L3] on each block, then scaling by −1 and (−1)j+1=−(−1)j from [L7], ∑J∈P(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).

L1L2L3L5L6L7
1.5

Splitting off the empty subset. {∅} and P(T(x))∖{∅} are disjoint with union P(T(x)), so [L2] and [L7] give ∑J∈P(T(x))(−1)∣J∣+1=(−1)0+1+∑J∈P(T(x))∖{∅}(−1)∣J∣+1=−1+∑J∈P(T(x))∖{∅}(−1)∣J∣+1.

L2L3L7
2.1

The inner sum is the indicator of U. If t≥1 then [L7] makes the right-hand side of step 1.4 zero, so step 1.5 gives ∑J∈P(T(x))∖{∅}(−1)∣J∣+1=1. If t=0 then T(x)=∅, so P(T(x))∖{∅}=∅ and that sum is 0 by [L3]. Since x∈U exactly when t≥1 by [L1], step 1.3 gives ∑J∈Jh(J,x)=1U(x) for every x∈X.

step 1.3step 1.4step 1.5L1L3L7
2.2

The outer sum recovers the sieve terms. Scaling by the constant (−1)∣J∣+1 and applying step 1.1 to V=AJ gives ∑x∈Xh(J,x)=(−1)∣J∣+1 ι∣AJ∣ for every J∈J.

step 1.1L5
3.1

Clause 1. Summing step 2.2 over J, interchanging by [L4], and then using step 2.1 and step 1.1 with V=U: ∑J∈J(−1)∣J∣+1ι∣AJ∣=∑J∈J∑x∈Xh(J,x)=∑x∈X∑J∈Jh(J,x)=∑x∈X1U(x)=ι∣U∣.

step 1.1step 2.1step 2.2L4
4.1

Clause 2. The sets U and X∖U are disjoint finite sets with union X, so ∣X∣=∣U∣+∣X∖U∣ by [L2] and hence ι∣X∖U∣=ι∣X∣−ι∣U∣ by the additivity of ι in [L8]. On the other side, {∅} and J are disjoint with union P(I), so [L2], [L3] and [L7] give ∑J∈P(I)(−1)∣J∣ι∣AJ∣=ι∣A∅∣+∑J∈J(−1)∣J∣ι∣AJ∣=ι∣X∣−∑J∈J(−1)∣J∣+1ι∣AJ∣, which by step 3.1 is ι∣X∣−ι∣U∣. 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 x contributes 1 to the right-hand side when it lies in some Ai and 0 otherwise. The first case is the vanishing of the full alternating row sum of t(x), which holds only for t(x)≥1; the second case is not that identity at all but the emptiness of the index set. Applying the identity at t(x)=0 would give 1, not 0, and would make the theorem false.

  • The empty intersection is used once. Only in clause 2, at the term J=∅, where A∅=X contributes ι∣X∣. 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)i∈I is given as a function.

Depends on

Used by

Dependency tree · two levels

61 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources