Alphabeta Math
Session-authored (Fable 5 assisted)
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.

29 results · all verified · 20 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 9 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Combinatorial Classes and the Symbolic Method

1 · Prerequisites

2 · Summary

Formal power series, coefficient extraction, summable families, composition, differentiation, and the x-adic topology supply the exact background for this development. Finite cardinality underlies the counting sequence of a class, the published stars-and-bars theorem recovers the fixed-part composition count, and Euler's totient together with Burnside's orbit count is the seam that makes the cycle construction and the necklace formula rigorous.

The page defines combinatorial classes and the basic constructors E, Z, +, ×, SEQ, MSET, PSET, CYC, substitution, and pointing, then proves their ordinary generating-function translations. From those rules it derives binary words, compositions, partitions, necklaces, and the functional equations for plane and binary trees. It closes with order-raising recursive specifications, where x-adic completeness yields unique fixed points for symbolic recursive equations.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Combinatorial classes, counting sequences and ordinary generating functions

Definition

A combinatorial class is a pair (A,) consisting of a set A and a size map :AN such that, for every nN, the level

An:={aA:a=n}

is finite (The cardinality A of a finite set).

The counting sequence of A is

an:=An(nN),

Viewing each natural coefficient an as its canonical integer by The naturals embed in the integers, its ordinary generating function is the formal power series

A(x):=n0anxnZx

in the sense of Formal power series over a commutative ring and the coefficient-extraction functional [xn].

An isomorphism of combinatorial classes AB is a bijection f:AB such that f(a)=a for every aA. Such a bijection identifies each level An with the corresponding level Bn, so isomorphic classes have the same counting sequence and the same ordinary generating function.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

The neutral class E and the atomic class Z

Definition

The neutral class E has one object ϵ of size 0 and no objects of any other size. Its counting sequence is 1,0,0,, so its ordinary generating function is 1.

The atomic class Z has one object z of size 1 and no objects of any other size. Its counting sequence is 0,1,0,0,, so its ordinary generating function is x.

Both are combinatorial classes in the sense of Combinatorial classes, counting sequences and ordinary generating functions.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-26Open item page →

Disjoint unions and Cartesian products of combinatorial classes

Definition

Let A and B be combinatorial classes.

Their disjoint union A+B is the tagged union

A+B:=({0}×A)({1}×B),

with size (0,a):=a and (1,b):=b. The tags are part of the data: they keep the two copies disjoint even when A and B have common underlying objects.

Their Cartesian product A×B is the set of ordered pairs (a,b) with aA and bB, equipped with the size map

(a,b):=a+b.

Here the ordered pair itself records both components. This uniqueness of the factorisation is part of the construction: later counterexamples show that dropping it breaks the product rule.

For later shorthand, mA means the disjoint union of m tagged copies of A.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions

Statement

Let A and B be combinatorial classes with ordinary generating functions

A(x)=n0anxn,B(x)=n0bnxn.

Then the disjoint union and Cartesian product of Disjoint unions and Cartesian products of combinatorial classes satisfy

OGF(A+B)=A(x)+B(x),

and

OGF(A×B)=A(x)B(x).

Facts & Assumptions

Given: Combinatorial classes A and B with counting sequences (an) and (bn) and ordinary generating functions A(x) and B(x).

[L1]

If I is a finite set and (Ai)iI is a family of finite sets that are pairwise disjoint, then iIAi is finite and iIAi=iIAi (The sum rule: a finite disjoint union is finite with AB=A+B and iIAi=iIAi, and a sum over a finite index set splits along a partition).

[L2]

If A and B are finite then A×B is finite and A×B=AB (The product rule: A×B=AB, and i<mAi=i<mAi).

[L3]

For formal power series, [xn](FG)=i=0n[xi]F[xni]G (Formal power series over a commutative ring and the coefficient-extraction functional [xn]).

Proof

technique · direct
1.1

For each nN, the size-n layer of A+B is the disjoint union of the tagged finite sets An and Bn, so it has cardinality an+bn.

L1
1.2

For each nN, the size-n layer of A×B is the disjoint union of the finite sets Ai×Bni for 0in, so its cardinality is i=0naibni.

L1L2
2.1

Step 1.1 says [xn]OGF(A+B)=an+bn=[xn](A(x)+B(x)), and step 1.2 together with [L3] says [xn]OGF(A×B)=i=0naibni=[xn](A(x)B(x)). Equality of coefficients in every degree proves both displayed identities.

step 1.1step 1.2L3
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

The sequence construction SEQ(A)

Definition

Let A be a combinatorial class. Its sequence construction SEQ(A) is the class of all finite ordered sequences

σ=(a1,,ar)(r0, aiA),

with size

σ:=a1++ar.

The case r=0 is the empty sequence, whose size is 0; it is the unique object of the neutral class E.

Write SEQ1(A) for the subclass of nonempty sequences.

If A has an object of size 0, then SEQ(A) need not be a combinatorial class: infinitely many different lengths can produce the same total size. The generating-function theorem therefore carries a no-size-zero hypothesis.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x))

Statement

Let A be a combinatorial class with ordinary generating function

A(x)=n0anxn,

and suppose A has no size-zero objects, so a0=0. Then SEQ(A) is a combinatorial class and

OGF(SEQ(A))=11A(x).

Consequently,

OGF(SEQ1(A))=A(x)1A(x).

Facts & Assumptions

