Alphabeta Math
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-26
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.

Positive-integer compositions have generating function x/(1−2x)

Statement

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

OGF⁡(C)=x1−2x.

Facts & Assumptions

Given: The atomic class Z and the constructions SEQ⁡(Z) and SEQ⁡≥1(Z).

[L1]

If A has no size-zero objects then SEQ⁡(A) has generating function 1/(1−A(x)), and SEQ⁡≥1(A) has generating function A(x)/(1−A(x)) (If A has no size-zero objects then SEQ⁡(A) has generating function 1/(1−A(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.1L1

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

2.1step 1.1L1L2algebra∎

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

Depends on

Used by

Dependency tree · two levels

10 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