Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-01
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 Prüfer decoding procedure is well defined and produces a labelled tree

Statement

Let SNS\subseteq\mathbb N be finite with S=n2|S|=n\ge2, and let (ai)i<n2(a_i)_{i<n-2} be a word on the label set SS. The following procedure is well defined and produces a tree on SS:

At stage ii, choose the least unused label absent from the remaining word aian3a_i\cdots a_{n-3}, join it to aia_i, and mark it used. After all symbols are processed, join the two unused labels.

Facts & Assumptions

Given: A word (ai)i<n2(a_i)_{i<n-2} on a finite set SNS\subseteq\mathbb N of cardinality n2n\ge2 (The cardinality A\lvert A\rvert of a finite set).

[L1]

A word with rr positions cannot contain more than rr distinct labels. Thus among r+2r+2 available labels at least two are absent; every nonempty set of natural labels has a least element (The pigeonhole principle on N\mathbb{N}, The well-ordering principle).

[F1]

A tree is a connected acyclic graph (Trees, forests, leaves and isolated vertices).

[L2]

Induction applies to the decoding stages (The principle of mathematical induction).

Proof

technique · induction on the stage number
1.1

Before any word entry is processed, the graph has nn singleton components indexed by SS, each containing exactly one unused label.

base
1.2

Assume that after ii stages the built edges form a forest and every component contains exactly one unused label.

ih
2.1

There are nin-i unused labels and n2in-2-i entries in the remaining word. Hence at least two unused labels are absent from that word, so the least such label vv exists. Every label used at an earlier stage was absent from the then-remaining word and hence from its current suffix, so aia_i is unused; because aia_i occurs in the remaining word, vaiv\ne a_i.

step 1.2L1
3.1

The label aia_i lies in a component different from the component containing vv: by the induction hypothesis each component contains exactly one unused label, and aiva_i\ne v. Adding vaiva_i and marking vv used joins those components without a cycle and leaves exactly one unused label in the new component. Thus the invariant holds after stage i+1i+1.

step 1.2step 2.1
4.1

Induction gives the invariant after all n2n-2 word stages. Exactly two unused labels and two components remain; joining those labels makes the graph connected without creating a cycle.

step 3.1L2
5.1

The output uses all labels in SS and is connected and acyclic, hence is a labelled tree on SS.

step 4.1F1discharge-induction

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 46 results over 25 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