Alphabeta Math
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.

✓ 9 results · all verified · 5 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Formal Languages, Encodings, and Decision Problems

1 · Prerequisites

2 · Summary

This page fixes the pre-machine vocabulary for the computability theory track: finite words over an alphabet, languages and their basic operations, reversal and induced letter-to-word maps, effective encodings with total decoders, and the encoded-size convention used later for complexity bounds.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Computation alphabets, words, the empty word, and Σ∗

Definition

Let Σ be a finite set, called an alphabet. For each natural number n, a word of length n over Σ is a function w:n→Σ, equivalently an element of Σn (The set BA of all functions A→B). Writing w(i)=ai for i<n, we display the word as a0a1⋯an−1. This is the same finite-word convention already used in Finite words, contiguous factors, avoidance and proper-prefix states.

The unique word of length 0 is the empty word ε.

If u:m→Σ and v:n→Σ are words, their concatenation is the word uv:(m+n)→Σ defined by (uv)(i):={u(i),i<m,v(i−m),m≤i<m+n.

The set of all finite words over Σ is Σ∗:=⋃n∈NΣn, an indexed union in the sense of ⋃i∈IAi:=⋃{Ai:i∈I}, and ⋂i∈IAi:=⋂{Ai:i∈I} for I≠∅.

Remarks

  • A word is an element of Σ∗, not a subset of Σ. The symbols of the alphabet are the values of the function; the word itself is the whole finite sequence.

  • For the binary alphabet {0,1} the notation {0,1}∗ means every finite binary word, including ε.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

The computation-word convention agrees with the published finite-word definition

Statement

Let Σ be a finite alphabet. The word convention of Computation alphabets, words, the empty word, and Σ∗ and the published convention of Finite words, contiguous factors, avoidance and proper-prefix states describe the same words of each length, the same empty word, and the same displayed concatenation of finite words. Hence the set Σ∗ on this page is exactly the set of finite words over Σ already used in the published item.

Facts & Assumptions

Given: A finite alphabet Σ.

[L1]

On this page, a word of length n over Σ is a function n→Σ, the empty word is the unique word of length 0, and concatenation is the offset construction of Computation alphabets, words, the empty word, and Σ∗.

[L2]

The published item Finite words, contiguous factors, avoidance and proper-prefix states defines a word of length n over Σ as a function n→Σ, names the unique length-zero word ε, and writes concatenation of words as uv.

Proof

technique · direct
1.1givenL1L2

For each natural number n, both [L1] and [L2] say that a word of length n over Σ is a function n→Σ. So the two conventions have exactly the same length-n words.

1.2L1L2

Both [L1] and [L2] call the unique word of length 0 the empty word ε, so the two empty-word conventions coincide.

1.3L1L2

If u:m→Σ and v:n→Σ, then [L1] defines uv by taking the first m values from u and the next n values from v. That is exactly the displayed word obtained by writing the letters of u followed by the letters of v, which is what the published notation uv of [L2] denotes.

2.1step 1.1step 1.2step 1.3∎

Since the words of every length agree by step 1.1, their union over all lengths agrees as well. So the set Σ∗ of Computation alphabets, words, the empty word, and Σ∗ is literally the same set of finite words already used in Finite words, contiguous factors, avoidance and proper-prefix states.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Languages over an alphabet

Definition

Let Σ be an alphabet. A language over Σ is a subset L⊆Σ∗, where Σ∗ is the set of finite words of Computation alphabets, words, the empty word, and Σ∗ and ⊆ is the subset relation of Subset x⊆y, proper subset x⊊y, and the separation notation { z∈x:φ(z) }.

Thus a language is a set of words over a fixed alphabet, not a set of alphabet symbols.

Remarks

  • The ambient alphabet matters. The same set of written strings can be viewed as a language over different alphabets only when it is contained in each corresponding Σ∗.

  • The two extreme languages over Σ are ∅ and Σ∗.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Boolean operations on languages over a fixed alphabet

Definition

Fix an alphabet Σ, and let L,K⊆Σ∗ be languages over Σ (Languages over an alphabet).

Their union, intersection, and difference are the languages L∪K,L∩K,L∖K.

Their complement is taken inside the same ambient Σ∗: Lc:=Σ∗∖L.

Remarks

  • Complement depends on the chosen ambient alphabet. A language may have different complements when it is regarded inside different Σ∗.

  • These are ordinary set-theoretic operations applied to subsets of Σ∗.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-30Open item page →

Language concatenation, powers, and Kleene star

Definition

Fix an alphabet Σ, and let L,K⊆Σ∗ be languages over Σ (Languages over an alphabet).

Their concatenation is LK:={uv:u∈L and v∈K}, where uv is word concatenation as in Computation alphabets, words, the empty word, and Σ∗.

Define the powers of L by L0:={ε} and, for each n≥1, let Ln be the set of words of the form u1u2⋯un with each ui∈L.

The Kleene star of L is L∗:=⋃n∈NLn.

Remarks

  • The word ε belongs to L∗ for every language L, even when L=∅, because it already lies in L0.

  • The positive closure L+:=⋃n≥1Ln satisfies L∗=L+∪{ε}.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Language concatenation is associative

Statement

For languages L1,L2,L3 over the same alphabet, (L1L2)L3=L1(L2L3).

Facts & Assumptions

Given: Languages L1,L2,L3 over a fixed alphabet Σ.

[L1]

Language concatenation is LK={uv:u∈L and v∈K} by Language concatenation, powers, and Kleene star.

[L2]

If u:m→Σ and v:n→Σ are words, then the concatenated word uv:(m+n)→Σ is defined by the offset rule of Computation alphabets, words, the empty word, and Σ∗.

Proof

technique · direct
1.1givenL1

Let w∈(L1L2)L3. By [L1] there are words u∈L1, v∈L2 and x∈L3 with w=(uv)x.

1.2L2algebra

Let ∣u∣=m, ∣v∣=n, and ∣x∣=p. By [L2], both (uv)x and u(vx) have length m+n+p, and for each index i<m+n+p they take the same value: from u when i<m, from v when m≤i<m+n, and from x when m+n≤i<m+n+p. Hence (uv)x=u(vx).

1.3givenL1

Conversely, let w∈L1(L2L3). By [L1] there are words u∈L1, v∈L2, and x∈L3 with w=u(vx).

2.1step 1.1step 1.2L1

Since v∈L2 and x∈L3, the word vx lies in L2L3 by [L1]. Together with step 1.2 this gives w=u(vx)∈L1(L2L3).

2.2step 1.3L1L2

The same index comparison as in step 1.2 gives u(vx)=(uv)x, and now uv∈L1L2 by [L1]. So w∈(L1L2)L3.

3.1step 2.1step 2.2∎

Steps 2.1 and 2.2 prove both inclusions, so (L1L2)L3=L1(L2L3).

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

Kleene star is the least concatenation-closed language containing L and ε

Statement

Let L be a language over an alphabet Σ.

  1. ε∈L∗.
  2. LL∗⊆L∗.
  3. If K is a language with ε∈K and LK⊆K, then L∗⊆K.

In particular, L∗ is the least language containing ε and closed under left concatenation by words from L; therefore it is also the least concatenation-closed language containing L and ε.

Facts & Assumptions

Given: A language L⊆Σ∗ and a language K⊆Σ∗.

[L1]

The powers of L satisfy L0={ε}, for n≥1 the set Ln consists of words u1⋯un with each ui∈L, and L∗=⋃n∈NLn by Language concatenation, powers, and Kleene star.

[L2]

Language concatenation is AB={ab:a∈A and b∈B} by Language concatenation, powers, and Kleene star.

Proof

technique · direct
1.1givenL1

By [L1], ε∈L0⊆L∗. This proves clause 1.

1.2L1L2

Let w∈LL∗. By [L2] there are u∈L and v∈L∗ with w=uv. Since v∈L∗, [L1] gives some n∈N with v∈Ln. Then w∈Ln+1 by the definition of Ln+1 in [L1], so w∈L∗ again. Thus LL∗⊆L∗, proving clause 2.

1.3givenL1base

Assume ε∈K and LK⊆K. We prove by induction on n∈N that Ln⊆K. For n=0, [L1] gives L0={ε}⊆K.

1.4ihL1L2induction

For the induction step, assume Ln⊆K. If w∈Ln+1, then by [L1] there are u∈L and v∈Ln with w=uv. The induction hypothesis gives v∈K, so w∈LK⊆K. Hence Ln+1⊆K.

1.5L1L2construct

If u,v∈L∗, choose m,n∈N with u∈Lm and v∈Ln. Writing u=u1⋯um and v=v1⋯vn with every ui,vj∈L, the concatenation uv is the (m+n)-fold product u1⋯umv1⋯vn, so uv∈Lm+n⊆L∗. Therefore L∗L∗⊆L∗, and L∗ is concatenation-closed.

1.6L2

Any concatenation-closed language K containing L and ε satisfies LK⊆K, because for u∈L⊆K and v∈K the concatenation uv lies in KK⊆K.

2.1step 1.3step 1.4L1discharge-induction

By steps 1.3 and 1.4, every Ln is contained in K. Since L∗=⋃n∈NLn by [L1], we get L∗⊆K. This proves clause 3.

3.1L1step 1.1step 2.1step 1.5step 1.6∎

Step 1.1 gives ε∈L∗, and [L1] gives L=L1⊆L∗. Together with step 1.5, this shows that L∗ is itself a concatenation-closed language containing L and ε. Now step 2.1 and step 1.6 show that every other such language contains L∗. This is exactly the stated minimality.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-31Open item page →

Word reversal and language reversal

Definition

Let w:n→Σ be a word over an alphabet Σ. Its reversal is the word wR:n→Σ defined by wR(i):=w(n−1−i)(i<n). Equivalently, if w=a0a1⋯an−1, then wR=an−1an−2⋯a0. In particular, εR=ε.

If L⊆Σ∗ is a language, its reversal is LR:={wR:w∈L}.

Remarks

  • Reversal changes the order of letters but not the alphabet or the word length.

  • The definition is pointwise on words first and only then lifted to languages.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Reversal is an involution and reverses concatenation

Statement

For words u,v over a fixed alphabet and languages L,K over that alphabet:

  1. (uv)R=vRuR.
  2. (wR)R=w for every word w.
  3. (LK)R=KRLR and (LR)R=L.

Facts & Assumptions

Given: Words u,v,w and languages L,K over a fixed alphabet Σ.

[L1]

Word reversal is defined by wR(i)=w(n−1−i) for a word w:n→Σ, and language reversal is LR={xR:x∈L}, by Word reversal and language reversal.

[L2]

Word concatenation is the offset construction and language concatenation is AB={ab:a∈A and b∈B} by Computation alphabets, words, the empty word, and Σ∗ and Language concatenation, powers, and Kleene star.

Proof

technique · direct
1.1givenL1L2

Let ∣u∣=m and ∣v∣=n. For i<n, the ith letter of (uv)R is the (m+n−1−i)th letter of uv, hence the (n−1−i)th letter of v by [L2], so (uv)R(i)=vR(i).

1.2L1L2algebra

For n≤i<m+n, write i=n+j with j<m. Then the ith letter of (uv)R is the (m−1−j)th letter of u, so (uv)R(i)=uR(j); this is exactly the offset rule for the concatenation vRuR. Therefore (uv)R=vRuR.

1.3L1algebra

Let ∣w∣=n. For each i<n, (wR)R(i)=wR(n−1−i)=w(n−1−(n−1−i))=w(i). So (wR)R=w.

2.1L1L2step 1.2

If x∈(LK)R, then x=yR for some y∈LK by [L1]. By [L2] we may write y=uv with u∈L and v∈K, and then step 1.2 gives x=(uv)R=vRuR∈KRLR. Hence (LK)R⊆KRLR.

2.2L1L2step 1.2

Conversely, if x∈KRLR, then x=vRuR with u∈L and v∈K by [L1] and [L2]. Step 1.2 gives x=(uv)R, and uv∈LK, so x∈(LK)R. Thus (LK)R=KRLR.

3.1L1step 1.3∎

By [L1], x∈(LR)R exactly when x=yR for some y∈LR, that is, for some y=zR with z∈L. Step 1.3 then gives x=(zR)R=z∈L. Conversely, if z∈L then step 1.3 gives z=(zR)R∈(LR)R. So (LR)R=L.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-30Open item page →

Alphabet maps into Δ∗ and their induced maps on words

Definition

Let Σ and Δ be alphabets. An alphabet map is a function h:Σ→Δ∗ in the sense of A function is a relation f with (a,b)∈f and (a,c)∈f implying b=c; f:A→B, the value f(a), domain and codomain.

Its induced word map is the function h^:Σ∗→Δ∗ defined as follows. For the empty word, h^(ε)=ε. For a one-letter word w=a0, set h^(w):=h(a0). For a word w=a0a1⋯an−1 of length n≥2 over Σ, set h^(w):=(⋯((h(a0)h(a1))h(a2))⋯h(an−1)), the left-associated concatenation of the image words of its letters.

Remarks

  • When every h(a) has length 1, the induced map simply replaces each letter a by a single letter h(a).

  • The point of the definition is that the whole map on Σ∗ is determined by the values on the letters of Σ.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

The induced word map is the unique concatenation-preserving extension

Statement

Let h:Σ→Δ∗ be an alphabet map and let h^:Σ∗→Δ∗ be its induced word map. For a∈Σ, write ⟨a⟩:1→Σ for the one-letter word whose unique value is a.

  1. For all words u,v∈Σ∗, h^(uv)=h^(u)h^(v).
  2. If g:Σ∗→Δ∗ satisfies g(uv)=g(u)g(v) for all words u,v and g(⟨a⟩)=h(a) for every a∈Σ, then g=h^.

Facts & Assumptions

Given: An alphabet map h:Σ→Δ∗, its induced map h^:Σ∗→Δ∗, and a map g:Σ∗→Δ∗ preserving concatenation and satisfying g(⟨a⟩)=h(a) for every a∈Σ.

[L1]

The induced map is defined by h^(ε)=ε and h^(a0⋯an−1)=h(a0)⋯h(an−1) by Alphabet maps into Δ∗ and their induced maps on words.

[L2]

Word concatenation is formed by writing the letters of the first word followed by those of the second, by Computation alphabets, words, the empty word, and Σ∗.

Proof

technique · direct
1.1givenL1L2

If u=a0⋯am−1 and v=b0⋯bn−1, then [L2] says that the word uv is a0⋯am−1b0⋯bn−1. Applying [L1] to that word gives h^(uv)=h(a0)⋯h(am−1)h(b0)⋯h(bn−1), which is exactly h^(u)h^(v).

1.2givenalgebra

Since g preserves concatenation, g(ε)=g(εε)=g(ε)g(ε). Comparing word lengths forces g(ε)=ε.

1.3ihgivenL1induction

For the induction step, write a nonempty word as w=u⟨a⟩ with a∈Σ its final letter. If g(u)=h^(u), then g(w)=g(u⟨a⟩)=g(u)g(⟨a⟩)=h^(u)h(a)=h^(u⟨a⟩)=h^(w) by the hypothesis on g and [L1].

2.1step 1.2L1base

We prove g(w)=h^(w) for every word w by induction on the length of w. The base case is the empty word, handled by step 1.2 and [L1].

3.1step 1.1step 2.1step 1.3discharge-induction∎

Steps 2.1 and 1.3 show that g(w)=h^(w) for every word w, so g=h^. Together with step 1.1 this proves both clauses.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Effective binary encodings and total decoders

Definition

Let B:={0,1}. A binary encoding of a set X is an injective function e:X→B∗ (A function is a relation f with (a,b)∈f and (a,c)∈f implying b=c; f:A→B, the value f(a), domain and codomain, Injection, surjection, bijection).

Fix a symbol mal not belonging to X. A total decoder for e is a function d:B∗→X∪{mal} such that d(e(x))=x(x∈X),d(w)=mal(w∉e[X]). Thus mal is exactly the output on malformed codes, and the decoder is defined on every binary word, not only on words in the image of e.

The encoding e is effective when such a total decoder is specified.

The encoding is prefix-free when no codeword is a proper prefix of another: there do not exist distinct x,y∈X and a nonempty binary word u with e(y)=e(x)u.

Remarks

  • Effectiveness here means injective plus explicitly decodable with a fixed malformed-code output. It does not yet formalize computation by Turing machines.

  • Prefix-freeness is an additional property, not part of the definition of an effective encoding.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Finite tuples admit effective prefix-free binary encodings

Statement

For every fixed k≥1, the set of binary k-tuples (w1,…,wk)∈({0,1}∗)k has an effective prefix-free binary encoding.

Facts & Assumptions

Given: A fixed integer k≥1.

[L1]

An effective binary encoding is an injective map into {0,1}∗ equipped with a total decoder having a fixed malformed-code output, and prefix-free means that no codeword is a proper prefix of another, by Effective binary encodings and total decoders.

Proof

technique · direct
1.1givenL1construct

First encode a single binary word by c(w):=1∣w∣0w. From the initial block of 1's and the following 0, one reads off ∣w∣ and then reads exactly that many remaining bits, so c is injective and has a total decoder that either returns the uniquely parsed word or the malformed token of [L1].

2.1step 1.1L1construct

For the fixed tuple length k, define E(w1,…,wk):=1k0 c(w1)⋯c(wk). The initial block 1k0 tells the decoder that exactly k self-delimiting blocks must follow. Parsing those k blocks recovers a unique tuple when the input has the required form, and otherwise the decoder returns the malformed token. Hence E is an effective encoding in the sense of [L1].

3.1step 2.1L1

The encoding E is prefix-free. Indeed, once the parser has read the initial block 1k0, it knows that the codeword ends exactly after the kth self-delimiting block. So a valid codeword cannot be a proper prefix of a different valid codeword with extra unread bits at the end.

4.1step 2.1step 3.1∎

Therefore ({0,1}∗)k admits an effective prefix-free binary encoding.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Decision problems, search problems, and function problems

Definition

Fix a set I of instances together with an effective binary encoding σ:I→{0,1}∗ (Effective binary encodings and total decoders).

A decision problem on I is a distinguished subset Y⊆I of yes-instances. Its associated language of encoded yes-instances is Lσ(Y):={σ(x):x∈Y}⊆{0,1}∗, a language over the binary alphabet in the sense of Languages over an alphabet.

A search problem on I consists of a condition assigning to each instance x∈I a set of acceptable outputs; solving the problem means producing one acceptable output when one exists.

A function problem on I is a specified total function on instances, f:I→O, for some output set O (A function is a relation f with (a,b)∈f and (a,c)∈f implying b=c; f:A→B, the value f(a), domain and codomain).

Remarks

  • Decision problems ask for a yes/no answer, search problems ask for a witness, and function problems ask for a designated output value.

  • The same mathematical problem can have several encodings. The associated language depends on the chosen σ.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

Instance size and polynomially related encodings

Definition

Let I be a set of instances and let σ:I→{0,1}∗ be an effective binary encoding. The size of an instance x∈I with respect to σ is the length of its codeword: ∣x∣σ:=∣σ(x)∣.

If σ,τ:I→{0,1}∗ are two effective encodings of the same instance set, they are polynomially related when there exist polynomials p,q:N→N such that for every x∈I, ∣σ(x)∣≤p(∣τ(x)∣)and∣τ(x)∣≤q(∣σ(x)∣).

Remarks

  • Resource bounds are measured as functions of encoded input length, not of an abstract instance before encoding.

  • Polynomially related encodings may differ substantially, but neither can blow up the other's lengths by more than a polynomial factor.

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

FALSE: a language is a set of symbols

Statement

False claim: if Σ is an alphabet, then every language over Σ is a subset of Σ.

Facts & Assumptions

Given: The binary alphabet Σ={0,1} and the set L={01}.

[A1]

The false claim: every language over an alphabet Σ is a subset of Σ.

[L1]

A language over Σ is a subset of Σ∗ by Languages over an alphabet.

[L2]

The word 01 is a binary word of length 2, hence an element of Σ∗, by Computation alphabets, words, the empty word, and Σ∗.

Refutation

technique · direct
1.1givenL1L2

By [L2], the word 01 lies in Σ∗, so the one-element set L={01} is a subset of Σ∗. Therefore [L1] shows that L is a language over Σ.

1.2givenL2

The element 01 is a word of length 2, not a single symbol of the alphabet Σ={0,1}. So 01∉Σ, and therefore L is not a subset of Σ.

2.1A1step 1.1step 1.2∎

Thus L is a language over Σ for which the conclusion of [A1] fails. The claim is false.

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-09-12Open item page →

FALSE: every effective encoding is prefix-free

Statement

False claim: every effective binary encoding is prefix-free.

Facts & Assumptions

Given: The encoding e:{0,1}∗→{0,1}∗ defined by e(w)=1w.

[A1]

The false claim: every effective binary encoding is prefix-free.

[L1]

An effective binary encoding is an injective map into {0,1}∗ with a total decoder and a fixed malformed-code output, and prefix-free means that no codeword is a proper prefix of another, by Effective binary encodings and total decoders.

Refutation

technique · direct
1.1givenalgebra

The map e(w)=1w is injective: if 1u=1v, deleting the common first bit gives u=v.

1.2L1construct

Define a total decoder d:{0,1}∗→{0,1}∗∪{mal} by setting d(1w)=w for every binary word w and d(x)=mal for every binary word x not beginning with 1 (including the empty word). Then d(e(w))=d(1w)=w for every w, so e is effective by [L1].

1.3givenL1

The codeword e(ε)=1 is a proper prefix of e(0)=10. So e is not prefix-free.

2.1A1step 1.2step 1.3∎

Step 1.2 shows that e is an effective encoding, while step 1.3 shows that it is not prefix-free. Therefore [A1] is false.

5 · Examples, counterexamples and false statements

None yet.

Sources