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.
is exactly the set of words of length over in which every prefix has at least as many as and the totals are equal
Statement
For a word over and let be the number of letters among the first letters of minus the number of letters among them. Call a nonnegative prefix word when for every and .
For every ,
(Balanced bracket words, defined by the recursive grammar). Moreover the alphabet bijection , carries onto the set of ballot words of length , hence onto through step words (Dyck paths of semilength ).
Facts & Assumptions
Given: a natural number , and the sets of Balanced bracket words, defined by the recursive grammar.
is the least grammatical subset of , so a grammatical equals ; every nonempty member of is with ; is the set of members of length ; ; and is the set of words with and for some (Balanced bracket words, defined by the recursive grammar).
corresponds bijectively, through step words, to the ballot words of length , that is the words over in which the two letters occur equally often and every prefix has at least as many as (Dyck paths of semilength ).
The map sending with , , to the diagonal path whose step word is , that of , , that of , is a bijection onto (Every Dyck path of semilength factors uniquely as with and ).
For : is a bijection if and only if there is a function with and ( is a bijection if and only if there is a function with and ; such a is unique, equals the inverse relation , and is itself a bijection).
For a step set , a point and , the map sending a lattice path to its step word is a bijection (For each start point the step word is a bijection onto ).
If a property of naturals holds at whenever it holds at every , then it holds at every natural number (Strong (complete) induction).
If is finite and is a bijection then is finite and (The cardinality of a finite set).
Proof
The letter map with and is a bijection , with the two-sided inverse , , so composing a word with is a bijection by [L2]. It carries to the difference between the numbers of and letters among the first , so is a nonnegative prefix word exactly when is a ballot word of length ; and by [F2] and [L3] those correspond bijectively to .
Every member of is a nonnegative prefix word. The set of members of that are is grammatical: qualifies, since ; and if and , then , for , , and for , the last value being . So is grammatical and [F1] gives .
Conversely every nonnegative prefix word of length lies in , by [L4] on . At the word is , which lies in by [F1]. Let and assume the claim at every index below . Let be a nonnegative prefix word. By step 1.1 the word is the step word of a path in , so [L1] writes that path as with , and ; applying the inverse letter map to the three blocks writes with of length and of length , both nonnegative prefix words by step 1.1 read backwards. Since and , the inductive hypothesis puts and , so by [F1].
Steps 1.2 and 2.1 are the two inclusions, so the displayed equality holds for every . Combining it with step 1.1 gives the second assertion, and [L5] transports cardinalities along it.
Remarks
-
What the theorem buys. The grammar is the definition, so this is the statement that the left-to-right condition a reader would have written down is the same notion. Without it the counting arguments would have to be run twice, once for each description, and the two would never be known to agree.
-
Where the first-return lemma enters. Only in the harder inclusion, and only to produce the factorisation the grammar needs. The lemma is a statement about paths, and the alphabet bijection of step 1.1 is what makes it applicable to words; the transport is stated as a bijection rather than left as an identification.
Depends on
- Balanced bracket words, defined by the recursive grammar
- Dyck paths of semilength $n$
- Every Dyck path of semilength $n+1$ factors uniquely as $U\,P\,D\,Q$ with $P\in\mathcal{D}_i$ and $Q\in\mathcal{D}_{n-i}$
- $f : A \to B$ is a bijection if and only if there is a function $g : B \to A$ with $g \circ f = \Delta_A$ and $f \circ g = \Delta_B$; such a $g$ is unique, equals the inverse relation $f^{-1}$, and is itself a bijection
- For each start point the step word is a bijection onto $S^n$
- Strong (complete) induction
- The cardinality $\lvert A\rvert$ of a finite set
Used by
Dependency tree · two levels
31 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
- D. Guichard, An Introduction to Combinatorics and Graph Theory, §3.5 (standard reference, not scraped)