RUS  ENG
Full version
JOURNALS // Matematicheskie Trudy // Archive

Mat. Tr., 2022 Volume 25, Number 1, Pages 134–151 (Mi mt663)

This article is cited in 1 paper

Some questions on polynomially computable representations for generating grammars and Backus-Naur forms

A. V. Nechesov

Sobolev Institute of Mathematics, Siberian Branch of the Russian Academy of Sciences, Novosibirsk

Abstract: In the present article, we consider the question on modeling Backus-Naur forms (BNF-systems) and generating grammars in GNF-systems. GNF-systems serve as the base for construction of monotone operators whose least fixed points are polynomially computable. We obtain our results by construction of GNF-systems and application of a generalized polynomial analog of Gandy's fixed point theorem. This allows us to answer some questions on existence of a polynomially computable representation for the set of derivations in generating grammars. Moreover, we show that, for each GNF-system modeling a BNF-system and every nonterminal symbol in the BNF-system, the set of preimages in the GNF-system of representations of this symbol is polynomially computable. This result allows us to encode all definable constructions of the BNF-system, including the syntax of programs in high-level programming languages, so that they become recognizable in polynomial time.

Key words: GNF-systems, Backus-Naur forms, BNF-systems, Gandy's theorem, PAG-theorem, polynomial computability, semantic programming, programming languages, generating grammars, Chomsky grammars, artificial intelligence, smart contracts, blockchain.

UDC: 510.56

Received: 22.02.2022
Revised: 11.04.2022
Accepted: 12.05.2022

DOI: 10.33048/mattrudy.2022.25.106



© Steklov Math. Inst. of RAS, 2024