English

Developing controlled natural language for formal specification patterns using AI assistants

Software Engineering 2026-01-01 v1 Artificial Intelligence Formal Languages and Automata Theory

Abstract

Using an AI assistant, we developed a method for systematically constructing controlled natural language for requirements based on formal specification patterns containing logical attributes. The method involves three stages: 1) compiling a generalized natural language requirement pattern that utilizes all attributes of the formal specification template; 2) generating, using the AI assistant, a corpus of natural language requirement patterns, reduced by partially evaluating attributes (the developed prompt utilizes the generalized template, attribute definitions, and specific formal semantics of the requirement patterns); and 3) formalizing the syntax of the controlled natural language based on an analysis of the grammatical structure of the resulting patterns. The method has been tested for event-driven temporal requirements.

Keywords

Cite

@article{arxiv.2512.24159,
  title  = {Developing controlled natural language for formal specification patterns using AI assistants},
  author = {Natalia Garanina and Vladimir Zyubin and Igor Anureev},
  journal= {arXiv preprint arXiv:2512.24159},
  year   = {2026}
}
R2 v1 2026-07-01T08:45:40.039Z