Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedSession-authored (Fable 5 assisted)precheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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.

The sieve run in full on three explicit finite sets and then on four, with every nonempty intersection listed

Example

Take the ambient set X:=8={0,1,2,3,4,5,6,7}X := 8 = \{0,1,2,3,4,5,6,7\} and the subsets

A0:={0,1,2,3},A1:={2,3,4,5},A2:={3,4,6},A3:={5,6,7}.A_0 := \{0,1,2,3\}, \qquad A_1 := \{2,3,4,5\}, \qquad A_2 := \{3,4,6\}, \qquad A_3 := \{5,6,7\}.

First the family (Ai)i3(A_i)_{i \in 3}, a sieve family with ambient set XX and index set I:=3I := 3 (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). Every intersection AJA_J for J3\varnothing \ne J \subseteq 3 is listed:

JJAJA_JAJ\lvert A_J\rvert
{0}\{0\}{0,1,2,3}\{0,1,2,3\}44
{1}\{1\}{2,3,4,5}\{2,3,4,5\}44
{2}\{2\}{3,4,6}\{3,4,6\}33
{0,1}\{0,1\}{2,3}\{2,3\}22
{0,2}\{0,2\}{3}\{3\}11
{1,2}\{1,2\}{3,4}\{3,4\}22
{0,1,2}\{0,1,2\}{3}\{3\}11

The union is A0A1A2={0,1,2,3,4,5,6}A_0 \cup A_1 \cup A_2 = \{0,1,2,3,4,5,6\}, of size 77, and the sieve returns (4+4+3)(2+1+2)+1=7(4+4+3) - (2+1+2) + 1 = 7. The complementary form returns 8(4+4+3)+(2+1+2)1=18 - (4+4+3) + (2+1+2) - 1 = 1, and indeed X(A0A1A2)={7}X \setminus (A_0\cup A_1\cup A_2) = \{7\}.

Now the family (Ai)i4(A_i)_{i \in 4}, with A3A_3 adjoined and I:=4I := 4:

JJAJA_JAJ\lvert A_J\rvert
{0}\{0\}{0,1,2,3}\{0,1,2,3\}44
{1}\{1\}{2,3,4,5}\{2,3,4,5\}44
{2}\{2\}{3,4,6}\{3,4,6\}33
{3}\{3\}{5,6,7}\{5,6,7\}33
{0,1}\{0,1\}{2,3}\{2,3\}22
{0,2}\{0,2\}{3}\{3\}11
{0,3}\{0,3\}\varnothing00
{1,2}\{1,2\}{3,4}\{3,4\}22
{1,3}\{1,3\}{5}\{5\}11
{2,3}\{2,3\}{6}\{6\}11
{0,1,2}\{0,1,2\}{3}\{3\}11
{0,1,3}\{0,1,3\}\varnothing00
{0,2,3}\{0,2,3\}\varnothing00
{1,2,3}\{1,2,3\}\varnothing00
{0,1,2,3}\{0,1,2,3\}\varnothing00

The union is now all of XX, of size 88, and the sieve returns (4+4+3+3)(2+1+0+2+1+1)+(1+0+0+0)0=147+1=8(4+4+3+3) - (2+1+0+2+1+1) + (1+0+0+0) - 0 = 14 - 7 + 1 = 8. The complementary form returns 814+71+0=08 - 14 + 7 - 1 + 0 = 0, and indeed X(A0A1A2A3)=X \setminus (A_0\cup A_1\cup A_2\cup A_3) = \varnothing.

Facts & Assumptions

Given: The ambient set X=8X = 8 and the subsets A0,A1,A2,A3A_0, A_1, A_2, A_3 above, together with the two index sets I=3I = 3 and I=4I = 4 and the canonical natural ι\iota (The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field).

[L1]

A listed set with distinct entries has as many elements as entries: if x0,,xk1x_0, \dots, x_{k-1} are distinct then jxjj \mapsto x_j is a bijection of kk onto {x0,,xk1}\{x_0,\dots,x_{k-1}\}, so that set is finite of cardinality kk (The cardinality A\lvert A\rvert of a finite set, clauses (a) and (c), Injection, surjection, bijection).

[L2]

For a sieve family with ambient set XX, finite index set II, union U=iIAiU=\bigcup_{i\in I}A_i and A=XA_\varnothing=X, the sieve identity and its complementary form are ιU=JI(1)J+1ιAJ,ιXU=JI(1)JιAJ\iota|U|=\sum_{\varnothing\ne J\subseteq I}(-1)^{|J|+1}\iota|A_J|, \qquad \iota|X\setminus U|=\sum_{J\subseteq I}(-1)^{|J|}\iota|A_J| (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, 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).

[L4]

ι\iota is additive and injective, so the arithmetic of the displayed sums may be carried out on the natural numbers and read in R\mathbb{R} (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, Ordered field).

Verification

technique · direct
1.1

