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.
Context-free languages are not closed under complement
Statement
Context-free languages are not closed under complement.
Facts & Assumptions
Given: The class of context-free languages.
By Context-free languages are not closed under intersection, context-free languages are not closed under intersection.
By Context-free languages are closed under union, concatenation, Kleene star, and homomorphism, context-free languages are closed under union.
De Morgan's law gives for languages over one alphabet.
Proof
Assume for contradiction that context-free languages were closed under complement. Then the complements and of context-free languages would again be context-free.
By [L2], the union would then be context-free, and by the contradiction hypothesis its complement would be context-free as well. By [A1], that complement is exactly . So the contradiction hypothesis would force closure under intersection.
This contradicts [L1]. Therefore context-free languages are not closed under complement.
Depends on
Used by
Nothing in the library uses this result yet.
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
- Alfred V. Aho, COMS W3261 CS Theory, Lecture 11 (standard reference, not scraped)
- H. Conrad Cunningham, CSci 311, Models of Computation, Chapter 8 (standard reference, not scraped)