# Kuroda 范式

**Kuroda 范式**是形式文法的一种受限形式，其中每条产生式取以下三种形状之一：一对非终结符改写为另一对非终结符，\( AB \to CD \)；一个非终结符展开为两个非终结符，\( A \to BC \)；或一个非终结符改写为单个终结符，\( A \to a \)，其中 \( A, B, C, D \) 为非终结符，\( a \) 为终结符。<sup>[1](https://planetmath.org/kurodanormalform)</sup> 它是上下文敏感文法的标准范式，其地位相当于 Chomsky 范式之于上下文无关文法。该范式以黑田成幸（Sige-Yuki Kuroda）命名，他最初将此类文法称为“线性有界文法”，以此类比识别上下文敏感语言的自动机。<sup>[2](https://www.youtube.com/watch?v=ABPuinThYAs)</sup><sup> • </sup><sup>[3](https://www.mpi.nl/world/materials/publications/levelt/Levelt_Formal_Grammars_Vol1_1974.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 允许的产生式 | \( AB \to CD \)、\( A \to BC \) 和 \( A \to a \)；部分作者增加单位规则 \( A \to B \)<sup>[1](https://planetmath.org/kurodanormalform)</sup> |
| 空串情形 | 对于无限制（0 型）文法，规则列表增加 \( A \to \varepsilon \)；对于单调文法，仅当开始符号 \( S \) 不出现在任何右部时允许 \( S \to \lambda \)<sup>[4](https://dspace.vut.cz/bitstreams/357c3077-1de7-4721-881c-51bff679fdeb/download)</sup><sup> • </sup><sup>[5](https://gyires.inf.unideb.hu/GyBITT/14/ch05.html)</sup> |
| Kuroda 定理 | 每个上下文敏感文法都有一个等价的 Kuroda 范式上下文敏感文法<sup>[6](https://cs.brown.edu/courses/csci1810/fall-2024/resources/ch2_readings/automata_theory_and_formal_languages.pdf)</sup> |
| 刻画 | 每个长度递增文法都有一个等价的 Kuroda 范式文法<sup>[1](https://planetmath.org/kurodanormalform)</sup> |
| 起源 | 黑田成幸，《语言的类别与线性有界自动机》，*Information and Control* 7(2): 207–223，1964 年 6 月<sup>[7](https://www.scienceopen.com/document?vid=16a2eee2-26db-47f8-b6f1-12a728fc19b4)</sup> |
| 单侧变体 | Penttonen 范式（单侧范式）将上下文规则限制为 \( AB \to AC \)<sup>[8](https://www.sciencedirect.com/science/article/pii/S0019995874910493)</sup> |

## 定义

一个文法 \( G = (N, T, P, S) \)，其中 \( N \) 为非终结符集，\( T \) 为终结符集，\( P \) 为产生式集，\( S \) 为开始符号，当 \( P \) 中每条规则具有 \( AB \to CD \)、\( A \to BC \) 或 \( A \to a \) 之一的形式时，称该文法处于 Kuroda 范式，其中 \( A, B, C, D \in N \)，\( a \in T \)。<sup>[1](https://planetmath.org/kurodanormalform)</sup> 某些处理方式增加单位产生式 \( A \to B \)；该规则可被消除，因为在文法的每条产生式中将所有出现的 \( B \) 替换为 \( A \) 即可。<sup>[1](https://planetmath.org/kurodanormalform)</sup>

确切的规则列表取决于所规范化的文法类。对于单调文法，Debrecen 教材的定义允许 \( AB \to CD \)、\( A \to BC \)、\( A \to B \)、\( A \to a \) 和 \( S \to \lambda \)，条件是当 \( S \to \lambda \) 存在时，开始符号不出现在任何右部；处于此形式的文法是单调的，即没有规则缩短句型。<sup>[5](https://gyires.inf.unideb.hu/GyBITT/14/ch05.html)</sup> 对于[无限制文法](https://www.edgepedia.org/zh/unrestricted-grammar)，该形式增加擦除规则 \( A \to \varepsilon \)，给出四种形状：\( AB \to CD \)、\( A \to BC \)、\( A \to a \) 和 \( A \to \varepsilon \)。<sup>[4](https://dspace.vut.cz/bitstreams/357c3077-1de7-4721-881c-51bff679fdeb/download)</sup><sup> • </sup><sup>[9](https://www.tutorialspoint.com/automata_theory/automata_theory_kuroda_normal_form.htm)</sup> 一篇形式语言论文的综述章节将短语结构版本定义为仅含 \( A \to t \)、\( A \to BC \) 和 \( AB \to CD \)。<sup>[10](https://trepo.tuni.fi/bitstream/handle/10024/99577/978-952-03-0184-2.pdf)</sup>

## 存在性定理

核心结果通常称为 Kuroda 定理，它指出对于每个上下文敏感文法，都存在一个等价的 Kuroda 范式上下文敏感文法。<sup>[6](https://cs.brown.edu/courses/csci1810/fall-2024/resources/ch2_readings/automata_theory_and_formal_languages.pdf)</sup> 证明是构造性的：首先通过引入带有规则 \( A \to a \) 的新变量，从较长的产生式中去除终结符；然后进一步引入新变量，将长的非终结符块拆分为长度至多为二的片段。<sup>[11](https://www.cs.cmu.edu/~flac/pdf/lect-18.pdf)</sup> Levelt 1974 年的教材记载，该范式定理最早由黑田于 1964 年证明。<sup>[3](https://www.mpi.nl/world/materials/publications/levelt/Levelt_Formal_Grammars_Vol1_1974.pdf)</sup>

该形式适用于长度递增文法，即没有任何推导步骤缩短字符串的文法：每个这样的文法都等价于一个 Kuroda 范式文法，尽管等价于 Kuroda 范式文法的文法本身不必是长度递增的。<sup>[1](https://planetmath.org/kurodanormalform)</sup> 因此，每个不包含空串的上下文敏感语言都可以由处于此形式的文法生成。<sup>[12](https://en.wiki.beta.math.wmflabs.org/wiki/Context-sensitive_grammar)</sup> 同样的构造可向上扩展：对于每个 0 型文法，都可以有效地构造一个等价文法，其规则具有 \( A \to BC \)、\( A \to a \)、\( A \to \lambda \) 和 \( AB \to CD \) 的形式；对于单调文法，也有类似结果，只是所得文法的规则形式中不含 \( A \to \lambda \)。<sup>[13](https://www.cs.auckland.ac.nz/~cristian/cca.pdf)</sup>

## 单侧形式及相关形式

双侧上下文规则 \( AB \to CD \) 可以被分解。一种归功于 Révész György 的技术用四条上下文敏感规则——\( AB \to AZ \)、\( AZ \to WZ \)、\( WZ \to WD \) 和 \( WD \to CD \)——替换 \( AB \to CD \)，其中 \( Z \) 和 \( W \) 为新非终结符；这也表明每个非收缩文法都是上下文敏感的。<sup>[2](https://www.youtube.com/watch?v=ABPuinThYAs)</sup> 在这四条替换规则中，两条保留左上下文，两条保留右上下文，因此 Kuroda 范式文法等价于其产生式仅为 \( A \to a \)、\( A \to BC \)、\( AB \to AC \) 和 \( AB \to CB \) 的文法。<sup>[1](https://planetmath.org/kurodanormalform)</sup>

去掉一侧即得到单侧范式，也称为 Penttonen 范式，其产生式为 \( AB \to AC \)、\( A \to BC \) 和 \( A \to a \)。芬兰数学家 Martti Penttonen 于 1974 年证明上下文敏感语言与单侧上下文敏感语言是同一类，由此作为推论得到该范式。<sup>[8](https://www.sciencedirect.com/science/article/pii/S0019995874910493)</sup> 因此，每个不包含空词的上下文敏感语言都可以由处于单侧范式的文法生成。<sup>[1](https://planetmath.org/kurodanormalform)</sup> 一篇关于范式的综述将 Kuroda 范式和单侧范式列为上下文敏感文法的两种主要范式，与上下文无关文法的 Chomsky 范式、Greibach 范式和算子范式并列。<sup>[10](https://trepo.tuni.fi/bitstream/handle/10024/99577/978-952-03-0184-2.pdf)</sup>

## 用途

范式限制产生式的形状，同时保持所生成的语言不变，这一性质称为弱等价；它们被用于研究文法的句法性质、剖析理论、结构与描述复杂性，以及推断与学习理论。<sup>[10](https://trepo.tuni.fi/bitstream/handle/10024/99577/978-952-03-0184-2.pdf)</sup> 具体到 Kuroda 范式，识别变得特别简单：算法首先消除终结符，然后仅对连续变量对进行操作。<sup>[11](https://www.cs.cmu.edu/~flac/pdf/lect-18.pdf)</sup> Levelt 指出，该范式既与上下文敏感文法和自动机之间的关系有关，也与转换文法本质性质的证明有关。<sup>[3](https://www.mpi.nl/world/materials/publications/levelt/Levelt_Formal_Grammars_Vol1_1974.pdf)</sup>

## 起源

该范式以黑田成幸（1934–2009）命名，他是加利福尼亚大学圣地亚哥分校的语言学家，其系里的书目称他为日语生成语法的创始人。<sup>[14](https://dss-sites.ucsd.edu/kuroda/bibliography.html)</sup> 他的论文《语言的类别与线性有界自动机》发表于 *Information and Control* 第 7 卷第 2 期，第 207–223 页，1964 年 6 月。<sup>[7](https://www.scienceopen.com/document?vid=16a2eee2-26db-47f8-b6f1-12a728fc19b4)</sup> 如今称为 Kuroda 范式的那类文法，被黑田及其他几位作者称为“线性有界文法”，以此类比线性有界自动机——等价于上下文敏感文法的机器模型。<sup>[3](https://www.mpi.nl/world/materials/publications/levelt/Levelt_Formal_Grammars_Vol1_1974.pdf)</sup>

## References

1. [Kuroda normal form, PlanetMath](https://planetmath.org/kurodanormalform)
2. [Context Sensitive Grammar & Kuroda's Normal form, src7cse (YouTube)](https://www.youtube.com/watch?v=ABPuinThYAs)
3. [W. J. M. Levelt (1974). Formal Grammars in Linguistics and Psycholinguistics, Volume I, Mouton](https://www.mpi.nl/world/materials/publications/levelt/Levelt_Formal_Grammars_Vol1_1974.pdf)
4. [Normal forms for general grammars, Brno University of Technology](https://dspace.vut.cz/bitstreams/357c3077-1de7-4721-881c-51bff679fdeb/download)
5. [Context-Sensitive Languages, University of Debrecen, Formal Languages and Automata Theory](https://gyires.inf.unideb.hu/GyBITT/14/ch05.html)
6. [Alberto Pettorossi. Automata Theory and Formal Languages, Chapter 1 (Brown University course notes)](https://cs.brown.edu/courses/csci1810/fall-2024/resources/ch2_readings/automata_theory_and_formal_languages.pdf)
7. [S.-Y. Kuroda (1964). Classes of languages and linear-bounded automata, Information and Control 7(2): 207–223, ScienceOpen](https://www.scienceopen.com/document?vid=16a2eee2-26db-47f8-b6f1-12a728fc19b4)
8. [Martti Penttonen (1974). One-sided and two-sided context in formal grammars, Information and Control 25(4): 371–392](https://www.sciencedirect.com/science/article/pii/S0019995874910493)
9. [Kuroda Normal Form in Automata Theory, TutorialsPoint](https://www.tutorialspoint.com/automata_theory/automata_theory_kuroda_normal_form.htm)
10. [Elements of Formal Language Theory, Chapter 2, Tampere University](https://trepo.tuni.fi/bitstream/handle/10024/99577/978-952-03-0184-2.pdf)
11. [Lecture notes on context-sensitive grammars, Carnegie Mellon University (FLAC)](https://www.cs.cmu.edu/~flac/pdf/lect-18.pdf)
12. [Context-sensitive grammar, testwiki](https://en.wiki.beta.math.wmflabs.org/wiki/Context-sensitive_grammar)
13. [C. S. Calude, G. Păun. Computing with Cells and Atoms, prerequisites chapter](https://www.cs.auckland.ac.nz/~cristian/cca.pdf)
14. [S.-Y. Kuroda bibliography, UCSD](https://dss-sites.ucsd.edu/kuroda/bibliography.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 25, 2026 · Edited: Sep 30, 2026; Oct 11, 2026; Oct 25, 2026 · Last review: Oct 25, 2026*

Topic: 社会与历史 › 语言与语言学 › 语言学 › 形式与计算语言学 › 语法范式与转换

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/kuroda-normal-form

English original: https://www.edgepedia.org/kuroda-normal-form