The three-set family. A0A_0, A1A_1, A2A_2 are subsets of X=8X = 8 with A0=4\lvert A_0\rvert = 4, A1=4\lvert A_1\rvert = 4 and A2=3\lvert A_2\rvert = 3 by [L1], each entry list being strictly increasing and so having distinct entries.

givenL1
1.2

Its intersections. Intersecting the listed sets entry by entry gives A{0,1}={2,3}A_{\{0,1\}} = \{2,3\}, A{0,2}={3}A_{\{0,2\}} = \{3\}, A{1,2}={3,4}A_{\{1,2\}} = \{3,4\} and A{0,1,2}={3}A_{\{0,1,2\}} = \{3\}, of sizes 22, 11, 22 and 11 by [L1].

givenL1
1.3

Its union and complement. An element of XX lies in A0A1A2A_0\cup A_1\cup A_2 unless it is 77, since 0,1,2,3A00,1,2,3 \in A_0, 4,5A14,5 \in A_1 and 6A26 \in A_2 while 77 belongs to none of the three listed sets; so the union is {0,1,2,3,4,5,6}\{0,1,2,3,4,5,6\}, of size 77, and its complement in XX is {7}\{7\}, of size 11.

givenL1
1.4

The four-set family. Adjoining A3={5,6,7}A_3 = \{5,6,7\}, of size 33, the remaining intersections are A{0,3}=A_{\{0,3\}} = \varnothing, A{1,3}={5}A_{\{1,3\}} = \{5\}, A{2,3}={6}A_{\{2,3\}} = \{6\}, A{0,1,3}=A{0,2,3}=A{1,2,3}=A_{\{0,1,3\}} = A_{\{0,2,3\}} = A_{\{1,2,3\}} = \varnothing and A{0,1,2,3}=A_{\{0,1,2,3\}} = \varnothing, of sizes 00, 11, 11, 00, 00, 00 and 00 by [L1] and clause (b) of The cardinality A\lvert A\rvert of a finite set.

givenL1
1.5

The four-set union. Now 7A37 \in A_3, so the union is all of XX, of size 88, and its complement in XX is empty, of size 00.

givenL1
2.1

The sieve for three sets. Grouping by size as in [L3], clause 1 of [L2] reads ιA0A1A2=ι(4+4+3)ι(2+1+2)+ι(1)=ι(11)ι(5)+ι(1)=ι(7)\iota\lvert A_0\cup A_1\cup A_2\rvert = \iota(4+4+3) - \iota(2+1+2) + \iota(1) = \iota(11) - \iota(5) + \iota(1) = \iota(7), which matches step 1.3.

step 1.1step 1.2step 1.3L2L3L4
2.2

The complementary form for three sets. Clause 2 of [L2] adds the term at J=J = \varnothing, which is ιA=ιX=ι(8)\iota\lvert A_\varnothing\rvert = \iota\lvert X\rvert = \iota(8), and reverses every sign, giving ι(8)ι(11)+ι(5)ι(1)=ι(1)\iota(8) - \iota(11) + \iota(5) - \iota(1) = \iota(1), which matches the complement computed in step 1.3.

step 1.1step 1.2step 1.3L2L3L4
2.3

The sieve for four sets. The singleton terms now sum to 4+4+3+3=144+4+3+3 = 14, the pair terms to 2+1+0+2+1+1=72+1+0+2+1+1 = 7, the triple terms to 1+0+0+0=11+0+0+0 = 1 and the single four-element term is 00; so clause 1 of [L2] reads ι(14)ι(7)+ι(1)ι(0)=ι(8)\iota(14) - \iota(7) + \iota(1) - \iota(0) = \iota(8), which matches step 1.5, and clause 2 reads ι(8)ι(14)+ι(7)ι(1)+ι(0)=ι(0)\iota(8) - \iota(14) + \iota(7) - \iota(1) + \iota(0) = \iota(0), again matching.

step 1.1step 1.2step 1.4step 1.5L2L3L4
3.1

Both families therefore satisfy both forms of the identity, with every intersection exhibited rather than inferred.

step 2.1step 2.2step 2.3

Remarks

  • Adjoining one set changes every level of the sum. Passing from three sets to four adds a singleton term, three pair terms, three triple terms and one four-element term, and the totals at each level move accordingly; what stays fixed is that the alternating combination reproduces the size of the union.

  • The terms that vanish are not omitted. A{0,3}A_{\{0,3\}} and the three four-element-family triples are empty, so their terms are 00; they are still terms of the sum, and writing them keeps the count of terms at each level equal to the number of subsets of that size, which is what the grouping in [L3] asserts.

  • Where the complementary form gets its extra term. It runs over all subsets of the index set, including \varnothing, whose term is ιX\iota\lvert X\rvert. That is the only place the ambient set enters the arithmetic, and it is why the ambient set has to be named as part of the family.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 85 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