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 non-context-free language can still satisfy the Bar-Hillel pumping condition
Statement refuted
The false statement claims that the ordinary CFL pumping condition characterizes the context-free languages. Put where is a new symbol. The language is a counterexample.
Facts & Assumptions
Given: The language displayed above.
By FALSE: the context-free pumping lemma characterizes the context-free languages, the refuted claim is that satisfying the ordinary pumping condition is equivalent to being context-free.
The proof of Context-free languages are not closed under intersection establishes that is not context free.
PDA's recognize exactly the context-free languages (PDAs recognize exactly the context-free languages), and context-free languages are closed under homomorphic image (Context-free languages are closed under union, concatenation, Kleene star, and homomorphism).
Counterexample
Take pumping length and write a word of as . If , pump the first letter of ; if , pump the initial ; if and is nonempty, pump its first letter. Taking gives , and every pump remains in .
Suppose were context free and let . A product of a PDA for from [L3] with a DFA for the regular language is a PDA for . The homomorphism deleting would then make context free by [L3], contradicting [L2].
If the word is with , pump when and pump when . Pumping never leaves exactly one initial , so every pumped word again lies in . Thus satisfies the ordinary CFL pumping condition.
Hence satisfies ordinary pumping but is not context free, so it refutes the claim in [L1].
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
9 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
- David S. Wise, A Strong Pumping Lemma for Context-Free Languages (standard reference, not scraped)
- Computer Science Stack Exchange, Example of a non-context-free language that nonetheless can be pumped (standard reference, not scraped)
- ROIFE BLOG, [形式语言] 06 Context-free Language (standard reference, not scraped)