encyclopegia.org

Boolean grammar

Boolean grammars, introduced by , are a class of formal grammars studied in formal language theory.[src] They extend the basic type of grammars, the context-free grammars, with conjunction and negation operations.[src] Besides these explicit operations, Boolean grammars allow implicit disjunction represented by multiple rules for a single nonterminal symbol, which is the only logical connective expressible in context-free grammars.[src] Conjunction and negation can be used, in particular, to specify intersection and complement of languages.[src] An intermediate class of grammars known as conjunctive grammars allows conjunction and disjunction, but not negation.[src] The rules of a Boolean grammar are of the form A \to \alpha_1 \And \ldots \And \alpha_m \And \lnot\beta_1 \And \ldots \And \lnot\beta_n where A is a nonterminal, m+n \ge 1 and \alpha_1 , ..., \alpha_m , \beta_1 , ..., \beta_n are strings formed of symbols in \Sigma and N .[src] Informally, such a rule asserts that every string w over \Sigma that satisfies each of the syntactical conditions represented by \alpha_1 , ..., \alpha_m and none of the syntactical conditions represented by \beta_1 , ..., \beta_n therefore satisfies the condition defined by A .[src] There exist several formal definitions of the language generated by a Boolean grammar.…[src]

Boolean grammars, introduced by , are a class of formal grammars studied in formal language theory.[src] They extend the basic type of grammars, the context-free grammars, with conjunction and negation operations.[src] Besides these explicit operations, Boolean grammars allow implicit disjunction represented by multiple rules for a single nonterminal symbol, which is the only logical connective expressible in context-free grammars.[src] Conjunction and negation can be used, in particular, to specify intersection and complement of languages.[src] An intermediate class of grammars known as conjunctive grammars allows conjunction and disjunction, but not negation.[src] The rules of a Boolean grammar are of the form A \to \alpha_1 \And \ldots \And \alpha_m \And \lnot\beta_1 \And \ldots \And \lnot\beta_n where A is a nonterminal, m+n \ge 1 and \alpha_1 , ..., \alpha_m , \beta_1 , ..., \beta_n are strings formed of symbols in \Sigma and N .[src] Informally, such a rule asserts that every string w over \Sigma that satisfies each of the syntactical conditions represented by \alpha_1 , ..., \alpha_m and none of the syntactical conditions represented by \beta_1 , ..., \beta_n therefore satisfies the condition defined by A .[src] There exist several formal definitions of the language generated by a Boolean grammar.[src] They have one thing in common: if the grammar is represented as a system of language equations with union, intersection, complementation and concatenation, the languages generated by the grammar must be the solution of this system.[src] The semantics differ in details; some define the languages using language equations, some draw upon ideas from the field of logic programming.[src] However, these nontrivial issues of formal definition are mostly irrelevant for practical considerations, and one can construct grammars according to the given informal semantics.[src] The practical properties of the model are similar to those of conjunctive grammars, while the descriptional capabilities are further improved.[src] In particular, some practically useful properties inherited from context-free grammars, such as efficient parsing algorithms, are retained, see .[src] ==References== Preprint available online, .[src] ==External links== Okhotin's page on Boolean grammars[src]

23 sentences · 23 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Boolean grammar." encyclopegia.org, 2025, https://encyclopegia.org/wiki/boolean-grammar. Accessed 25 November 2026.

Chicago

"Boolean grammar." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/boolean-grammar.

APA

encyclopegia.org. (2025). Boolean grammar. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/boolean-grammar

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1313114629 · 0.5 · snapshot enwiki-001313114629

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.