\documentclass[11pt,letterpaper]{amsart} \usepackage[margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern,microtype,amsmath,amssymb,amsthm,mathtools} \usepackage{enumitem,booktabs} \usepackage[hidelinks]{hyperref} \numberwithin{equation}{section} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{example}[theorem]{Example} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R} \newcommand{\C}{\mathbb C} \newcommand{\eps}{\varepsilon} \DeclareMathOperator{\lcm}{lcm} \DeclareMathOperator{\supp}{supp} \DeclareMathOperator{\dist}{dist} \DeclareMathOperator{\diag}{diag} \newcommand{\DSPACE}{\operatorname{DSPACE}} \newcommand{\bits}{\{0,1\}} \setlength{\emergencystretch}{1.5em} \setlist[enumerate]{leftmargin=2em,itemsep=4pt,topsep=5pt} \title[Sublinear-space recognition for Boolean grammars]{Sublinear-space recognition for Boolean grammars} \keywords{Boolean grammars, conjunctive grammars, deterministic space, tree evaluation} % Authors must occur alphabetically by surname, not in the reference PDF's order. \author{Will Howe} \email{howew@purdue.edu} \author{Grant Huffman} \email{huffma97@purdue.edu} \author{Jensen Kohlmeyer} \email{jenwin@purdue.edu} \author{Liam Kruer} \email{kruerl@purdue.edu} \thanks{Prepared with AI assistance from OpenAI Codex in mathematical exploration, checking, and manuscript preparation.} \date{November 7, 2026} \begin{document} \begin{abstract} For every fixed Boolean grammar in the standard language family considered by Okhotin, we give a deterministic membership algorithm using \(O_G(n^{2/3}(\log(n+2))^{2/3})\) working space on an input of length \(n\). In particular, the whole family is contained in \(\DSPACE(n^{3/4})\), answering Okhotin's Problem~4 affirmatively. The construction partitions substring endpoints into blocks of size \(b\). It represents the parsing recurrence by a constant-fan-in circuit with \(O_G(b^2)\)-bit values and dependency height \(O(n/b+1)\). Splits in the endpoint blocks are resolved locally, and an ordering of the remaining splits controls the height even when a split is highly unbalanced. Applying the Cook--Mertz tree-evaluation algorithm to the implicitly unfolded circuit gives the space bound. \end{abstract} \maketitle \section{Introduction} Boolean grammars extend context-free grammars by allowing conjunction and negation in production rules \cite{Okhotin2004}. Their standard recognition algorithms exploit the dependence of a substring's syntactic properties on properties of its proper substrings. In his 2007 list of open problems, Okhotin asked whether the entire family of Boolean languages is contained in \(\DSPACE(n^{1-\eps})\) for some constant \(\eps>0\) \cite[Section~3.4, Problem~4]{Okhotin2007}. The question concerns working space, permits a different recognizer for each fixed grammar, and allows a tradeoff in time. \begin{theorem}\label{thm:main} Let \(G\) be a fixed Boolean grammar in the standard family of \cite{Okhotin2007}. There is a deterministic algorithm deciding membership in \(L(G)\), with read-only access to its input, using \[ O_G\!\left(n^{2/3}(\log(n+2))^{2/3}\right) \] bits of working space on every input of length \(n\). \end{theorem} \begin{corollary}\label{cor:epsilon} The family of Boolean languages is contained in \(\DSPACE(n^{3/4})\). More generally, it is contained in \(\DSPACE(n^{1-\eps})\) for every fixed \(0<\eps<1/3\). \end{corollary} All constants implicit in \(O_G\) may depend on \(G\). The proof uses the normal-form substring recurrence together with Cook--Mertz tree evaluation \cite{CookMertz2024}. Williams's expanded author version \cite[Theorem~2.2 and Appendix~A]{Williams2025} makes explicit the variable-height trees and implicit access used here. The contribution is a block circuit for the grammar recurrence whose value length and dependency height can be balanced. \section{Normal form and the interval recurrence}\label{sec:recurrence} We use the standard Boolean-language family of \cite[Definitions~6 and~7]{Okhotin2007}. In that presentation, the semantics are defined through strongly unique solutions of the associated language equations. A grammar in this family admits an equivalent binary normal form \cite{Okhotin2004,OkhotinReitwiessner2011}. Its nonterminal set \(N\) and terminal alphabet \(\Sigma\) are finite, and its rules have the forms \begin{align} A&\longrightarrow B_1C_1\mathbin{\&}\cdots\mathbin{\&}B_pC_p \mathbin{\&}\neg D_1E_1\mathbin{\&}\cdots\mathbin{\&}\neg D_qE_q \mathbin{\&}\neg\eps, \qquad p\geq1,\ q\geq0,\label{eq:normal}\\ A&\longrightarrow a,\qquad a\in\Sigma.\notag \end{align} There may also be a rule \(S\longrightarrow\eps\), with the start symbol \(S\) absent from all right-hand sides. Membership of the empty word is handled separately. The condition \(\neg\eps\) in \eqref{eq:normal} is automatic on nonempty substrings. Fix an input \(w=w_1\cdots w_n\), where \(n\geq1\). For \(A\in N\) and \(0\leq i