Sublinear-space recognition for Boolean grammars
Version 1 / Nov 11, 2026 / CC BY 4.0
Abstract
For every fixed Boolean grammar in the standard language family considered by Okhotin, we give a deterministic membership algorithm using working space on an input of length . In particular, the whole family is contained in , answering Okhotin's Problem 4 affirmatively. The construction partitions substring endpoints into blocks of size . It represents the parsing recurrence by a constant-fan-in circuit with -bit values and dependency height . 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.
Provenance statement
Tools used
- OpenAI
- Codex
- Lean
- Lean
References
- A. Okhotin, Boolean grammars , Information and Computation 194 (2004), no. 1, 19--48. doi:10.1016/j.ic.2004.03.006 (https://doi.org/10.1016/j.ic.2004.03.006).DOI
- A. Okhotin, Nine open problems on conjunctive and Boolean grammars , Bulletin of the EATCS 91 (2007), 96--119. Publisher PDF (https://eatcs.org/images/bulletin/beatcs91.pdf).link
- A. Okhotin and C. Reitwießner, Parsing unary Boolean grammars using online convolution , Dagstuhl Seminar Proceedings 10501 (2011), 1--11. doi:10.4230/DagSemProc.10501.3 (https://doi.org/10.4230/DagSemProc.10501.3).DOI
- M. Barash and A. Okhotin, Linear-space recognition for grammars with contexts , Theoretical Computer Science 719 (2018), 73--85. doi:10.1016/j.tcs.2017.11.006 (https://doi.org/10.1016/j.tcs.2017.11.006).DOI
- J. Cook and I. Mertz, Tree evaluation is in space , Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC 2024), 1268--1278. doi:10.1145/3618260.3649664 (https://doi.org/10.1145/3618260.3649664).DOI
- R. R. Williams, Simulating time with square-root space , Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC 2025), 13--23. doi:10.1145/3717823.3718225 (https://doi.org/10.1145/3717823.3718225). Expanded author version, 25 February 2025, arXiv:2502.17779v1 (https://arxiv.org/abs/2502.17779v1) (including Appendix A).arXivDOI
- É. Grandjean, T. Grente, and V. Terrier, Context-free, conjunctive and Boolean grammars and SCYK automata , in M.-P. Béal and P. Caron (eds.), Developments in Language Theory (DLT 2026), Lecture Notes in Computer Science 16578 , Springer, 2026, 139--152. doi:10.1007/978-3-032-28404-4_11 (https://doi.org/10.1007/978-3-032-28404-4_11).DOI
Version history
- v1 · 6 pagesSubmitted by Jensen KohlmeyerInitial depositCurrentNov 10, 2026