跳到正文
arXiv cs.CL· Sherzod Turaev, Mary John·· 12 小时前AI 评分18

自然语言规则的作用域语法:按逻辑等价计数与枚举读法

The Scope Grammar of Natural-Language Rules: Counting and Enumerating Readings modulo Logical Equivalence

AI 导读

研究将人类规则自动形式化时连接词括号方式产生的不同逻辑读法:含 k 个二元连接词的骨架有第 k 个 Catalan 数棵推导树,但逻辑上不同的读法远少于此。针对正向、无重复片段,作者用 read-once 范式唯一性刻画可实现范式,并以双标签递推计数,经至多 11 个原子的穷举验证。

正文 · 原文

View PDF HTML (experimental)

Abstract:A rule written for people fixes its atomic conditions and connectives but leaves open how the connectives are bracketed, and each bracketing is a different logical reading that an autoformalizer must resolve or expose. We study the scope grammar, a deliberately ambiguous context-free grammar whose derivation trees are the readings of a connective skeleton and whose quotient by logical equivalence is what matters downstream. A skeleton with $k$ binary connectives has $C_k$ derivation trees, the $k$-th Catalan number, but far fewer logically distinct readings. For the positive, repetition-free fragment we make the gap exact: through the uniqueness of the read-once normal form we characterize the realizable normal forms by lowest common ancestors and count them with a two-label recurrence over the operator word, verified against exhaustive enumeration up to eleven atoms. The count is invariant under reversal and $\wedge/\vee$ duality; a skeleton is ambiguous if and only if it uses both $\wedge$ and $\vee$, a one-pass test; and the number of classes is at least $2^{\lfloor n/3\rfloor}$. Up to fifteen atoms the alternating pattern is the worst case; its count has a cubic generating function, is the 3-Schröder sequence (OEIS A137842), and grows with base $\varphi^{5/2}\approx3.330$, below the Catalan base 4. We reduce maximality to an inequality on increments, verified to sixteen atoms, and explain why local exchange arguments cannot prove it. We also treat negation, exceptions, and background axioms, where normal-form uniqueness still decides equivalence but counting is open.
Comments: 13 pages, 1 figure, 1 table
Subjects: Formal Languages and Automata Theory (cs.FL); Computation and Language (cs.CL); Logic in Computer Science (cs.LO)
MSC classes: 68Q42, 05A15, 68Q45, 03B05
ACM classes: F.4.2; F.4.3; G.2.1
Cite as: arXiv:2611.01825 [cs.FL]
  (or arXiv:2611.01825v1 [cs.FL] for this version)
  https://doi.org/10.48550/arXiv.2611.01825

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Sherzod Turaev [view email]
[v1] Sun, 1 Nov 2026 11:45:13 UTC (55 KB)

来源:arXiv cs.CL · arxiv.org