Given: A combinatorial class A with ordinary generating function A(x) and no size-zero objects.

[L1]

Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions (Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions).

[L2]

A formal power series is a unit exactly when its constant coefficient is a unit (A formal power series is a unit exactly when its constant coefficient is a unit).

Proof

technique · direct
1.1

Every sequence in SEQ(A) is either empty or has the form (a,σ) with aA and σSEQ(A), so SEQ(A)=E+A×SEQ(A) as combinatorial classes. Also, because every object of A has positive size, a sequence of total size n has length at most n, so the size-n layer of SEQ(A) is finite.

construct
2.1

Let F(x) be the ordinary generating function of SEQ(A). Step 1.1 and [L1] give F(x)=1+A(x)F(x).

step 1.1L1
3.1

Since A has no size-zero objects, the constant coefficient of A(x) is 0, so the constant coefficient of 1A(x) is 1, which is a unit. By [L2], 1A(x) is invertible, and solving the equation of step 2.1 gives F(x)=1/(1A(x)).

step 2.1L2
4.1

The class SEQ1(A) is SEQ(A)E, so [L1] and step 3.1 give OGF(SEQ1(A))=F(x)1=A(x)/(1A(x)).

step 3.1L1
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Binary words have generating function 1/(12x)

Statement

Let B be the class of finite binary words, with size equal to word length. Then

OGF(B)=112x.

Facts & Assumptions

Given: Two disjoint copies Z0 and Z1 of the atomic class Z, and the class A:=Z0+Z1.

[L1]

Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions (Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions).

[L2]

If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x)) (If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x))).

Proof

technique · direct
1.1

Each of Z0 and Z1 has generating function x, so A has generating function x+x=2x by [L1]. A binary word is exactly a finite sequence of objects from A.

L1
2.1

The class A has no size-zero objects, so [L2] applies and gives OGF(B)=OGF(SEQ(A))=1/(12x).

step 1.1L2
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Positive-integer compositions have generating function x/(12x)

Statement

Let C be the class of compositions of positive integers, with size equal to the sum of the parts. Then

OGF(C)=x12x.

Facts & Assumptions

Given: The atomic class Z and the constructions SEQ(Z) and SEQ1(Z).

[L1]

If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x)), and SEQ1(A) has generating function A(x)/(1A(x)) (If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x))).

[L2]

Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions (Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions).

Proof

technique · direct
1.1

Let P:=SEQ1(Z). Since OGF(Z)=x, [L1] gives OGF(P)=x/(1x). An object of P is a nonempty sequence of atoms, so it records one positive integer, namely its length.

L1
2.1

A composition is a nonempty sequence of such positive-size blocks, so C=SEQ1(P). Applying [L1] again gives OGF(C)=OGF(P)/(1OGF(P))=(x/(1x))/(1x/(1x))=x/(12x).

step 1.1L1L2algebra
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Compositions of n into k positive parts are counted by (n1k1)

Statement

Let n,kN with n1 and k1. Then the number of compositions of n into exactly k positive parts is

(n1k1).

When k>n, there are no such compositions.

Facts & Assumptions

Given: Naturals n1 and k1.

[L1]

The previous corollary identifies a composition as a finite sequence of positive integers (Positive-integer compositions have generating function x/(12x)).

Proof

technique · direct
1.1

A composition (c1,,ck) of n into k positive parts determines a weak composition (c11,,ck1) of nk into k parts, and conversely adding 1 to every part of a weak composition of nk into k parts recovers a composition of n into k parts. If k>n, no such composition exists, because c1++ck1++1=k>n.

L1constructalgebra
2.1

When kn, step 1.1 and [L2] give ((nk)+k1k1)=(n1k1) compositions. Together with the empty case from step 1.1, this proves the claim.

step 1.1L2algebra
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

The multiset construction MSET(A) and the powerset construction PSET(A)

Definition

Let A be a combinatorial class.

An object of MSET(A) is a finitely supported multiplicity function

m:AN,

whose value m(a) records how many copies of a occur. Its size is

m:=aAm(a)a,

which is a finite sum because the support of m is finite.

An object of PSET(A) is such a multiplicity function with values only in {0,1}, so it records an ordinary finite subset of A. Its size is given by the same formula.

If A has a size-zero object, then MSET(A) may fail to be a combinatorial class because that object can be repeated arbitrarily often without changing total size. The powerset construction has no such failure: its multiplicities are only 0 and 1, and the size-zero level of A is finite. Its generating function would, however, acquire the extra factor 2a0. The product formulas below use the uniform no-size-zero hypothesis and therefore start at positive sizes.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

If A has no size-zero objects then MSET(A) has generating function n1(1xn)an

Statement

Let A be a combinatorial class with no size-zero objects, and write

A(x)=n1anxn

for its ordinary generating function. Then MSET(A) is a combinatorial class and

OGF(MSET(A))=n1(1xn)an.

Facts & Assumptions

Given: A combinatorial class A with no size-zero objects and counting sequence (an)n1.

[L1]

A formal power series is a unit exactly when its constant coefficient is a unit (A formal power series is a unit exactly when its constant coefficient is a unit).

[L2]

Summable formal families may be regrouped and rearranged, distribute over multiplication, and have well-defined locally finite products (Summable formal families may be regrouped and rearranged, distribute over multiplication, and have well-defined locally finite products).

Proof

technique · direct
1.1

