Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicable
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 CYK parsing table and span variables

Definition

Let G=(V,Σ,P,S) be a grammar in Chomsky normal form, and let w=a1⋯an be a nonempty word over Σ.

The CYK table of G on w is the triangular array of sets T[i,ℓ]⊆V defined for 1≤i≤n and 1≤ℓ≤n−i+1 by:

T[i,1]:={A∈V:A→ai is a production of G},

and, for ℓ≥2,

T[i,ℓ]:={A∈V:∃k (1≤k<ℓ) and A→BC∈P with B∈T[i,k], C∈T[i+k,ℓ−k]}.

When A∈T[i,ℓ], we say that A is a span variable for the substring ai⋯ai+ℓ−1.

Remarks

  • The definition uses only the CNF production types A→a and A→BC.

  • The top cell T[1,n] corresponds to the whole input word.

For a word of length 4, the following triangle displays every valid cell. The outlined cells pick out the split i=1, ℓ=4, k=2; they do not assert that the corresponding sets are nonempty.

T[1;4]T[1;3]T[2;3]T[1;2]T[2;2]T[3;2]T[1;1]T[2;1]T[3;1]T[4;1]a1a2a3a4

In this split, T[1,2] covers a1a2 and T[3,2] covers a3a4. If A→BC∈P, B∈T[1,2], and C∈T[3,2], the defining recurrence places A in T[1,4]. In general, the two child intervals end at i+k−1 and begin at i+k, respectively, so they are adjacent and partition the parent interval from i to i+ℓ−1. This illustration only explains the indexing; the definition does not depend on it.

Depends on

Used by

Dependency tree · two levels

7 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