“…This topic has already been of interest to researchers and teachers. Indeed, several authors have considered the use of Prolog in the teaching of elementary mathematics (Ball, 1987;Bensky, 2021;Buscaroli, et al, 2022;Connes, 1986) as well as more advanced mathematics (Elenbogen & O'Kennon, 1988;Gressier, 2015), and even in domains that are a priori remote, such as history (Weissberg, 1985). These small-scale studies show that despite its shortcomings (sparse user base, lack of interactivity and error reporting, weak optimization), Prolog appears to be a useful pedagogical tool in the teaching of young students.…”