For one fixed object uA of size n1, the possible multiplicities 0,1,2, contribute the formal series 1+xn+x2n+, which is (1xn)1 because its product with 1xn is 1 coefficientwise. The factor exists by [L1], since 1xn has constant coefficient 1.

L1algebra
2.1

A multiset of A is exactly a choice of one multiplicity for each object of A. Because every object has positive size, only finitely many objects can contribute to any fixed degree <N, so the product of the per-object series of step 1.1 is locally finite and may be regrouped by [L2]. This also shows that each size layer of MSET(A) is finite.

step 1.1L2
3.1

Regroup the factors of step 2.1 by object size. For each n1 there are exactly an objects of size n, and each contributes one factor (1xn)1, so the total contribution of size n objects is (1xn)an. Multiplying over all sizes gives the displayed product formula.

step 2.1L2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Over a commutative Q-algebra, MSET(A) has generating function exp(k1A(xk)/k)

Statement

Let A be a combinatorial class with no size-zero objects, and let

A(x)=n1anxn

be its ordinary generating function. Over a commutative Q-algebra,

OGF(MSET(A))=exp(k1A(xk)k).

Facts & Assumptions

Given: The hypotheses and notation of the statement above.

[L1]

If A has no size-zero objects then OGF(MSET(A))=n1(1xn)an (If A has no size-zero objects then MSET(A) has generating function n1(1xn)an).

[L2]

Formal exp and log are inverse homomorphisms, and log((1+u)(1+v))=log(1+u)+log(1+v) (Formal exp and log are inverse homomorphisms and formal binomial powers obey the expected addition laws).

[L3]

The formal logarithm is log(1+u)=j1(1)j1uj/j (Formal exponential, logarithm, and binomial powers over a commutative Q-algebra).

Proof

technique · direct
1.1

Let M(x) denote the multiset generating function. By [L1], M(x)=n1(1xn)an, so applying log and using [L2] gives logM(x)=n1anlog(1xn).

L1L2
2.1

By [L3], log(1xn)=k1xnk/k, so logM(x)=n1k1anxnk/k=k1(1/k)n1an(xk)n=k1A(xk)/k. For each fixed degree, only finitely many pairs (n,k) contribute, so the rearrangement is coefficientwise finite.

step 1.1L3algebra
3.1

Exponentiating the identity of step 2.1 and using that exp and log are inverse maps by [L2] gives M(x)=exp(k1A(xk)/k).

step 2.1L2
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Integer partitions have generating function n1(1xn)1

Statement

Let P be the class of integer partitions, with size equal to the sum of the parts. Then

OGF(P)=n1(1xn)1.

Facts & Assumptions

Given: For each n1, a single abstract object pn of size n, and the combinatorial class U:={p1,p2,}.

[L1]

If A has no size-zero objects then OGF(MSET(A))=n1(1xn)an (If A has no size-zero objects then MSET(A) has generating function n1(1xn)an).

Proof

technique · direct
1.1

A multiset of objects from U records exactly an integer partition: the multiplicity of pn is the number of parts equal to n, and the total size is the sum of the parts. Also U has exactly one object of each positive size and none of size 0.

construct
2.1

Applying [L1] with an=1 for every n1 gives OGF(P)=n1(1xn)1.

step 1.1L1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

If A has no size-zero objects then PSET(A) has generating function n1(1+xn)an

Statement

Let A be a combinatorial class with no size-zero objects, and write

A(x)=n1anxn.

Then PSET(A) is a combinatorial class and

OGF(PSET(A))=n1(1+xn)an.

Facts & Assumptions

Given: A combinatorial class A with no size-zero objects and counting sequence (an)n1.

[L1]

Summable formal families may be regrouped and rearranged, distribute over multiplication, and have well-defined locally finite products (Summable formal families may be regrouped and rearranged, distribute over multiplication, and have well-defined locally finite products).

Proof

technique · direct
1.1

For one fixed object uA of size n1, a powerset object either omits u or includes it once, so the contribution of u is the two-term series 1+xn.

construct
2.1

A powerset object is a simultaneous yes-or-no choice for every object of A. Since every object has positive size, only finitely many such choices can affect a fixed degree, so the per-object factors of step 1.1 form a locally finite product that can be regrouped by [L1]. This also shows that each size layer of PSET(A) is finite.

step 1.1L1
3.1

For each n1 there are exactly an objects of size n, and each contributes one factor 1+xn. Regrouping the locally finite product of step 2.1 therefore gives OGF(PSET(A))=n1(1+xn)an.

step 2.1L1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Over a commutative Q-algebra, PSET(A) has generating function exp(k1(1)k1A(xk)/k)

Statement

Let A be a combinatorial class with no size-zero objects, and write

A(x)=n1anxn.

Over a commutative Q-algebra,

OGF(PSET(A))=exp(k1(1)k1A(xk)k).

Facts & Assumptions

Given: The hypotheses and notation of the statement above.

[L1]

If A has no size-zero objects then OGF(PSET(A))=n1(1+xn)an (If A has no size-zero objects then PSET(A) has generating function n1(1+xn)an).

[L2]

Formal exp and log are inverse homomorphisms, and log((1+u)(1+v))=log(1+u)+log(1+v) (Formal exp and log are inverse homomorphisms and formal binomial powers obey the expected addition laws).

[L3]

The formal logarithm is log(1+u)=j1(1)j1uj/j (Formal exponential, logarithm, and binomial powers over a commutative Q-algebra).

Proof

technique · direct
1.1

