Multi-configurable search rules in prolog and application to testing

Ferreiro de Aguiar, Daniela ORCID: https://orcid.org/0009-0002-1072-8989, Morales Caballero, José Francisco ORCID: https://orcid.org/0000-0001-9782-8135, López García, Pedro ORCID: https://orcid.org/0000-0002-1092-2071 and Hermenegildo, Manuel V. ORCID: https://orcid.org/0000-0002-7583-323X (2026). Multi-configurable search rules in prolog and application to testing. En: "28th International Symposium, PADL 2026", 12-13 Enero 2026, Rennes, Francia. ISBN 978-3-032-15981-6. pp. 96-114. https://doi.org/10.1007/978-3-032-15981-6_6.

Descripción

Título: Multi-configurable search rules in prolog and application to testing
Autor/es:
Tipo de Documento: Ponencia en Congreso o Jornada (Artículo)
Título del Evento: 28th International Symposium, PADL 2026
Fechas del Evento: 12-13 Enero 2026
Lugar del Evento: Rennes, Francia
Título del Libro: Practical aspects of declarative languages: 28th International Symposium, PADL 2026, Rennes, France, January 12–13, 2026
Fecha: 11 Enero 2026
ISBN: 978-3-032-15981-6
Volumen: 16401
Materias:
ODS:
Palabras Clave Informales: Prolog, search rules, assertion-based testing, property-based testing, (Constraint) logic programming
Escuela: E.T.S. de Ingenieros Informáticos (UPM)
Departamento: Inteligencia Artificial
Licencias Creative Commons: Reconocimiento - Sin obra derivada - No comercial

Texto completo

[thumbnail of HERME_2026_01.pdf] PDF (Portable Document Format) - Acceso permitido solamente al administrador del Archivo Digital UPM - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (553kB)

Resumen

Prolog systems traditionally employ leftmost, depth-first search as their execution strategy. This choice is well-justified for efficiency reasons, generally accepted, and useful in practice. However, it is also well-known that it can lead to incompleteness when evaluating programs over infinite search spaces and may not be ideal for complex search spaces. We revisit the role of search strategies in Prolog programs, and present a new approach, that enables programmable and composable control of search. While advanced search strategies can always be programmed in Prolog, we opt instead for an approach that separates the search strategy used from the actual code, so that different strategies can be used on the same set of clauses. We provide constructs for controlling the search strategies that allow adapting the search dynamically. We also illustrate the usefulness of the proposed approach by applying it in the context of testing (constraint) logic programs, showing how composable search parameters enable more controlled and targeted exploration of program behavior.

Proyectos asociados

Tipo
Código
Acrónimo
Responsable
Título
Gobierno de España
CEX2024-001471-M
Sin especificar
Sin especificar
María de Maeztu
Gobierno de España
TED2021-132464B-I00
Sin especificar
Sin especificar
PRODIGY

Más información

ID de Registro: 94034
Identificador DC: https://oa.upm.es/94034/
Identificador OAI: oai:oa.upm.es:94034
Identificador DOI: 10.1007/978-3-032-15981-6_6
URL Oficial: https://link.springer.com/chapter/10.1007/978-3-03...
Depositado por: Biblioteca Facultad de Informatica
Depositado el: 17 Feb 2026 09:29
Ultima Modificación: 17 Feb 2026 09:29