Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-09-12
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.

A natural-number coding of finite sequences

Definition

Write bin(n) for the canonical binary numeral of n, with bin(0)=0. For a binary word w, let c(w):=1w0w.

For a finite sequence of natural numbers a=(a0,,ak1), define its sequence word W(a):=11k0c(bin(a0))c(bin(ak1)). The leading 1 keeps the whole word a canonical positive binary numeral even when k=0.

The natural-number code of a is the unique natural number aseq whose binary numeral is W(a). In particular, the empty sequence has code ()seq=2, because W(())=10.

By Finite tuples admit effective prefix-free binary encodings, the tuple of binary numerals inside W(a) is effectively and uniquely decodable, so this construction gives an injective coding of finite sequences of natural numbers by natural numbers.

Remarks

  • Later items write len(s) for the decoded length of the sequence coded by s, and (s)i for its ith decoded entry when i<len(s).

  • The coding is chosen so that the length header and every coordinate block can be recovered by bounded scans through the binary numeral of the code.

Depends on

Used by

Dependency tree · two levels

5 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