Let P(x) denote the powerset generating function. By [L1], P(x)=n1(1+xn)an, so applying log and using [L2] gives logP(x)=n1anlog(1+xn).

L1L2
2.1

By [L3], log(1+xn)=k1(1)k1xnk/k, so logP(x)=n1k1(1)k1anxnk/k=k1((1)k1/k)n1an(xk)n=k1(1)k1A(xk)/k. Again the rearrangement is coefficientwise finite in every degree.

step 1.1L3algebra
3.1

Exponentiating step 2.1 and using the inverse relation of [L2] gives the stated formula for P(x).

step 2.1L2
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

The cycle construction CYC(A)

Definition

Let A be a combinatorial class. For each m1, let Cm=Z/m act on the set of m-tuples

Am={(a0,,am1):aiA}

by cyclic rotation:

[r]m(a0,,am1):=(ar,ar+1,,am1,a0,,ar1).

The cycle construction CYC(A) is the disjoint union, over all m1, of the orbit sets of these actions. An object of CYC(A) is therefore a cyclic arrangement of finitely many A-objects, and its size is

(a0,,am1):=a0++am1,

which is constant on each orbit.

If A has a size-zero object, then arbitrarily long cycles may have the same total size. The generating-function theorem for CYC therefore assumes that A has no size-zero objects.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

A tuple fixed by a cyclic rotation is determined by a shorter periodic block

Statement

Let m1, let 0r<m, and put d:=gcd(m,r). For an m-tuple u=(u0,,um1), the following are equivalent:

  1. rotation by r places fixes u;
  2. whenever ij(modd), one has ui=uj;
  3. there is a d-tuple (b0,,bd1) such that ui=bimodd for every i.

In particular a tuple fixed by rotation by r places is determined by its first d entries and is obtained by repeating that shorter block exactly m/d times.

Facts & Assumptions

Given: Integers m1 and 0r<m, the integer d:=gcd(m,r), and an m-tuple u=(u0,,um1).

Proof

technique · direct
1.1

Assume rotation by r places fixes u. Then one application of the rotation gives ui=ui+rmodm for every index i, and iterating gives ui=ui+qrmodm for every q0.

given
1.2

If condition 2 holds, define bs:=us for 0s<d. Every index i has a unique residue class modulo d, and condition 2 makes ui depend only on that class, so ui=bimodd for every i. This is condition 3.

givenconstruct
2.1

If ij(modd), then d(ji). Since gcd(r,m)=d, [L1] gives an integer q with rqji(modm), and step 1.1 therefore gives ui=uj. This proves 1 implies 2.

step 1.1L1
2.2

If condition 3 holds, then dr, so (i+r)modd=imodd for every i. Hence ui+rmodm=b(i+r)modd=bimodd=ui, so rotation by r places fixes u. Thus 3 implies 1.

step 1.2L1algebra
3.1

Steps 2.1, 1.2, and 2.2 prove the equivalence of the three conditions and the final periodic-block description.

step 2.1step 1.2step 2.2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Over a commutative Q-algebra, CYC(A) has generating function k1φ(k)klog11A(xk)

Statement

Let A be a combinatorial class with no size-zero objects, and write

A(x)=n1anxn.

Over a commutative Q-algebra,

OGF(CYC(A))=k1φ(k)klog11A(xk).

Facts & Assumptions

Given: A combinatorial class A with no size-zero objects and ordinary generating function A(x).

[L1]

Cauchy-Frobenius orbit counting: for a finite group action, GX/G=gGXg (Cauchy-Frobenius orbit counting: GX/G=gGXg for a finite group action).

[L2]

If d=gcd(m,r), then an m-tuple fixed by rotation by r places is equivalently a repetition of one block of length d (A tuple fixed by a cyclic rotation is determined by a shorter periodic block).

[L3]

For k1, Euler's totient φ(k) is the number of unit classes in Z/k, and [s]k is a unit exactly when gcd(s,k)=1 (The unit group (Z/n)× and Euler's totient φ(n)=(Z/n)× for n1, For n1, [a]n is a unit if and only if gcd(a,n)=1).

[L4]

The formal logarithm is log(1+u)=j1(1)j1uj/j (Formal exponential, logarithm, and binomial powers over a commutative Q-algebra).

Proof

technique · direct
1.1

For each m1, let Cm be the class of cycles of length m. Since every object of A has positive size, an m-tuple of total size n can use only entries of size at most n, so every size layer of Am is finite. Applying [L1] degree by degree to the cyclic action of Cm therefore gives OGF(Cm)=(1/m)r=0m1Fm,r(x), where Fm,r(x) is the generating function of the m-tuples fixed by rotation by r places.

L1
1.2

Put d:=gcd(m,r) and k:=m/d. By [L2], a tuple fixed by rotation by r is obtained by repeating one block of length d. Each entry in that block is counted k times in the full cycle, so the generating function of such fixed tuples is Fm,r(x)=A(xk)d=A(xm/d)d.

L2
2.1

Fix a divisor k of m, and write d=m/k. The rotations with m/gcd(m,r)=k are exactly the integers r=ds with 0s<k and gcd(s,k)=1, so [L3] shows that there are φ(k) of them. Step 1.2 therefore gives OGF(Cm)=(1/m)kmφ(k)A(xk)m/k.

step 1.2L3algebra
3.1

