Alphabeta Math
DefinitionDefinition: AI-adaptedProof: Not applicableaudited 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 S⊆N be finite with ∣S∣=n≥2, and let T be a tree whose vertex set is S. Here n−2 denotes the unique natural number m satisfying m+2=n. The Prüfer code is the word of length n−2 on S obtained by repeating the following operation until two vertices remain:

  1. choose the least labelled leaf v;
  2. record the unique neighbour of v;
  3. delete v 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 n−2 symbols are recorded.

The usual formulation has S=n={0,1,…,n−1}, using natural numbers as their von Neumann initial segments (The natural numbers N (von Neumann), The cardinality ∣A∣ 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 · two levels

27 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