Alphabeta Math
DefinitionDefinition: AI-adaptedProof: Not applicableSession-authored (Fable 5 assisted)audited 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 code of a tree on a finite set of natural labels

Definition

Let SNS\subseteq\mathbb N be finite with S=n2|S|=n\ge2, and let TT be a tree whose vertex set is SS. Here n2n-2 denotes the unique natural number mm satisfying m+2=nm+2=n. The Prüfer code is the word of length n2n-2 on SS obtained by repeating the following operation until two vertices remain:

  1. choose the least labelled leaf vv;
  2. record the unique neighbour of vv;
  3. delete vv and its incident edge.

A nontrivial tree has a leaf, so the least one exists (Every tree with at least two vertices has at least two leaves, The well-ordering principle). Deleting a leaf from a tree with at least three vertices leaves a tree: paths between the remaining vertices never need the deleted leaf, and no cycle is introduced. Thus every stage is defined. Each stage removes one vertex, so precisely n2n-2 symbols are recorded.

The usual formulation has S=n={0,1,,n1}S=n=\{0,1,\ldots,n-1\}, using natural numbers as their von Neumann initial segments (The natural numbers N\mathbb{N} (von Neumann), The cardinality A\lvert A\rvert of a finite set). Allowing an arbitrary finite subset of natural labels is essential because every intermediate label set produced by deletion is again such a subset.

Depends on

Used by

Dependency tree · next 3 levels

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