Summing step 2.1 over all m1 and writing m=dk yields OGF(CYC(A))=k1(φ(k)/k)d1A(xk)d/d. Because A(0)=0, every degree receives contributions from only finitely many pairs (k,d), so this regrouping is coefficientwise finite.

step 2.1algebra
4.1

Applying [L4] with u=A(xk) gives d1A(xk)d/d=log(1/(1A(xk))). Substituting this into step 3.1 gives the stated cycle formula.

step 3.1L4
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

The number of necklaces of length n on an m-letter alphabet is 1ndnφ(d)mn/d

Statement

Let m1 and n1. The number of necklaces of length n on an m-letter alphabet is

1ndnφ(d)mn/d.

Facts & Assumptions

Given: Naturals m1 and n1, and the class A:=mZ of m coloured atoms.

[L1]

If a combinatorial class A has no size-zero objects, then over a commutative Q-algebra its cycle construction has generating function OGF(CYC(A))=k1φ(k)klog11A(xk) (Over a commutative Q-algebra, CYC(A) has generating function k1φ(k)klog11A(xk)).

Proof

technique · direct
1.1

The class A has generating function A(x)=mx. Its cycle class is exactly the class of coloured necklaces, with size equal to necklace length.

construct
1.2

For each k1, one has log(1/(1mxk))=j1mjxkj/j, so the coefficient of xn in this series is 0 unless kn, and is mn/k/(n/k) when kn.

algebra
2.1

Taking the coefficient of xn in [L1] and using steps 1.1 and 1.2 gives [xn]OGF(CYC(A))=kn(φ(k)/k)(mn/k/(n/k))=(1/n)knφ(k)mn/k. This coefficient is exactly the number of necklaces of length n.

step 1.1step 1.2L1algebra
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Substitution of combinatorial classes

Definition

Let A and B be combinatorial classes. Their substitution AB is the class of pairs

(a,(b1,,br))

such that aA has size r and each biB. Its size is

(a,(b1,,br)):=b1++br.

The point is that an object of size r in A supplies exactly r ordered slots to be filled by B-objects.

If B has a size-zero object, then for suitable outer classes A fixed total size can arise from arbitrarily large values of r, so the substituted class need not be combinatorial. The substitution theorem therefore assumes [x0]B(x)=0.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

If B(0)=0 then AB has generating function A(B(x))

Statement

Let A and B be combinatorial classes with ordinary generating functions

A(x)=r0arxr,B(x)=n0bnxn,

and suppose B(0)=0. Then AB is a combinatorial class and

OGF(AB)=A(B(x)).

Facts & Assumptions

Given: The hypotheses and notation of the statement above.

[L1]

Formal composition is fg=r0[xr]fgr, and it is admissible when g(0)=0 (Composition fg of formal series when the outer series is a polynomial or the inner series has zero constant term).

Proof

technique · direct
1.1

Fix r0. An object of size r in A contributes one ordered list of r slots, and filling those slots with B-objects is counted by B(x)r. Since there are ar choices for the outer object, the total contribution of all outer objects of size r is arB(x)r.

construct
2.1

Because B(0)=0, every B-object has positive size. Therefore an object of total size n in AB can only come from outer size rn, so each size layer is finite and the total generating function is r0arB(x)r.

step 1.1given
3.1

The series of step 2.1 is exactly the admissible formal composition A(B(x)) by [L1], and [L2] records that substitution by a zero-constant series is the corresponding ring operation on formal series. Hence OGF(AB)=A(B(x)).

step 2.1L1L2
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Pointing a combinatorial class

Definition

Let A be a combinatorial class. Its pointing ΘA is the class of pairs

ΘA:={(a,p):aA, 1pa},

with size (a,p):=a.

Thus a pointed object is an A-object together with a distinguished atomic position. Objects of size 0 contribute nothing to ΘA, because there is no index p with 1p0.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Pointing translates to xA(x)

Statement

Let A be a combinatorial class with ordinary generating function

A(x)=n0anxn.

Then

OGF(ΘA)=xA(x).

Facts & Assumptions

Given: A combinatorial class A with counting sequence (an) and ordinary generating function A(x).

[L1]

The formal derivative of n0anxn is n1nanxn1 (The formal derivative D(anxn)=n1nanxn1).

Proof

technique · direct
1.1

For each n0, every size-n object of A contributes exactly n pointed objects of size n, one for each distinguished position. Hence the size-n layer of ΘA has cardinality nan.

given
2.1

Therefore OGF(ΘA)=n0nanxn=xn1nanxn1=xA(x), using [L1] for the last equality.

step 1.1L1algebra
DefinitionDefinition: AI-adaptedProof: Not applicableaudited 2026-08-26Open item page →

Combinatorial specifications and order-raising recursive specifications

Definition

Fix a commutative ring R.

A combinatorial specification for an unknown class Y is an equation

Y=Φ(Y)

whose right-hand side is built from already defined classes and from Y using symbolic constructions whose generating-function operations are defined over R. Replacing those constructions by their generating-function operations produces an associated operation FΦ(f) whenever all the required formal-series operations are defined at f. Write

DΦ:={fRx:FΦ(f) is defined}

for its natural domain. For example, a factor SEQ(Y) contributes (1f)1, which is defined precisely when the constant coefficient of 1f is a unit; being defined over R does not make this operation total on Rx.

Thus a specification using a construction whose series formula needs rational scalars, such as CYC, is admitted here only when R is a commutative Q-algebra and the input satisfies that construction's order and constant-term conditions.

