RUS  ENG
Full version
JOURNALS // Vestnik Udmurtskogo Universiteta. Matematika. Mekhanika. Komp'yuternye Nauki // Archive

Vestn. Udmurtsk. Univ. Mat. Mekh. Komp. Nauki, 2026 Volume 36, Issue 1, Pages 159–178 (Mi vuu954)

COMPUTER SCIENCE

Deductive program synthesis using logic programming

M. Joudakizadeh, A. P. Bel'tyukov

Udmurt State University, ul. Universitetskaya, 1, Izhevsk, 426034, Russia

Abstract: This article presents an approach to deductive program synthesis using Gentzen’s sequent calculus within the framework of logic programming. By leveraging sequent calculus as a formal system for structured logical inference, our method automates the derivation of provably correct programs from specifications expressed in negation-free first-order predicate logic. We formalize the syntax and semantics of sequent calculus, implementing its core inference rules (introduction and elimination rules) as predicates in logic programming to enable scalable synthesis. Practical examples demonstrate the transformation of logical specifications into executable programs. The approach ensures formal correctness through a constructive semantics inspired by Kleene's realizability, with synthesized programs operating in a subrecursive language to guarantee termination. We evaluate the method's strengths, including its reliability for safety-critical systems, and its limitations, such as computational complexity for unbounded constructions. Compared to AI-driven synthesis, our approach prioritizes formal guarantees, complementing modern trends like relational programming. Future research directions include optimizing computational efficiency and extending applicability to complex real-world problems.

Keywords: deductive synthesis, sequent calculus, logic programming, Prolog, logical inference, programming automation, artificial intelligence

UDC: 510.649

MSC: 03F65

Received: 23.10.2025
Accepted: 21.01.2026

Language: English

DOI: 10.35634/vm260108



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2026