A nonempty set DDΦ is an admissible domain when FΦ(D)D. The specification is order-raising on D when

ordx(FΦ(f)FΦ(g))ordx(fg)+1

for all f,gD. When D=Rx, so that FΦ is a total endomorphism of the whole series ring, we call the specification simply an order-raising recursive specification and write

FΦ:RxRx.

This is the x-adic contraction condition. It says that changing the input only changes the output in strictly higher order, so successive coefficient prefixes stabilize. Specifications on a proper admissible domain require the corresponding invariant-domain fixed-point theorem; the total-map theorem developed here applies to the unqualified notion.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

An order-raising recursive specification has a unique solution

Statement

Let R be a commutative ring, and let

F:RxRx

satisfy

ordx(F(f)F(g))ordx(fg)+1

for all formal series f,g. Then there is a unique formal series y with F(y)=y.

Equivalently, once a commutative coefficient ring is fixed, every order-raising recursive specification has a unique generating-function solution.

Facts & Assumptions

Given: A commutative ring R and an operator F:RxRx satisfying the displayed order-raising inequality.

[L1]

Formal order is non-Archimedean under sums: in particular, ordx(f+g)min(ordxf,ordxg) (Formal order is non-Archimedean under sums and additive under products over a domain).

[L2]

Every x-adically Cauchy sequence in Rx has a unique x-adic limit (Rx is complete in the x-adic topology and R[x] is dense by truncation).

Proof

technique · direct
1.1

Define a sequence by f0:=0 and fj+1:=F(fj). Then ordx(fj+1fj)j for every j: the case j=0 is automatic, and if it holds at j then ordx(fj+2fj+1)=ordx(F(fj+1)F(fj))ordx(fj+1fj)+1j+1.

given
2.1

For p>q, write fpfq=(fpfp1)++(fq+1fq). Step 1.1 and [L1] give ordx(fpfq)q, so (fj) is x-adically Cauchy.

step 1.1L1
3.1

By [L2], the sequence (fj) has a unique x-adic limit; call it y.

step 2.1L2choose
4.1

The order-raising hypothesis applied to fj and y gives ordx(F(fj)F(y))ordx(fjy)+1, so F(fj)F(y) in the x-adic topology. But F(fj)=fj+1, and fj+1y as well, hence F(y)=y.

step 3.1given
5.1

If z is another fixed point and zy, put p:=ordx(yz). Then p=ordx(F(y)F(z))p+1, impossible. Hence z=y.

step 4.1givenassume-contradischarge-contradiction
6.1

Step 4.1 gives existence of a fixed point and step 5.1 gives uniqueness, so the recursive specification has exactly one solution.

step 4.1step 5.1
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Rooted plane trees satisfy T(x)=x/(1T(x))

Statement

Let T(x) be the generating function of rooted plane trees, specified by

T=Z×SEQ(T).

Then T(x) is the unique formal power series with zero constant coefficient satisfying

T(x)=x1T(x).

Facts & Assumptions

Given: The recursive specification T=Z×SEQ(T).

[L1]

If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x)) (If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x))).

[L2]

Every x-adically Cauchy sequence in Zx has a unique x-adic limit (Rx is complete in the x-adic topology and R[x] is dense by truncation).

[L4]

The atomic class Z has generating function x, and every object of Z has size 1 (The neutral class E and the atomic class Z).

Proof

technique · direct
1.1

On the set xZx of series with zero constant coefficient, define F(Y)=x/(1Y). This is well defined because 1Y has constant coefficient 1. For U,V in this set, F(U)F(V)=x(UV)/((1U)(1V)); both denominators are units of order 0, so [L3] gives ordx(F(U)F(V))ordx(UV)+1. Moreover F(Y) again has zero constant coefficient.

L3algebra
1.2

Every object of T has a root from the atomic class Z, so every tree has size at least 1. Thus T has no size-zero objects.

givenL4
2.1

Define T0:=0 and Tj+1:=F(Tj). Step 1.1 gives ordx(Tj+1Tj)j by induction on j, and [L3] then shows that (Tj) is x-adically Cauchy. By [L2] it has an x-adic limit T, whose constant coefficient is 0.

step 1.1L2L3choose
3.1

Step 1.1 also gives F(Tj)F(T). Since F(Tj)=Tj+1 and the shifted sequence has the same limit T, uniqueness of limits from [L2] yields F(T)=T.

step 1.1step 2.1L2
4.1

If U,VxZx are distinct fixed points and p:=ordx(UV), then step 1.1 gives p=ordx(F(U)F(V))p+1, a contradiction. Thus T is the unique zero-constant fixed point.

step 1.1step 3.1assume-contradischarge-contradiction
5.1

Applying [L1] to SEQ(T) and using [L4] for the root factor shows that SEQ(T) has generating function 1/(1T(x)), while Z contributes x. Therefore the defining equation of T reads T(x)=x/(1T(x)), and step 4.1 gives the asserted uniqueness in the zero-constant class.

step 1.2step 4.1L1L4
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Rooted plane binary trees satisfy B(x)=1+xB(x)2

Statement

Let B(x) be the generating function of rooted plane binary trees, specified by

B=E+Z×B2.

Then B(x) is the unique formal power series satisfying

B(x)=1+xB(x)2.

Facts & Assumptions

Given: The recursive specification B=E+Z×B2.

[L1]

Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions (Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions).

[L2]

An order-raising recursive specification has a unique solution (An order-raising recursive specification has a unique solution).

[L3]

Formal order is non-Archimedean under sums and satisfies ordx(fg)ordx(f)+ordx(g) over a commutative ring (Formal order is non-Archimedean under sums and additive under products over a domain).

Proof

technique · direct
1.1

The associated operator is F(Y)=1+xY2. For any U,V, one has F(U)F(V)=x(U+V)(UV), so [L3] gives ordx(F(U)F(V))ordx(UV)+1. Thus the specification is order-raising.

L3algebra
2.1

By [L2], the specification has a unique formal power series solution B(x).

step 1.1L2
3.1

The neutral class contributes 1, the atomic class contributes x, and the ordered pair of left and right subtrees contributes B(x)2 by [L1]. Hence the specification translates to B(x)=1+xB(x)2.

step 2.1L1

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Binary words of length at most three from SEQ(2Z)

Example

The class SEQ(2Z) gives binary words. Up to length 3 the words are

ϵ,

0, 1,

00, 01, 10, 11,

000, 001, 010, 011, 100, 101, 110, 111.

So the initial coefficient sequence is 1,2,4,8.

Facts & Assumptions

Given: The binary-word generating function OGF(B)=1/(12x) (Binary words have generating function 1/(12x)).

Verification

technique · direct
1.1

The displayed list has 1 word of length 0, 2 of length 1, 4 of length 2, and 8 of length 3.

given
2.1

Expanding 1/(12x) as 1+2x+4x2+8x3+ gives the same initial coefficients, so the explicit list matches the theorem.

step 1.1
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

The compositions of 4 from SEQ1(SEQ1(Z))

Example

The eight compositions of 4 are

4,

3+1, 1+3, 2+2,

2+1+1, 1+2+1, 1+1+2,

1+1+1+1.

They split by number of parts as 1,3,3,1.

Facts & Assumptions

Given: Compositions are nonempty sequences of positive integers (Positive-integer compositions have generating function x/(12x)).

[L1]

The number of compositions of n into exactly k positive parts is (n1k1) (Compositions of n into k positive parts are counted by (n1k1)).

Verification

technique · direct
1.1

The displayed list contains every ordered positive-part sum of 4: one with 1 part, three with 2 parts, three with 3 parts, and one with 4 parts.

given
2.1

The part-counts match [L1]: (30)=1, (31)=3, (32)=3, and (33)=1.

step 1.1L1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Partitions with parts at most 3 from a truncated multiset product

Example

Restricting the Euler product to part sizes 1,2,3 gives

1(1x)(1x2)(1x3).

The coefficient of x5 is 5, corresponding to the five partitions of 5 whose parts are at most 3:

3+2, 3+1+1, 2+2+1, 2+1+1+1, 1+1+1+1+1.

Facts & Assumptions

Given: A combinatorial class having one object of each size 1, 2, and 3, and no other objects.

[L1]

If A has no size-zero objects and an objects of size n, then MSET(A) has generating function n1(1xn)an (If A has no size-zero objects then MSET(A) has generating function n1(1xn)an).

Verification

technique · direct
1.1

Applying [L1] to the Given class and multiplying the resulting factors to degree 5 gives (1x)1(1x2)1(1x3)1=(1+x+x2+x3+x4+x5)(1+x2+x4)(1+x3)=1+x+2x2+3x3+4x4+5x5+O(x6).

givenL1algebra
2.1

The five displayed partitions of 5 are exactly the partitions whose part sizes lie in {1,2,3}, so the coefficient 5 has the advertised interpretation.

step 1.1
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Plane trees with at most four vertices from T=Z×SEQ(T)

Example

The rooted plane trees on at most four vertices are counted by the first coefficients of the Catalan series:

1, 1, 2, 5.

Concretely there is one tree on one vertex, one on two vertices, two on three vertices, and five on four vertices.

Facts & Assumptions

Given: The plane-tree generating function satisfies T(x)=x/(1T(x)) (Rooted plane trees satisfy T(x)=x/(1T(x))).

Verification

technique · direct
1.1

Solving T=x/(1T) coefficientwise gives T(x)=x+x2+2x3+5x4+, so the first four counts are 1,1,2,5.

givenalgebra
2.1

These are realized by the evident shapes: a single root; a root with one child; for three vertices, the chain and the root with two children; for four vertices, the chain of length four, the root with three children, the root with one child whose child has two children, and the two left-right orderings of a root with two children one of which has one child.

step 1.1
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Binary necklaces of length 6 from both CYC(2Z) and Burnside's lemma

Example

There are 14 binary necklaces of length 6.

Verification

technique · direct
1.1

The corollary with m=2 and n=6 gives (1/6)(φ(1)26+φ(2)23+φ(3)22+φ(6)21)=(1/6)(64+8+8+4)=14.

givenalgebra
1.2

Burnside gives the same value. The six rotations of a 6-bead necklace fix 64,2,4,8,4,2 colourings respectively, since the numbers of position-orbits are 6,1,2,3,2,1. Their average is (64+2+4+8+4+2)/6=14.

L1algebra
2.1

The cycle-construction count and the direct Burnside count therefore agree at length 6.

step 1.1step 1.2
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

Iterating a recursive specification to determine coefficients through degree 6

Example

For the plane-tree equation

T=x1T,

start with T0:=0 and define Tj+1:=x/(1Tj), truncating modulo x7. The iterates are

T1=x,

T2=x+x2+x3+x4+x5+x6,

T3=x+x2+2x3+4x4+8x5+16x6,

T4=x+x2+2x3+5x4+13x5+34x6,

T5=x+x2+2x3+5x4+14x5+41x6,

T6=x+x2+2x3+5x4+14x5+42x6.

So the coefficients through degree 6 are 1,1,2,5,14,42.

Facts & Assumptions

Given: The plane-tree series is the unique fixed point of Yx/(1Y) (Rooted plane trees satisfy T(x)=x/(1T(x))), and order-raising recursion converges coefficientwise by successive truncation (An order-raising recursive specification has a unique solution).

Verification

technique · direct
1.1

Substituting each displayed iterate into x/(1Y) and truncating modulo x7 gives the next one in the list.

givenalgebra
2.1

By the sixth iterate, every coefficient through degree 6 has stabilized, so the unique fixed point begins T(x)=x+x2+2x3+5x4+14x5+42x6+.

step 1.1given
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

A family with infinitely many objects of size 2 is not a combinatorial class

Counterexample

Let A:={a0,a1,a2,} and define aj:=2 for every jN. Then the level A2 is infinite, so A is not a combinatorial class.

Facts & Assumptions

Given: A combinatorial class is required to have finite size-n levels for every n (Combinatorial classes, counting sequences and ordinary generating functions).

Verification

technique · direct
1.1

The size-2 level of the displayed family is A2={a0,a1,a2,}, which is infinite.

given
2.1

This violates the defining finiteness condition on levels, so the family is not a combinatorial class.

step 1.1given
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

Without disjoint copies, union does not add generating functions

Counterexample

Let A=B={a} with a=1, and form the ordinary set-theoretic union AB={a} without adding tags. Then

OGF(A)=x,OGF(B)=x,OGF(AB)=x2x.

Verification

technique · direct
1.1

The ordinary union AB has one object of size 1, so its generating function is x.

given
2.1

The sum OGF(A)+OGF(B) is x+x=2x, which is different from step 1.1. The failure is exactly the missing disjointness: the same object was counted twice on the right and once on the left.

step 1.1givenalgebra
CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

A product class without unique factorisation does not have generating function A(x)B(x)

Counterexample

Let A={a} with a=1, let B={b0,b1} with b0=b1=1, and let C={c} with c=2. Suppose a would-be product construction sends both pairs (a,b0) and (a,b1) to the same object c. Then

OGF(A)=x,OGF(B)=2x,OGF(C)=x22x2.

Facts & Assumptions

Given: The symbolic product rule applies to the Cartesian product, where the ordered pair itself records both components (Disjoint union and Cartesian product translate to addition and multiplication of ordinary generating functions, Disjoint unions and Cartesian products of combinatorial classes).

Verification

technique · direct
1.1

The class A×B has two size-2 objects, namely (a,b0) and (a,b1), so its generating function is 2x2.

given
2.1

The collapsed construction C has only one size-2 object, so its generating function is x2. The missing factor of 2 is exactly the loss of unique factorisation.

step 1.1given
False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26Open item page →

FALSE: SEQ(A) is a combinatorial class even when A has a size-zero object

Statement

False claim: SEQ(A) is always a combinatorial class, even when A has an object of size 0.

The theorem If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x)) excludes exactly this case, and the exclusion is necessary.

Facts & Assumptions

Given: The sequence construction (The sequence construction SEQ(A)) and its generating function theorem, which assumes that A has no size-zero objects (If A has no size-zero objects then SEQ(A) has generating function 1/(1A(x))).

Refutation

technique · direct
1.1

Let A={e} with e=0. Then for every r0, the length-r sequence (e,,e) lies in SEQ(A) and has total size 0.

given
2.1

These sequences are all distinct because their lengths differ, so the size-0 level of SEQ(A) is infinite. Hence SEQ(A) is not a combinatorial class.

step 1.1given
3.1

The claim is therefore false, and the no-size-zero hypothesis in the sequence theorem is load bearing.

step 2.1given
False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

FALSE: the positive-size multiset product always encodes a valid multiset class

Statement

False claim: once one knows the positive-size counts (an)n1, the formal product

n1(1xn)an

automatically is the ordinary generating function of the multiset construction, with no further local-finiteness hypothesis on the underlying class.

The formal product itself is coefficientwise well defined. What is false is its unconditional interpretation as a multiset generating function: omitted size-0 behaviour can destroy local finiteness completely while leaving the displayed positive-size sequence unchanged.

Facts & Assumptions

Given: The multiset product theorem assumes that the underlying class has no size-zero objects (If A has no size-zero objects then MSET(A) has generating function n1(1xn)an).

[L1]

Well-defined locally finite products are the ones licensed by the summability machinery (Summable formal families may be regrouped and rearranged, distribute over multiplication, and have well-defined locally finite products).

Refutation

technique · direct
1.1

Let A have one object z of size 0 and one object u of size 1. Its positive-size counting sequence is a1=1 and an=0 for n>1, so the displayed product is (1x)1.

given
2.1

But MSET(A) has infinitely many size-0 objects: the multiplicity functions with m(z)=0,1,2, and m(u)=0 are all distinct and all have total size 0. So the would-be multiset class is not locally finite in degree 0, and [L1] does not license a generating function for it.

step 1.1L1given
3.1

The displayed product therefore does not automatically encode a valid multiset construction from the bare positive-size sequence alone. The omitted no-size-zero hypothesis matters, so the claim is false.

step 2.1given

Sources